securityos/node_modules/next/dist/compiled/webpack-sources1/index.js

1 line
24 KiB
JavaScript

(function(){var e={513:function(e,t,r){"use strict";const n=r(232).y;const i=r(232).P;class CodeNode{constructor(e){this.generatedCode=e}clone(){return new CodeNode(this.generatedCode)}getGeneratedCode(){return this.generatedCode}getMappings(e){const t=n(this.generatedCode);const r=Array(t+1).join(";");if(t>0){e.unfinishedGeneratedLine=i(this.generatedCode);if(e.unfinishedGeneratedLine>0){return r+"A"}else{return r}}else{const t=e.unfinishedGeneratedLine;e.unfinishedGeneratedLine+=i(this.generatedCode);if(t===0&&e.unfinishedGeneratedLine>0){return"A"}else{return""}}}addGeneratedCode(e){this.generatedCode+=e}mapGeneratedCode(e){const t=e(this.generatedCode);return new CodeNode(t)}getNormalizedNodes(){return[this]}merge(e){if(e instanceof CodeNode){this.generatedCode+=e.generatedCode;return this}return false}}e.exports=CodeNode},337:function(e){"use strict";class MappingsContext{constructor(){this.sourcesIndices=new Map;this.sourcesContent=new Map;this.hasSourceContent=false;this.currentOriginalLine=1;this.currentSource=0;this.unfinishedGeneratedLine=false}ensureSource(e,t){let r=this.sourcesIndices.get(e);if(typeof r==="number"){return r}r=this.sourcesIndices.size;this.sourcesIndices.set(e,r);this.sourcesContent.set(e,t);if(typeof t==="string")this.hasSourceContent=true;return r}getArrays(){const e=[];const t=[];for(const r of this.sourcesContent){e.push(r[0]);t.push(r[1])}return{sources:e,sourcesContent:t}}}e.exports=MappingsContext},856:function(e,t,r){"use strict";const n=r(797);const i=r(232).y;const s=r(232).P;const o=";AAAA";class SingleLineNode{constructor(e,t,r,n){this.generatedCode=e;this.originalSource=r;this.source=t;this.line=n||1;this._numberOfLines=i(this.generatedCode);this._endsWithNewLine=e[e.length-1]==="\n"}clone(){return new SingleLineNode(this.generatedCode,this.source,this.originalSource,this.line)}getGeneratedCode(){return this.generatedCode}getMappings(e){if(!this.generatedCode)return"";const t=this._numberOfLines;const r=e.ensureSource(this.source,this.originalSource);let i="A";if(e.unfinishedGeneratedLine)i=","+n.encode(e.unfinishedGeneratedLine);i+=n.encode(r-e.currentSource);i+=n.encode(this.line-e.currentOriginalLine);i+="A";e.currentSource=r;e.currentOriginalLine=this.line;const a=e.unfinishedGeneratedLine=s(this.generatedCode);i+=Array(t).join(o);if(a===0){i+=";"}else{if(t!==0)i+=o}return i}getNormalizedNodes(){return[this]}mapGeneratedCode(e){const t=e(this.generatedCode);return new SingleLineNode(t,this.source,this.originalSource,this.line)}merge(e){if(e instanceof SingleLineNode){return this.mergeSingleLineNode(e)}return false}mergeSingleLineNode(e){if(this.source===e.source&&this.originalSource===e.originalSource){if(this.line===e.line){this.generatedCode+=e.generatedCode;this._numberOfLines+=e._numberOfLines;this._endsWithNewLine=e._endsWithNewLine;return this}else if(this.line+1===e.line&&this._endsWithNewLine&&this._numberOfLines===1&&e._numberOfLines<=1){return new a(this.generatedCode+e.generatedCode,this.source,this.originalSource,this.line)}}return false}}e.exports=SingleLineNode;const a=r(692)},492:function(e,t,r){"use strict";const n=r(513);const i=r(692);const s=r(337);const o=r(232).y;class SourceListMap{constructor(e,t,r){if(Array.isArray(e)){this.children=e}else{this.children=[];if(e||t)this.add(e,t,r)}}add(e,t,r){if(typeof e==="string"){if(t){this.children.push(new i(e,t,r))}else if(this.children.length>0&&this.children[this.children.length-1]instanceof n){this.children[this.children.length-1].addGeneratedCode(e)}else{this.children.push(new n(e))}}else if(e.getMappings&&e.getGeneratedCode){this.children.push(e)}else if(e.children){e.children.forEach((function(e){this.children.push(e)}),this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.add: Expected string, Node or SourceListMap")}}preprend(e,t,r){if(typeof e==="string"){if(t){this.children.unshift(new i(e,t,r))}else if(this.children.length>0&&this.children[this.children.length-1].preprendGeneratedCode){this.children[this.children.length-1].preprendGeneratedCode(e)}else{this.children.unshift(new n(e))}}else if(e.getMappings&&e.getGeneratedCode){this.children.unshift(e)}else if(e.children){e.children.slice().reverse().forEach((function(e){this.children.unshift(e)}),this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.prerend: Expected string, Node or SourceListMap")}}mapGeneratedCode(e){const t=[];this.children.forEach((function(e){e.getNormalizedNodes().forEach((function(e){t.push(e)}))}));const r=[];t.forEach((function(t){t=t.mapGeneratedCode(e);if(r.length===0){r.push(t)}else{const e=r[r.length-1];const n=e.merge(t);if(n){r[r.length-1]=n}else{r.push(t)}}}));return new SourceListMap(r)}toString(){return this.children.map((function(e){return e.getGeneratedCode()})).join("")}toStringWithSourceMap(e){const t=new s;const r=this.children.map((function(e){return e.getGeneratedCode()})).join("");const n=this.children.map((function(e){return e.getMappings(t)})).join("");const i=t.getArrays();return{source:r,map:{version:3,file:e&&e.file,sources:i.sources,sourcesContent:t.hasSourceContent?i.sourcesContent:undefined,mappings:n}}}}e.exports=SourceListMap},692:function(e,t,r){"use strict";const n=r(797);const i=r(232).y;const s=r(232).P;const o=";AACA";class SourceNode{constructor(e,t,r,n){this.generatedCode=e;this.originalSource=r;this.source=t;this.startingLine=n||1;this._numberOfLines=i(this.generatedCode);this._endsWithNewLine=e[e.length-1]==="\n"}clone(){return new SourceNode(this.generatedCode,this.source,this.originalSource,this.startingLine)}getGeneratedCode(){return this.generatedCode}addGeneratedCode(e){this.generatedCode+=e;this._numberOfLines+=i(e);this._endsWithNewLine=e[e.length-1]==="\n"}getMappings(e){if(!this.generatedCode)return"";const t=this._numberOfLines;const r=e.ensureSource(this.source,this.originalSource);let i="A";if(e.unfinishedGeneratedLine)i=","+n.encode(e.unfinishedGeneratedLine);i+=n.encode(r-e.currentSource);i+=n.encode(this.startingLine-e.currentOriginalLine);i+="A";e.currentSource=r;e.currentOriginalLine=this.startingLine+t-1;const a=e.unfinishedGeneratedLine=s(this.generatedCode);i+=Array(t).join(o);if(a===0){i+=";"}else{if(t!==0){i+=o}e.currentOriginalLine++}return i}mapGeneratedCode(e){throw new Error("Cannot map generated code on a SourceMap. Normalize to SingleLineNode first.")}getNormalizedNodes(){var e=[];var t=this.startingLine;var r=this.generatedCode;var n=0;var i=r.length;while(n<i){var s=r.indexOf("\n",n)+1;if(s===0)s=i;var o=r.substr(n,s-n);e.push(new a(o,this.source,this.originalSource,t));n=s;t++}return e}merge(e){if(e instanceof SourceNode){return this.mergeSourceNode(e)}else if(e instanceof a){return this.mergeSingleLineNode(e)}return false}mergeSourceNode(e){if(this.source===e.source&&this._endsWithNewLine&&this.startingLine+this._numberOfLines===e.startingLine){this.generatedCode+=e.generatedCode;this._numberOfLines+=e._numberOfLines;this._endsWithNewLine=e._endsWithNewLine;return this}return false}mergeSingleLineNode(e){if(this.source===e.source&&this._endsWithNewLine&&this.startingLine+this._numberOfLines===e.line&&e._numberOfLines<=1){this.addSingleLineNode(e);return this}return false}addSingleLineNode(e){this.generatedCode+=e.generatedCode;this._numberOfLines+=e._numberOfLines;this._endsWithNewLine=e._endsWithNewLine}}e.exports=SourceNode;const a=r(856)},797:function(e,t){var r={};var n={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach((function(e,t){r[e]=t;n[t]=e}));var i={};i.encode=function base64_encode(e){if(e in n){return n[e]}throw new TypeError("Must be between 0 and 63: "+e)};i.decode=function base64_decode(e){if(e in r){return r[e]}throw new TypeError("Not a valid base 64 digit: "+e)};var s=5;var o=1<<s;var a=o-1;var u=o;function toVLQSigned(e){return e<0?(-e<<1)+1:(e<<1)+0}function fromVLQSigned(e){var t=(e&1)===1;var r=e>>1;return t?-r:r}t.encode=function base64VLQ_encode(e){var t="";var r;var n=toVLQSigned(e);do{r=n&a;n>>>=s;if(n>0){r|=u}t+=i.encode(r)}while(n>0);return t};t.decode=function base64VLQ_decode(e,t){var r=0;var n=e.length;var o=0;var c=0;var h,d;do{if(r>=n){throw new Error("Expected more digits in base 64 VLQ value.")}d=i.decode(e.charAt(r++));h=!!(d&u);d&=a;o=o+(d<<c);c+=s}while(h);t.value=fromVLQSigned(o);t.rest=e.slice(r)}},558:function(e,t,r){"use strict";const n=r(797);const i=r(692);const s=r(513);const o=r(492);e.exports=function fromStringWithSourceMap(e,t){const r=t.sources;const a=t.sourcesContent;const u=t.mappings.split(";");const c=e.split("\n");const h=[];let d=null;let l=1;let f=0;let p;function addCode(e){if(d&&d instanceof s){d.addGeneratedCode(e)}else if(d&&d instanceof i&&!e.trim()){d.addGeneratedCode(e);p++}else{d=new s(e);h.push(d)}}function addSource(e,t,r,n){if(d&&d instanceof i&&d.source===t&&p===n){d.addGeneratedCode(e);p++}else{d=new i(e,t,r,n);p=n+1;h.push(d)}}u.forEach((function(e,t){let r=c[t];if(typeof r==="undefined")return;if(t!==c.length-1)r+="\n";if(!e)return addCode(r);e={value:0,rest:e};let n=false;while(e.rest)n=processMapping(e,r,n)||n;if(!n)addCode(r)}));if(u.length<c.length){let e=u.length;while(!c[e].trim()&&e<c.length-1){addCode(c[e]+"\n");e++}addCode(c.slice(e).join("\n"))}return new o(h);function processMapping(e,t,i){if(e.rest&&e.rest[0]!==","){n.decode(e.rest,e)}if(!e.rest)return false;if(e.rest[0]===","){e.rest=e.rest.substr(1);return false}n.decode(e.rest,e);const s=e.value+f;f=s;let o;if(e.rest&&e.rest[0]!==","){n.decode(e.rest,e);o=e.value+l;l=o}else{o=l}if(e.rest){const t=e.rest.indexOf(",");e.rest=t===-1?"":e.rest.substr(t)}if(!i){addSource(t,r?r[s]:null,a?a[s]:null,o);return true}}}},232:function(e,t){"use strict";t.y=function getNumberOfLines(e){let t=-1;let r=-1;do{t++;r=e.indexOf("\n",r+1)}while(r>=0);return t};t.P=function getUnfinishedLine(e){const t=e.lastIndexOf("\n");if(t===-1)return e.length;else return e.length-t-1}},113:function(e,t,r){t.SourceListMap=r(492);r(692);r(856);r(513);r(337);t.fromStringWithSourceMap=r(558)},37:function(e,t,r){"use strict";const n=r(83);class CachedSource extends n{constructor(e){super();this._source=e;this._cachedSource=undefined;this._cachedSize=undefined;this._cachedMaps={};if(e.node)this.node=function(e){return this._source.node(e)};if(e.listMap)this.listMap=function(e){return this._source.listMap(e)}}source(){if(typeof this._cachedSource!=="undefined")return this._cachedSource;return this._cachedSource=this._source.source()}size(){if(typeof this._cachedSize!=="undefined")return this._cachedSize;if(typeof this._cachedSource!=="undefined"){if(Buffer.from.length===1)return new Buffer(this._cachedSource).length;return this._cachedSize=Buffer.byteLength(this._cachedSource)}return this._cachedSize=this._source.size()}sourceAndMap(e){const t=JSON.stringify(e);if(typeof this._cachedSource!=="undefined"&&t in this._cachedMaps)return{source:this._cachedSource,map:this._cachedMaps[t]};else if(typeof this._cachedSource!=="undefined"){return{source:this._cachedSource,map:this._cachedMaps[t]=this._source.map(e)}}else if(t in this._cachedMaps){return{source:this._cachedSource=this._source.source(),map:this._cachedMaps[t]}}const r=this._source.sourceAndMap(e);this._cachedSource=r.source;this._cachedMaps[t]=r.map;return{source:this._cachedSource,map:this._cachedMaps[t]}}map(e){if(!e)e={};const t=JSON.stringify(e);if(t in this._cachedMaps)return this._cachedMaps[t];return this._cachedMaps[t]=this._source.map()}updateHash(e){this._source.updateHash(e)}}e.exports=CachedSource},926:function(e,t,r){"use strict";const n=r(749).SourceNode;const i=r(113).SourceListMap;const s=r(83);class ConcatSource extends s{constructor(){super();this.children=[];for(var e=0;e<arguments.length;e++){var t=arguments[e];if(t instanceof ConcatSource){var r=t.children;for(var n=0;n<r.length;n++)this.children.push(r[n])}else{this.children.push(t)}}}add(e){if(e instanceof ConcatSource){var t=e.children;for(var r=0;r<t.length;r++)this.children.push(t[r])}else{this.children.push(e)}}source(){let e="";const t=this.children;for(let r=0;r<t.length;r++){const n=t[r];e+=typeof n==="string"?n:n.source()}return e}size(){let e=0;const t=this.children;for(let r=0;r<t.length;r++){const n=t[r];e+=typeof n==="string"?n.length:n.size()}return e}node(e){const t=new n(null,null,null,this.children.map((function(t){return typeof t==="string"?t:t.node(e)})));return t}listMap(e){const t=new i;var r=this.children;for(var n=0;n<r.length;n++){var s=r[n];if(typeof s==="string")t.add(s);else t.add(s.listMap(e))}return t}updateHash(e){var t=this.children;for(var r=0;r<t.length;r++){var n=t[r];if(typeof n==="string")e.update(n);else n.updateHash(e)}}}r(975)(ConcatSource.prototype);e.exports=ConcatSource},869:function(e,t,r){"use strict";var n=r(749).SourceNode;var i=r(749).SourceMapConsumer;var s=r(113).SourceListMap;var o=r(83);class LineToLineMappedSource extends o{constructor(e,t,r){super();this._value=e;this._name=t;this._originalSource=r}source(){return this._value}node(e){var t=this._value;var r=this._name;var i=t.split("\n");var s=new n(null,null,null,i.map((function(e,t){return new n(t+1,0,r,e+(t!=i.length-1?"\n":""))})));s.setSourceContent(r,this._originalSource);return s}listMap(e){return new s(this._value,this._name,this._originalSource)}updateHash(e){e.update(this._value);e.update(this._originalSource)}}r(975)(LineToLineMappedSource.prototype);e.exports=LineToLineMappedSource},624:function(e,t,r){"use strict";var n=r(749).SourceNode;var i=r(749).SourceMapConsumer;var s=r(113).SourceListMap;var o=r(83);var a=/(?!$)[^\n\r;{}]*[\n\r;{}]*/g;function _splitCode(e){return e.match(a)||[]}class OriginalSource extends o{constructor(e,t){super();this._value=e;this._name=t}source(){return this._value}node(e){e=e||{};var t=this._sourceMap;var r=this._value;var i=this._name;var s=r.split("\n");var o=new n(null,null,null,s.map((function(t,r){var o=0;if(e.columns===false){var a=t+(r!=s.length-1?"\n":"");return new n(r+1,0,i,a)}return new n(null,null,null,_splitCode(t+(r!=s.length-1?"\n":"")).map((function(e){if(/^\s*$/.test(e)){o+=e.length;return e}var t=new n(r+1,o,i,e);o+=e.length;return t})))})));o.setSourceContent(i,r);return o}listMap(e){return new s(this._value,this._name,this._value)}updateHash(e){e.update(this._value)}}r(975)(OriginalSource.prototype);e.exports=OriginalSource},526:function(e,t,r){"use strict";var n=r(83);var i=r(749).SourceNode;var s=/\n(?=.|\s)/g;function cloneAndPrefix(e,t,r){if(typeof e==="string"){var n=e.replace(s,"\n"+t);if(r.length>0)n=r.pop()+n;if(/\n$/.test(e))r.push(t);return n}else{var o=new i(e.line,e.column,e.source,e.children.map((function(e){return cloneAndPrefix(e,t,r)})),e.name);o.sourceContents=e.sourceContents;return o}}class PrefixSource extends n{constructor(e,t){super();this._source=t;this._prefix=e}source(){var e=typeof this._source==="string"?this._source:this._source.source();var t=this._prefix;return t+e.replace(s,"\n"+t)}node(e){var t=this._source.node(e);var r=this._prefix;var n=[];var s=new i;t.walkSourceContents((function(e,t){s.setSourceContent(e,t)}));var o=true;t.walk((function(e,t){var s=e.split(/(\n)/);for(var a=0;a<s.length;a+=2){var u=a+1<s.length;var c=s[a]+(u?"\n":"");if(c){if(o){n.push(r)}n.push(new i(t.line,t.column,t.source,c,t.name));o=u}}}));s.add(n);return s}listMap(e){var t=this._prefix;var r=this._source.listMap(e);return r.mapGeneratedCode((function(e){return t+e.replace(s,"\n"+t)}))}updateHash(e){if(typeof this._source==="string")e.update(this._source);else this._source.updateHash(e);if(typeof this._prefix==="string")e.update(this._prefix);else this._prefix.updateHash(e)}}r(975)(PrefixSource.prototype);e.exports=PrefixSource},23:function(e,t,r){"use strict";var n=r(83);var i=r(749).SourceNode;var s=r(113).SourceListMap;class RawSource extends n{constructor(e){super();this._value=e}source(){return this._value}map(e){return null}node(e){return new i(null,null,null,this._value)}listMap(e){return new s(this._value)}updateHash(e){e.update(this._value)}}e.exports=RawSource},116:function(e,t,r){"use strict";var n=r(83);var i=r(749).SourceNode;class Replacement{constructor(e,t,r,n,i){this.start=e;this.end=t;this.content=r;this.insertIndex=n;this.name=i}}class ReplaceSource extends n{constructor(e,t){super();this._source=e;this._name=t;this.replacements=[]}replace(e,t,r,n){if(typeof r!=="string")throw new Error("insertion must be a string, but is a "+typeof r);this.replacements.push(new Replacement(e,t,r,this.replacements.length,n))}insert(e,t,r){if(typeof t!=="string")throw new Error("insertion must be a string, but is a "+typeof t+": "+t);this.replacements.push(new Replacement(e,e-1,t,this.replacements.length,r))}source(e){return this._replaceString(this._source.source())}original(){return this._source}_sortReplacements(){this.replacements.sort((function(e,t){var r=t.end-e.end;if(r!==0)return r;r=t.start-e.start;if(r!==0)return r;return t.insertIndex-e.insertIndex}))}_replaceString(e){if(typeof e!=="string")throw new Error("str must be a string, but is a "+typeof e+": "+e);this._sortReplacements();var t=[e];this.replacements.forEach((function(e){var r=t.pop();var n=this._splitString(r,Math.floor(e.end+1));var i=this._splitString(n[0],Math.floor(e.start));t.push(n[1],e.content,i[0])}),this);let r="";for(let e=t.length-1;e>=0;--e){r+=t[e]}return r}node(e){var t=this._source.node(e);if(this.replacements.length===0){return t}this._sortReplacements();var r=new ReplacementEnumerator(this.replacements);var n=[];var s=0;var o=Object.create(null);var a=Object.create(null);var u=new i;t.walkSourceContents((function(e,t){u.setSourceContent(e,t);o["$"+e]=t}));var c=this._replaceInStringNode.bind(this,n,r,(function getOriginalSource(e){var t="$"+e.source;var r=a[t];if(!r){var n=o[t];if(!n)return null;r=n.split("\n").map((function(e){return e+"\n"}));a[t]=r}if(e.line>r.length)return null;var i=r[e.line-1];return i.substr(e.column)}));t.walk((function(e,t){s=c(e,s,t)}));var h=r.footer();if(h){n.push(h)}u.add(n);return u}listMap(e){this._sortReplacements();var t=this._source.listMap(e);var r=0;var n=this.replacements;var i=n.length-1;var s=0;t=t.mapGeneratedCode((function(e){var t=r+e.length;if(s>e.length){s-=e.length;e=""}else{if(s>0){e=e.substr(s);r+=s;s=0}var o="";while(i>=0&&n[i].start<t){var a=n[i];var u=Math.floor(a.start);var c=Math.floor(a.end+1);var h=e.substr(0,Math.max(0,u-r));if(c<=t){var d=e.substr(Math.max(0,c-r));o+=h+a.content;e=d;r=Math.max(r,c)}else{o+=h+a.content;e="";s=c-t}i--}e=o+e}r=t;return e}));var o="";while(i>=0){o+=n[i].content;i--}if(o){t.add(o)}return t}_splitString(e,t){return t<=0?["",e]:[e.substr(0,t),e.substr(t)]}_replaceInStringNode(e,t,r,n,s,o){var a=undefined;do{var u=t.position-s;if(u<0){u=0}if(u>=n.length||t.done){if(t.emit){var c=new i(o.line,o.column,o.source,n,o.name);e.push(c)}return s+n.length}var h=o.column;var d;if(u>0){d=n.slice(0,u);if(a===undefined){a=r(o)}if(a&&a.length>=u&&a.startsWith(d)){o.column+=u;a=a.substr(u)}}var l=t.next();if(!l){if(u>0){var f=new i(o.line,h,o.source,d,o.name);e.push(f)}if(t.value){e.push(new i(o.line,o.column,o.source,t.value,o.name||t.name))}}n=n.substr(u);s+=u}while(true)}}class ReplacementEnumerator{constructor(e){this.replacements=e||[];this.index=this.replacements.length;this.done=false;this.emit=false;this.next()}next(){if(this.done)return true;if(this.emit){var e=this.replacements[this.index];var t=Math.floor(e.end+1);this.position=t;this.value=e.content;this.name=e.name}else{this.index--;if(this.index<0){this.done=true}else{var r=this.replacements[this.index];var n=Math.floor(r.start);this.position=n}}if(this.position<0)this.position=0;this.emit=!this.emit;return this.emit}footer(){if(!this.done&&!this.emit)this.next();if(this.done){return[]}else{var e="";for(var t=this.index;t>=0;t--){var r=this.replacements[t];e+=r.content}return e}}}r(975)(ReplaceSource.prototype);e.exports=ReplaceSource},83:function(e,t,r){"use strict";var n=r(749).SourceNode;var i=r(749).SourceMapConsumer;class Source{source(){throw new Error("Abstract")}size(){if(Buffer.from.length===1)return new Buffer(this.source()).length;return Buffer.byteLength(this.source())}map(e){return null}sourceAndMap(e){return{source:this.source(),map:this.map()}}node(){throw new Error("Abstract")}listNode(){throw new Error("Abstract")}updateHash(e){var t=this.source();e.update(t||"")}}e.exports=Source},975:function(e){"use strict";e.exports=function mixinSourceAndMap(e){e.map=function(e){e=e||{};if(e.columns===false){return this.listMap(e).toStringWithSourceMap({file:"x"}).map}return this.node(e).toStringWithSourceMap({file:"x"}).map.toJSON()};e.sourceAndMap=function(e){e=e||{};if(e.columns===false){return this.listMap(e).toStringWithSourceMap({file:"x"})}var t=this.node(e).toStringWithSourceMap({file:"x"});return{source:t.code,map:t.map.toJSON()}}}},321:function(e,t,r){"use strict";var n=r(749).SourceNode;var i=r(749).SourceMapConsumer;var s=r(749).SourceMapGenerator;var o=r(113).SourceListMap;var a=r(113).fromStringWithSourceMap;var u=r(83);var c=r(401);class SourceMapSource extends u{constructor(e,t,r,n,i,s){super();this._value=e;this._name=t;this._sourceMap=r;this._originalSource=n;this._innerSourceMap=i;this._removeOriginalSource=s}source(){return this._value}node(e){var t=this._sourceMap;var r=n.fromStringWithSourceMap(this._value,new i(t));r.setSourceContent(this._name,this._originalSource);var s=this._innerSourceMap;if(s){r=c(r,new i(s),this._name,this._removeOriginalSource)}return r}listMap(e){e=e||{};if(e.module===false)return new o(this._value,this._name,this._value);return a(this._value,typeof this._sourceMap==="string"?JSON.parse(this._sourceMap):this._sourceMap)}updateHash(e){e.update(this._value);if(this._originalSource)e.update(this._originalSource)}}r(975)(SourceMapSource.prototype);e.exports=SourceMapSource},401:function(e,t,r){"use strict";var n=r(749).SourceNode;var i=r(749).SourceMapConsumer;var applySourceMap=function(e,t,r,s){var o=new n;var a=[];var u={};var c={};var h={};var d={};t.eachMapping((function(e){(c[e.generatedLine]=c[e.generatedLine]||[]).push(e)}),null,i.GENERATED_ORDER);e.walkSourceContents((function(e,t){u["$"+e]=t}));var l=u["$"+r];var f=l?l.split("\n"):undefined;e.walk((function(e,i){var l;if(i.source===r&&i.line&&c[i.line]){var p;var g=c[i.line];for(var _=0;_<g.length;_++){if(g[_].generatedColumn<=i.column){p=g[_]}}if(p){var v=false;var m;var S;var C;var w=p.source;if(f&&w&&(m=f[p.generatedLine-1])&&((C=d[w])||(S=t.sourceContentFor(w,true)))){if(!C){C=d[w]=S.split("\n")}var L=C[p.originalLine-1];if(L){var M=i.column-p.generatedColumn;if(M>0){var x=m.slice(p.generatedColumn,i.column);var b=L.slice(p.originalColumn,p.originalColumn+M);if(x===b){p=Object.assign({},p,{originalColumn:p.originalColumn+M,generatedColumn:i.column})}}if(!p.name&&i.name){v=L.slice(p.originalColumn,p.originalColumn+i.name.length)===i.name}}}l=p.source;a.push(new n(p.originalLine,p.originalColumn,l,e,v?i.name:p.name));if(!("$"+l in h)){h["$"+l]=true;var N=t.sourceContentFor(l,true);if(N){o.setSourceContent(l,N)}}return}}if(s&&i.source===r||!i.source){a.push(e);return}l=i.source;a.push(new n(i.line,i.column,l,e,i.name));if("$"+l in u){if(!("$"+l in h)){o.setSourceContent(l,u["$"+l]);delete u["$"+l]}}}));o.add(a);return o};e.exports=applySourceMap},749:function(e){"use strict";e.exports=require("next/dist/compiled/source-map")}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var i=t[r]={exports:{}};var s=true;try{e[r](i,i.exports,__nccwpck_require__);s=false}finally{if(s)delete t[r]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r={};!function(){var e=r;e.Source=__nccwpck_require__(83);e.RawSource=__nccwpck_require__(23);e.OriginalSource=__nccwpck_require__(624);e.SourceMapSource=__nccwpck_require__(321);e.LineToLineMappedSource=__nccwpck_require__(869);e.CachedSource=__nccwpck_require__(37);e.ConcatSource=__nccwpck_require__(926);e.ReplaceSource=__nccwpck_require__(116);e.PrefixSource=__nccwpck_require__(526)}();module.exports=r})();