diff --git a/packages/next/compiled/postcss-loader/cjs.js b/packages/next/compiled/postcss-loader/cjs.js index 773631314454a..e844564a4aa33 100644 --- a/packages/next/compiled/postcss-loader/cjs.js +++ b/packages/next/compiled/postcss-loader/cjs.js @@ -1 +1 @@ -module.exports=(()=>{var e={6553:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=_interopRequireWildcard(r(9571));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:o=3}=r||{};const a=n.line;const l=n.column;const c=s.line;const f=s.column;let u=Math.max(a-(i+1),0);let h=Math.min(t.length,c+o);if(a===-1){u=0}if(c===-1){h=t.length}const p=c-a;const d={};if(p){for(let e=0;e<=p;e++){const r=e+a;if(!l){d[r]=true}else if(e===0){const e=t[r-1].length;d[r]=[l,e-l+1]}else if(e===p){d[r]=[0,f]}else{const n=t[r-e].length;d[r]=[0,n]}}}else{if(l===f){if(l){d[a]=[l,0]}else{d[a]=true}}else{d[a]=[l,f-l]}}return{start:u,end:h,markerLines:d}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const o=(0,n.getChalk)(r);const a=getDefs(o);const l=(e,t)=>{return s?e(t):t};const c=e.split(i);const{start:f,end:u,markerLines:h}=getMarkerLines(t,c,r);const p=t.start&&typeof t.start.column==="number";const d=String(u).length;const g=s?(0,n.default)(e,r):e;let w=g.split(i).slice(f,u).map((e,t)=>{const n=f+1+t;const s=` ${n}`.slice(-d);const i=` ${s} | `;const o=h[n];const c=!h[n+1];if(o){let t="";if(Array.isArray(o)){const n=e.slice(0,Math.max(o[0]-1,0)).replace(/[^\t]/g," ");const s=o[1]||1;t=["\n ",l(a.gutter,i.replace(/\d/g," ")),n,l(a.marker,"^").repeat(s)].join("");if(c&&r.message){t+=" "+l(a.message,r.message)}}return[l(a.marker,">"),l(a.gutter,i),e,t].join("")}else{return` ${l(a.gutter,i)}${e}`}}).join("\n");if(r.message&&!p){w=`${" ".repeat(d+1)}${r.message}\n${w}`}if(s){return o.reset(w)}else{return w}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},4705:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const a=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,a)}function isIdentifierName(e){let t=true;for(let r=0,n=Array.from(e);r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(4705);var s=r(8755)},8755:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},9571:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=_interopRequireWildcard(r(2388));var s=r(4246);var i=_interopRequireDefault(r(2242));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const a=/^[a-z][\w-]*$/i;const l=/^[()[\]{}]$/;function getTokenType(e){const[t,r]=e.slice(-2);const i=(0,n.matchToToken)(e);if(i.type==="name"){if((0,s.isKeyword)(i.value)||(0,s.isReservedWord)(i.value)){return"keyword"}if(a.test(i.value)&&(r[t-1]==="<"||r.substr(t-2,2)=="n(e)).join("\n")}else{return t[0]}})}function shouldHighlight(e){return i.default.supportsColor||e.forceColor}function getChalk(e){let t=i.default;if(e.forceColor){t=new i.default.constructor({enabled:true,level:1})}return t}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},726:e=>{"use strict";const t=()=>{const e=Error.prepareStackTrace;Error.prepareStackTrace=((e,t)=>t);const t=(new Error).stack.slice(1);Error.prepareStackTrace=e;return t};e.exports=t;e.exports.default=t},4398:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Explorer=void 0;var n=_interopRequireDefault(r(5622));var s=r(4084);var i=r(6346);var o=r(7594);var a=r(4328);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class Explorer extends s.ExplorerBase{constructor(e){super(e)}async search(e=process.cwd()){const t=await(0,a.getDirectory)(e);const r=await this.searchFromDirectory(t);return r}async searchFromDirectory(e){const t=n.default.resolve(process.cwd(),e);const r=async()=>{const e=await this.searchDirectory(t);const r=this.nextDirectoryToSearch(t,e);if(r){return this.searchFromDirectory(r)}const n=await this.config.transform(e);return n};if(this.searchCache){return(0,o.cacheWrapper)(this.searchCache,t,r)}return r()}async searchDirectory(e){for await(const t of this.config.searchPlaces){const r=await this.loadSearchPlace(e,t);if(this.shouldSearchStopWithResult(r)===true){return r}}return null}async loadSearchPlace(e,t){const r=n.default.join(e,t);const s=await(0,i.readFile)(r);const o=await this.createCosmiconfigResult(r,s);return o}async loadFileContent(e,t){if(t===null){return null}if(t.trim()===""){return undefined}const r=this.getLoaderEntryForFile(e);const n=await r(e,t);return n}async createCosmiconfigResult(e,t){const r=await this.loadFileContent(e,t);const n=this.loadedContentToCosmiconfigResult(e,r);return n}async load(e){this.validateFilePath(e);const t=n.default.resolve(process.cwd(),e);const r=async()=>{const e=await(0,i.readFile)(t,{throwNotFound:true});const r=await this.createCosmiconfigResult(t,e);const n=await this.config.transform(r);return n};if(this.loadCache){return(0,o.cacheWrapper)(this.loadCache,t,r)}return r()}}t.Explorer=Explorer},4084:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getExtensionDescription=getExtensionDescription;t.ExplorerBase=void 0;var n=_interopRequireDefault(r(5622));var s=r(6169);var i=r(9371);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ExplorerBase{constructor(e){if(e.cache===true){this.loadCache=new Map;this.searchCache=new Map}this.config=e;this.validateConfig()}clearLoadCache(){if(this.loadCache){this.loadCache.clear()}}clearSearchCache(){if(this.searchCache){this.searchCache.clear()}}clearCaches(){this.clearLoadCache();this.clearSearchCache()}validateConfig(){const e=this.config;e.searchPlaces.forEach(t=>{const r=n.default.extname(t)||"noExt";const s=e.loaders[r];if(!s){throw new Error(`No loader specified for ${getExtensionDescription(t)}, so searchPlaces item "${t}" is invalid`)}if(typeof s!=="function"){throw new Error(`loader for ${getExtensionDescription(t)} is not a function (type provided: "${typeof s}"), so searchPlaces item "${t}" is invalid`)}})}shouldSearchStopWithResult(e){if(e===null)return false;if(e.isEmpty&&this.config.ignoreEmptySearchPlaces)return false;return true}nextDirectoryToSearch(e,t){if(this.shouldSearchStopWithResult(t)){return null}const r=nextDirUp(e);if(r===e||e===this.config.stopDir){return null}return r}loadPackageProp(e,t){const r=s.loaders.loadJson(e,t);const n=(0,i.getPropertyByPath)(r,this.config.packageProp);return n||null}getLoaderEntryForFile(e){if(n.default.basename(e)==="package.json"){const e=this.loadPackageProp.bind(this);return e}const t=n.default.extname(e)||"noExt";const r=this.config.loaders[t];if(!r){throw new Error(`No loader specified for ${getExtensionDescription(e)}`)}return r}loadedContentToCosmiconfigResult(e,t){if(t===null){return null}if(t===undefined){return{filepath:e,config:undefined,isEmpty:true}}return{config:t,filepath:e}}validateFilePath(e){if(!e){throw new Error("load must pass a non-empty string")}}}t.ExplorerBase=ExplorerBase;function nextDirUp(e){return n.default.dirname(e)}function getExtensionDescription(e){const t=n.default.extname(e);return t?`extension "${t}"`:"files without extensions"}},8666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExplorerSync=void 0;var n=_interopRequireDefault(r(5622));var s=r(4084);var i=r(6346);var o=r(7594);var a=r(4328);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ExplorerSync extends s.ExplorerBase{constructor(e){super(e)}searchSync(e=process.cwd()){const t=(0,a.getDirectorySync)(e);const r=this.searchFromDirectorySync(t);return r}searchFromDirectorySync(e){const t=n.default.resolve(process.cwd(),e);const r=()=>{const e=this.searchDirectorySync(t);const r=this.nextDirectoryToSearch(t,e);if(r){return this.searchFromDirectorySync(r)}const n=this.config.transform(e);return n};if(this.searchCache){return(0,o.cacheWrapperSync)(this.searchCache,t,r)}return r()}searchDirectorySync(e){for(const t of this.config.searchPlaces){const r=this.loadSearchPlaceSync(e,t);if(this.shouldSearchStopWithResult(r)===true){return r}}return null}loadSearchPlaceSync(e,t){const r=n.default.join(e,t);const s=(0,i.readFileSync)(r);const o=this.createCosmiconfigResultSync(r,s);return o}loadFileContentSync(e,t){if(t===null){return null}if(t.trim()===""){return undefined}const r=this.getLoaderEntryForFile(e);const n=r(e,t);return n}createCosmiconfigResultSync(e,t){const r=this.loadFileContentSync(e,t);const n=this.loadedContentToCosmiconfigResult(e,r);return n}loadSync(e){this.validateFilePath(e);const t=n.default.resolve(process.cwd(),e);const r=()=>{const e=(0,i.readFileSync)(t,{throwNotFound:true});const r=this.createCosmiconfigResultSync(t,e);const n=this.config.transform(r);return n};if(this.loadCache){return(0,o.cacheWrapperSync)(this.loadCache,t,r)}return r()}}t.ExplorerSync=ExplorerSync},7594:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cacheWrapper=cacheWrapper;t.cacheWrapperSync=cacheWrapperSync;async function cacheWrapper(e,t,r){const n=e.get(t);if(n!==undefined){return n}const s=await r();e.set(t,s);return s}function cacheWrapperSync(e,t,r){const n=e.get(t);if(n!==undefined){return n}const s=r();e.set(t,s);return s}},4328:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getDirectory=getDirectory;t.getDirectorySync=getDirectorySync;var n=_interopRequireDefault(r(5622));var s=r(271);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function getDirectory(e){const t=await(0,s.isDirectory)(e);if(t===true){return e}const r=n.default.dirname(e);return r}function getDirectorySync(e){const t=(0,s.isDirectorySync)(e);if(t===true){return e}const r=n.default.dirname(e);return r}},9371:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getPropertyByPath=getPropertyByPath;function getPropertyByPath(e,t){if(typeof t==="string"&&Object.prototype.hasOwnProperty.call(e,t)){return e[t]}const r=typeof t==="string"?t.split("."):t;return r.reduce((e,t)=>{if(e===undefined){return e}return e[t]},e)}},3507:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cosmiconfig=cosmiconfig;t.cosmiconfigSync=cosmiconfigSync;t.defaultLoaders=void 0;var n=_interopRequireDefault(r(2087));var s=r(4398);var i=r(8666);var o=r(6169);var a=r(3988);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function cosmiconfig(e,t={}){const r=normalizeOptions(e,t);const n=new s.Explorer(r);return{search:n.search.bind(n),load:n.load.bind(n),clearLoadCache:n.clearLoadCache.bind(n),clearSearchCache:n.clearSearchCache.bind(n),clearCaches:n.clearCaches.bind(n)}}function cosmiconfigSync(e,t={}){const r=normalizeOptions(e,t);const n=new i.ExplorerSync(r);return{search:n.searchSync.bind(n),load:n.loadSync.bind(n),clearLoadCache:n.clearLoadCache.bind(n),clearSearchCache:n.clearSearchCache.bind(n),clearCaches:n.clearCaches.bind(n)}}const l=Object.freeze({".cjs":o.loaders.loadJs,".js":o.loaders.loadJs,".json":o.loaders.loadJson,".yaml":o.loaders.loadYaml,".yml":o.loaders.loadYaml,noExt:o.loaders.loadYaml});t.defaultLoaders=l;const c=function identity(e){return e};function normalizeOptions(e,t){const r={packageProp:e,searchPlaces:["package.json",`.${e}rc`,`.${e}rc.json`,`.${e}rc.yaml`,`.${e}rc.yml`,`.${e}rc.js`,`.${e}rc.cjs`,`${e}.config.js`,`${e}.config.cjs`],ignoreEmptySearchPlaces:true,stopDir:n.default.homedir(),cache:true,transform:c,loaders:l};const s={...r,...t,loaders:{...r.loaders,...t.loaders}};return s}},6169:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.loaders=void 0;let n;const s=function loadJs(e){if(n===undefined){n=r(9900)}const t=n(e);return t};let i;const o=function loadJson(e,t){if(i===undefined){i=r(2518)}try{const r=i(t);return r}catch(t){t.message=`JSON Error in ${e}:\n${t.message}`;throw t}};let a;const l=function loadYaml(e,t){if(a===undefined){a=r(1310)}try{const r=a.parse(t,{prettyErrors:true});return r}catch(t){t.message=`YAML Error in ${e}:\n${t.message}`;throw t}};const c={loadJs:s,loadJson:o,loadYaml:l};t.loaders=c},6346:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.readFile=readFile;t.readFileSync=readFileSync;var n=_interopRequireDefault(r(5747));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function fsReadFileAsync(e,t){return new Promise((r,s)=>{n.default.readFile(e,t,(e,t)=>{if(e){s(e);return}r(t)})})}async function readFile(e,t={}){const r=t.throwNotFound===true;try{const t=await fsReadFileAsync(e,"utf8");return t}catch(e){if(r===false&&e.code==="ENOENT"){return null}throw e}}function readFileSync(e,t={}){const r=t.throwNotFound===true;try{const t=n.default.readFileSync(e,"utf8");return t}catch(e){if(r===false&&e.code==="ENOENT"){return null}throw e}}},3988:()=>{"use strict"},8361:(e,t,r)=>{"use strict";var n=r(1669);var s=r(237);var i=function errorEx(e,t){if(!e||e.constructor!==String){t=e||{};e=Error.name}var r=function ErrorEXError(n){if(!this){return new ErrorEXError(n)}n=n instanceof Error?n.message:n||this.message;Error.call(this,n);Error.captureStackTrace(this,r);this.name=e;Object.defineProperty(this,"message",{configurable:true,enumerable:false,get:function(){var e=n.split(/\r?\n/g);for(var r in t){if(!t.hasOwnProperty(r)){continue}var i=t[r];if("message"in i){e=i.message(this[r],e)||e;if(!s(e)){e=[e]}}}return e.join("\n")},set:function(e){n=e}});var i=null;var o=Object.getOwnPropertyDescriptor(this,"stack");var a=o.get;var l=o.value;delete o.value;delete o.writable;o.set=function(e){i=e};o.get=function(){var e=(i||(a?a.call(this):l)).split(/\r?\n+/g);if(!i){e[0]=this.name+": "+this.message}var r=1;for(var n in t){if(!t.hasOwnProperty(n)){continue}var s=t[n];if("line"in s){var o=s.line(this[n]);if(o){e.splice(r++,0," "+o)}}if("stack"in s){s.stack(this[n],e)}}return e.join("\n")};Object.defineProperty(this,"stack",o)};if(Object.setPrototypeOf){Object.setPrototypeOf(r.prototype,Error.prototype);Object.setPrototypeOf(r,Error)}else{n.inherits(r,Error)}return r};i.append=function(e,t){return{message:function(r,n){r=r||t;if(r){n[0]+=" "+e.replace("%s",r.toString())}return n}}};i.line=function(e,t){return{line:function(r){r=r||t;if(r){return e.replace("%s",r.toString())}return null}}};e.exports=i},9900:(e,t,r)=>{"use strict";const n=r(5622);const s=r(4101);const i=r(5281);e.exports=(e=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}const t=i(__filename);const r=s(n.dirname(t),e);const o=require.cache[r];if(o&&o.parent){let e=o.parent.children.length;while(e--){if(o.parent.children[e].id===r){o.parent.children.splice(e,1)}}}delete require.cache[r];const a=require.cache[t];return a===undefined?require(r):a.require(r)})},4101:(e,t,r)=>{"use strict";const n=r(5622);const s=r(2282);const i=r(5747);const o=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof e}\``)}if(typeof t!=="string"){throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof t}\``)}try{e=i.realpathSync(e)}catch(t){if(t.code==="ENOENT"){e=n.resolve(e)}else if(r){return null}else{throw t}}const o=n.join(e,"noop.js");const a=()=>s._resolveFilename(t,{id:o,filename:o,paths:s._nodeModulePaths(e)});if(r){try{return a()}catch(e){return null}}return a()};e.exports=((e,t)=>o(e,t));e.exports.silent=((e,t)=>o(e,t,true))},237:e=>{"use strict";e.exports=function isArrayish(e){if(!e){return false}return e instanceof Array||Array.isArray(e)||e.length>=0&&e.splice instanceof Function}},1352:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return t.call(e)=="[object Array]"}},2388:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:undefined};if(e[1])t.type="string",t.closed=!!(e[3]||e[4]);else if(e[5])t.type="comment";else if(e[6])t.type="comment",t.closed=!!e[7];else if(e[8])t.type="regex";else if(e[9])t.type="number";else if(e[10])t.type="name";else if(e[11])t.type="punctuator";else if(e[12])t.type="whitespace";return t}},8335:e=>{"use strict";e.exports=parseJson;function parseJson(e,t,r){r=r||20;try{return JSON.parse(e,t)}catch(t){if(typeof e!=="string"){const t=Array.isArray(e)&&e.length===0;const r="Cannot parse "+(t?"an empty array":String(e));throw new TypeError(r)}const n=t.message.match(/^Unexpected token.*position\s+(\d+)/i);const s=n?+n[1]:t.message.match(/^Unexpected end of JSON.*/i)?e.length-1:null;if(s!=null){const n=s<=r?0:s-r;const i=s+r>=e.length?e.length:s+r;t.message+=` while parsing near '${n===0?"":"..."}${e.slice(n,i)}${i===e.length?"":"..."}'`}else{t.message+=` while parsing '${e.slice(0,r*2)}'`}throw t}}},241:(e,t)=>{function set(e,t,r){if(typeof r.value==="object")r.value=klona(r.value);if(!r.enumerable||r.get||r.set||!r.configurable||!r.writable||t==="__proto__"){Object.defineProperty(e,t,r)}else e[t]=r.value}function klona(e){if(typeof e!=="object")return e;var t=0,r,n,s,i=Object.prototype.toString.call(e);if(i==="[object Object]"){s=Object.create(e.__proto__||null)}else if(i==="[object Array]"){s=Array(e.length)}else if(i==="[object Set]"){s=new Set;e.forEach(function(e){s.add(klona(e))})}else if(i==="[object Map]"){s=new Map;e.forEach(function(e,t){s.set(klona(t),klona(e))})}else if(i==="[object Date]"){s=new Date(+e)}else if(i==="[object RegExp]"){s=new RegExp(e.source,e.flags)}else if(i==="[object DataView]"){s=new e.constructor(klona(e.buffer))}else if(i==="[object ArrayBuffer]"){s=e.slice(0)}else if(i.slice(-6)==="Array]"){s=new e.constructor(e)}if(s){for(n=Object.getOwnPropertySymbols(e);t{"use strict";var n=r(1352);var s=r(4943);var i=Array.prototype.slice;e.exports=LineColumnFinder;function LineColumnFinder(e,t){if(!(this instanceof LineColumnFinder)){if(typeof t==="number"){return new LineColumnFinder(e).fromIndex(t)}return new LineColumnFinder(e,t)}this.str=e||"";this.lineToIndex=buildLineToIndex(this.str);t=t||{};this.origin=typeof t.origin==="undefined"?1:t.origin}LineColumnFinder.prototype.fromIndex=function(e){if(e<0||e>=this.str.length||isNaN(e)){return null}var t=findLowerIndexInRangeArray(e,this.lineToIndex);return{line:t+this.origin,col:e-this.lineToIndex[t]+this.origin}};LineColumnFinder.prototype.toIndex=function(e,t){if(typeof t==="undefined"){if(n(e)&&e.length>=2){return this.toIndex(e[0],e[1])}if(s(e)&&"line"in e&&("col"in e||"column"in e)){return this.toIndex(e.line,"col"in e?e.col:e.column)}return-1}if(isNaN(e)||isNaN(t)){return-1}e-=this.origin;t-=this.origin;if(e>=0&&t>=0&&e=t[t.length-1]){return t.length-1}var r=0,n=t.length-2,s;while(r>1);if(e=t[s+1]){r=s+1}else{r=s;break}}return r}},4943:(e,t,r)=>{"use strict";var n=r(1352);e.exports=function isObject(e){return e!=null&&typeof e==="object"&&n(e)===false}},9036:(e,t)=>{"use strict";var r="\n";var n="\r";var s=function(){function LinesAndColumns(e){this.string=e;var t=[0];for(var s=0;sthis.string.length){return null}var t=0;var r=this.offsets;while(r[t+1]<=e){t++}var n=e-r[t];return{line:t,column:n}};LinesAndColumns.prototype.indexForLocation=function(e){var t=e.line,r=e.column;if(t<0||t>=this.offsets.length){return null}if(r<0||r>this.lengthOfLine(t)){return null}return this.offsets[t]+r};LinesAndColumns.prototype.lengthOfLine=function(e){var t=this.offsets[e];var r=e===this.offsets.length-1?this.string.length:this.offsets[e+1];return r-t};return LinesAndColumns}();t.__esModule=true;t.default=s},5281:(e,t,r)=>{"use strict";const n=r(726);e.exports=(e=>{const t=n();if(!e){return t[2].getFileName()}let r=false;t.shift();for(const n of t){const t=n.getFileName();if(typeof t!=="string"){continue}if(t===e){r=true;continue}if(t==="module.js"){continue}if(r&&t!==e){return t}}})},2518:(e,t,r)=>{"use strict";const n=r(8361);const s=r(8335);const{default:i}=r(9036);const{codeFrameColumns:o}=r(6553);const a=n("JSONError",{fileName:n.append("in %s"),codeFrame:n.append("\n\n%s\n")});e.exports=((e,t,r)=>{if(typeof t==="string"){r=t;t=null}try{try{return JSON.parse(e,t)}catch(r){s(e,t);throw r}}catch(t){t.message=t.message.replace(/\n/g,"");const n=t.message.match(/in JSON at position (\d+) while parsing near/);const s=new a(t);if(r){s.fileName=r}if(n&&n.length>0){const t=new i(e);const r=Number(n[1]);const a=t.locationForIndex(r);const l=o(e,{start:{line:a.line+1,column:a.column+1}},{highlightCode:true});s.codeFrame=l}throw s}})},271:(e,t,r)=>{"use strict";const{promisify:n}=r(1669);const s=r(5747);async function isType(e,t,r){if(typeof r!=="string"){throw new TypeError(`Expected a string, got ${typeof r}`)}try{const i=await n(s[e])(r);return i[t]()}catch(e){if(e.code==="ENOENT"){return false}throw e}}function isTypeSync(e,t,r){if(typeof r!=="string"){throw new TypeError(`Expected a string, got ${typeof r}`)}try{return s[e](r)[t]()}catch(e){if(e.code==="ENOENT"){return false}throw e}}t.isFile=isType.bind(null,"stat","isFile");t.isDirectory=isType.bind(null,"stat","isDirectory");t.isSymlink=isType.bind(null,"lstat","isSymbolicLink");t.isFileSync=isTypeSync.bind(null,"statSync","isFile");t.isDirectorySync=isTypeSync.bind(null,"statSync","isDirectory");t.isSymlinkSync=isTypeSync.bind(null,"lstatSync","isSymbolicLink")},1230:(e,t,r)=>{"use strict";var n=r(6580);var s=r(390);var i=r(3616);const o={anchorPrefix:"a",customTags:null,indent:2,indentSeq:true,keepCstNodes:false,keepNodeTypes:true,keepBlobsInJSON:true,mapAsMap:false,maxAliasCount:100,prettyErrors:false,simpleKeys:false,version:"1.2"};const a={get binary(){return s.binaryOptions},set binary(e){Object.assign(s.binaryOptions,e)},get bool(){return s.boolOptions},set bool(e){Object.assign(s.boolOptions,e)},get int(){return s.intOptions},set int(e){Object.assign(s.intOptions,e)},get null(){return s.nullOptions},set null(e){Object.assign(s.nullOptions,e)},get str(){return s.strOptions},set str(e){Object.assign(s.strOptions,e)}};const l={"1.0":{schema:"yaml-1.1",merge:true,tagPrefixes:[{handle:"!",prefix:n.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:true,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:n.defaultTagPrefix}]},1.2:{schema:"core",merge:false,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:n.defaultTagPrefix}]}};function stringifyTag(e,t){if((e.version||e.options.version)==="1.0"){const e=t.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(e)return"!"+e[1];const r=t.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return r?`!${r[1]}/${r[2]}`:`!${t.replace(/^tag:/,"")}`}let r=e.tagPrefixes.find(e=>t.indexOf(e.prefix)===0);if(!r){const n=e.getDefaults().tagPrefixes;r=n&&n.find(e=>t.indexOf(e.prefix)===0)}if(!r)return t[0]==="!"?t:`!<${t}>`;const n=t.substr(r.prefix.length).replace(/[!,[\]{}]/g,e=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[e]);return r.handle+n}function getTagObject(e,t){if(t instanceof s.Alias)return s.Alias;if(t.tag){const r=e.filter(e=>e.tag===t.tag);if(r.length>0)return r.find(e=>e.format===t.format)||r[0]}let r,n;if(t instanceof s.Scalar){n=t.value;const s=e.filter(e=>e.identify&&e.identify(n)||e.class&&n instanceof e.class);r=s.find(e=>e.format===t.format)||s.find(e=>!e.format)}else{n=t;r=e.find(e=>e.nodeClass&&n instanceof e.nodeClass)}if(!r){const e=n&&n.constructor?n.constructor.name:typeof n;throw new Error(`Tag not resolved for ${e} value`)}return r}function stringifyProps(e,t,{anchors:r,doc:n}){const s=[];const i=n.anchors.getName(e);if(i){r[i]=e;s.push(`&${i}`)}if(e.tag){s.push(stringifyTag(n,e.tag))}else if(!t.default){s.push(stringifyTag(n,t.tag))}return s.join(" ")}function stringify(e,t,r,n){const{anchors:i,schema:o}=t.doc;let a;if(!(e instanceof s.Node)){const t={aliasNodes:[],onTagObj:e=>a=e,prevObjects:new Map};e=o.createNode(e,true,null,t);for(const e of t.aliasNodes){e.source=e.source.node;let t=i.getName(e.source);if(!t){t=i.newName();i.map[t]=e.source}}}if(e instanceof s.Pair)return e.toString(t,r,n);if(!a)a=getTagObject(o.tags,e);const l=stringifyProps(e,a,t);if(l.length>0)t.indentAtStart=(t.indentAtStart||0)+l.length+1;const c=typeof a.stringify==="function"?a.stringify(e,t,r,n):e instanceof s.Scalar?s.stringifyString(e,t,r,n):e.toString(t,r,n);if(!l)return c;return e instanceof s.Scalar||c[0]==="{"||c[0]==="["?`${l} ${c}`:`${l}\n${t.indent}${c}`}class Anchors{static validAnchorNode(e){return e instanceof s.Scalar||e instanceof s.YAMLSeq||e instanceof s.YAMLMap}constructor(e){n._defineProperty(this,"map",{});this.prefix=e}createAlias(e,t){this.setAnchor(e,t);return new s.Alias(e)}createMergePair(...e){const t=new s.Merge;t.value.items=e.map(e=>{if(e instanceof s.Alias){if(e.source instanceof s.YAMLMap)return e}else if(e instanceof s.YAMLMap){return this.createAlias(e)}throw new Error("Merge sources must be Map nodes or their Aliases")});return t}getName(e){const{map:t}=this;return Object.keys(t).find(r=>t[r]===e)}getNames(){return Object.keys(this.map)}getNode(e){return this.map[e]}newName(e){if(!e)e=this.prefix;const t=Object.keys(this.map);for(let r=1;true;++r){const n=`${e}${r}`;if(!t.includes(n))return n}}resolveNodes(){const{map:e,_cstAliases:t}=this;Object.keys(e).forEach(t=>{e[t]=e[t].resolved});t.forEach(e=>{e.source=e.source.resolved});delete this._cstAliases}setAnchor(e,t){if(e!=null&&!Anchors.validAnchorNode(e)){throw new Error("Anchors may only be set for Scalar, Seq and Map nodes")}if(t&&/[\x00-\x19\s,[\]{}]/.test(t)){throw new Error("Anchor names must not contain whitespace or control characters")}const{map:r}=this;const n=e&&Object.keys(r).find(t=>r[t]===e);if(n){if(!t){return n}else if(n!==t){delete r[n];r[t]=e}}else{if(!t){if(!e)return null;t=this.newName()}r[t]=e}return t}}const c=(e,t)=>{if(e&&typeof e==="object"){const{tag:r}=e;if(e instanceof s.Collection){if(r)t[r]=true;e.items.forEach(e=>c(e,t))}else if(e instanceof s.Pair){c(e.key,t);c(e.value,t)}else if(e instanceof s.Scalar){if(r)t[r]=true}}return t};const f=e=>Object.keys(c(e,{}));function parseContents(e,t){const r={before:[],after:[]};let i=undefined;let o=false;for(const a of t){if(a.valueRange){if(i!==undefined){const t="Document contains trailing content not separated by a ... or --- line";e.errors.push(new n.YAMLSyntaxError(a,t));break}const t=s.resolveNode(e,a);if(o){t.spaceBefore=true;o=false}i=t}else if(a.comment!==null){const e=i===undefined?r.before:r.after;e.push(a.comment)}else if(a.type===n.Type.BLANK_LINE){o=true;if(i===undefined&&r.before.length>0&&!e.commentBefore){e.commentBefore=r.before.join("\n");r.before=[]}}}e.contents=i||null;if(!i){e.comment=r.before.concat(r.after).join("\n")||null}else{const t=r.before.join("\n");if(t){const e=i instanceof s.Collection&&i.items[0]?i.items[0]:i;e.commentBefore=e.commentBefore?`${t}\n${e.commentBefore}`:t}e.comment=r.after.join("\n")||null}}function resolveTagDirective({tagPrefixes:e},t){const[r,s]=t.parameters;if(!r||!s){const e="Insufficient parameters given for %TAG directive";throw new n.YAMLSemanticError(t,e)}if(e.some(e=>e.handle===r)){const e="The %TAG directive must only be given at most once per handle in the same document.";throw new n.YAMLSemanticError(t,e)}return{handle:r,prefix:s}}function resolveYamlDirective(e,t){let[r]=t.parameters;if(t.name==="YAML:1.0")r="1.0";if(!r){const e="Insufficient parameters given for %YAML directive";throw new n.YAMLSemanticError(t,e)}if(!l[r]){const s=e.version||e.options.version;const i=`Document will be parsed as YAML ${s} rather than YAML ${r}`;e.warnings.push(new n.YAMLWarning(t,i))}return r}function parseDirectives(e,t,r){const s=[];let i=false;for(const r of t){const{comment:t,name:o}=r;switch(o){case"TAG":try{e.tagPrefixes.push(resolveTagDirective(e,r))}catch(t){e.errors.push(t)}i=true;break;case"YAML":case"YAML:1.0":if(e.version){const t="The %YAML directive must only be given at most once per document.";e.errors.push(new n.YAMLSemanticError(r,t))}try{e.version=resolveYamlDirective(e,r)}catch(t){e.errors.push(t)}i=true;break;default:if(o){const t=`YAML only supports %TAG and %YAML directives, and not %${o}`;e.warnings.push(new n.YAMLWarning(r,t))}}if(t)s.push(t)}if(r&&!i&&"1.1"===(e.version||r.version||e.options.version)){const t=({handle:e,prefix:t})=>({handle:e,prefix:t});e.tagPrefixes=r.tagPrefixes.map(t);e.version=r.version}e.commentBefore=s.join("\n")||null}function assertCollection(e){if(e instanceof s.Collection)return true;throw new Error("Expected a YAML collection as document contents")}class Document{constructor(e){this.anchors=new Anchors(e.anchorPrefix);this.commentBefore=null;this.comment=null;this.contents=null;this.directivesEndMarker=null;this.errors=[];this.options=e;this.schema=null;this.tagPrefixes=[];this.version=null;this.warnings=[]}add(e){assertCollection(this.contents);return this.contents.add(e)}addIn(e,t){assertCollection(this.contents);this.contents.addIn(e,t)}delete(e){assertCollection(this.contents);return this.contents.delete(e)}deleteIn(e){if(s.isEmptyPath(e)){if(this.contents==null)return false;this.contents=null;return true}assertCollection(this.contents);return this.contents.deleteIn(e)}getDefaults(){return Document.defaults[this.version]||Document.defaults[this.options.version]||{}}get(e,t){return this.contents instanceof s.Collection?this.contents.get(e,t):undefined}getIn(e,t){if(s.isEmptyPath(e))return!t&&this.contents instanceof s.Scalar?this.contents.value:this.contents;return this.contents instanceof s.Collection?this.contents.getIn(e,t):undefined}has(e){return this.contents instanceof s.Collection?this.contents.has(e):false}hasIn(e){if(s.isEmptyPath(e))return this.contents!==undefined;return this.contents instanceof s.Collection?this.contents.hasIn(e):false}set(e,t){assertCollection(this.contents);this.contents.set(e,t)}setIn(e,t){if(s.isEmptyPath(e))this.contents=t;else{assertCollection(this.contents);this.contents.setIn(e,t)}}setSchema(e,t){if(!e&&!t&&this.schema)return;if(typeof e==="number")e=e.toFixed(1);if(e==="1.0"||e==="1.1"||e==="1.2"){if(this.version)this.version=e;else this.options.version=e;delete this.options.schema}else if(e&&typeof e==="string"){this.options.schema=e}if(Array.isArray(t))this.options.customTags=t;const r=Object.assign({},this.getDefaults(),this.options);this.schema=new i.Schema(r)}parse(e,t){if(this.options.keepCstNodes)this.cstNode=e;if(this.options.keepNodeTypes)this.type="DOCUMENT";const{directives:r=[],contents:s=[],directivesEndMarker:i,error:o,valueRange:a}=e;if(o){if(!o.source)o.source=this;this.errors.push(o)}parseDirectives(this,r,t);if(i)this.directivesEndMarker=true;this.range=a?[a.start,a.end]:null;this.setSchema();this.anchors._cstAliases=[];parseContents(this,s);this.anchors.resolveNodes();if(this.options.prettyErrors){for(const e of this.errors)if(e instanceof n.YAMLError)e.makePretty();for(const e of this.warnings)if(e instanceof n.YAMLError)e.makePretty()}return this}listNonDefaultTags(){return f(this.contents).filter(e=>e.indexOf(i.Schema.defaultPrefix)!==0)}setTagPrefix(e,t){if(e[0]!=="!"||e[e.length-1]!=="!")throw new Error("Handle must start and end with !");if(t){const r=this.tagPrefixes.find(t=>t.handle===e);if(r)r.prefix=t;else this.tagPrefixes.push({handle:e,prefix:t})}else{this.tagPrefixes=this.tagPrefixes.filter(t=>t.handle!==e)}}toJSON(e,t){const{keepBlobsInJSON:r,mapAsMap:n,maxAliasCount:i}=this.options;const o=r&&(typeof e!=="string"||!(this.contents instanceof s.Scalar));const a={doc:this,indentStep:" ",keep:o,mapAsMap:o&&!!n,maxAliasCount:i,stringify:stringify};const l=Object.keys(this.anchors.map);if(l.length>0)a.anchors=new Map(l.map(e=>[this.anchors.map[e],{alias:[],aliasCount:0,count:1}]));const c=s.toJSON(this.contents,e,a);if(typeof t==="function"&&a.anchors)for(const{count:e,res:r}of a.anchors.values())t(r,e);return c}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");const e=this.options.indent;if(!Number.isInteger(e)||e<=0){const t=JSON.stringify(e);throw new Error(`"indent" option must be a positive integer, not ${t}`)}this.setSchema();const t=[];let r=false;if(this.version){let e="%YAML 1.2";if(this.schema.name==="yaml-1.1"){if(this.version==="1.0")e="%YAML:1.0";else if(this.version==="1.1")e="%YAML 1.1"}t.push(e);r=true}const n=this.listNonDefaultTags();this.tagPrefixes.forEach(({handle:e,prefix:s})=>{if(n.some(e=>e.indexOf(s)===0)){t.push(`%TAG ${e} ${s}`);r=true}});if(r||this.directivesEndMarker)t.push("---");if(this.commentBefore){if(r||!this.directivesEndMarker)t.unshift("");t.unshift(this.commentBefore.replace(/^/gm,"#"))}const i={anchors:{},doc:this,indent:"",indentStep:" ".repeat(e),stringify:stringify};let o=false;let a=null;if(this.contents){if(this.contents instanceof s.Node){if(this.contents.spaceBefore&&(r||this.directivesEndMarker))t.push("");if(this.contents.commentBefore)t.push(this.contents.commentBefore.replace(/^/gm,"#"));i.forceBlockIndent=!!this.comment;a=this.contents.comment}const e=a?null:()=>o=true;const n=stringify(this.contents,i,()=>a=null,e);t.push(s.addComment(n,"",a))}else if(this.contents!==undefined){t.push(stringify(this.contents,i))}if(this.comment){if((!o||a)&&t[t.length-1]!=="")t.push("");t.push(this.comment.replace(/^/gm,"#"))}return t.join("\n")+"\n"}}n._defineProperty(Document,"defaults",l);t.Document=Document;t.defaultOptions=o;t.scalarOptions=a},6580:(e,t)=>{"use strict";const r={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."};const n={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"};const s="tag:yaml.org,2002:";const i={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function findLineStarts(e){const t=[0];let r=e.indexOf("\n");while(r!==-1){r+=1;t.push(r);r=e.indexOf("\n",r)}return t}function getSrcInfo(e){let t,r;if(typeof e==="string"){t=findLineStarts(e);r=e}else{if(Array.isArray(e))e=e[0];if(e&&e.context){if(!e.lineStarts)e.lineStarts=findLineStarts(e.context.src);t=e.lineStarts;r=e.context.src}}return{lineStarts:t,src:r}}function getLinePos(e,t){if(typeof e!=="number"||e<0)return null;const{lineStarts:r,src:n}=getSrcInfo(t);if(!r||!n||e>n.length)return null;for(let t=0;t=1)||e>r.length)return null;const s=r[e-1];let i=r[e];while(i&&i>s&&n[i-1]==="\n")--i;return n.slice(s,i)}function getPrettyContext({start:e,end:t},r,n=80){let s=getLine(e.line,r);if(!s)return null;let{col:i}=e;if(s.length>n){if(i<=n-10){s=s.substr(0,n-1)+"…"}else{const e=Math.round(n/2);if(s.length>i+e)s=s.substr(0,i+e-1)+"…";i-=s.length-n;s="…"+s.substr(1-n)}}let o=1;let a="";if(t){if(t.line===e.line&&i+(t.col-e.col)<=n+1){o=t.col-e.col}else{o=Math.min(s.length+1,n)-i;a="…"}}const l=i>1?" ".repeat(i-1):"";const c="^".repeat(o);return`${s}\n${l}${c}${a}`}class Range{static copy(e){return new Range(e.start,e.end)}constructor(e,t){this.start=e;this.end=t||e}isEmpty(){return typeof this.start!=="number"||!this.end||this.end<=this.start}setOrigRange(e,t){const{start:r,end:n}=this;if(e.length===0||n<=e[0]){this.origStart=r;this.origEnd=n;return t}let s=t;while(sr)break;else++s}this.origStart=r+s;const i=s;while(s=n)break;else++s}this.origEnd=n+s;return i}}class Node{static addStringTerminator(e,t,r){if(r[r.length-1]==="\n")return r;const n=Node.endOfWhiteSpace(e,t);return n>=e.length||e[n]==="\n"?r+"\n":r}static atDocumentBoundary(e,t,n){const s=e[t];if(!s)return true;const i=e[t-1];if(i&&i!=="\n")return false;if(n){if(s!==n)return false}else{if(s!==r.DIRECTIVES_END&&s!==r.DOCUMENT_END)return false}const o=e[t+1];const a=e[t+2];if(o!==s||a!==s)return false;const l=e[t+3];return!l||l==="\n"||l==="\t"||l===" "}static endOfIdentifier(e,t){let r=e[t];const n=r==="<";const s=n?["\n","\t"," ",">"]:["\n","\t"," ","[","]","{","}",","];while(r&&s.indexOf(r)===-1)r=e[t+=1];if(n&&r===">")t+=1;return t}static endOfIndent(e,t){let r=e[t];while(r===" ")r=e[t+=1];return t}static endOfLine(e,t){let r=e[t];while(r&&r!=="\n")r=e[t+=1];return t}static endOfWhiteSpace(e,t){let r=e[t];while(r==="\t"||r===" ")r=e[t+=1];return t}static startOfLine(e,t){let r=e[t-1];if(r==="\n")return t;while(r&&r!=="\n")r=e[t-=1];return t+1}static endOfBlockIndent(e,t,r){const n=Node.endOfIndent(e,r);if(n>r+t){return n}else{const t=Node.endOfWhiteSpace(e,n);const r=e[t];if(!r||r==="\n")return t}return null}static atBlank(e,t,r){const n=e[t];return n==="\n"||n==="\t"||n===" "||r&&!n}static nextNodeIsIndented(e,t,r){if(!e||t<0)return false;if(t>0)return true;return r&&e==="-"}static normalizeOffset(e,t){const r=e[t];return!r?t:r!=="\n"&&e[t-1]==="\n"?t-1:Node.endOfWhiteSpace(e,t)}static foldNewline(e,t,r){let n=0;let s=false;let i="";let o=e[t+1];while(o===" "||o==="\t"||o==="\n"){switch(o){case"\n":n=0;t+=1;i+="\n";break;case"\t":if(n<=r)s=true;t=Node.endOfWhiteSpace(e,t+2)-1;break;case" ":n+=1;t+=1;break}o=e[t+1]}if(!i)i=" ";if(o&&n<=r)s=true;return{fold:i,offset:t,error:s}}constructor(e,t,r){Object.defineProperty(this,"context",{value:r||null,writable:true});this.error=null;this.range=null;this.valueRange=null;this.props=t||[];this.type=e;this.value=null}getPropValue(e,t,r){if(!this.context)return null;const{src:n}=this.context;const s=this.props[e];return s&&n[s.start]===t?n.slice(s.start+(r?1:0),s.end):null}get anchor(){for(let e=0;e0?e.join("\n"):null}commentHasRequiredWhitespace(e){const{src:t}=this.context;if(this.header&&e===this.header.end)return false;if(!this.valueRange)return false;const{end:r}=this.valueRange;return e!==r||Node.atBlank(t,r-1)}get hasComment(){if(this.context){const{src:e}=this.context;for(let t=0;tr.setOrigRange(e,t));return t}toString(){const{context:{src:e},range:t,value:r}=this;if(r!=null)return r;const n=e.slice(t.start,t.end);return Node.addStringTerminator(e,t.end,n)}}class YAMLError extends Error{constructor(e,t,r){if(!r||!(t instanceof Node))throw new Error(`Invalid arguments for new ${e}`);super();this.name=e;this.message=r;this.source=t}makePretty(){if(!this.source)return;this.nodeType=this.source.type;const e=this.source.context&&this.source.context.root;if(typeof this.offset==="number"){this.range=new Range(this.offset,this.offset+1);const t=e&&getLinePos(this.offset,e);if(t){const e={line:t.line,col:t.col+1};this.linePos={start:t,end:e}}delete this.offset}else{this.range=this.source.range;this.linePos=this.source.rangeAsLinePos}if(this.linePos){const{line:t,col:r}=this.linePos.start;this.message+=` at line ${t}, column ${r}`;const n=e&&getPrettyContext(this.linePos,e);if(n)this.message+=`:\n\n${n}\n`}delete this.source}}class YAMLReferenceError extends YAMLError{constructor(e,t){super("YAMLReferenceError",e,t)}}class YAMLSemanticError extends YAMLError{constructor(e,t){super("YAMLSemanticError",e,t)}}class YAMLSyntaxError extends YAMLError{constructor(e,t){super("YAMLSyntaxError",e,t)}}class YAMLWarning extends YAMLError{constructor(e,t){super("YAMLWarning",e,t)}}function _defineProperty(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}class PlainValue extends Node{static endOfLine(e,t,r){let n=e[t];let s=t;while(n&&n!=="\n"){if(r&&(n==="["||n==="]"||n==="{"||n==="}"||n===","))break;const t=e[s+1];if(n===":"&&(!t||t==="\n"||t==="\t"||t===" "||r&&t===","))break;if((n===" "||n==="\t")&&t==="#")break;s+=1;n=t}return s}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{src:r}=this.context;let n=r[t-1];while(ei?r.slice(i,n+1):e}else{s+=e}}const i=r[e];switch(i){case"\t":{const e="Plain value cannot start with a tab character";const t=[new YAMLSemanticError(this,e)];return{errors:t,str:s}}case"@":case"`":{const e=`Plain value cannot start with reserved character ${i}`;const t=[new YAMLSemanticError(this,e)];return{errors:t,str:s}}default:return s}}parseBlockValue(e){const{indent:t,inFlow:r,src:n}=this.context;let s=e;let i=e;for(let e=n[s];e==="\n";e=n[s]){if(Node.atDocumentBoundary(n,s+1))break;const e=Node.endOfBlockIndent(n,t,s+1);if(e===null||n[e]==="#")break;if(n[e]==="\n"){s=e}else{i=PlainValue.endOfLine(n,e,r);s=i}}if(this.valueRange.isEmpty())this.valueRange.start=e;this.valueRange.end=i;return i}parse(e,t){this.context=e;const{inFlow:r,src:n}=e;let s=t;const i=n[s];if(i&&i!=="#"&&i!=="\n"){s=PlainValue.endOfLine(n,t,r)}this.valueRange=new Range(t,s);s=Node.endOfWhiteSpace(n,s);s=this.parseComment(s);if(!this.hasComment||this.valueRange.isEmpty()){s=this.parseBlockValue(s)}return s}}t.Char=r;t.Node=Node;t.PlainValue=PlainValue;t.Range=Range;t.Type=n;t.YAMLError=YAMLError;t.YAMLReferenceError=YAMLReferenceError;t.YAMLSemanticError=YAMLSemanticError;t.YAMLSyntaxError=YAMLSyntaxError;t.YAMLWarning=YAMLWarning;t._defineProperty=_defineProperty;t.defaultTagPrefix=s;t.defaultTags=i},3616:(e,t,r)=>{"use strict";var n=r(6580);var s=r(390);var i=r(5655);function createMap(e,t,r){const n=new s.YAMLMap(e);if(t instanceof Map){for(const[s,i]of t)n.items.push(e.createPair(s,i,r))}else if(t&&typeof t==="object"){for(const s of Object.keys(t))n.items.push(e.createPair(s,t[s],r))}if(typeof e.sortMapEntries==="function"){n.items.sort(e.sortMapEntries)}return n}const o={createNode:createMap,default:true,nodeClass:s.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:s.resolveMap};function createSeq(e,t,r){const n=new s.YAMLSeq(e);if(t&&t[Symbol.iterator]){for(const s of t){const t=e.createNode(s,r.wrapScalars,null,r);n.items.push(t)}}return n}const a={createNode:createSeq,default:true,nodeClass:s.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:s.resolveSeq};const l={identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:s.resolveString,stringify(e,t,r,n){t=Object.assign({actualString:true},t);return s.stringifyString(e,t,r,n)},options:s.strOptions};const c=[o,a,l];const f=e=>typeof e==="bigint"||Number.isInteger(e);const u=(e,t,r)=>s.intOptions.asBigInt?BigInt(e):parseInt(t,r);function intStringify(e,t,r){const{value:n}=e;if(f(n)&&n>=0)return r+n.toString(t);return s.stringifyNumber(e)}const h={identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:s.nullOptions,stringify:()=>s.nullOptions.nullStr};const p={identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>e[0]==="t"||e[0]==="T",options:s.boolOptions,stringify:({value:e})=>e?s.boolOptions.trueStr:s.boolOptions.falseStr};const d={identify:e=>f(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>u(e,t,8),options:s.intOptions,stringify:e=>intStringify(e,8,"0o")};const g={identify:f,default:true,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>u(e,e,10),options:s.intOptions,stringify:s.stringifyNumber};const w={identify:e=>f(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>u(e,t,16),options:s.intOptions,stringify:e=>intStringify(e,16,"0x")};const y={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:s.stringifyNumber};const m={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify:({value:e})=>Number(e).toExponential()};const S={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(e,t,r){const n=t||r;const i=new s.Scalar(parseFloat(e));if(n&&n[n.length-1]==="0")i.minFractionDigits=n.length;return i},stringify:s.stringifyNumber};const b=c.concat([h,p,d,g,w,y,m,S]);const O=e=>typeof e==="bigint"||Number.isInteger(e);const A=({value:e})=>JSON.stringify(e);const E=[o,a,{identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:s.resolveString,stringify:A},{identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:A},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:A},{identify:O,default:true,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>s.intOptions.asBigInt?BigInt(e):parseInt(e,10),stringify:({value:e})=>O(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:A}];E.scalarFallback=(e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)});const M=({value:e})=>e?s.boolOptions.trueStr:s.boolOptions.falseStr;const N=e=>typeof e==="bigint"||Number.isInteger(e);function intResolve$1(e,t,r){let n=t.replace(/_/g,"");if(s.intOptions.asBigInt){switch(r){case 2:n=`0b${n}`;break;case 8:n=`0o${n}`;break;case 16:n=`0x${n}`;break}const t=BigInt(n);return e==="-"?BigInt(-1)*t:t}const i=parseInt(n,r);return e==="-"?-1*i:i}function intStringify$1(e,t,r){const{value:n}=e;if(N(n)){const e=n.toString(t);return n<0?"-"+r+e.substr(1):r+e}return s.stringifyNumber(e)}const C=c.concat([{identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:s.nullOptions,stringify:()=>s.nullOptions.nullStr},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>true,options:s.boolOptions,stringify:M},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>false,options:s.boolOptions,stringify:M},{identify:N,default:true,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,r)=>intResolve$1(t,r,2),stringify:e=>intStringify$1(e,2,"0b")},{identify:N,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,r)=>intResolve$1(t,r,8),stringify:e=>intStringify$1(e,8,"0")},{identify:N,default:true,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,r)=>intResolve$1(t,r,10),stringify:s.stringifyNumber},{identify:N,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,r)=>intResolve$1(t,r,16),stringify:e=>intStringify$1(e,16,"0x")},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:s.stringifyNumber},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify:({value:e})=>Number(e).toExponential()},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(e,t){const r=new s.Scalar(parseFloat(e.replace(/_/g,"")));if(t){const e=t.replace(/_/g,"");if(e[e.length-1]==="0")r.minFractionDigits=e.length}return r},stringify:s.stringifyNumber}],i.binary,i.omap,i.pairs,i.set,i.intTime,i.floatTime,i.timestamp);const T={core:b,failsafe:c,json:E,yaml11:C};const L={binary:i.binary,bool:p,float:S,floatExp:m,floatNaN:y,floatTime:i.floatTime,int:g,intHex:w,intOct:d,intTime:i.intTime,map:o,null:h,omap:i.omap,pairs:i.pairs,seq:a,set:i.set,timestamp:i.timestamp};function findTagObject(e,t,r){if(t){const e=r.filter(e=>e.tag===t);const n=e.find(e=>!e.format)||e[0];if(!n)throw new Error(`Tag ${t} not found`);return n}return r.find(t=>(t.identify&&t.identify(e)||t.class&&e instanceof t.class)&&!t.format)}function createNode(e,t,r){if(e instanceof s.Node)return e;const{defaultPrefix:n,onTagObj:i,prevObjects:l,schema:c,wrapScalars:f}=r;if(t&&t.startsWith("!!"))t=n+t.slice(2);let u=findTagObject(e,t,c.tags);if(!u){if(typeof e.toJSON==="function")e=e.toJSON();if(typeof e!=="object")return f?new s.Scalar(e):e;u=e instanceof Map?o:e[Symbol.iterator]?a:o}if(i){i(u);delete r.onTagObj}const h={};if(e&&typeof e==="object"&&l){const t=l.get(e);if(t){const e=new s.Alias(t);r.aliasNodes.push(e);return e}h.value=e;l.set(e,h)}h.node=u.createNode?u.createNode(r.schema,e,r):f?new s.Scalar(e):e;if(t&&h.node instanceof s.Node)h.node.tag=t;return h.node}function getSchemaTags(e,t,r,n){let s=e[n.replace(/\W/g,"")];if(!s){const t=Object.keys(e).map(e=>JSON.stringify(e)).join(", ");throw new Error(`Unknown schema "${n}"; use one of ${t}`)}if(Array.isArray(r)){for(const e of r)s=s.concat(e)}else if(typeof r==="function"){s=r(s.slice())}for(let e=0;eJSON.stringify(e)).join(", ");throw new Error(`Unknown custom tag "${r}"; use one of ${e}`)}s[e]=n}}return s}const R=(e,t)=>e.keyt.key?1:0;class Schema{constructor({customTags:e,merge:t,schema:r,sortMapEntries:n,tags:s}){this.merge=!!t;this.name=r;this.sortMapEntries=n===true?R:n||null;if(!e&&s)i.warnOptionDeprecation("tags","customTags");this.tags=getSchemaTags(T,L,e||s,r)}createNode(e,t,r,n){const s={defaultPrefix:Schema.defaultPrefix,schema:this,wrapScalars:t};const i=n?Object.assign(n,s):s;return createNode(e,r,i)}createPair(e,t,r){if(!r)r={wrapScalars:true};const n=this.createNode(e,r.wrapScalars,null,r);const i=this.createNode(t,r.wrapScalars,null,r);return new s.Pair(n,i)}}n._defineProperty(Schema,"defaultPrefix",n.defaultTagPrefix);n._defineProperty(Schema,"defaultTags",n.defaultTags);t.Schema=Schema},4884:(e,t,r)=>{"use strict";var n=r(6580);var s=r(2488);r(390);var i=r(1230);var o=r(3616);var a=r(5655);function createNode(e,t=true,r){if(r===undefined&&typeof t==="string"){r=t;t=true}const n=Object.assign({},i.Document.defaults[i.defaultOptions.version],i.defaultOptions);const s=new o.Schema(n);return s.createNode(e,t,r)}class Document extends i.Document{constructor(e){super(Object.assign({},i.defaultOptions,e))}}function parseAllDocuments(e,t){const r=[];let n;for(const i of s.parse(e)){const e=new Document(t);e.parse(i,n);r.push(e);n=e}return r}function parseDocument(e,t){const r=s.parse(e);const i=new Document(t).parse(r[0]);if(r.length>1){const e="Source contains multiple documents; please use YAML.parseAllDocuments()";i.errors.unshift(new n.YAMLSemanticError(r[1],e))}return i}function parse(e,t){const r=parseDocument(e,t);r.warnings.forEach(e=>a.warn(e));if(r.errors.length>0)throw r.errors[0];return r.toJSON()}function stringify(e,t){const r=new Document(t);r.contents=e;return String(r)}const l={createNode:createNode,defaultOptions:i.defaultOptions,Document:Document,parse:parse,parseAllDocuments:parseAllDocuments,parseCST:s.parse,parseDocument:parseDocument,scalarOptions:i.scalarOptions,stringify:stringify};t.YAML=l},2488:(e,t,r)=>{"use strict";var n=r(6580);class BlankLine extends n.Node{constructor(){super(n.Type.BLANK_LINE)}get includesTrailingLines(){return true}parse(e,t){this.context=e;this.range=new n.Range(t,t+1);return t+1}}class CollectionItem extends n.Node{constructor(e,t){super(e,t);this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,t){this.context=e;const{parseNode:r,src:s}=e;let{atLineStart:i,lineStart:o}=e;if(!i&&this.type===n.Type.SEQ_ITEM)this.error=new n.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line");const a=i?t-o:e.indent;let l=n.Node.endOfWhiteSpace(s,t+1);let c=s[l];const f=c==="#";const u=[];let h=null;while(c==="\n"||c==="#"){if(c==="#"){const e=n.Node.endOfLine(s,l+1);u.push(new n.Range(l,e));l=e}else{i=true;o=l+1;const e=n.Node.endOfWhiteSpace(s,o);if(s[e]==="\n"&&u.length===0){h=new BlankLine;o=h.parse({src:s},o)}l=n.Node.endOfIndent(s,o)}c=s[l]}if(n.Node.nextNodeIsIndented(c,l-(o+a),this.type!==n.Type.SEQ_ITEM)){this.node=r({atLineStart:i,inCollection:false,indent:a,lineStart:o,parent:this},l)}else if(c&&o>t+1){l=o-1}if(this.node){if(h){const t=e.parent.items||e.parent.contents;if(t)t.push(h)}if(u.length)Array.prototype.push.apply(this.props,u);l=this.node.range.end}else{if(f){const e=u[0];this.props.push(e);l=e.end}else{l=n.Node.endOfLine(s,t+1)}}const p=this.node?this.node.valueRange.end:l;this.valueRange=new n.Range(t,p);return l}setOrigRanges(e,t){t=super.setOrigRanges(e,t);return this.node?this.node.setOrigRanges(e,t):t}toString(){const{context:{src:e},node:t,range:r,value:s}=this;if(s!=null)return s;const i=t?e.slice(r.start,t.range.start)+String(t):e.slice(r.start,r.end);return n.Node.addStringTerminator(e,r.end,i)}}class Comment extends n.Node{constructor(){super(n.Type.COMMENT)}parse(e,t){this.context=e;const r=this.parseComment(t);this.range=new n.Range(t,r);return r}}function grabCollectionEndComments(e){let t=e;while(t instanceof CollectionItem)t=t.node;if(!(t instanceof Collection))return null;const r=t.items.length;let s=-1;for(let e=r-1;e>=0;--e){const r=t.items[e];if(r.type===n.Type.COMMENT){const{indent:t,lineStart:n}=r.context;if(t>0&&r.range.start>=n+t)break;s=e}else if(r.type===n.Type.BLANK_LINE)s=e;else break}if(s===-1)return null;const i=t.items.splice(s,r-s);const o=i[0].range.start;while(true){t.range.end=o;if(t.valueRange&&t.valueRange.end>o)t.valueRange.end=o;if(t===e)break;t=t.context.parent}return i}class Collection extends n.Node{static nextContentHasIndent(e,t,r){const s=n.Node.endOfLine(e,t)+1;t=n.Node.endOfWhiteSpace(e,s);const i=e[t];if(!i)return false;if(t>=s+r)return true;if(i!=="#"&&i!=="\n")return false;return Collection.nextContentHasIndent(e,t,r)}constructor(e){super(e.type===n.Type.SEQ_ITEM?n.Type.SEQ:n.Type.MAP);for(let t=e.props.length-1;t>=0;--t){if(e.props[t].start0}parse(e,t){this.context=e;const{parseNode:r,src:s}=e;let i=n.Node.startOfLine(s,t);const o=this.items[0];o.context.parent=this;this.valueRange=n.Range.copy(o.valueRange);const a=o.range.start-o.context.lineStart;let l=t;l=n.Node.normalizeOffset(s,l);let c=s[l];let f=n.Node.endOfWhiteSpace(s,i)===l;let u=false;while(c){while(c==="\n"||c==="#"){if(f&&c==="\n"&&!u){const e=new BlankLine;l=e.parse({src:s},l);this.valueRange.end=l;if(l>=s.length){c=null;break}this.items.push(e);l-=1}else if(c==="#"){if(l=s.length){c=null;break}}i=l+1;l=n.Node.endOfIndent(s,i);if(n.Node.atBlank(s,l)){const e=n.Node.endOfWhiteSpace(s,l);const t=s[e];if(!t||t==="\n"||t==="#"){l=e}}c=s[l];f=true}if(!c){break}if(l!==i+a&&(f||c!==":")){if(lt)l=i;break}else if(!this.error){const e="All collection items must start at the same column";this.error=new n.YAMLSyntaxError(this,e)}}if(o.type===n.Type.SEQ_ITEM){if(c!=="-"){if(i>t)l=i;break}}else if(c==="-"&&!this.error){const e=s[l+1];if(!e||e==="\n"||e==="\t"||e===" "){const e="A collection cannot be both a mapping and a sequence";this.error=new n.YAMLSyntaxError(this,e)}}const e=r({atLineStart:f,inCollection:true,indent:a,lineStart:i,parent:this},l);if(!e)return l;this.items.push(e);this.valueRange.end=e.valueRange.end;l=n.Node.normalizeOffset(s,e.range.end);c=s[l];f=false;u=e.includesTrailingLines;if(c){let e=l-1;let t=s[e];while(t===" "||t==="\t")t=s[--e];if(t==="\n"){i=e+1;f=true}}const h=grabCollectionEndComments(e);if(h)Array.prototype.push.apply(this.items,h)}return l}setOrigRanges(e,t){t=super.setOrigRanges(e,t);this.items.forEach(r=>{t=r.setOrigRanges(e,t)});return t}toString(){const{context:{src:e},items:t,range:r,value:s}=this;if(s!=null)return s;let i=e.slice(r.start,t[0].range.start)+String(t[0]);for(let e=1;e0){this.contents=this.directives;this.directives=[]}return i}}if(t[i]){this.directivesEndMarker=new n.Range(i,i+3);return i+3}if(s){this.error=new n.YAMLSemanticError(this,"Missing directives-end indicator line")}else if(this.directives.length>0){this.contents=this.directives;this.directives=[]}return i}parseContents(e){const{parseNode:t,src:r}=this.context;if(!this.contents)this.contents=[];let s=e;while(r[s-1]==="-")s-=1;let i=n.Node.endOfWhiteSpace(r,e);let o=s===e;this.valueRange=new n.Range(i);while(!n.Node.atDocumentBoundary(r,i,n.Char.DOCUMENT_END)){switch(r[i]){case"\n":if(o){const e=new BlankLine;i=e.parse({src:r},i);if(i{t=r.setOrigRanges(e,t)});if(this.directivesEndMarker)t=this.directivesEndMarker.setOrigRange(e,t);this.contents.forEach(r=>{t=r.setOrigRanges(e,t)});if(this.documentEndMarker)t=this.documentEndMarker.setOrigRange(e,t);return t}toString(){const{contents:e,directives:t,value:r}=this;if(r!=null)return r;let s=t.join("");if(e.length>0){if(t.length>0||e[0].type===n.Type.COMMENT)s+="---\n";s+=e.join("")}if(s[s.length-1]!=="\n")s+="\n";return s}}class Alias extends n.Node{parse(e,t){this.context=e;const{src:r}=e;let s=n.Node.endOfIdentifier(r,t+1);this.valueRange=new n.Range(t+1,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}const s={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"};class BlockValue extends n.Node{constructor(e,t){super(e,t);this.blockIndent=null;this.chomping=s.CLIP;this.header=null}get includesTrailingLines(){return this.chomping===s.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{indent:r,src:i}=this.context;if(this.valueRange.isEmpty())return"";let o=null;let a=i[t-1];while(a==="\n"||a==="\t"||a===" "){t-=1;if(t<=e){if(this.chomping===s.KEEP)break;else return""}if(a==="\n")o=t;a=i[t-1]}let l=t+1;if(o){if(this.chomping===s.KEEP){l=o;t=this.valueRange.end}else{t=o}}const c=r+this.blockIndent;const f=this.type===n.Type.BLOCK_FOLDED;let u=true;let h="";let p="";let d=false;for(let r=e;rl){l=c}}else if(s&&s!=="\n"&&c{if(r instanceof n.Node){t=r.setOrigRanges(e,t)}else if(e.length===0){r.origOffset=r.offset}else{let n=t;while(nr.offset)break;else++n}r.origOffset=r.offset+n;t=n}});return t}toString(){const{context:{src:e},items:t,range:r,value:s}=this;if(s!=null)return s;const i=t.filter(e=>e instanceof n.Node);let o="";let a=r.start;i.forEach(t=>{const r=e.slice(a,t.range.start);a=t.range.end;o+=r+String(t);if(o[o.length-1]==="\n"&&e[a-1]!=="\n"&&e[a]==="\n"){a+=1}});o+=e.slice(a,r.end);return n.Node.addStringTerminator(e,r.end,o)}}class QuoteDouble extends n.Node{static endOfQuote(e,t){let r=e[t];while(r&&r!=='"'){t+=r==="\\"?2:1;r=e[t]}return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[];const{start:t,end:r}=this.valueRange;const{indent:s,src:i}=this.context;if(i[r-1]!=='"')e.push(new n.YAMLSyntaxError(this,'Missing closing "quote'));let o="";for(let a=t+1;ae?i.slice(e,a+1):t}else{o+=t}}return e.length>0?{errors:e,str:o}:o}parseCharCode(e,t,r){const{src:s}=this.context;const i=s.substr(e,t);const o=i.length===t&&/^[0-9a-fA-F]+$/.test(i);const a=o?parseInt(i,16):NaN;if(isNaN(a)){r.push(new n.YAMLSyntaxError(this,`Invalid escape sequence ${s.substr(e-2,t+2)}`));return s.substr(e-2,t+2)}return String.fromCodePoint(a)}parse(e,t){this.context=e;const{src:r}=e;let s=QuoteDouble.endOfQuote(r,t+1);this.valueRange=new n.Range(t,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}class QuoteSingle extends n.Node{static endOfQuote(e,t){let r=e[t];while(r){if(r==="'"){if(e[t+1]!=="'")break;r=e[t+=2]}else{r=e[t+=1]}}return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[];const{start:t,end:r}=this.valueRange;const{indent:s,src:i}=this.context;if(i[r-1]!=="'")e.push(new n.YAMLSyntaxError(this,"Missing closing 'quote"));let o="";for(let a=t+1;ae?i.slice(e,a+1):t}else{o+=t}}return e.length>0?{errors:e,str:o}:o}parse(e,t){this.context=e;const{src:r}=e;let s=QuoteSingle.endOfQuote(r,t+1);this.valueRange=new n.Range(t,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}function createNewNode(e,t){switch(e){case n.Type.ALIAS:return new Alias(e,t);case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:return new BlockValue(e,t);case n.Type.FLOW_MAP:case n.Type.FLOW_SEQ:return new FlowCollection(e,t);case n.Type.MAP_KEY:case n.Type.MAP_VALUE:case n.Type.SEQ_ITEM:return new CollectionItem(e,t);case n.Type.COMMENT:case n.Type.PLAIN:return new n.PlainValue(e,t);case n.Type.QUOTE_DOUBLE:return new QuoteDouble(e,t);case n.Type.QUOTE_SINGLE:return new QuoteSingle(e,t);default:return null}}class ParseContext{static parseType(e,t,r){switch(e[t]){case"*":return n.Type.ALIAS;case">":return n.Type.BLOCK_FOLDED;case"|":return n.Type.BLOCK_LITERAL;case"{":return n.Type.FLOW_MAP;case"[":return n.Type.FLOW_SEQ;case"?":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.MAP_KEY:n.Type.PLAIN;case":":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.MAP_VALUE:n.Type.PLAIN;case"-":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.SEQ_ITEM:n.Type.PLAIN;case'"':return n.Type.QUOTE_DOUBLE;case"'":return n.Type.QUOTE_SINGLE;default:return n.Type.PLAIN}}constructor(e={},{atLineStart:t,inCollection:r,inFlow:s,indent:i,lineStart:o,parent:a}={}){n._defineProperty(this,"parseNode",(e,t)=>{if(n.Node.atDocumentBoundary(this.src,t))return null;const r=new ParseContext(this,e);const{props:s,type:i,valueStart:o}=r.parseProps(t);const a=createNewNode(i,s);let l=a.parse(r,o);a.range=new n.Range(t,l);if(l<=t){a.error=new Error(`Node#parse consumed no characters`);a.error.parseEnd=l;a.error.source=a;a.range.end=t+1}if(r.nodeStartsCollection(a)){if(!a.error&&!r.atLineStart&&r.parent.type===n.Type.DOCUMENT){a.error=new n.YAMLSyntaxError(a,"Block collection must not have preceding content here (e.g. directives-end indicator)")}const e=new Collection(a);l=e.parse(new ParseContext(r),l);e.range=new n.Range(t,l);return e}return a});this.atLineStart=t!=null?t:e.atLineStart||false;this.inCollection=r!=null?r:e.inCollection||false;this.inFlow=s!=null?s:e.inFlow||false;this.indent=i!=null?i:e.indent;this.lineStart=o!=null?o:e.lineStart;this.parent=a!=null?a:e.parent||{};this.root=e.root;this.src=e.src}nodeStartsCollection(e){const{inCollection:t,inFlow:r,src:s}=this;if(t||r)return false;if(e instanceof CollectionItem)return true;let i=e.range.end;if(s[i]==="\n"||s[i-1]==="\n")return false;i=n.Node.endOfWhiteSpace(s,i);return s[i]===":"}parseProps(e){const{inFlow:t,parent:r,src:s}=this;const i=[];let o=false;e=this.atLineStart?n.Node.endOfIndent(s,e):n.Node.endOfWhiteSpace(s,e);let a=s[e];while(a===n.Char.ANCHOR||a===n.Char.COMMENT||a===n.Char.TAG||a==="\n"){if(a==="\n"){const t=e+1;const i=n.Node.endOfIndent(s,t);const a=i-(t+this.indent);const l=r.type===n.Type.SEQ_ITEM&&r.context.atLineStart;if(!n.Node.nextNodeIsIndented(s[i],a,!l))break;this.atLineStart=true;this.lineStart=t;o=false;e=i}else if(a===n.Char.COMMENT){const t=n.Node.endOfLine(s,e+1);i.push(new n.Range(e,t));e=t}else{let t=n.Node.endOfIdentifier(s,e+1);if(a===n.Char.TAG&&s[t]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(s.slice(e+1,t+13))){t=n.Node.endOfIdentifier(s,t+5)}i.push(new n.Range(e,t));o=true;e=n.Node.endOfWhiteSpace(s,t)}a=s[e]}if(o&&a===":"&&n.Node.atBlank(s,e+1,true))e-=1;const l=ParseContext.parseType(s,e,t);return{props:i,type:l,valueStart:e}}}function parse(e){const t=[];if(e.indexOf("\r")!==-1){e=e.replace(/\r\n?/g,(e,r)=>{if(e.length>1)t.push(r);return"\n"})}const r=[];let n=0;do{const t=new Document;const s=new ParseContext({src:e});n=t.parse(s,n);r.push(t)}while(n{if(t.length===0)return false;for(let e=1;er.join("...\n"));return r}t.parse=parse},390:(e,t,r)=>{"use strict";var n=r(6580);function addCommentBefore(e,t,r){if(!r)return e;const n=r.replace(/[\s\S]^/gm,`$&${t}#`);return`#${n}\n${t}${e}`}function addComment(e,t,r){return!r?e:r.indexOf("\n")===-1?`${e} #${r}`:`${e}\n`+r.replace(/^/gm,`${t||""}#`)}class Node{}function toJSON(e,t,r){if(Array.isArray(e))return e.map((e,t)=>toJSON(e,String(t),r));if(e&&typeof e.toJSON==="function"){const n=r&&r.anchors&&r.anchors.get(e);if(n)r.onCreate=(e=>{n.res=e;delete r.onCreate});const s=e.toJSON(t,r);if(n&&r.onCreate)r.onCreate(s);return s}if((!r||!r.keep)&&typeof e==="bigint")return Number(e);return e}class Scalar extends Node{constructor(e){super();this.value=e}toJSON(e,t){return t&&t.keep?this.value:toJSON(this.value,e,t)}toString(){return String(this.value)}}function collectionFromPath(e,t,r){let n=r;for(let e=t.length-1;e>=0;--e){const r=t[e];const s=Number.isInteger(r)&&r>=0?[]:{};s[r]=n;n=s}return e.createNode(n,false)}const s=e=>e==null||typeof e==="object"&&e[Symbol.iterator]().next().done;class Collection extends Node{constructor(e){super();n._defineProperty(this,"items",[]);this.schema=e}addIn(e,t){if(s(e))this.add(t);else{const[r,...n]=e;const s=this.get(r,true);if(s instanceof Collection)s.addIn(n,t);else if(s===undefined&&this.schema)this.set(r,collectionFromPath(this.schema,n,t));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`)}}deleteIn([e,...t]){if(t.length===0)return this.delete(e);const r=this.get(e,true);if(r instanceof Collection)return r.deleteIn(t);else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}getIn([e,...t],r){const n=this.get(e,true);if(t.length===0)return!r&&n instanceof Scalar?n.value:n;else return n instanceof Collection?n.getIn(t,r):undefined}hasAllNullValues(){return this.items.every(e=>{if(!e||e.type!=="PAIR")return false;const t=e.value;return t==null||t instanceof Scalar&&t.value==null&&!t.commentBefore&&!t.comment&&!t.tag})}hasIn([e,...t]){if(t.length===0)return this.has(e);const r=this.get(e,true);return r instanceof Collection?r.hasIn(t):false}setIn([e,...t],r){if(t.length===0){this.set(e,r)}else{const n=this.get(e,true);if(n instanceof Collection)n.setIn(t,r);else if(n===undefined&&this.schema)this.set(e,collectionFromPath(this.schema,t,r));else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}}toJSON(){return null}toString(e,{blockItem:t,flowChars:r,isMap:s,itemIndent:i},o,a){const{indent:l,indentStep:c,stringify:f}=e;const u=this.type===n.Type.FLOW_MAP||this.type===n.Type.FLOW_SEQ||e.inFlow;if(u)i+=c;const h=s&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:h,indent:i,inFlow:u,type:null});let p=false;let d=false;const g=this.items.reduce((t,r,n)=>{let s;if(r){if(!p&&r.spaceBefore)t.push({type:"comment",str:""});if(r.commentBefore)r.commentBefore.match(/^.*$/gm).forEach(e=>{t.push({type:"comment",str:`#${e}`})});if(r.comment)s=r.comment;if(u&&(!p&&r.spaceBefore||r.commentBefore||r.comment||r.key&&(r.key.commentBefore||r.key.comment)||r.value&&(r.value.commentBefore||r.value.comment)))d=true}p=false;let o=f(r,e,()=>s=null,()=>p=true);if(u&&!d&&o.includes("\n"))d=true;if(u&&ne.str);if(d||n.reduce((e,t)=>e+t.length+2,2)>Collection.maxFlowStringSingleLineLength){w=e;for(const e of n){w+=e?`\n${c}${l}${e}`:"\n"}w+=`\n${l}${t}`}else{w=`${e} ${n.join(" ")} ${t}`}}else{const e=g.map(t);w=e.shift();for(const t of e)w+=t?`\n${l}${t}`:"\n"}if(this.comment){w+="\n"+this.comment.replace(/^/gm,`${l}#`);if(o)o()}else if(p&&a)a();return w}}n._defineProperty(Collection,"maxFlowStringSingleLineLength",60);function asItemIndex(e){let t=e instanceof Scalar?e.value:e;if(t&&typeof t==="string")t=Number(t);return Number.isInteger(t)&&t>=0?t:null}class YAMLSeq extends Collection{add(e){this.items.push(e)}delete(e){const t=asItemIndex(e);if(typeof t!=="number")return false;const r=this.items.splice(t,1);return r.length>0}get(e,t){const r=asItemIndex(e);if(typeof r!=="number")return undefined;const n=this.items[r];return!t&&n instanceof Scalar?n.value:n}has(e){const t=asItemIndex(e);return typeof t==="number"&&te.type==="comment"?e.str:`- ${e.str}`,flowChars:{start:"[",end:"]"},isMap:false,itemIndent:(e.indent||"")+" "},t,r)}}const i=(e,t,r)=>{if(t===null)return"";if(typeof t!=="object")return String(t);if(e instanceof Node&&r&&r.doc)return e.toString({anchors:{},doc:r.doc,indent:"",indentStep:r.indentStep,inFlow:true,inStringifyKey:true,stringify:r.stringify});return JSON.stringify(t)};class Pair extends Node{constructor(e,t=null){super();this.key=e;this.value=t;this.type=Pair.Type.PAIR}get commentBefore(){return this.key instanceof Node?this.key.commentBefore:undefined}set commentBefore(e){if(this.key==null)this.key=new Scalar(null);if(this.key instanceof Node)this.key.commentBefore=e;else{const e="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(e)}}addToJSMap(e,t){const r=toJSON(this.key,"",e);if(t instanceof Map){const n=toJSON(this.value,r,e);t.set(r,n)}else if(t instanceof Set){t.add(r)}else{const n=i(this.key,r,e);t[n]=toJSON(this.value,n,e)}return t}toJSON(e,t){const r=t&&t.mapAsMap?new Map:{};return this.addToJSMap(t,r)}toString(e,t,r){if(!e||!e.doc)return JSON.stringify(this);const{indent:s,indentSeq:i,simpleKeys:o}=e.doc.options;let{key:a,value:l}=this;let c=a instanceof Node&&a.comment;if(o){if(c){throw new Error("With simple keys, key nodes cannot have comments")}if(a instanceof Collection){const e="With simple keys, collection cannot be used as a key value";throw new Error(e)}}const f=!o&&(!a||c||a instanceof Collection||a.type===n.Type.BLOCK_FOLDED||a.type===n.Type.BLOCK_LITERAL);const{doc:u,indent:h,indentStep:p,stringify:d}=e;e=Object.assign({},e,{implicitKey:!f,indent:h+p});let g=false;let w=d(a,e,()=>c=null,()=>g=true);w=addComment(w,e.indent,c);if(e.allNullValues&&!o){if(this.comment){w=addComment(w,e.indent,this.comment);if(t)t()}else if(g&&!c&&r)r();return e.inFlow?w:`? ${w}`}w=f?`? ${w}\n${h}:`:`${w}:`;if(this.comment){w=addComment(w,e.indent,this.comment);if(t)t()}let y="";let m=null;if(l instanceof Node){if(l.spaceBefore)y="\n";if(l.commentBefore){const t=l.commentBefore.replace(/^/gm,`${e.indent}#`);y+=`\n${t}`}m=l.comment}else if(l&&typeof l==="object"){l=u.schema.createNode(l,true)}e.implicitKey=false;if(!f&&!this.comment&&l instanceof Scalar)e.indentAtStart=w.length+1;g=false;if(!i&&s>=2&&!e.inFlow&&!f&&l instanceof YAMLSeq&&l.type!==n.Type.FLOW_SEQ&&!l.tag&&!u.anchors.getName(l)){e.indent=e.indent.substr(2)}const S=d(l,e,()=>m=null,()=>g=true);let b=" ";if(y||this.comment){b=`${y}\n${e.indent}`}else if(!f&&l instanceof Collection){const t=S[0]==="["||S[0]==="{";if(!t||S.includes("\n"))b=`\n${e.indent}`}if(g&&!m&&r)r();return addComment(w+b+S,e.indent,m)}}n._defineProperty(Pair,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});const o=(e,t)=>{if(e instanceof Alias){const r=t.get(e.source);return r.count*r.aliasCount}else if(e instanceof Collection){let r=0;for(const n of e.items){const e=o(n,t);if(e>r)r=e}return r}else if(e instanceof Pair){const r=o(e.key,t);const n=o(e.value,t);return Math.max(r,n)}return 1};class Alias extends Node{static stringify({range:e,source:t},{anchors:r,doc:n,implicitKey:s,inStringifyKey:i}){let o=Object.keys(r).find(e=>r[e]===t);if(!o&&i)o=n.anchors.getName(t)||n.anchors.newName();if(o)return`*${o}${s?" ":""}`;const a=n.anchors.getName(t)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${a} [${e}]`)}constructor(e){super();this.source=e;this.type=n.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,t){if(!t)return toJSON(this.source,e,t);const{anchors:r,maxAliasCount:s}=t;const i=r.get(this.source);if(!i||i.res===undefined){const e="This should not happen: Alias anchor was not resolved?";if(this.cstNode)throw new n.YAMLReferenceError(this.cstNode,e);else throw new ReferenceError(e)}if(s>=0){i.count+=1;if(i.aliasCount===0)i.aliasCount=o(this.source,r);if(i.count*i.aliasCount>s){const e="Excessive alias count indicates a resource exhaustion attack";if(this.cstNode)throw new n.YAMLReferenceError(this.cstNode,e);else throw new ReferenceError(e)}}return i.res}toString(e){return Alias.stringify(this,e)}}n._defineProperty(Alias,"default",true);function findPair(e,t){const r=t instanceof Scalar?t.value:t;for(const n of e){if(n instanceof Pair){if(n.key===t||n.key===r)return n;if(n.key&&n.key.value===r)return n}}return undefined}class YAMLMap extends Collection{add(e,t){if(!e)e=new Pair(e);else if(!(e instanceof Pair))e=new Pair(e.key||e,e.value);const r=findPair(this.items,e.key);const n=this.schema&&this.schema.sortMapEntries;if(r){if(t)r.value=e.value;else throw new Error(`Key ${e.key} already set`)}else if(n){const t=this.items.findIndex(t=>n(e,t)<0);if(t===-1)this.items.push(e);else this.items.splice(t,0,e)}else{this.items.push(e)}}delete(e){const t=findPair(this.items,e);if(!t)return false;const r=this.items.splice(this.items.indexOf(t),1);return r.length>0}get(e,t){const r=findPair(this.items,e);const n=r&&r.value;return!t&&n instanceof Scalar?n.value:n}has(e){return!!findPair(this.items,e)}set(e,t){this.add(new Pair(e,t),true)}toJSON(e,t,r){const n=r?new r:t&&t.mapAsMap?new Map:{};if(t&&t.onCreate)t.onCreate(n);for(const e of this.items)e.addToJSMap(t,n);return n}toString(e,t,r){if(!e)return JSON.stringify(this);for(const e of this.items){if(!(e instanceof Pair))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`)}return super.toString(e,{blockItem:e=>e.str,flowChars:{start:"{",end:"}"},isMap:true,itemIndent:e.indent||""},t,r)}}const a="<<";class Merge extends Pair{constructor(e){if(e instanceof Pair){let t=e.value;if(!(t instanceof YAMLSeq)){t=new YAMLSeq;t.items.push(e.value);t.range=e.value.range}super(e.key,t);this.range=e.range}else{super(new Scalar(a),new YAMLSeq)}this.type=Pair.Type.MERGE_PAIR}addToJSMap(e,t){for(const{source:r}of this.value.items){if(!(r instanceof YAMLMap))throw new Error("Merge sources must be maps");const n=r.toJSON(null,e,Map);for(const[e,r]of n){if(t instanceof Map){if(!t.has(e))t.set(e,r)}else if(t instanceof Set){t.add(e)}else{if(!Object.prototype.hasOwnProperty.call(t,e))t[e]=r}}}return t}toString(e,t){const r=this.value;if(r.items.length>1)return super.toString(e,t);this.value=r.items[0];const n=super.toString(e,t);this.value=r;return n}}const l={defaultType:n.Type.BLOCK_LITERAL,lineWidth:76};const c={trueStr:"true",falseStr:"false"};const f={asBigInt:false};const u={nullStr:"null"};const h={defaultType:n.Type.PLAIN,doubleQuoted:{jsonEncoding:false,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function resolveScalar(e,t,r){for(const{format:r,test:n,resolve:s}of t){if(n){const t=e.match(n);if(t){let e=s.apply(null,t);if(!(e instanceof Scalar))e=new Scalar(e);if(r)e.format=r;return e}}}if(r)e=r(e);return new Scalar(e)}const p="flow";const d="block";const g="quoted";const w=(e,t)=>{let r=e[t+1];while(r===" "||r==="\t"){do{r=e[t+=1]}while(r&&r!=="\n");r=e[t+1]}return t};function foldFlowLines(e,t,r,{indentAtStart:n,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}){if(!s||s<0)return e;const l=Math.max(1+i,1+s-t.length);if(e.length<=l)return e;const c=[];const f={};let u=s-(typeof n==="number"?n:t.length);let h=undefined;let p=undefined;let y=false;let m=-1;if(r===d){m=w(e,m);if(m!==-1)u=m+l}for(let t;t=e[m+=1];){if(r===g&&t==="\\"){switch(e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}}if(t==="\n"){if(r===d)m=w(e,m);u=m+l;h=undefined}else{if(t===" "&&p&&p!==" "&&p!=="\n"&&p!=="\t"){const t=e[m+1];if(t&&t!==" "&&t!=="\n"&&t!=="\t")h=m}if(m>=u){if(h){c.push(h);u=h+l;h=undefined}else if(r===g){while(p===" "||p==="\t"){p=t;t=e[m+=1];y=true}c.push(m-2);f[m-2]=true;u=m-2+l;h=undefined}else{y=true}}}p=t}if(y&&a)a();if(c.length===0)return e;if(o)o();let S=e.slice(0,c[0]);for(let n=0;ne?Object.assign({indentAtStart:e},h.fold):h.fold;const m=e=>/^(%|---|\.\.\.)/m.test(e);function lineLengthOverLimit(e,t){const r=e.length;if(r<=t)return false;for(let n=0,s=0;nt)return true;s=n+1;if(r-s<=t)return false}}return true}function doubleQuotedString(e,t){const{implicitKey:r}=t;const{jsonEncoding:n,minMultiLineLength:s}=h.doubleQuoted;const i=JSON.stringify(e);if(n)return i;const o=t.indent||(m(e)?" ":"");let a="";let l=0;for(let e=0,t=i[e];t;t=i[++e]){if(t===" "&&i[e+1]==="\\"&&i[e+2]==="n"){a+=i.slice(l,e)+"\\ ";e+=1;l=e;t="\\"}if(t==="\\")switch(i[e+1]){case"u":{a+=i.slice(l,e);const t=i.substr(e+2,4);switch(t){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:if(t.substr(0,2)==="00")a+="\\x"+t.substr(2);else a+=i.substr(e,6)}e+=5;l=e+1}break;case"n":if(r||i[e+2]==='"'||i.length";if(!r)return f+"\n";let u="";let p="";r=r.replace(/[\n\t ]*$/,e=>{const t=e.indexOf("\n");if(t===-1){f+="-"}else if(r===e||t!==e.length-1){f+="+";if(o)o()}p=e.replace(/\n$/,"");return""}).replace(/^[\n ]*/,e=>{if(e.indexOf(" ")!==-1)f+=l;const t=e.match(/ +$/);if(t){u=e.slice(0,-t[0].length);return t[0]}else{u=e;return""}});if(p)p=p.replace(/\n+(?!\n|$)/g,`$&${a}`);if(u)u=u.replace(/\n+/g,`$&${a}`);if(e){f+=" #"+e.replace(/ ?[\r\n]+/g," ");if(i)i()}if(!r)return`${f}${l}\n${a}${p}`;if(c){r=r.replace(/\n+/g,`$&${a}`);return`${f}\n${a}${u}${r}${p}`}r=r.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${a}`);const g=foldFlowLines(`${u}${r}${p}`,a,d,h.fold);return`${f}\n${a}${g}`}function plainString(e,t,r,s){const{comment:i,type:o,value:a}=e;const{actualString:l,implicitKey:c,indent:f,inFlow:u}=t;if(c&&/[\n[\]{},]/.test(a)||u&&/[[\]{},]/.test(a)){return doubleQuotedString(a,t)}if(!a||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a)){return c||u||a.indexOf("\n")===-1?a.indexOf('"')!==-1&&a.indexOf("'")===-1?singleQuotedString(a,t):doubleQuotedString(a,t):blockString(e,t,r,s)}if(!c&&!u&&o!==n.Type.PLAIN&&a.indexOf("\n")!==-1){return blockString(e,t,r,s)}if(f===""&&m(a)){t.forceBlockIndent=true;return blockString(e,t,r,s)}const h=a.replace(/\n+/g,`$&\n${f}`);if(l){const{tags:e}=t.doc.schema;const r=resolveScalar(h,e,e.scalarFallback).value;if(typeof r!=="string")return doubleQuotedString(a,t)}const d=c?h:foldFlowLines(h,f,p,y(t));if(i&&!u&&(d.indexOf("\n")!==-1||i.indexOf("\n")!==-1)){if(r)r();return addCommentBefore(d,f,i)}return d}function stringifyString(e,t,r,s){const{defaultType:i}=h;const{implicitKey:o,inFlow:a}=t;let{type:l,value:c}=e;if(typeof c!=="string"){c=String(c);e=Object.assign({},e,{value:c})}const f=i=>{switch(i){case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:return blockString(e,t,r,s);case n.Type.QUOTE_DOUBLE:return doubleQuotedString(c,t);case n.Type.QUOTE_SINGLE:return singleQuotedString(c,t);case n.Type.PLAIN:return plainString(e,t,r,s);default:return null}};if(l!==n.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(c)){l=n.Type.QUOTE_DOUBLE}else if((o||a)&&(l===n.Type.BLOCK_FOLDED||l===n.Type.BLOCK_LITERAL)){l=n.Type.QUOTE_DOUBLE}let u=f(l);if(u===null){u=f(i);if(u===null)throw new Error(`Unsupported default string type ${i}`)}return u}function stringifyNumber({format:e,minFractionDigits:t,tag:r,value:n}){if(typeof n==="bigint")return String(n);if(!isFinite(n))return isNaN(n)?".nan":n<0?"-.inf":".inf";let s=JSON.stringify(n);if(!e&&t&&(!r||r==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let e=s.indexOf(".");if(e<0){e=s.length;s+="."}let r=t-(s.length-e-1);while(r-- >0)s+="0"}return s}function checkFlowCollectionEnd(e,t){let r,s;switch(t.type){case n.Type.FLOW_MAP:r="}";s="flow map";break;case n.Type.FLOW_SEQ:r="]";s="flow sequence";break;default:e.push(new n.YAMLSemanticError(t,"Not a flow collection!?"));return}let i;for(let e=t.items.length-1;e>=0;--e){const r=t.items[e];if(!r||r.type!==n.Type.COMMENT){i=r;break}}if(i&&i.char!==r){const o=`Expected ${s} to end with ${r}`;let a;if(typeof i.offset==="number"){a=new n.YAMLSemanticError(t,o);a.offset=i.offset+1}else{a=new n.YAMLSemanticError(i,o);if(i.range&&i.range.end)a.offset=i.range.end-i.range.start}e.push(a)}}function checkFlowCommentSpace(e,t){const r=t.context.src[t.range.start-1];if(r!=="\n"&&r!=="\t"&&r!==" "){const r="Comments must be separated from other tokens by white space characters";e.push(new n.YAMLSemanticError(t,r))}}function getLongKeyError(e,t){const r=String(t);const s=r.substr(0,8)+"..."+r.substr(-8);return new n.YAMLSemanticError(e,`The "${s}" key is too long`)}function resolveComments(e,t){for(const{afterKey:r,before:n,comment:s}of t){let t=e.items[n];if(!t){if(s!==undefined){if(e.comment)e.comment+="\n"+s;else e.comment=s}}else{if(r&&t.value)t=t.value;if(s===undefined){if(r||!t.commentBefore)t.spaceBefore=true}else{if(t.commentBefore)t.commentBefore+="\n"+s;else t.commentBefore=s}}}}function resolveString(e,t){const r=t.strValue;if(!r)return"";if(typeof r==="string")return r;r.errors.forEach(r=>{if(!r.source)r.source=t;e.errors.push(r)});return r.str}function resolveTagHandle(e,t){const{handle:r,suffix:s}=t.tag;let i=e.tagPrefixes.find(e=>e.handle===r);if(!i){const s=e.getDefaults().tagPrefixes;if(s)i=s.find(e=>e.handle===r);if(!i)throw new n.YAMLSemanticError(t,`The ${r} tag handle is non-default and was not declared.`)}if(!s)throw new n.YAMLSemanticError(t,`The ${r} tag has no suffix.`);if(r==="!"&&(e.version||e.options.version)==="1.0"){if(s[0]==="^"){e.warnings.push(new n.YAMLWarning(t,"YAML 1.0 ^ tag expansion is not supported"));return s}if(/[:/]/.test(s)){const e=s.match(/^([a-z0-9-]+)\/(.*)/i);return e?`tag:${e[1]}.yaml.org,2002:${e[2]}`:`tag:${s}`}}return i.prefix+decodeURIComponent(s)}function resolveTagName(e,t){const{tag:r,type:s}=t;let i=false;if(r){const{handle:s,suffix:o,verbatim:a}=r;if(a){if(a!=="!"&&a!=="!!")return a;const r=`Verbatim tags aren't resolved, so ${a} is invalid.`;e.errors.push(new n.YAMLSemanticError(t,r))}else if(s==="!"&&!o){i=true}else{try{return resolveTagHandle(e,t)}catch(t){e.errors.push(t)}}}switch(s){case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:case n.Type.QUOTE_DOUBLE:case n.Type.QUOTE_SINGLE:return n.defaultTags.STR;case n.Type.FLOW_MAP:case n.Type.MAP:return n.defaultTags.MAP;case n.Type.FLOW_SEQ:case n.Type.SEQ:return n.defaultTags.SEQ;case n.Type.PLAIN:return i?n.defaultTags.STR:null;default:return null}}function resolveByTagName(e,t,r){const{tags:n}=e.schema;const s=[];for(const i of n){if(i.tag===r){if(i.test)s.push(i);else{const r=i.resolve(e,t);return r instanceof Collection?r:new Scalar(r)}}}const i=resolveString(e,t);if(typeof i==="string"&&s.length>0)return resolveScalar(i,s,n.scalarFallback);return null}function getFallbackTagName({type:e}){switch(e){case n.Type.FLOW_MAP:case n.Type.MAP:return n.defaultTags.MAP;case n.Type.FLOW_SEQ:case n.Type.SEQ:return n.defaultTags.SEQ;default:return n.defaultTags.STR}}function resolveTag(e,t,r){try{const n=resolveByTagName(e,t,r);if(n){if(r&&t.tag)n.tag=r;return n}}catch(r){if(!r.source)r.source=t;e.errors.push(r);return null}try{const s=getFallbackTagName(t);if(!s)throw new Error(`The tag ${r} is unavailable`);const i=`The tag ${r} is unavailable, falling back to ${s}`;e.warnings.push(new n.YAMLWarning(t,i));const o=resolveByTagName(e,t,s);o.tag=r;return o}catch(r){const s=new n.YAMLReferenceError(t,r.message);s.stack=r.stack;e.errors.push(s);return null}}const S=e=>{if(!e)return false;const{type:t}=e;return t===n.Type.MAP_KEY||t===n.Type.MAP_VALUE||t===n.Type.SEQ_ITEM};function resolveNodeProps(e,t){const r={before:[],after:[]};let s=false;let i=false;const o=S(t.context.parent)?t.context.parent.props.concat(t.props):t.props;for(const{start:a,end:l}of o){switch(t.context.src[a]){case n.Char.COMMENT:{if(!t.commentHasRequiredWhitespace(a)){const r="Comments must be separated from other tokens by white space characters";e.push(new n.YAMLSemanticError(t,r))}const{header:s,valueRange:i}=t;const o=i&&(a>i.start||s&&a>s.start)?r.after:r.before;o.push(t.context.src.slice(a+1,l));break}case n.Char.ANCHOR:if(s){const r="A node can have at most one anchor";e.push(new n.YAMLSemanticError(t,r))}s=true;break;case n.Char.TAG:if(i){const r="A node can have at most one tag";e.push(new n.YAMLSemanticError(t,r))}i=true;break}}return{comments:r,hasAnchor:s,hasTag:i}}function resolveNodeValue(e,t){const{anchors:r,errors:s,schema:i}=e;if(t.type===n.Type.ALIAS){const e=t.rawValue;const i=r.getNode(e);if(!i){const r=`Aliased anchor not found: ${e}`;s.push(new n.YAMLReferenceError(t,r));return null}const o=new Alias(i);r._cstAliases.push(o);return o}const o=resolveTagName(e,t);if(o)return resolveTag(e,t,o);if(t.type!==n.Type.PLAIN){const e=`Failed to resolve ${t.type} node here`;s.push(new n.YAMLSyntaxError(t,e));return null}try{const r=resolveString(e,t);return resolveScalar(r,i.tags,i.tags.scalarFallback)}catch(e){if(!e.source)e.source=t;s.push(e);return null}}function resolveNode(e,t){if(!t)return null;if(t.error)e.errors.push(t.error);const{comments:r,hasAnchor:s,hasTag:i}=resolveNodeProps(e.errors,t);if(s){const{anchors:r}=e;const n=t.anchor;const s=r.getNode(n);if(s)r.map[r.newName(n)]=s;r.map[n]=t}if(t.type===n.Type.ALIAS&&(s||i)){const r="An alias node must not specify any properties";e.errors.push(new n.YAMLSemanticError(t,r))}const o=resolveNodeValue(e,t);if(o){o.range=[t.range.start,t.range.end];if(e.options.keepCstNodes)o.cstNode=t;if(e.options.keepNodeTypes)o.type=t.type;const n=r.before.join("\n");if(n){o.commentBefore=o.commentBefore?`${o.commentBefore}\n${n}`:n}const s=r.after.join("\n");if(s)o.comment=o.comment?`${o.comment}\n${s}`:s}return t.resolved=o}function resolveMap(e,t){if(t.type!==n.Type.MAP&&t.type!==n.Type.FLOW_MAP){const r=`A ${t.type} node cannot be resolved as a mapping`;e.errors.push(new n.YAMLSyntaxError(t,r));return null}const{comments:r,items:s}=t.type===n.Type.FLOW_MAP?resolveFlowMapItems(e,t):resolveBlockMapItems(e,t);const i=new YAMLMap;i.items=s;resolveComments(i,r);let o=false;for(let r=0;r{if(e instanceof Alias){const{type:t}=e.source;if(t===n.Type.MAP||t===n.Type.FLOW_MAP)return false;return o="Merge nodes aliases can only point to maps"}return o="Merge nodes can only have Alias nodes as values"});if(o)e.errors.push(new n.YAMLSemanticError(t,o))}else{for(let o=r+1;o{if(s.length===0)return false;const{start:i}=s[0];if(t&&i>t.valueRange.start)return false;if(r[i]!==n.Char.COMMENT)return false;for(let t=e;t0){r=new n.PlainValue(n.Type.PLAIN,[]);r.context={parent:l,src:l.context.src};const e=l.range.start+1;r.range={start:e,end:e};r.valueRange={start:e,end:e};if(typeof l.range.origStart==="number"){const e=l.range.origStart+1;r.range.origStart=r.range.origEnd=e;r.valueRange.origStart=r.valueRange.origEnd=e}}const a=new Pair(i,resolveNode(e,r));resolvePairComment(l,a);s.push(a);if(i&&typeof o==="number"){if(l.range.start>o+1024)e.errors.push(getLongKeyError(t,i))}i=undefined;o=null}break;default:if(i!==undefined)s.push(new Pair(i));i=resolveNode(e,l);o=l.range.start;if(l.error)e.errors.push(l.error);e:for(let r=a+1;;++r){const s=t.items[r];switch(s&&s.type){case n.Type.BLANK_LINE:case n.Type.COMMENT:continue e;case n.Type.MAP_VALUE:break e;default:{const t="Implicit map keys need to be followed by map values";e.errors.push(new n.YAMLSemanticError(l,t));break e}}}if(l.valueRangeContainsNewline){const t="Implicit map keys need to be on a single line";e.errors.push(new n.YAMLSemanticError(l,t))}}}if(i!==undefined)s.push(new Pair(i));return{comments:r,items:s}}function resolveFlowMapItems(e,t){const r=[];const s=[];let i=undefined;let o=false;let a="{";for(let l=0;le instanceof Pair&&e.key instanceof Collection)){const r="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new n.YAMLWarning(t,r))}t.resolved=i;return i}function resolveBlockSeqItems(e,t){const r=[];const s=[];for(let i=0;ia+1024)e.errors.push(getLongKeyError(t,o));const{src:s}=c.context;for(let t=a;t{"use strict";var n=r(6580);var s=r(390);const i={identify:e=>e instanceof Uint8Array,default:false,tag:"tag:yaml.org,2002:binary",resolve:(e,t)=>{const r=s.resolveString(e,t);if(typeof Buffer==="function"){return Buffer.from(r,"base64")}else if(typeof atob==="function"){const e=atob(r.replace(/[\n\r]/g,""));const t=new Uint8Array(e.length);for(let r=0;r{let l;if(typeof Buffer==="function"){l=r instanceof Buffer?r.toString("base64"):Buffer.from(r.buffer).toString("base64")}else if(typeof btoa==="function"){let e="";for(let t=0;t1){const e="Each pair must have its own sequence indicator";throw new n.YAMLSemanticError(t,e)}const e=i.items[0]||new s.Pair;if(i.commentBefore)e.commentBefore=e.commentBefore?`${i.commentBefore}\n${e.commentBefore}`:i.commentBefore;if(i.comment)e.comment=e.comment?`${i.comment}\n${e.comment}`:i.comment;i=e}r.items[e]=i instanceof s.Pair?i:new s.Pair(i)}return r}function createPairs(e,t,r){const n=new s.YAMLSeq(e);n.tag="tag:yaml.org,2002:pairs";for(const s of t){let t,i;if(Array.isArray(s)){if(s.length===2){t=s[0];i=s[1]}else throw new TypeError(`Expected [key, value] tuple: ${s}`)}else if(s&&s instanceof Object){const e=Object.keys(s);if(e.length===1){t=e[0];i=s[t]}else throw new TypeError(`Expected { key: value } tuple: ${s}`)}else{t=s}const o=e.createPair(t,i,r);n.items.push(o)}return n}const o={default:false,tag:"tag:yaml.org,2002:pairs",resolve:parsePairs,createNode:createPairs};class YAMLOMap extends s.YAMLSeq{constructor(){super();n._defineProperty(this,"add",s.YAMLMap.prototype.add.bind(this));n._defineProperty(this,"delete",s.YAMLMap.prototype.delete.bind(this));n._defineProperty(this,"get",s.YAMLMap.prototype.get.bind(this));n._defineProperty(this,"has",s.YAMLMap.prototype.has.bind(this));n._defineProperty(this,"set",s.YAMLMap.prototype.set.bind(this));this.tag=YAMLOMap.tag}toJSON(e,t){const r=new Map;if(t&&t.onCreate)t.onCreate(r);for(const e of this.items){let n,i;if(e instanceof s.Pair){n=s.toJSON(e.key,"",t);i=s.toJSON(e.value,n,t)}else{n=s.toJSON(e,"",t)}if(r.has(n))throw new Error("Ordered maps must not include duplicate keys");r.set(n,i)}return r}}n._defineProperty(YAMLOMap,"tag","tag:yaml.org,2002:omap");function parseOMap(e,t){const r=parsePairs(e,t);const i=[];for(const{key:e}of r.items){if(e instanceof s.Scalar){if(i.includes(e.value)){const e="Ordered maps must not include duplicate keys";throw new n.YAMLSemanticError(t,e)}else{i.push(e.value)}}}return Object.assign(new YAMLOMap,r)}function createOMap(e,t,r){const n=createPairs(e,t,r);const s=new YAMLOMap;s.items=n.items;return s}const a={identify:e=>e instanceof Map,nodeClass:YAMLOMap,default:false,tag:"tag:yaml.org,2002:omap",resolve:parseOMap,createNode:createOMap};class YAMLSet extends s.YAMLMap{constructor(){super();this.tag=YAMLSet.tag}add(e){const t=e instanceof s.Pair?e:new s.Pair(e);const r=s.findPair(this.items,t.key);if(!r)this.items.push(t)}get(e,t){const r=s.findPair(this.items,e);return!t&&r instanceof s.Pair?r.key instanceof s.Scalar?r.key.value:r.key:r}set(e,t){if(typeof t!=="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);const r=s.findPair(this.items,e);if(r&&!t){this.items.splice(this.items.indexOf(r),1)}else if(!r&&t){this.items.push(new s.Pair(e))}}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,t,r);else throw new Error("Set items must all have null values")}}n._defineProperty(YAMLSet,"tag","tag:yaml.org,2002:set");function parseSet(e,t){const r=s.resolveMap(e,t);if(!r.hasAllNullValues())throw new n.YAMLSemanticError(t,"Set items must all have null values");return Object.assign(new YAMLSet,r)}function createSet(e,t,r){const n=new YAMLSet;for(const s of t)n.items.push(e.createPair(s,null,r));return n}const l={identify:e=>e instanceof Set,nodeClass:YAMLSet,default:false,tag:"tag:yaml.org,2002:set",resolve:parseSet,createNode:createSet};const c=(e,t)=>{const r=t.split(":").reduce((e,t)=>e*60+Number(t),0);return e==="-"?-r:r};const f=({value:e})=>{if(isNaN(e)||!isFinite(e))return s.stringifyNumber(e);let t="";if(e<0){t="-";e=Math.abs(e)}const r=[e%60];if(e<60){r.unshift(0)}else{e=Math.round((e-r[0])/60);r.unshift(e%60);if(e>=60){e=Math.round((e-r[0])/60);r.unshift(e)}}return t+r.map(e=>e<10?"0"+String(e):String(e)).join(":").replace(/000000\d*$/,"")};const u={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(e,t,r)=>c(t,r.replace(/_/g,"")),stringify:f};const h={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(e,t,r)=>c(t,r.replace(/_/g,"")),stringify:f};const p={identify:e=>e instanceof Date,default:true,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:"+"([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})"+"(?:(?:t|T|[ \\t]+)"+"([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)"+"(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?"+")?"+")$"),resolve:(e,t,r,n,s,i,o,a,l)=>{if(a)a=(a+"00").substr(1,3);let f=Date.UTC(t,r-1,n,s||0,i||0,o||0,a||0);if(l&&l!=="Z"){let e=c(l[0],l.slice(1));if(Math.abs(e)<30)e*=60;f-=6e4*e}return new Date(f)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function shouldWarn(e){const t=typeof process!=="undefined"&&process.env||{};if(e){if(typeof YAML_SILENCE_DEPRECATION_WARNINGS!=="undefined")return!YAML_SILENCE_DEPRECATION_WARNINGS;return!t.YAML_SILENCE_DEPRECATION_WARNINGS}if(typeof YAML_SILENCE_WARNINGS!=="undefined")return!YAML_SILENCE_WARNINGS;return!t.YAML_SILENCE_WARNINGS}function warn(e,t){if(shouldWarn(false)){const r=typeof process!=="undefined"&&process.emitWarning;if(r)r(e,t);else{console.warn(t?`${t}: ${e}`:e)}}}function warnFileDeprecation(e){if(shouldWarn(true)){const t=e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");warn(`The endpoint 'yaml/${t}' will be removed in a future release.`,"DeprecationWarning")}}const d={};function warnOptionDeprecation(e,t){if(!d[e]&&shouldWarn(true)){d[e]=true;let r=`The option '${e}' will be removed in a future release`;r+=t?`, use '${t}' instead.`:".";warn(r,"DeprecationWarning")}}t.binary=i;t.floatTime=h;t.intTime=u;t.omap=a;t.pairs=o;t.set=l;t.timestamp=p;t.warn=warn;t.warnFileDeprecation=warnFileDeprecation;t.warnOptionDeprecation=warnOptionDeprecation},1310:(e,t,r)=>{e.exports=r(4884).YAML},1657:e=>{"use strict";class SyntaxError extends Error{constructor(e){super(e);const{line:t,column:r,reason:n,plugin:s,file:i}=e;this.name="SyntaxError";this.message=`${this.name}\n\n`;if(typeof t!=="undefined"){this.message+=`(${t}:${r}) `}this.message+=s?`${s}: `:"";this.message+=i?`${i} `:" ";this.message+=`${n}`;const o=e.showSourceCode();if(o){this.message+=`\n\n${o}\n`}this.stack=false}}e.exports=SyntaxError},5962:e=>{"use strict";class Warning extends Error{constructor(e){super(e);const{text:t,line:r,column:n,plugin:s}=e;this.name="Warning";this.message=`${this.name}\n\n`;if(typeof r!=="undefined"){this.message+=`(${r}:${n}) `}this.message+=s?`${s}: `:"";this.message+=`${t}`;this.stack=false}}e.exports=Warning},5365:(e,t,r)=>{"use strict";e.exports=r(6347).default},6347:(e,t,r)=>{"use strict";var n;n={value:true};t.default=loader;var s=r(3443);var i=_interopRequireDefault(r(3225));var o=_interopRequireDefault(r(7001));var a=r(2519);var l=_interopRequireDefault(r(4698));var c=_interopRequireDefault(r(5962));var f=_interopRequireDefault(r(1657));var u=_interopRequireDefault(r(7988));var h=r(1405);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function loader(e,t,r){const n=(0,s.getOptions)(this);(0,i.default)(u.default,n,{name:"PostCSS Loader",baseDataPath:"options"});const p=this.async();const d=typeof n.postcssOptions==="undefined"||typeof n.postcssOptions.config==="undefined"?true:n.postcssOptions.config;let g;if(d){try{g=await(0,h.loadConfig)(this,d)}catch(e){p(e);return}}const w=typeof n.sourceMap!=="undefined"?n.sourceMap:this.sourceMap;const{plugins:y,processOptions:m}=(0,h.getPostcssOptions)(this,g,n.postcssOptions);if(w){m.map={inline:false,annotation:false,...m.map}}if(t&&m.map){m.map.prev=(0,h.normalizeSourceMap)(t,this.context)}let S;if(r&&r.ast&&r.ast.type==="postcss"&&(0,a.satisfies)(r.ast.version,`^${l.default.version}`)){({root:S}=r.ast)}if(!S&&n.execute){e=(0,h.exec)(e,this)}let b;try{b=await(0,o.default)(y).process(S||e,m)}catch(e){if(e.file){this.addDependency(e.file)}if(e.name==="CssSyntaxError"){p(new f.default(e))}else{p(e)}return}for(const e of b.warnings()){this.emitWarning(new c.default(e))}for(const e of b.messages){if(e.type==="dependency"){this.addDependency(e.file)}if(e.type==="asset"&&e.content&&e.file){this.emitFile(e.file,e.content,e.sourceMap,e.info)}}let O=b.map?b.map.toJSON():undefined;if(O&&w){O=(0,h.normalizeSourceMapAfterPostcss)(O,this.context)}const A={type:"postcss",version:b.processor.version,root:b.root};p(null,b.css,O,{ast:A})}},1405:(e,t,r)=>{"use strict";e=r.nmd(e);Object.defineProperty(t,"__esModule",{value:true});t.loadConfig=loadConfig;t.getPostcssOptions=getPostcssOptions;t.exec=exec;t.normalizeSourceMap=normalizeSourceMap;t.normalizeSourceMapAfterPostcss=normalizeSourceMapAfterPostcss;var n=_interopRequireDefault(r(5622));var s=_interopRequireDefault(r(2282));var i=r(241);var o=r(3507);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a=e;const l=(e,t)=>new Promise((r,n)=>{e.stat(t,(e,t)=>{if(e){n(e)}r(t)})});function exec(e,t){const{resource:r,context:n}=t;const i=new s.default(r,a);i.paths=s.default._nodeModulePaths(n);i.filename=r;i._compile(e,r);return i.exports}async function loadConfig(e,t){const r=typeof t==="string"?n.default.resolve(t):n.default.dirname(e.resourcePath);let s;try{s=await l(e.fs,r)}catch(e){throw new Error(`No PostCSS config found in: ${r}`)}const a=(0,o.cosmiconfig)("postcss");let c;try{if(s.isFile()){c=await a.load(r)}else{c=await a.search(r)}}catch(e){throw e}if(!c){return{}}e.addDependency(c.filepath);if(c.isEmpty){return c}if(typeof c.config==="function"){const t={mode:e.mode,file:e.resourcePath,webpackLoaderContext:e};c.config=c.config(t)}c=(0,i.klona)(c);return c}function loadPlugin(e,t,r){try{if(!t||Object.keys(t).length===0){const t=require(e);if(t.default){return t.default}return t}const n=require(e);if(n.default){return n.default(t)}return n(t)}catch(t){throw new Error(`Loading PostCSS "${e}" plugin failed: ${t.message}\n\n(@${r})`)}}function pluginFactory(){const e=new Map;return t=>{if(typeof t==="undefined"){return e}if(Array.isArray(t)){for(const r of t){if(Array.isArray(r)){const[t,n]=r;e.set(t,n)}else if(r&&typeof r==="function"){e.set(r)}else if(r&&Object.keys(r).length===1&&(typeof r[Object.keys(r)[0]]==="object"||typeof r[Object.keys(r)[0]]==="boolean")&&r[Object.keys(r)[0]]!==null){const[t]=Object.keys(r);const n=r[t];if(n===false){e.delete(t)}else{e.set(t,n)}}else if(r){e.set(r)}}}else{const r=Object.entries(t);for(const[t,n]of r){if(n===false){e.delete(t)}else{e.set(t,n)}}}return e}}function getPostcssOptions(e,t={},r={}){const s=e.resourcePath;let o=r;if(typeof o==="function"){o=o(e)}let a=[];try{const r=pluginFactory();if(t.config&&t.config.plugins){r(t.config.plugins)}r(o.plugins);a=[...r()].map(e=>{const[t,r]=e;if(typeof t==="string"){return loadPlugin(t,r,s)}return t})}catch(t){e.emitError(t)}const l=t.config||{};if(l.from){l.from=n.default.resolve(n.default.dirname(t.filepath),l.from)}if(l.to){l.to=n.default.resolve(n.default.dirname(t.filepath),l.to)}delete l.plugins;const c=(0,i.klona)(o);if(c.from){c.from=n.default.resolve(e.rootContext,c.from)}if(c.to){c.to=n.default.resolve(e.rootContext,c.to)}delete c.config;delete c.plugins;const f={from:s,to:s,map:false,...l,...c};if(typeof f.parser==="string"){try{f.parser=require(f.parser)}catch(t){e.emitError(new Error(`Loading PostCSS "${f.parser}" parser failed: ${t.message}\n\n(@${s})`))}}if(typeof f.stringifier==="string"){try{f.stringifier=require(f.stringifier)}catch(t){e.emitError(new Error(`Loading PostCSS "${f.stringifier}" stringifier failed: ${t.message}\n\n(@${s})`))}}if(typeof f.syntax==="string"){try{f.syntax=require(f.syntax)}catch(t){e.emitError(new Error(`Loading PostCSS "${f.syntax}" syntax failed: ${t.message}\n\n(@${s})`))}}if(f.map===true){f.map={inline:true}}return{plugins:a,processOptions:f}}const c=/^[a-z]:[/\\]|^\\\\/i;const f=/^[a-z0-9+\-.]+:/i;function getURLType(e){if(e[0]==="/"){if(e[1]==="/"){return"scheme-relative"}return"path-absolute"}if(c.test(e)){return"path-absolute"}return f.test(e)?"absolute":"path-relative"}function normalizeSourceMap(e,t){let r=e;if(typeof r==="string"){r=JSON.parse(r)}delete r.file;const{sourceRoot:s}=r;delete r.sourceRoot;if(r.sources){r.sources=r.sources.map(e=>{const r=getURLType(e);if(r==="path-relative"||r==="path-absolute"){const i=r==="path-relative"&&s?n.default.resolve(s,n.default.normalize(e)):n.default.normalize(e);return n.default.relative(t,i)}return e})}return r}function normalizeSourceMapAfterPostcss(e,t){const r=e;delete r.file;r.sourceRoot="";r.sources=r.sources.map(e=>{if(e.indexOf("<")===0){return e}const r=getURLType(e);if(r==="path-relative"){return n.default.resolve(t,e)}return e});return r}},4193:(e,t,r)=>{"use strict";let n=r(6919);class AtRule extends n{constructor(e){super(e);this.type="atrule"}append(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.append(...e)}prepend(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.prepend(...e)}}e.exports=AtRule;AtRule.default=AtRule;n.registerAtRule(AtRule)},7592:(e,t,r)=>{"use strict";let n=r(8557);class Comment extends n{constructor(e){super(e);this.type="comment"}}e.exports=Comment;Comment.default=Comment},6919:(e,t,r)=>{"use strict";let n=r(3522);let{isClean:s}=r(2594);let i=r(7592);let o=r(8557);let a,l,c;function cleanSource(e){return e.map(e=>{if(e.nodes)e.nodes=cleanSource(e.nodes);delete e.source;return e})}function markDirtyUp(e){e[s]=false;if(e.proxyOf.nodes){for(let t of e.proxyOf.nodes){markDirtyUp(t)}}}function rebuild(e){if(e.type==="atrule"){Object.setPrototypeOf(e,c.prototype)}else if(e.type==="rule"){Object.setPrototypeOf(e,l.prototype)}else if(e.type==="decl"){Object.setPrototypeOf(e,n.prototype)}else if(e.type==="comment"){Object.setPrototypeOf(e,i.prototype)}if(e.nodes){e.nodes.forEach(e=>{rebuild(e)})}}class Container extends o{push(e){e.parent=this;this.proxyOf.nodes.push(e);return this}each(e){if(!this.proxyOf.nodes)return undefined;let t=this.getIterator();let r,n;while(this.indexes[t]{let n;try{n=e(t,r)}catch(e){throw t.addToError(e)}if(n!==false&&t.walk){n=t.walk(e)}return n})}walkDecls(e,t){if(!t){t=e;return this.walk((e,r)=>{if(e.type==="decl"){return t(e,r)}})}if(e instanceof RegExp){return this.walk((r,n)=>{if(r.type==="decl"&&e.test(r.prop)){return t(r,n)}})}return this.walk((r,n)=>{if(r.type==="decl"&&r.prop===e){return t(r,n)}})}walkRules(e,t){if(!t){t=e;return this.walk((e,r)=>{if(e.type==="rule"){return t(e,r)}})}if(e instanceof RegExp){return this.walk((r,n)=>{if(r.type==="rule"&&e.test(r.selector)){return t(r,n)}})}return this.walk((r,n)=>{if(r.type==="rule"&&r.selector===e){return t(r,n)}})}walkAtRules(e,t){if(!t){t=e;return this.walk((e,r)=>{if(e.type==="atrule"){return t(e,r)}})}if(e instanceof RegExp){return this.walk((r,n)=>{if(r.type==="atrule"&&e.test(r.name)){return t(r,n)}})}return this.walk((r,n)=>{if(r.type==="atrule"&&r.name===e){return t(r,n)}})}walkComments(e){return this.walk((t,r)=>{if(t.type==="comment"){return e(t,r)}})}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}this.markDirty();return this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes){this.indexes[t]=this.indexes[t]+e.length}}this.markDirty();return this}cleanRaws(e){super.cleanRaws(e);if(this.nodes){for(let t of this.nodes)t.cleanRaws(e)}}insertBefore(e,t){e=this.index(e);let r=e===0?"prepend":false;let n=this.normalize(t,this.proxyOf.nodes[e],r).reverse();for(let t of n)this.proxyOf.nodes.splice(e,0,t);let s;for(let t in this.indexes){s=this.indexes[t];if(e<=s){this.indexes[t]=s+n.length}}this.markDirty();return this}insertAfter(e,t){e=this.index(e);let r=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of r)this.proxyOf.nodes.splice(e+1,0,t);let n;for(let t in this.indexes){n=this.indexes[t];if(e=e){this.indexes[r]=t-1}}this.markDirty();return this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=undefined;this.proxyOf.nodes=[];this.markDirty();return this}replaceValues(e,t,r){if(!r){r=t;t={}}this.walkDecls(n=>{if(t.props&&!t.props.includes(n.prop))return;if(t.fast&&!n.value.includes(t.fast))return;n.value=n.value.replace(e,r)});this.markDirty();return this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){if(typeof e==="number")return e;if(e.proxyOf)e=e.proxyOf;return this.proxyOf.nodes.indexOf(e)}get first(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[0]}get last(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if(typeof e==="string"){e=cleanSource(a(e).nodes)}else if(Array.isArray(e)){e=e.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type==="root"){e=e.nodes.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type){e=[e]}else if(e.prop){if(typeof e.value==="undefined"){throw new Error("Value field is missed in node creation")}else if(typeof e.value!=="string"){e.value=String(e.value)}e=[new n(e)]}else if(e.selector){e=[new l(e)]}else if(e.name){e=[new c(e)]}else if(e.text){e=[new i(e)]}else{throw new Error("Unknown node type in node creation")}let r=e.map(e=>{if(typeof e.markDirty!=="function")rebuild(e);if(e.parent)e.parent.removeChild(e);if(e[s])markDirtyUp(e);if(typeof e.raws.before==="undefined"){if(t&&typeof t.raws.before!=="undefined"){e.raws.before=t.raws.before.replace(/\S/g,"")}}e.parent=this;return e});return r}getProxyProcessor(){return{set(e,t,r){if(e[t]===r)return true;e[t]=r;if(t==="name"||t==="params"||t==="selector"){e.markDirty()}return true},get(e,t){if(t==="proxyOf"){return e}else if(!e[t]){return e[t]}else if(t==="each"||typeof t==="string"&&t.startsWith("walk")){return(...r)=>{return e[t](...r.map(e=>{if(typeof e==="function"){return(t,r)=>e(t.toProxy(),r)}else{return e}}))}}else if(t==="every"||t==="some"){return r=>{return e[t]((e,...t)=>r(e.toProxy(),...t))}}else if(t==="root"){return()=>e.root().toProxy()}else if(t==="nodes"){return e.nodes.map(e=>e.toProxy())}else if(t==="first"||t==="last"){return e[t].toProxy()}else{return e[t]}}}}getIterator(){if(!this.lastEach)this.lastEach=0;if(!this.indexes)this.indexes={};this.lastEach+=1;let e=this.lastEach;this.indexes[e]=0;return e}}Container.registerParse=(e=>{a=e});Container.registerRule=(e=>{l=e});Container.registerAtRule=(e=>{c=e});e.exports=Container;Container.default=Container},3279:(e,t,r)=>{"use strict";let{red:n,bold:s,gray:i,options:o}=r(8210);let a=r(1040);class CssSyntaxError extends Error{constructor(e,t,r,n,s,i){super(e);this.name="CssSyntaxError";this.reason=e;if(s){this.file=s}if(n){this.source=n}if(i){this.plugin=i}if(typeof t!=="undefined"&&typeof r!=="undefined"){this.line=t;this.column=r}this.setMessage();if(Error.captureStackTrace){Error.captureStackTrace(this,CssSyntaxError)}}setMessage(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"";if(typeof this.line!=="undefined"){this.message+=":"+this.line+":"+this.column}this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;if(e==null)e=o.enabled;if(a){if(e)t=a(t)}let r=t.split(/\r?\n/);let l=Math.max(this.line-3,0);let c=Math.min(this.line+2,r.length);let f=String(c).length;let u,h;if(e){u=(e=>s(n(e)));h=(e=>i(e))}else{u=h=(e=>e)}return r.slice(l,c).map((e,t)=>{let r=l+1+t;let n=" "+(" "+r).slice(-f)+" | ";if(r===this.line){let t=h(n.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return u(">")+h(n)+e+"\n "+t+u("^")}return" "+h(n)+e}).join("\n")}toString(){let e=this.showSourceCode();if(e){e="\n\n"+e+"\n"}return this.name+": "+this.message+e}}e.exports=CssSyntaxError;CssSyntaxError.default=CssSyntaxError},3522:(e,t,r)=>{"use strict";let n=r(8557);class Declaration extends n{constructor(e){if(e&&typeof e.value!=="undefined"&&typeof e.value!=="string"){e={...e,value:String(e.value)}}super(e);this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}e.exports=Declaration;Declaration.default=Declaration},2690:(e,t,r)=>{"use strict";let{fileURLToPath:n,pathToFileURL:s}=r(8835);let{resolve:i,isAbsolute:o}=r(5622);let{nanoid:a}=r(6313);let l=r(9897);let c=r(1040);let f=r(3279);let u=r(1090);class Input{constructor(e,t={}){if(e===null||typeof e==="undefined"||typeof e==="object"&&!e.toString){throw new Error(`PostCSS received ${e} instead of CSS string`)}this.css=e.toString();if(this.css[0]==="\ufeff"||this.css[0]==="￾"){this.hasBOM=true;this.css=this.css.slice(1)}else{this.hasBOM=false}if(t.from){if(/^\w+:\/\//.test(t.from)||o(t.from)){this.file=t.from}else{this.file=i(t.from)}}let r=new u(this.css,t);if(r.text){this.map=r;let e=r.consumer().file;if(!this.file&&e)this.file=this.mapResolve(e)}if(!this.file){this.id=""}if(this.map)this.map.file=this.from}fromOffset(e){let t=l(this.css);this.fromOffset=(e=>t.fromIndex(e));return this.fromOffset(e)}error(e,t,r,n={}){let i;if(!r){let e=this.fromOffset(t);t=e.line;r=e.col}let o=this.origin(t,r);if(o){i=new f(e,o.line,o.column,o.source,o.file,n.plugin)}else{i=new f(e,t,r,this.css,this.file,n.plugin)}i.input={line:t,column:r,source:this.css};if(this.file){i.input.url=s(this.file).toString();i.input.file=this.file}return i}origin(e,t){if(!this.map)return false;let r=this.map.consumer();let i=r.originalPositionFor({line:e,column:t});if(!i.source)return false;let a;if(o(i.source)){a=s(i.source)}else{a=new URL(i.source,this.map.consumer().sourceRoot||s(this.map.mapFile))}let l={url:a.toString(),line:i.line,column:i.column};if(a.protocol==="file:"){l.file=n(a)}let c=r.sourceContentFor(i.source);if(c)l.source=c;return l}mapResolve(e){if(/^\w+:\/\//.test(e)){return e}return i(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}}e.exports=Input;Input.default=Input;if(c&&c.registerInput){c.registerInput(Input)}},6310:(e,t,r)=>{"use strict";let n=r(3091);let{isClean:s}=r(2594);let i=r(4793);let o=r(1600);let a=r(6846);let l=r(2128);let c=r(2630);const f={root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"};const u=0;function isPromise(e){return typeof e==="object"&&typeof e.then==="function"}function getEvents(e){let t=false;let r=f[e.type];if(e.type==="decl"){t=e.prop.toLowerCase()}else if(e.type==="atrule"){t=e.name.toLowerCase()}if(t&&e.append){return[r,r+"-"+t,u,r+"Exit",r+"Exit-"+t]}else if(t){return[r,r+"-"+t,r+"Exit",r+"Exit-"+t]}else if(e.append){return[r,u,r+"Exit"]}else{return[r,r+"Exit"]}}function toStack(e){let t;if(e.type==="root"){t=["Root",u,"RootExit"]}else{t=getEvents(e)}return{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function cleanMarks(e){e[s]=false;if(e.nodes)e.nodes.forEach(e=>cleanMarks(e));return e}let h={};class LazyResult{constructor(e,t,r){this.stringified=false;this.processed=false;let n;if(typeof t==="object"&&t!==null&&t.type==="root"){n=cleanMarks(t)}else if(t instanceof LazyResult||t instanceof a){n=cleanMarks(t.root);if(t.map){if(typeof r.map==="undefined")r.map={};if(!r.map.inline)r.map.inline=false;r.map.prev=t.map}}else{let e=l;if(r.syntax)e=r.syntax.parse;if(r.parser)e=r.parser;if(e.parse)e=e.parse;try{n=e(t,r)}catch(e){this.processed=true;this.error=e}}this.result=new a(e,n,r);this.helpers={...h,result:this.result,postcss:h};this.plugins=this.processor.plugins.map(e=>{if(typeof e==="object"&&e.prepare){return{...e,...e.prepare(this.result)}}else{return e}})}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){if(process.env.NODE_ENV!=="production"){if(!("from"in this.opts)){o("Without `from` option PostCSS could generate wrong source map "+"and will not find Browserslist config. Set it to CSS file path "+"or to `undefined` to prevent this warning.")}}return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){if(this.error)return Promise.reject(this.error);if(this.processed)return Promise.resolve(this.result);if(!this.processing){this.processing=this.runAsync()}return this.processing}sync(){if(this.error)throw this.error;if(this.processed)return this.result;this.processed=true;if(this.processing){throw this.getAsyncError()}for(let e of this.plugins){let t=this.runOnRoot(e);if(isPromise(t)){throw this.getAsyncError()}}this.prepareVisitors();if(this.hasListener){let e=this.result.root;while(!e[s]){e[s]=true;this.walkSync(e)}if(this.listeners.OnceExit){this.visitSync(this.listeners.OnceExit,e)}}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=true;this.sync();let e=this.result.opts;let t=i;if(e.syntax)t=e.syntax.stringify;if(e.stringifier)t=e.stringifier;if(t.stringify)t=t.stringify;let r=new n(t,this.result.root,this.result.opts);let s=r.generate();this.result.css=s[0];this.result.map=s[1];return this.result}walkSync(e){e[s]=true;let t=getEvents(e);for(let r of t){if(r===u){if(e.nodes){e.each(e=>{if(!e[s])this.walkSync(e)})}}else{let t=this.listeners[r];if(t){if(this.visitSync(t,e.toProxy()))return}}}}visitSync(e,t){for(let[r,n]of e){this.result.lastPlugin=r;let e;try{e=n(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(t.type!=="root"&&!t.parent)return true;if(isPromise(e)){throw this.getAsyncError()}}}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e==="object"&&e.Once){return e.Once(this.result.root,this.helpers)}else if(typeof e==="function"){return e(this.result.root,this.result)}}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{if(t)t.addToError(e);this.error=e;if(e.name==="CssSyntaxError"&&!e.plugin){e.plugin=r.postcssPlugin;e.setMessage()}else if(r.postcssVersion){if(process.env.NODE_ENV!=="production"){let e=r.postcssPlugin;let t=r.postcssVersion;let n=this.result.processor.version;let s=t.split(".");let i=n.split(".");if(s[0]!==i[0]||parseInt(s[1])>parseInt(i[1])){console.error("Unknown error from PostCSS plugin. Your current PostCSS "+"version is "+n+", but "+e+" uses "+t+". Perhaps this is the source of the error below.")}}}}catch(e){if(console&&console.error)console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e0){let e=this.visitTick(t);if(isPromise(e)){try{await e}catch(e){let r=t[t.length-1].node;throw this.handleError(e,r)}}}}if(this.listeners.OnceExit){for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{await r(e,this.helpers)}catch(e){throw this.handleError(e)}}}}this.processed=true;return this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{if(!this.listeners[t])this.listeners[t]=[];this.listeners[t].push([e,r])};for(let t of this.plugins){if(typeof t==="object"){for(let r of["Root","Declaration","Rule","AtRule","Comment","DeclarationExit","RuleExit","AtRuleExit","CommentExit","RootExit","OnceExit"]){if(typeof t[r]==="object"){for(let n in t[r]){if(n==="*"){e(t,r,t[r][n])}else{e(t,r+"-"+n.toLowerCase(),t[r][n])}}}else if(typeof t[r]==="function"){e(t,r,t[r])}}}}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1];let{node:r,visitors:n}=t;if(r.type!=="root"&&!r.parent){e.pop();return}if(n.length>0&&t.visitorIndex{h=e});e.exports=LazyResult;LazyResult.default=LazyResult;c.registerLazyResult(LazyResult)},1608:e=>{"use strict";let t={split(e,t,r){let n=[];let s="";let i=false;let o=0;let a=false;let l=false;for(let r of e){if(a){if(l){l=false}else if(r==="\\"){l=true}else if(r===a){a=false}}else if(r==='"'||r==="'"){a=r}else if(r==="("){o+=1}else if(r===")"){if(o>0)o-=1}else if(o===0){if(t.includes(r))i=true}if(i){if(s!=="")n.push(s.trim());s="";i=false}else{s+=r}}if(r||s!=="")n.push(s.trim());return n},space(e){let r=[" ","\n","\t"];return t.split(e,r)},comma(e){return t.split(e,[","],true)}};e.exports=t;t.default=t},3091:(e,t,r)=>{"use strict";let{dirname:n,resolve:s,relative:i,sep:o}=r(5622);let{pathToFileURL:a}=r(8835);let l=r(6241);class MapGenerator{constructor(e,t,r){this.stringify=e;this.mapOpts=r.map||{};this.root=t;this.opts=r}isMap(){if(typeof this.opts.map!=="undefined"){return!!this.opts.map}return this.previous().length>0}previous(){if(!this.previousMaps){this.previousMaps=[];this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;if(!this.previousMaps.includes(t)){this.previousMaps.push(t)}}})}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline!=="undefined"){return this.mapOpts.inline}let e=this.mapOpts.annotation;if(typeof e!=="undefined"&&e!==true){return false}if(this.previous().length){return this.previous().some(e=>e.inline)}return true}isSourcesContent(){if(typeof this.mapOpts.sourcesContent!=="undefined"){return this.mapOpts.sourcesContent}if(this.previous().length){return this.previous().some(e=>e.withContent())}return true}clearAnnotation(){if(this.mapOpts.annotation===false)return;let e;for(let t=this.root.nodes.length-1;t>=0;t--){e=this.root.nodes[t];if(e.type!=="comment")continue;if(e.text.indexOf("# sourceMappingURL=")===0){this.root.removeChild(t)}}}setSourcesContent(){let e={};this.root.walk(t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=true;this.map.setSourceContent(this.toUrl(this.path(r)),t.source.input.css)}}})}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file));let r=e.root||n(e.file);let s;if(this.mapOpts.sourcesContent===false){s=new l.SourceMapConsumer(e.text);if(s.sourcesContent){s.sourcesContent=s.sourcesContent.map(()=>null)}}else{s=e.consumer()}this.map.applySourceMap(s,t,this.toUrl(this.path(r)))}}isAnnotation(){if(this.isInline()){return true}if(typeof this.mapOpts.annotation!=="undefined"){return this.mapOpts.annotation}if(this.previous().length){return this.previous().some(e=>e.annotation)}return true}toBase64(e){if(Buffer){return Buffer.from(e).toString("base64")}else{return window.btoa(unescape(encodeURIComponent(e)))}}addAnnotation(){let e;if(this.isInline()){e="data:application/json;base64,"+this.toBase64(this.map.toString())}else if(typeof this.mapOpts.annotation==="string"){e=this.mapOpts.annotation}else if(typeof this.mapOpts.annotation==="function"){e=this.mapOpts.annotation(this.opts.to,this.root)}else{e=this.outputFile()+".map"}let t="\n";if(this.css.includes("\r\n"))t="\r\n";this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){if(this.opts.to){return this.path(this.opts.to)}if(this.opts.from){return this.path(this.opts.from)}return"to.css"}generateMap(){this.generateString();if(this.isSourcesContent())this.setSourcesContent();if(this.previous().length>0)this.applyPrevMaps();if(this.isAnnotation())this.addAnnotation();if(this.isInline()){return[this.css]}return[this.css,this.map]}path(e){if(e.indexOf("<")===0)return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?n(this.opts.to):".";if(typeof this.mapOpts.annotation==="string"){t=n(s(t,this.mapOpts.annotation))}e=i(t,e);return e}toUrl(e){if(o==="\\"){e=e.replace(/\\/g,"/")}return encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){if(this.mapOpts.from){return this.toUrl(this.mapOpts.from)}else if(this.mapOpts.absolute){return a(e.source.input.from).toString()}else{return this.toUrl(this.path(e.source.input.from))}}generateString(){this.css="";this.map=new l.SourceMapGenerator({file:this.outputFile()});let e=1;let t=1;let r,n;this.stringify(this.root,(s,i,o)=>{this.css+=s;if(i&&o!=="end"){if(i.source&&i.source.start){this.map.addMapping({source:this.sourcePath(i),generated:{line:e,column:t-1},original:{line:i.source.start.line,column:i.source.start.column-1}})}else{this.map.addMapping({source:"",original:{line:1,column:0},generated:{line:e,column:t-1}})}}r=s.match(/\n/g);if(r){e+=r.length;n=s.lastIndexOf("\n");t=s.length-n}else{t+=s.length}if(i&&o!=="start"){let r=i.parent||{raws:{}};if(i.type!=="decl"||i!==r.last||r.raws.semicolon){if(i.source&&i.source.end){this.map.addMapping({source:this.sourcePath(i),generated:{line:e,column:t-2},original:{line:i.source.end.line,column:i.source.end.column-1}})}else{this.map.addMapping({source:"",original:{line:1,column:0},generated:{line:e,column:t-1}})}}}})}generate(){this.clearAnnotation();if(this.isMap()){return this.generateMap()}let e="";this.stringify(this.root,t=>{e+=t});return[e]}}e.exports=MapGenerator},8557:(e,t,r)=>{"use strict";let n=r(3279);let s=r(9414);let{isClean:i}=r(2594);let o=r(4793);function cloneNode(e,t){let r=new e.constructor;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n)){continue}if(n==="proxyCache")continue;let s=e[n];let i=typeof s;if(n==="parent"&&i==="object"){if(t)r[n]=t}else if(n==="source"){r[n]=s}else if(Array.isArray(s)){r[n]=s.map(e=>cloneNode(e,r))}else{if(i==="object"&&s!==null)s=cloneNode(s);r[n]=s}}return r}class Node{constructor(e={}){this.raws={};this[i]=false;for(let t in e){if(t==="nodes"){this.nodes=[];for(let r of e[t]){if(typeof r.clone==="function"){this.append(r.clone())}else{this.append(r)}}}else{this[t]=e[t]}}}error(e,t={}){if(this.source){let r=this.positionBy(t);return this.source.input.error(e,r.line,r.column,t)}return new n(e)}warn(e,t,r){let n={node:this};for(let e in r)n[e]=r[e];return e.warn(t,n)}remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this}toString(e=o){if(e.stringify)e=e.stringify;let t="";e(this,e=>{t+=e});return t}clone(e={}){let t=cloneNode(this);for(let r in e){t[r]=e[r]}return t}cloneBefore(e={}){let t=this.clone(e);this.parent.insertBefore(this,t);return t}cloneAfter(e={}){let t=this.clone(e);this.parent.insertAfter(this,t);return t}replaceWith(...e){if(this.parent){let t=this;let r=false;for(let n of e){if(n===this){r=true}else if(r){this.parent.insertAfter(t,n);t=n}else{this.parent.insertBefore(t,n)}}if(!r){this.remove()}}return this}next(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){this.parent.insertBefore(this,e);return this}after(e){this.parent.insertAfter(this,e);return this}root(){let e=this;while(e.parent)e=e.parent;return e}raw(e,t){let r=new s;return r.raw(this,e,t)}cleanRaws(e){delete this.raws.before;delete this.raws.after;if(!e)delete this.raws.between}toJSON(){let e={};for(let t in this){if(!Object.prototype.hasOwnProperty.call(this,t)){continue}if(t==="parent")continue;let r=this[t];if(Array.isArray(r)){e[t]=r.map(e=>{if(typeof e==="object"&&e.toJSON){return e.toJSON()}else{return e}})}else if(typeof r==="object"&&r.toJSON){e[t]=r.toJSON()}else{e[t]=r}}return e}positionInside(e){let t=this.toString();let r=this.source.start.column;let n=this.source.start.line;for(let s=0;se.root().toProxy()}else{return e[t]}}}}toProxy(){if(!this.proxyCache){this.proxyCache=new Proxy(this,this.getProxyProcessor())}return this.proxyCache}addToError(e){e.postcssNode=this;if(e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[i]){this[i]=false;let e=this;while(e=e.parent){e[i]=false}}}get proxyOf(){return this}}e.exports=Node;Node.default=Node},2128:(e,t,r)=>{"use strict";let n=r(6919);let s=r(5613);let i=r(2690);function parse(e,t){let r=new i(e,t);let n=new s(r);try{n.parse()}catch(e){if(process.env.NODE_ENV!=="production"){if(e.name==="CssSyntaxError"&&t&&t.from){if(/\.scss$/i.test(t.from)){e.message+="\nYou tried to parse SCSS with "+"the standard CSS parser; "+"try again with the postcss-scss parser"}else if(/\.sass/i.test(t.from)){e.message+="\nYou tried to parse Sass with "+"the standard CSS parser; "+"try again with the postcss-sass parser"}else if(/\.less$/i.test(t.from)){e.message+="\nYou tried to parse Less with "+"the standard CSS parser; "+"try again with the postcss-less parser"}}}throw e}return n.root}e.exports=parse;parse.default=parse;n.registerParse(parse)},5613:(e,t,r)=>{"use strict";let n=r(3522);let s=r(5790);let i=r(7592);let o=r(4193);let a=r(2630);let l=r(2234);class Parser{constructor(e){this.input=e;this.root=new a;this.current=this.root;this.spaces="";this.semicolon=false;this.customProperty=false;this.createTokenizer();this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=s(this.input)}parse(){let e;while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();switch(e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}}this.endFile()}comment(e){let t=new i;this.init(t,e[2]);t.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r)){t.text="";t.raws.left=r;t.raws.right=""}else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}emptyRule(e){let t=new l;this.init(t,e[2]);t.selector="";t.raws.between="";this.current=t}other(e){let t=false;let r=null;let n=false;let s=null;let i=[];let o=e[1].startsWith("--");let a=[];let l=e;while(l){r=l[0];a.push(l);if(r==="("||r==="["){if(!s)s=l;i.push(r==="("?")":"]")}else if(o&&n&&r==="{"){if(!s)s=l;i.push("}")}else if(i.length===0){if(r===";"){if(n){this.decl(a,o);return}else{break}}else if(r==="{"){this.rule(a);return}else if(r==="}"){this.tokenizer.back(a.pop());t=true;break}else if(r===":"){n=true}}else if(r===i[i.length-1]){i.pop();if(i.length===0)s=null}l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile())t=true;if(i.length>0)this.unclosedBracket(s);if(t&&n){while(a.length){l=a[a.length-1][0];if(l!=="space"&&l!=="comment")break;this.tokenizer.back(a.pop())}this.decl(a,o)}else{this.unknownWord(a)}}rule(e){e.pop();let t=new l;this.init(t,e[0][2]);t.raws.between=this.spacesAndCommentsFromEnd(e);this.raw(t,"selector",e);this.current=t}decl(e,t){let r=new n;this.init(r,e[0][2]);let s=e[e.length-1];if(s[0]===";"){this.semicolon=true;e.pop()}r.source.end=this.getPosition(s[3]||s[2]);while(e[0][0]!=="word"){if(e.length===1)this.unknownWord(e);r.raws.before+=e.shift()[1]}r.source.start=this.getPosition(e[0][2]);r.prop="";while(e.length){let t=e[0][0];if(t===":"||t==="space"||t==="comment"){break}r.prop+=e.shift()[1]}r.raws.between="";let i;while(e.length){i=e.shift();if(i[0]===":"){r.raws.between+=i[1];break}else{if(i[0]==="word"&&/\w/.test(i[1])){this.unknownWord([i])}r.raws.between+=i[1]}}if(r.prop[0]==="_"||r.prop[0]==="*"){r.raws.before+=r.prop[0];r.prop=r.prop.slice(1)}let o=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){i=e[t];if(i[1].toLowerCase()==="!important"){r.important=true;let n=this.stringFrom(e,t);n=this.spacesFromEnd(e)+n;if(n!==" !important")r.raws.important=n;break}else if(i[1].toLowerCase()==="important"){let n=e.slice(0);let s="";for(let e=t;e>0;e--){let t=n[e][0];if(s.trim().indexOf("!")===0&&t!=="space"){break}s=n.pop()[1]+s}if(s.trim().indexOf("!")===0){r.important=true;r.raws.important=s;e=n}}if(i[0]!=="space"&&i[0]!=="comment"){break}}let a=e.some(e=>e[0]!=="space"&&e[0]!=="comment");this.raw(r,"value",e);if(a){r.raws.between+=o}else{r.value=o+r.value}if(r.value.includes(":")&&!t){this.checkMissedSemicolon(e)}}atrule(e){let t=new o;t.name=e[1].slice(1);if(t.name===""){this.unnamedAtrule(t,e)}this.init(t,e[2]);let r;let n;let s;let i=false;let a=false;let l=[];let c=[];while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();r=e[0];if(r==="("||r==="["){c.push(r==="("?")":"]")}else if(r==="{"&&c.length>0){c.push("}")}else if(r===c[c.length-1]){c.pop()}if(c.length===0){if(r===";"){t.source.end=this.getPosition(e[2]);this.semicolon=true;break}else if(r==="{"){a=true;break}else if(r==="}"){if(l.length>0){s=l.length-1;n=l[s];while(n&&n[0]==="space"){n=l[--s]}if(n){t.source.end=this.getPosition(n[3]||n[2])}}this.end(e);break}else{l.push(e)}}else{l.push(e)}if(this.tokenizer.endOfFile()){i=true;break}}t.raws.between=this.spacesAndCommentsFromEnd(l);if(l.length){t.raws.afterName=this.spacesAndCommentsFromStart(l);this.raw(t,"params",l);if(i){e=l[l.length-1];t.source.end=this.getPosition(e[3]||e[2]);this.spaces=t.raws.between;t.raws.between=""}}else{t.raws.afterName="";t.params=""}if(a){t.nodes=[];this.current=t}}end(e){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.semicolon=false;this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.spaces="";if(this.current.parent){this.current.source.end=this.getPosition(e[2]);this.current=this.current.parent}else{this.unexpectedClose(e)}}endFile(){if(this.current.parent)this.unclosedBlock();if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){this.spaces+=e[1];if(this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];if(e&&e.type==="rule"&&!e.raws.ownSemicolon){e.raws.ownSemicolon=this.spaces;this.spaces=""}}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e);e.source={start:this.getPosition(t),input:this.input};e.raws.before=this.spaces;this.spaces="";if(e.type!=="comment")this.semicolon=false}raw(e,t,r){let n,s;let i=r.length;let o="";let a=true;let l,c;let f=/^([#.|])?(\w)+/i;for(let t=0;te+t[1],"");e.raws[t]={value:o,raw:n}}e[t]=o}spacesAndCommentsFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space"&&t!=="comment")break;r=e.pop()[1]+r}return r}spacesAndCommentsFromStart(e){let t;let r="";while(e.length){t=e[0][0];if(t!=="space"&&t!=="comment")break;r+=e.shift()[1]}return r}spacesFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space")break;r=e.pop()[1]+r}return r}stringFrom(e,t){let r="";for(let n=t;n=0;s--){n=e[s];if(n[0]!=="space"){r+=1;if(r===2)break}}throw this.input.error("Missed semicolon",n[2])}}e.exports=Parser},7001:(e,t,r)=>{"use strict";let n=r(3279);let s=r(3522);let i=r(6310);let o=r(6919);let a=r(9189);let l=r(4793);let c=r(7143);let f=r(7592);let u=r(4193);let h=r(6846);let p=r(2690);let d=r(2128);let g=r(1608);let w=r(2234);let y=r(2630);let m=r(8557);function postcss(...e){if(e.length===1&&Array.isArray(e[0])){e=e[0]}return new a(e,postcss)}postcss.plugin=function plugin(e,t){if(console&&console.warn){console.warn("postcss.plugin was deprecated. Migration guide:\n"+"https://evilmartians.com/chronicles/postcss-8-plugin-migration");if(process.env.LANG&&process.env.LANG.startsWith("cn")){console.warn("postcss.plugin 被弃用. 迁移指南:\n"+"https://www.w3ctech.com/topic/2226")}}function creator(...r){let n=t(...r);n.postcssPlugin=e;n.postcssVersion=(new a).version;return n}let r;Object.defineProperty(creator,"postcss",{get(){if(!r)r=creator();return r}});creator.process=function(e,t,r){return postcss([creator(r)]).process(e,t)};return creator};postcss.stringify=l;postcss.parse=d;postcss.list=g;postcss.comment=(e=>new f(e));postcss.atRule=(e=>new u(e));postcss.decl=(e=>new s(e));postcss.rule=(e=>new w(e));postcss.root=(e=>new y(e));postcss.CssSyntaxError=n;postcss.Declaration=s;postcss.Container=o;postcss.Comment=f;postcss.Warning=c;postcss.AtRule=u;postcss.Result=h;postcss.Input=p;postcss.Rule=w;postcss.Root=y;postcss.Node=m;i.registerPostcss(postcss);e.exports=postcss;postcss.default=postcss},1090:(e,t,r)=>{"use strict";let{existsSync:n,readFileSync:s}=r(5747);let{dirname:i,join:o}=r(5622);let a=r(6241);function fromBase64(e){if(Buffer){return Buffer.from(e,"base64").toString()}else{return window.atob(e)}}class PreviousMap{constructor(e,t){if(t.map===false)return;this.loadAnnotation(e);this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:undefined;let n=this.loadMap(t.from,r);if(!this.mapFile&&t.from){this.mapFile=t.from}if(this.mapFile)this.root=i(this.mapFile);if(n)this.text=n}consumer(){if(!this.consumerCache){this.consumerCache=new a.SourceMapConsumer(this.text)}return this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){if(!e)return false;return e.substr(0,t.length)===t}getAnnotationURL(e){return e.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//)[1].trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=.*\s*\*\//gm);if(t&&t.length>0){let e=t[t.length-1];if(e){this.annotation=this.getAnnotationURL(e)}}}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/;let r=/^data:application\/json;base64,/;let n=/^data:application\/json;charset=utf-?8,/;let s=/^data:application\/json,/;if(n.test(e)||s.test(e)){return decodeURIComponent(e.substr(RegExp.lastMatch.length))}if(t.test(e)||r.test(e)){return fromBase64(e.substr(RegExp.lastMatch.length))}let i=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)}loadFile(e){this.root=i(e);if(n(e)){this.mapFile=e;return s(e,"utf-8").toString().trim()}}loadMap(e,t){if(t===false)return false;if(t){if(typeof t==="string"){return t}else if(typeof t==="function"){let r=t(e);if(r){let e=this.loadFile(r);if(!e){throw new Error("Unable to load previous source map: "+r.toString())}return e}}else if(t instanceof a.SourceMapConsumer){return a.SourceMapGenerator.fromSourceMap(t).toString()}else if(t instanceof a.SourceMapGenerator){return t.toString()}else if(this.isMap(t)){return JSON.stringify(t)}else{throw new Error("Unsupported previous source map format: "+t.toString())}}else if(this.inline){return this.decodeInline(this.annotation)}else if(this.annotation){let t=this.annotation;if(e)t=o(i(e),t);return this.loadFile(t)}}isMap(e){if(typeof e!=="object")return false;return typeof e.mappings==="string"||typeof e._mappings==="string"||Array.isArray(e.sections)}}e.exports=PreviousMap;PreviousMap.default=PreviousMap},9189:(e,t,r)=>{"use strict";let n=r(6310);let s=r(2630);class Processor{constructor(e=[]){this.version="8.1.7";this.plugins=this.normalize(e)}use(e){this.plugins=this.plugins.concat(this.normalize([e]));return this}process(e,t={}){if(this.plugins.length===0&&t.parser===t.stringifier&&!t.hideNothingWarning){if(process.env.NODE_ENV!=="production"){if(typeof console!=="undefined"&&console.warn){console.warn("You did not set any plugins, parser, or stringifier. "+"Right now, PostCSS does nothing. Pick plugins for your case "+"on https://www.postcss.parts/ and use them in postcss.config.js.")}}}return new n(this,e,t)}normalize(e){let t=[];for(let r of e){if(r.postcss===true){r=r()}else if(r.postcss){r=r.postcss}if(typeof r==="object"&&Array.isArray(r.plugins)){t=t.concat(r.plugins)}else if(typeof r==="object"&&r.postcssPlugin){t.push(r)}else if(typeof r==="function"){t.push(r)}else if(typeof r==="object"&&(r.parse||r.stringify)){if(process.env.NODE_ENV!=="production"){throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use "+"one of the syntax/parser/stringifier options as outlined "+"in your PostCSS runner documentation.")}}else{throw new Error(r+" is not a PostCSS plugin")}}return t}}e.exports=Processor;Processor.default=Processor;s.registerProcessor(Processor)},6846:(e,t,r)=>{"use strict";let n=r(7143);class Result{constructor(e,t,r){this.processor=e;this.messages=[];this.root=t;this.opts=r;this.css=undefined;this.map=undefined}toString(){return this.css}warn(e,t={}){if(!t.plugin){if(this.lastPlugin&&this.lastPlugin.postcssPlugin){t.plugin=this.lastPlugin.postcssPlugin}}let r=new n(e,t);this.messages.push(r);return r}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}}e.exports=Result;Result.default=Result},2630:(e,t,r)=>{"use strict";let n=r(6919);let s,i;class Root extends n{constructor(e){super(e);this.type="root";if(!this.nodes)this.nodes=[]}removeChild(e,t){let r=this.index(e);if(!t&&r===0&&this.nodes.length>1){this.nodes[1].raws.before=this.nodes[r].raws.before}return super.removeChild(e)}normalize(e,t,r){let n=super.normalize(e);if(t){if(r==="prepend"){if(this.nodes.length>1){t.raws.before=this.nodes[1].raws.before}else{delete t.raws.before}}else if(this.first!==t){for(let e of n){e.raws.before=t.raws.before}}}return n}toResult(e={}){let t=new s(new i,this,e);return t.stringify()}}Root.registerLazyResult=(e=>{s=e});Root.registerProcessor=(e=>{i=e});e.exports=Root;Root.default=Root},2234:(e,t,r)=>{"use strict";let n=r(6919);let s=r(1608);class Rule extends n{constructor(e){super(e);this.type="rule";if(!this.nodes)this.nodes=[]}get selectors(){return s.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null;let r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}e.exports=Rule;Rule.default=Rule;n.registerRule(Rule)},9414:e=>{"use strict";const t={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:false};function capitalize(e){return e[0].toUpperCase()+e.slice(1)}class Stringifier{constructor(e){this.builder=e}stringify(e,t){this[e.type](e,t)}root(e){this.root=e;this.body(e);if(e.raws.after)this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft");let r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon");let n=e.prop+r+this.rawValue(e,"value");if(e.important){n+=e.raws.important||" !important"}if(t)n+=";";this.builder(n,e)}rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}}atrule(e,t){let r="@"+e.name;let n=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){r+=e.raws.afterName}else if(n){r+=" "}if(e.nodes){this.block(e,r+n)}else{let s=(e.raws.between||"")+(t?";":"");this.builder(r+n+s,e)}}body(e){let t=e.nodes.length-1;while(t>0){if(e.nodes[t].type!=="comment")break;t-=1}let r=this.raw(e,"semicolon");for(let n=0;n{s=e.raws[r];if(typeof s!=="undefined")return false})}}if(typeof s==="undefined")s=t[n];o.rawCache[n]=s;return s}rawSemicolon(e){let t;e.walk(e=>{if(e.nodes&&e.nodes.length&&e.last.type==="decl"){t=e.raws.semicolon;if(typeof t!=="undefined")return false}});return t}rawEmptyBody(e){let t;e.walk(e=>{if(e.nodes&&e.nodes.length===0){t=e.raws.after;if(typeof t!=="undefined")return false}});return t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;e.walk(r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e){if(typeof r.raws.before!=="undefined"){let e=r.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}});return t}rawBeforeComment(e,t){let r;e.walkComments(e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}});if(typeof r==="undefined"){r=this.raw(t,null,"beforeDecl")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeDecl(e,t){let r;e.walkDecls(e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}});if(typeof r==="undefined"){r=this.raw(t,null,"beforeRule")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeRule(e){let t;e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)){if(typeof r.raws.before!=="undefined"){t=r.raws.before;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}});if(t)t=t.replace(/\S/g,"");return t}rawBeforeClose(e){let t;e.walk(e=>{if(e.nodes&&e.nodes.length>0){if(typeof e.raws.after!=="undefined"){t=e.raws.after;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}});if(t)t=t.replace(/\S/g,"");return t}rawBeforeOpen(e){let t;e.walk(e=>{if(e.type!=="decl"){t=e.raws.between;if(typeof t!=="undefined")return false}});return t}rawColon(e){let t;e.walkDecls(e=>{if(typeof e.raws.between!=="undefined"){t=e.raws.between.replace(/[^\s:]/g,"");return false}});return t}beforeAfter(e,t){let r;if(e.type==="decl"){r=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){r=this.raw(e,null,"beforeComment")}else if(t==="before"){r=this.raw(e,null,"beforeRule")}else{r=this.raw(e,null,"beforeClose")}let n=e.parent;let s=0;while(n&&n.type!=="root"){s+=1;n=n.parent}if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e{"use strict";let n=r(9414);function stringify(e,t){let r=new n(t);r.stringify(e)}e.exports=stringify;stringify.default=stringify},2594:e=>{"use strict";e.exports.isClean=Symbol("isClean")},1040:(e,t,r)=>{"use strict";let{cyan:n,gray:s,green:i,yellow:o,magenta:a}=r(8210);let l=r(5790);let c;function registerInput(e){c=e}const f={brackets:n,"at-word":n,comment:s,string:i,class:o,hash:a,call:n,"(":n,")":n,"{":o,"}":o,"[":o,"]":o,":":o,";":o};function getTokenType([e,t],r){if(e==="word"){if(t[0]==="."){return"class"}if(t[0]==="#"){return"hash"}}if(!r.endOfFile()){let e=r.nextToken();r.back(e);if(e[0]==="brackets"||e[0]==="(")return"call"}return e}function terminalHighlight(e){let t=l(new c(e),{ignoreErrors:true});let r="";while(!t.endOfFile()){let e=t.nextToken();let n=f[getTokenType(e,t)];if(n){r+=e[1].split(/\r?\n/).map(e=>n(e)).join("\n")}else{r+=e[1]}}return r}terminalHighlight.registerInput=registerInput;e.exports=terminalHighlight},5790:e=>{"use strict";const t="'".charCodeAt(0);const r='"'.charCodeAt(0);const n="\\".charCodeAt(0);const s="/".charCodeAt(0);const i="\n".charCodeAt(0);const o=" ".charCodeAt(0);const a="\f".charCodeAt(0);const l="\t".charCodeAt(0);const c="\r".charCodeAt(0);const f="[".charCodeAt(0);const u="]".charCodeAt(0);const h="(".charCodeAt(0);const p=")".charCodeAt(0);const d="{".charCodeAt(0);const g="}".charCodeAt(0);const w=";".charCodeAt(0);const y="*".charCodeAt(0);const m=":".charCodeAt(0);const S="@".charCodeAt(0);const b=/[\t\n\f\r "#'()/;[\\\]{}]/g;const O=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const A=/.[\n"'(/\\]/;const E=/[\da-f]/i;e.exports=function tokenizer(e,M={}){let N=e.css.valueOf();let C=M.ignoreErrors;let T,L,R,v,_;let x,$,D,F,B;let I=N.length;let P=0;let Y=[];let j=[];function position(){return P}function unclosed(t){throw e.error("Unclosed "+t,P)}function endOfFile(){return j.length===0&&P>=I}function nextToken(e){if(j.length)return j.pop();if(P>=I)return;let M=e?e.ignoreUnclosed:false;T=N.charCodeAt(P);switch(T){case i:case o:case l:case c:case a:{L=P;do{L+=1;T=N.charCodeAt(L)}while(T===o||T===i||T===l||T===c||T===a);B=["space",N.slice(P,L)];P=L-1;break}case f:case u:case d:case g:case m:case w:case p:{let e=String.fromCharCode(T);B=[e,e,P];break}case h:{D=Y.length?Y.pop()[1]:"";F=N.charCodeAt(P+1);if(D==="url"&&F!==t&&F!==r&&F!==o&&F!==i&&F!==l&&F!==a&&F!==c){L=P;do{x=false;L=N.indexOf(")",L+1);if(L===-1){if(C||M){L=P;break}else{unclosed("bracket")}}$=L;while(N.charCodeAt($-1)===n){$-=1;x=!x}}while(x);B=["brackets",N.slice(P,L+1),P,L];P=L}else{L=N.indexOf(")",P+1);v=N.slice(P,L+1);if(L===-1||A.test(v)){B=["(","(",P]}else{B=["brackets",v,P,L];P=L}}break}case t:case r:{R=T===t?"'":'"';L=P;do{x=false;L=N.indexOf(R,L+1);if(L===-1){if(C||M){L=P+1;break}else{unclosed("string")}}$=L;while(N.charCodeAt($-1)===n){$-=1;x=!x}}while(x);B=["string",N.slice(P,L+1),P,L];P=L;break}case S:{b.lastIndex=P+1;b.test(N);if(b.lastIndex===0){L=N.length-1}else{L=b.lastIndex-2}B=["at-word",N.slice(P,L+1),P,L];P=L;break}case n:{L=P;_=true;while(N.charCodeAt(L+1)===n){L+=1;_=!_}T=N.charCodeAt(L+1);if(_&&T!==s&&T!==o&&T!==i&&T!==l&&T!==c&&T!==a){L+=1;if(E.test(N.charAt(L))){while(E.test(N.charAt(L+1))){L+=1}if(N.charCodeAt(L+1)===o){L+=1}}}B=["word",N.slice(P,L+1),P,L];P=L;break}default:{if(T===s&&N.charCodeAt(P+1)===y){L=N.indexOf("*/",P+2)+1;if(L===0){if(C||M){L=N.length}else{unclosed("comment")}}B=["comment",N.slice(P,L+1),P,L];P=L}else{O.lastIndex=P+1;O.test(N);if(O.lastIndex===0){L=N.length-1}else{L=O.lastIndex-2}B=["word",N.slice(P,L+1),P,L];Y.push(B);P=L}break}}P++;return B}function back(e){j.push(e)}return{back:back,nextToken:nextToken,endOfFile:endOfFile,position:position}}},1600:e=>{"use strict";let t={};e.exports=function warnOnce(e){if(t[e])return;t[e]=true;if(typeof console!=="undefined"&&console.warn){console.warn(e)}}},7143:e=>{"use strict";class Warning{constructor(e,t={}){this.type="warning";this.text=e;if(t.node&&t.node.source){let e=t.node.positionBy(t);this.line=e.line;this.column=e.column}for(let e in t)this[e]=t[e]}toString(){if(this.node){return this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message}if(this.plugin){return this.plugin+": "+this.text}return this.text}}e.exports=Warning;Warning.default=Warning},8210:(e,t)=>{let r=!("NO_COLOR"in process.env)&&("FORCE_COLOR"in process.env||process.platform==="win32"||process.stdout!=null&&process.stdout.isTTY&&process.env.TERM&&process.env.TERM!=="dumb");const n=(e,t,n,s)=>i=>r?e+(~(i+="").indexOf(t,4)?i.replace(n,s):i)+t:i;const s=(e,t)=>{return n(`[${e}m`,`[${t}m`,new RegExp(`\\x1b\\[${t}m`,"g"),`[${e}m`)};t.options=Object.defineProperty({},"enabled",{get:()=>r,set:e=>r=e});t.reset=s(0,0);t.bold=n("","",/\x1b\[22m/g,"");t.dim=n("","",/\x1b\[22m/g,"");t.italic=s(3,23);t.underline=s(4,24);t.inverse=s(7,27);t.hidden=s(8,28);t.strikethrough=s(9,29);t.black=s(30,39);t.red=s(31,39);t.green=s(32,39);t.yellow=s(33,39);t.blue=s(34,39);t.magenta=s(35,39);t.cyan=s(36,39);t.white=s(37,39);t.gray=s(90,39);t.bgBlack=s(40,49);t.bgRed=s(41,49);t.bgGreen=s(42,49);t.bgYellow=s(43,49);t.bgBlue=s(44,49);t.bgMagenta=s(45,49);t.bgCyan=s(46,49);t.bgWhite=s(47,49);t.blackBright=s(90,39);t.redBright=s(91,39);t.greenBright=s(92,39);t.yellowBright=s(93,39);t.blueBright=s(94,39);t.magentaBright=s(95,39);t.cyanBright=s(96,39);t.whiteBright=s(97,39);t.bgBlackBright=s(100,49);t.bgRedBright=s(101,49);t.bgGreenBright=s(102,49);t.bgYellowBright=s(103,49);t.bgBlueBright=s(104,49);t.bgMagentaBright=s(105,49);t.bgCyanBright=s(106,49);t.bgWhiteBright=s(107,49)},6313:e=>{let t="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW";let r=(e,t)=>{return()=>{let r="";let n=t;while(n--){r+=e[Math.random()*e.length|0]}return r}};let n=(e=21)=>{let r="";let n=e;while(n--){r+=t[Math.random()*64|0]}return r};e.exports={nanoid:n,customAlphabet:r}},7988:e=>{"use strict";e.exports=JSON.parse('{"type":"object","properties":{"postcssOptions":{"description":"Options to pass through to `Postcss`.","anyOf":[{"type":"object","additionalProperties":true,"properties":{"config":{"description":"Allows to specify PostCSS Config Path (https://github.com/postcss/postcss-loader#config)","anyOf":[{"description":"Allows to specify the path to the configuration file","type":"string"},{"description":"Enables/Disables autoloading config","type":"boolean"}]}}},{"instanceof":"Function"}]},"execute":{"description":"Enables/Disables PostCSS parser support in \'CSS-in-JS\' (https://github.com/postcss/postcss-loader#execute)","type":"boolean"},"sourceMap":{"description":"Enables/Disables generation of source maps (https://github.com/postcss/postcss-loader#sourcemap)","type":"boolean"}},"additionalProperties":false}')},4698:e=>{"use strict";e.exports=JSON.parse('{"name":"postcss","version":"8.1.7","description":"Tool for transforming styles with JS plugins","engines":{"node":"^10 || ^12 || >=14"},"exports":{".":{"require":"./lib/postcss.js","import":"./lib/postcss.mjs","types":"./lib/postcss.d.ts"},"./":"./"},"main":"./lib/postcss.js","types":"./lib/postcss.d.ts","keywords":["css","postcss","rework","preprocessor","parser","source map","transform","manipulation","transpiler"],"funding":{"type":"opencollective","url":"https://opencollective.com/postcss/"},"author":"Andrey Sitnik ","license":"MIT","homepage":"https://postcss.org/","repository":"postcss/postcss","dependencies":{"colorette":"^1.2.1","line-column":"^1.0.2","nanoid":"^3.1.16","source-map":"^0.6.1"},"browser":{"./lib/terminal-highlight":false,"colorette":false,"fs":false}}')},2242:e=>{"use strict";e.exports=require("chalk")},5747:e=>{"use strict";e.exports=require("fs")},2282:e=>{"use strict";e.exports=require("module")},3443:e=>{"use strict";e.exports=require("next/dist/compiled/loader-utils")},3225:e=>{"use strict";e.exports=require("next/dist/compiled/schema-utils")},2519:e=>{"use strict";e.exports=require("next/dist/compiled/semver")},6241:e=>{"use strict";e.exports=require("next/dist/compiled/source-map")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},8835:e=>{"use strict";e.exports=require("url")},1669:e=>{"use strict";e.exports=require("util")}};var t={};function __nccwpck_require__(r){if(t[r]){return t[r].exports}var n=t[r]={id:r,loaded:false,exports:{}};var s=true;try{e[r](n,n.exports,__nccwpck_require__);s=false}finally{if(s)delete t[r]}n.loaded=true;return n.exports}(()=>{__nccwpck_require__.nmd=(e=>{e.paths=[];if(!e.children)e.children=[];return e})})();__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(5365)})(); \ No newline at end of file +module.exports=(()=>{var e={6553:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t.default=_default;var n=_interopRequireWildcard(r(9571));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:o=3}=r||{};const a=n.line;const l=n.column;const c=s.line;const f=s.column;let u=Math.max(a-(i+1),0);let h=Math.min(t.length,c+o);if(a===-1){u=0}if(c===-1){h=t.length}const p=c-a;const d={};if(p){for(let e=0;e<=p;e++){const r=e+a;if(!l){d[r]=true}else if(e===0){const e=t[r-1].length;d[r]=[l,e-l+1]}else if(e===p){d[r]=[0,f]}else{const n=t[r-e].length;d[r]=[0,n]}}}else{if(l===f){if(l){d[a]=[l,0]}else{d[a]=true}}else{d[a]=[l,f-l]}}return{start:u,end:h,markerLines:d}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const o=(0,n.getChalk)(r);const a=getDefs(o);const l=(e,t)=>{return s?e(t):t};const c=e.split(i);const{start:f,end:u,markerLines:h}=getMarkerLines(t,c,r);const p=t.start&&typeof t.start.column==="number";const d=String(u).length;const g=s?(0,n.default)(e,r):e;let w=g.split(i).slice(f,u).map((e,t)=>{const n=f+1+t;const s=` ${n}`.slice(-d);const i=` ${s} | `;const o=h[n];const c=!h[n+1];if(o){let t="";if(Array.isArray(o)){const n=e.slice(0,Math.max(o[0]-1,0)).replace(/[^\t]/g," ");const s=o[1]||1;t=["\n ",l(a.gutter,i.replace(/\d/g," ")),n,l(a.marker,"^").repeat(s)].join("");if(c&&r.message){t+=" "+l(a.message,r.message)}}return[l(a.marker,">"),l(a.gutter,i),e,t].join("")}else{return` ${l(a.gutter,i)}${e}`}}).join("\n");if(r.message&&!p){w=`${" ".repeat(d+1)}${r.message}\n${w}`}if(s){return o.reset(w)}else{return w}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},4705:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierStart=isIdentifierStart;t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];const a=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;ne)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,a)}function isIdentifierName(e){let t=true;for(let r=0,n=Array.from(e);r{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});var n=r(4705);var s=r(8755)},8755:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isReservedWord=isReservedWord;t.isStrictReservedWord=isStrictReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isKeyword=isKeyword;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},9571:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.shouldHighlight=shouldHighlight;t.getChalk=getChalk;t.default=highlight;var n=_interopRequireWildcard(r(2388));var s=r(4246);var i=_interopRequireDefault(r(2242));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const a=/^[a-z][\w-]*$/i;const l=/^[()[\]{}]$/;function getTokenType(e){const[t,r]=e.slice(-2);const i=(0,n.matchToToken)(e);if(i.type==="name"){if((0,s.isKeyword)(i.value)||(0,s.isReservedWord)(i.value)){return"keyword"}if(a.test(i.value)&&(r[t-1]==="<"||r.substr(t-2,2)=="n(e)).join("\n")}else{return t[0]}})}function shouldHighlight(e){return i.default.supportsColor||e.forceColor}function getChalk(e){let t=i.default;if(e.forceColor){t=new i.default.constructor({enabled:true,level:1})}return t}function highlight(e,t={}){if(shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},726:e=>{"use strict";const t=()=>{const e=Error.prepareStackTrace;Error.prepareStackTrace=((e,t)=>t);const t=(new Error).stack.slice(1);Error.prepareStackTrace=e;return t};e.exports=t;e.exports.default=t},4398:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Explorer=void 0;var n=_interopRequireDefault(r(5622));var s=r(4084);var i=r(6346);var o=r(7594);var a=r(4328);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class Explorer extends s.ExplorerBase{constructor(e){super(e)}async search(e=process.cwd()){const t=await(0,a.getDirectory)(e);const r=await this.searchFromDirectory(t);return r}async searchFromDirectory(e){const t=n.default.resolve(process.cwd(),e);const r=async()=>{const e=await this.searchDirectory(t);const r=this.nextDirectoryToSearch(t,e);if(r){return this.searchFromDirectory(r)}const n=await this.config.transform(e);return n};if(this.searchCache){return(0,o.cacheWrapper)(this.searchCache,t,r)}return r()}async searchDirectory(e){for await(const t of this.config.searchPlaces){const r=await this.loadSearchPlace(e,t);if(this.shouldSearchStopWithResult(r)===true){return r}}return null}async loadSearchPlace(e,t){const r=n.default.join(e,t);const s=await(0,i.readFile)(r);const o=await this.createCosmiconfigResult(r,s);return o}async loadFileContent(e,t){if(t===null){return null}if(t.trim()===""){return undefined}const r=this.getLoaderEntryForFile(e);const n=await r(e,t);return n}async createCosmiconfigResult(e,t){const r=await this.loadFileContent(e,t);const n=this.loadedContentToCosmiconfigResult(e,r);return n}async load(e){this.validateFilePath(e);const t=n.default.resolve(process.cwd(),e);const r=async()=>{const e=await(0,i.readFile)(t,{throwNotFound:true});const r=await this.createCosmiconfigResult(t,e);const n=await this.config.transform(r);return n};if(this.loadCache){return(0,o.cacheWrapper)(this.loadCache,t,r)}return r()}}t.Explorer=Explorer},4084:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getExtensionDescription=getExtensionDescription;t.ExplorerBase=void 0;var n=_interopRequireDefault(r(5622));var s=r(6169);var i=r(9371);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ExplorerBase{constructor(e){if(e.cache===true){this.loadCache=new Map;this.searchCache=new Map}this.config=e;this.validateConfig()}clearLoadCache(){if(this.loadCache){this.loadCache.clear()}}clearSearchCache(){if(this.searchCache){this.searchCache.clear()}}clearCaches(){this.clearLoadCache();this.clearSearchCache()}validateConfig(){const e=this.config;e.searchPlaces.forEach(t=>{const r=n.default.extname(t)||"noExt";const s=e.loaders[r];if(!s){throw new Error(`No loader specified for ${getExtensionDescription(t)}, so searchPlaces item "${t}" is invalid`)}if(typeof s!=="function"){throw new Error(`loader for ${getExtensionDescription(t)} is not a function (type provided: "${typeof s}"), so searchPlaces item "${t}" is invalid`)}})}shouldSearchStopWithResult(e){if(e===null)return false;if(e.isEmpty&&this.config.ignoreEmptySearchPlaces)return false;return true}nextDirectoryToSearch(e,t){if(this.shouldSearchStopWithResult(t)){return null}const r=nextDirUp(e);if(r===e||e===this.config.stopDir){return null}return r}loadPackageProp(e,t){const r=s.loaders.loadJson(e,t);const n=(0,i.getPropertyByPath)(r,this.config.packageProp);return n||null}getLoaderEntryForFile(e){if(n.default.basename(e)==="package.json"){const e=this.loadPackageProp.bind(this);return e}const t=n.default.extname(e)||"noExt";const r=this.config.loaders[t];if(!r){throw new Error(`No loader specified for ${getExtensionDescription(e)}`)}return r}loadedContentToCosmiconfigResult(e,t){if(t===null){return null}if(t===undefined){return{filepath:e,config:undefined,isEmpty:true}}return{config:t,filepath:e}}validateFilePath(e){if(!e){throw new Error("load must pass a non-empty string")}}}t.ExplorerBase=ExplorerBase;function nextDirUp(e){return n.default.dirname(e)}function getExtensionDescription(e){const t=n.default.extname(e);return t?`extension "${t}"`:"files without extensions"}},8666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExplorerSync=void 0;var n=_interopRequireDefault(r(5622));var s=r(4084);var i=r(6346);var o=r(7594);var a=r(4328);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ExplorerSync extends s.ExplorerBase{constructor(e){super(e)}searchSync(e=process.cwd()){const t=(0,a.getDirectorySync)(e);const r=this.searchFromDirectorySync(t);return r}searchFromDirectorySync(e){const t=n.default.resolve(process.cwd(),e);const r=()=>{const e=this.searchDirectorySync(t);const r=this.nextDirectoryToSearch(t,e);if(r){return this.searchFromDirectorySync(r)}const n=this.config.transform(e);return n};if(this.searchCache){return(0,o.cacheWrapperSync)(this.searchCache,t,r)}return r()}searchDirectorySync(e){for(const t of this.config.searchPlaces){const r=this.loadSearchPlaceSync(e,t);if(this.shouldSearchStopWithResult(r)===true){return r}}return null}loadSearchPlaceSync(e,t){const r=n.default.join(e,t);const s=(0,i.readFileSync)(r);const o=this.createCosmiconfigResultSync(r,s);return o}loadFileContentSync(e,t){if(t===null){return null}if(t.trim()===""){return undefined}const r=this.getLoaderEntryForFile(e);const n=r(e,t);return n}createCosmiconfigResultSync(e,t){const r=this.loadFileContentSync(e,t);const n=this.loadedContentToCosmiconfigResult(e,r);return n}loadSync(e){this.validateFilePath(e);const t=n.default.resolve(process.cwd(),e);const r=()=>{const e=(0,i.readFileSync)(t,{throwNotFound:true});const r=this.createCosmiconfigResultSync(t,e);const n=this.config.transform(r);return n};if(this.loadCache){return(0,o.cacheWrapperSync)(this.loadCache,t,r)}return r()}}t.ExplorerSync=ExplorerSync},7594:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cacheWrapper=cacheWrapper;t.cacheWrapperSync=cacheWrapperSync;async function cacheWrapper(e,t,r){const n=e.get(t);if(n!==undefined){return n}const s=await r();e.set(t,s);return s}function cacheWrapperSync(e,t,r){const n=e.get(t);if(n!==undefined){return n}const s=r();e.set(t,s);return s}},4328:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getDirectory=getDirectory;t.getDirectorySync=getDirectorySync;var n=_interopRequireDefault(r(5622));var s=r(271);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function getDirectory(e){const t=await(0,s.isDirectory)(e);if(t===true){return e}const r=n.default.dirname(e);return r}function getDirectorySync(e){const t=(0,s.isDirectorySync)(e);if(t===true){return e}const r=n.default.dirname(e);return r}},9371:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getPropertyByPath=getPropertyByPath;function getPropertyByPath(e,t){if(typeof t==="string"&&Object.prototype.hasOwnProperty.call(e,t)){return e[t]}const r=typeof t==="string"?t.split("."):t;return r.reduce((e,t)=>{if(e===undefined){return e}return e[t]},e)}},3507:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cosmiconfig=cosmiconfig;t.cosmiconfigSync=cosmiconfigSync;t.defaultLoaders=void 0;var n=_interopRequireDefault(r(2087));var s=r(4398);var i=r(8666);var o=r(6169);var a=r(3988);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function cosmiconfig(e,t={}){const r=normalizeOptions(e,t);const n=new s.Explorer(r);return{search:n.search.bind(n),load:n.load.bind(n),clearLoadCache:n.clearLoadCache.bind(n),clearSearchCache:n.clearSearchCache.bind(n),clearCaches:n.clearCaches.bind(n)}}function cosmiconfigSync(e,t={}){const r=normalizeOptions(e,t);const n=new i.ExplorerSync(r);return{search:n.searchSync.bind(n),load:n.loadSync.bind(n),clearLoadCache:n.clearLoadCache.bind(n),clearSearchCache:n.clearSearchCache.bind(n),clearCaches:n.clearCaches.bind(n)}}const l=Object.freeze({".cjs":o.loaders.loadJs,".js":o.loaders.loadJs,".json":o.loaders.loadJson,".yaml":o.loaders.loadYaml,".yml":o.loaders.loadYaml,noExt:o.loaders.loadYaml});t.defaultLoaders=l;const c=function identity(e){return e};function normalizeOptions(e,t){const r={packageProp:e,searchPlaces:["package.json",`.${e}rc`,`.${e}rc.json`,`.${e}rc.yaml`,`.${e}rc.yml`,`.${e}rc.js`,`.${e}rc.cjs`,`${e}.config.js`,`${e}.config.cjs`],ignoreEmptySearchPlaces:true,stopDir:n.default.homedir(),cache:true,transform:c,loaders:l};const s={...r,...t,loaders:{...r.loaders,...t.loaders}};return s}},6169:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.loaders=void 0;let n;const s=function loadJs(e){if(n===undefined){n=r(9900)}const t=n(e);return t};let i;const o=function loadJson(e,t){if(i===undefined){i=r(2518)}try{const r=i(t);return r}catch(t){t.message=`JSON Error in ${e}:\n${t.message}`;throw t}};let a;const l=function loadYaml(e,t){if(a===undefined){a=r(1310)}try{const r=a.parse(t,{prettyErrors:true});return r}catch(t){t.message=`YAML Error in ${e}:\n${t.message}`;throw t}};const c={loadJs:s,loadJson:o,loadYaml:l};t.loaders=c},6346:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.readFile=readFile;t.readFileSync=readFileSync;var n=_interopRequireDefault(r(5747));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function fsReadFileAsync(e,t){return new Promise((r,s)=>{n.default.readFile(e,t,(e,t)=>{if(e){s(e);return}r(t)})})}async function readFile(e,t={}){const r=t.throwNotFound===true;try{const t=await fsReadFileAsync(e,"utf8");return t}catch(e){if(r===false&&e.code==="ENOENT"){return null}throw e}}function readFileSync(e,t={}){const r=t.throwNotFound===true;try{const t=n.default.readFileSync(e,"utf8");return t}catch(e){if(r===false&&e.code==="ENOENT"){return null}throw e}}},3988:()=>{"use strict"},8361:(e,t,r)=>{"use strict";var n=r(1669);var s=r(237);var i=function errorEx(e,t){if(!e||e.constructor!==String){t=e||{};e=Error.name}var r=function ErrorEXError(n){if(!this){return new ErrorEXError(n)}n=n instanceof Error?n.message:n||this.message;Error.call(this,n);Error.captureStackTrace(this,r);this.name=e;Object.defineProperty(this,"message",{configurable:true,enumerable:false,get:function(){var e=n.split(/\r?\n/g);for(var r in t){if(!t.hasOwnProperty(r)){continue}var i=t[r];if("message"in i){e=i.message(this[r],e)||e;if(!s(e)){e=[e]}}}return e.join("\n")},set:function(e){n=e}});var i=null;var o=Object.getOwnPropertyDescriptor(this,"stack");var a=o.get;var l=o.value;delete o.value;delete o.writable;o.set=function(e){i=e};o.get=function(){var e=(i||(a?a.call(this):l)).split(/\r?\n+/g);if(!i){e[0]=this.name+": "+this.message}var r=1;for(var n in t){if(!t.hasOwnProperty(n)){continue}var s=t[n];if("line"in s){var o=s.line(this[n]);if(o){e.splice(r++,0," "+o)}}if("stack"in s){s.stack(this[n],e)}}return e.join("\n")};Object.defineProperty(this,"stack",o)};if(Object.setPrototypeOf){Object.setPrototypeOf(r.prototype,Error.prototype);Object.setPrototypeOf(r,Error)}else{n.inherits(r,Error)}return r};i.append=function(e,t){return{message:function(r,n){r=r||t;if(r){n[0]+=" "+e.replace("%s",r.toString())}return n}}};i.line=function(e,t){return{line:function(r){r=r||t;if(r){return e.replace("%s",r.toString())}return null}}};e.exports=i},9900:(e,t,r)=>{"use strict";const n=r(5622);const s=r(4101);const i=r(5281);e.exports=(e=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}const t=i(__filename);const r=s(n.dirname(t),e);const o=require.cache[r];if(o&&o.parent){let e=o.parent.children.length;while(e--){if(o.parent.children[e].id===r){o.parent.children.splice(e,1)}}}delete require.cache[r];const a=require.cache[t];return a===undefined?require(r):a.require(r)})},4101:(e,t,r)=>{"use strict";const n=r(5622);const s=r(2282);const i=r(5747);const o=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof e}\``)}if(typeof t!=="string"){throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof t}\``)}try{e=i.realpathSync(e)}catch(t){if(t.code==="ENOENT"){e=n.resolve(e)}else if(r){return null}else{throw t}}const o=n.join(e,"noop.js");const a=()=>s._resolveFilename(t,{id:o,filename:o,paths:s._nodeModulePaths(e)});if(r){try{return a()}catch(e){return null}}return a()};e.exports=((e,t)=>o(e,t));e.exports.silent=((e,t)=>o(e,t,true))},237:e=>{"use strict";e.exports=function isArrayish(e){if(!e){return false}return e instanceof Array||Array.isArray(e)||e.length>=0&&e.splice instanceof Function}},2388:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:undefined};if(e[1])t.type="string",t.closed=!!(e[3]||e[4]);else if(e[5])t.type="comment";else if(e[6])t.type="comment",t.closed=!!e[7];else if(e[8])t.type="regex";else if(e[9])t.type="number";else if(e[10])t.type="name";else if(e[11])t.type="punctuator";else if(e[12])t.type="whitespace";return t}},8335:e=>{"use strict";e.exports=parseJson;function parseJson(e,t,r){r=r||20;try{return JSON.parse(e,t)}catch(t){if(typeof e!=="string"){const t=Array.isArray(e)&&e.length===0;const r="Cannot parse "+(t?"an empty array":String(e));throw new TypeError(r)}const n=t.message.match(/^Unexpected token.*position\s+(\d+)/i);const s=n?+n[1]:t.message.match(/^Unexpected end of JSON.*/i)?e.length-1:null;if(s!=null){const n=s<=r?0:s-r;const i=s+r>=e.length?e.length:s+r;t.message+=` while parsing near '${n===0?"":"..."}${e.slice(n,i)}${i===e.length?"":"..."}'`}else{t.message+=` while parsing '${e.slice(0,r*2)}'`}throw t}}},241:(e,t)=>{function set(e,t,r){if(typeof r.value==="object")r.value=klona(r.value);if(!r.enumerable||r.get||r.set||!r.configurable||!r.writable||t==="__proto__"){Object.defineProperty(e,t,r)}else e[t]=r.value}function klona(e){if(typeof e!=="object")return e;var t=0,r,n,s,i=Object.prototype.toString.call(e);if(i==="[object Object]"){s=Object.create(e.__proto__||null)}else if(i==="[object Array]"){s=Array(e.length)}else if(i==="[object Set]"){s=new Set;e.forEach(function(e){s.add(klona(e))})}else if(i==="[object Map]"){s=new Map;e.forEach(function(e,t){s.set(klona(t),klona(e))})}else if(i==="[object Date]"){s=new Date(+e)}else if(i==="[object RegExp]"){s=new RegExp(e.source,e.flags)}else if(i==="[object DataView]"){s=new e.constructor(klona(e.buffer))}else if(i==="[object ArrayBuffer]"){s=e.slice(0)}else if(i.slice(-6)==="Array]"){s=new e.constructor(e)}if(s){for(n=Object.getOwnPropertySymbols(e);t{"use strict";var r="\n";var n="\r";var s=function(){function LinesAndColumns(e){this.string=e;var t=[0];for(var s=0;sthis.string.length){return null}var t=0;var r=this.offsets;while(r[t+1]<=e){t++}var n=e-r[t];return{line:t,column:n}};LinesAndColumns.prototype.indexForLocation=function(e){var t=e.line,r=e.column;if(t<0||t>=this.offsets.length){return null}if(r<0||r>this.lengthOfLine(t)){return null}return this.offsets[t]+r};LinesAndColumns.prototype.lengthOfLine=function(e){var t=this.offsets[e];var r=e===this.offsets.length-1?this.string.length:this.offsets[e+1];return r-t};return LinesAndColumns}();t.__esModule=true;t.default=s},5281:(e,t,r)=>{"use strict";const n=r(726);e.exports=(e=>{const t=n();if(!e){return t[2].getFileName()}let r=false;t.shift();for(const n of t){const t=n.getFileName();if(typeof t!=="string"){continue}if(t===e){r=true;continue}if(t==="module.js"){continue}if(r&&t!==e){return t}}})},2518:(e,t,r)=>{"use strict";const n=r(8361);const s=r(8335);const{default:i}=r(9036);const{codeFrameColumns:o}=r(6553);const a=n("JSONError",{fileName:n.append("in %s"),codeFrame:n.append("\n\n%s\n")});e.exports=((e,t,r)=>{if(typeof t==="string"){r=t;t=null}try{try{return JSON.parse(e,t)}catch(r){s(e,t);throw r}}catch(t){t.message=t.message.replace(/\n/g,"");const n=t.message.match(/in JSON at position (\d+) while parsing near/);const s=new a(t);if(r){s.fileName=r}if(n&&n.length>0){const t=new i(e);const r=Number(n[1]);const a=t.locationForIndex(r);const l=o(e,{start:{line:a.line+1,column:a.column+1}},{highlightCode:true});s.codeFrame=l}throw s}})},271:(e,t,r)=>{"use strict";const{promisify:n}=r(1669);const s=r(5747);async function isType(e,t,r){if(typeof r!=="string"){throw new TypeError(`Expected a string, got ${typeof r}`)}try{const i=await n(s[e])(r);return i[t]()}catch(e){if(e.code==="ENOENT"){return false}throw e}}function isTypeSync(e,t,r){if(typeof r!=="string"){throw new TypeError(`Expected a string, got ${typeof r}`)}try{return s[e](r)[t]()}catch(e){if(e.code==="ENOENT"){return false}throw e}}t.isFile=isType.bind(null,"stat","isFile");t.isDirectory=isType.bind(null,"stat","isDirectory");t.isSymlink=isType.bind(null,"lstat","isSymbolicLink");t.isFileSync=isTypeSync.bind(null,"statSync","isFile");t.isDirectorySync=isTypeSync.bind(null,"statSync","isDirectory");t.isSymlinkSync=isTypeSync.bind(null,"lstatSync","isSymbolicLink")},1230:(e,t,r)=>{"use strict";var n=r(6580);var s=r(390);var i=r(3616);const o={anchorPrefix:"a",customTags:null,indent:2,indentSeq:true,keepCstNodes:false,keepNodeTypes:true,keepBlobsInJSON:true,mapAsMap:false,maxAliasCount:100,prettyErrors:false,simpleKeys:false,version:"1.2"};const a={get binary(){return s.binaryOptions},set binary(e){Object.assign(s.binaryOptions,e)},get bool(){return s.boolOptions},set bool(e){Object.assign(s.boolOptions,e)},get int(){return s.intOptions},set int(e){Object.assign(s.intOptions,e)},get null(){return s.nullOptions},set null(e){Object.assign(s.nullOptions,e)},get str(){return s.strOptions},set str(e){Object.assign(s.strOptions,e)}};const l={"1.0":{schema:"yaml-1.1",merge:true,tagPrefixes:[{handle:"!",prefix:n.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:true,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:n.defaultTagPrefix}]},1.2:{schema:"core",merge:false,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:n.defaultTagPrefix}]}};function stringifyTag(e,t){if((e.version||e.options.version)==="1.0"){const e=t.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(e)return"!"+e[1];const r=t.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return r?`!${r[1]}/${r[2]}`:`!${t.replace(/^tag:/,"")}`}let r=e.tagPrefixes.find(e=>t.indexOf(e.prefix)===0);if(!r){const n=e.getDefaults().tagPrefixes;r=n&&n.find(e=>t.indexOf(e.prefix)===0)}if(!r)return t[0]==="!"?t:`!<${t}>`;const n=t.substr(r.prefix.length).replace(/[!,[\]{}]/g,e=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[e]);return r.handle+n}function getTagObject(e,t){if(t instanceof s.Alias)return s.Alias;if(t.tag){const r=e.filter(e=>e.tag===t.tag);if(r.length>0)return r.find(e=>e.format===t.format)||r[0]}let r,n;if(t instanceof s.Scalar){n=t.value;const s=e.filter(e=>e.identify&&e.identify(n)||e.class&&n instanceof e.class);r=s.find(e=>e.format===t.format)||s.find(e=>!e.format)}else{n=t;r=e.find(e=>e.nodeClass&&n instanceof e.nodeClass)}if(!r){const e=n&&n.constructor?n.constructor.name:typeof n;throw new Error(`Tag not resolved for ${e} value`)}return r}function stringifyProps(e,t,{anchors:r,doc:n}){const s=[];const i=n.anchors.getName(e);if(i){r[i]=e;s.push(`&${i}`)}if(e.tag){s.push(stringifyTag(n,e.tag))}else if(!t.default){s.push(stringifyTag(n,t.tag))}return s.join(" ")}function stringify(e,t,r,n){const{anchors:i,schema:o}=t.doc;let a;if(!(e instanceof s.Node)){const t={aliasNodes:[],onTagObj:e=>a=e,prevObjects:new Map};e=o.createNode(e,true,null,t);for(const e of t.aliasNodes){e.source=e.source.node;let t=i.getName(e.source);if(!t){t=i.newName();i.map[t]=e.source}}}if(e instanceof s.Pair)return e.toString(t,r,n);if(!a)a=getTagObject(o.tags,e);const l=stringifyProps(e,a,t);if(l.length>0)t.indentAtStart=(t.indentAtStart||0)+l.length+1;const c=typeof a.stringify==="function"?a.stringify(e,t,r,n):e instanceof s.Scalar?s.stringifyString(e,t,r,n):e.toString(t,r,n);if(!l)return c;return e instanceof s.Scalar||c[0]==="{"||c[0]==="["?`${l} ${c}`:`${l}\n${t.indent}${c}`}class Anchors{static validAnchorNode(e){return e instanceof s.Scalar||e instanceof s.YAMLSeq||e instanceof s.YAMLMap}constructor(e){n._defineProperty(this,"map",{});this.prefix=e}createAlias(e,t){this.setAnchor(e,t);return new s.Alias(e)}createMergePair(...e){const t=new s.Merge;t.value.items=e.map(e=>{if(e instanceof s.Alias){if(e.source instanceof s.YAMLMap)return e}else if(e instanceof s.YAMLMap){return this.createAlias(e)}throw new Error("Merge sources must be Map nodes or their Aliases")});return t}getName(e){const{map:t}=this;return Object.keys(t).find(r=>t[r]===e)}getNames(){return Object.keys(this.map)}getNode(e){return this.map[e]}newName(e){if(!e)e=this.prefix;const t=Object.keys(this.map);for(let r=1;true;++r){const n=`${e}${r}`;if(!t.includes(n))return n}}resolveNodes(){const{map:e,_cstAliases:t}=this;Object.keys(e).forEach(t=>{e[t]=e[t].resolved});t.forEach(e=>{e.source=e.source.resolved});delete this._cstAliases}setAnchor(e,t){if(e!=null&&!Anchors.validAnchorNode(e)){throw new Error("Anchors may only be set for Scalar, Seq and Map nodes")}if(t&&/[\x00-\x19\s,[\]{}]/.test(t)){throw new Error("Anchor names must not contain whitespace or control characters")}const{map:r}=this;const n=e&&Object.keys(r).find(t=>r[t]===e);if(n){if(!t){return n}else if(n!==t){delete r[n];r[t]=e}}else{if(!t){if(!e)return null;t=this.newName()}r[t]=e}return t}}const c=(e,t)=>{if(e&&typeof e==="object"){const{tag:r}=e;if(e instanceof s.Collection){if(r)t[r]=true;e.items.forEach(e=>c(e,t))}else if(e instanceof s.Pair){c(e.key,t);c(e.value,t)}else if(e instanceof s.Scalar){if(r)t[r]=true}}return t};const f=e=>Object.keys(c(e,{}));function parseContents(e,t){const r={before:[],after:[]};let i=undefined;let o=false;for(const a of t){if(a.valueRange){if(i!==undefined){const t="Document contains trailing content not separated by a ... or --- line";e.errors.push(new n.YAMLSyntaxError(a,t));break}const t=s.resolveNode(e,a);if(o){t.spaceBefore=true;o=false}i=t}else if(a.comment!==null){const e=i===undefined?r.before:r.after;e.push(a.comment)}else if(a.type===n.Type.BLANK_LINE){o=true;if(i===undefined&&r.before.length>0&&!e.commentBefore){e.commentBefore=r.before.join("\n");r.before=[]}}}e.contents=i||null;if(!i){e.comment=r.before.concat(r.after).join("\n")||null}else{const t=r.before.join("\n");if(t){const e=i instanceof s.Collection&&i.items[0]?i.items[0]:i;e.commentBefore=e.commentBefore?`${t}\n${e.commentBefore}`:t}e.comment=r.after.join("\n")||null}}function resolveTagDirective({tagPrefixes:e},t){const[r,s]=t.parameters;if(!r||!s){const e="Insufficient parameters given for %TAG directive";throw new n.YAMLSemanticError(t,e)}if(e.some(e=>e.handle===r)){const e="The %TAG directive must only be given at most once per handle in the same document.";throw new n.YAMLSemanticError(t,e)}return{handle:r,prefix:s}}function resolveYamlDirective(e,t){let[r]=t.parameters;if(t.name==="YAML:1.0")r="1.0";if(!r){const e="Insufficient parameters given for %YAML directive";throw new n.YAMLSemanticError(t,e)}if(!l[r]){const s=e.version||e.options.version;const i=`Document will be parsed as YAML ${s} rather than YAML ${r}`;e.warnings.push(new n.YAMLWarning(t,i))}return r}function parseDirectives(e,t,r){const s=[];let i=false;for(const r of t){const{comment:t,name:o}=r;switch(o){case"TAG":try{e.tagPrefixes.push(resolveTagDirective(e,r))}catch(t){e.errors.push(t)}i=true;break;case"YAML":case"YAML:1.0":if(e.version){const t="The %YAML directive must only be given at most once per document.";e.errors.push(new n.YAMLSemanticError(r,t))}try{e.version=resolveYamlDirective(e,r)}catch(t){e.errors.push(t)}i=true;break;default:if(o){const t=`YAML only supports %TAG and %YAML directives, and not %${o}`;e.warnings.push(new n.YAMLWarning(r,t))}}if(t)s.push(t)}if(r&&!i&&"1.1"===(e.version||r.version||e.options.version)){const t=({handle:e,prefix:t})=>({handle:e,prefix:t});e.tagPrefixes=r.tagPrefixes.map(t);e.version=r.version}e.commentBefore=s.join("\n")||null}function assertCollection(e){if(e instanceof s.Collection)return true;throw new Error("Expected a YAML collection as document contents")}class Document{constructor(e){this.anchors=new Anchors(e.anchorPrefix);this.commentBefore=null;this.comment=null;this.contents=null;this.directivesEndMarker=null;this.errors=[];this.options=e;this.schema=null;this.tagPrefixes=[];this.version=null;this.warnings=[]}add(e){assertCollection(this.contents);return this.contents.add(e)}addIn(e,t){assertCollection(this.contents);this.contents.addIn(e,t)}delete(e){assertCollection(this.contents);return this.contents.delete(e)}deleteIn(e){if(s.isEmptyPath(e)){if(this.contents==null)return false;this.contents=null;return true}assertCollection(this.contents);return this.contents.deleteIn(e)}getDefaults(){return Document.defaults[this.version]||Document.defaults[this.options.version]||{}}get(e,t){return this.contents instanceof s.Collection?this.contents.get(e,t):undefined}getIn(e,t){if(s.isEmptyPath(e))return!t&&this.contents instanceof s.Scalar?this.contents.value:this.contents;return this.contents instanceof s.Collection?this.contents.getIn(e,t):undefined}has(e){return this.contents instanceof s.Collection?this.contents.has(e):false}hasIn(e){if(s.isEmptyPath(e))return this.contents!==undefined;return this.contents instanceof s.Collection?this.contents.hasIn(e):false}set(e,t){assertCollection(this.contents);this.contents.set(e,t)}setIn(e,t){if(s.isEmptyPath(e))this.contents=t;else{assertCollection(this.contents);this.contents.setIn(e,t)}}setSchema(e,t){if(!e&&!t&&this.schema)return;if(typeof e==="number")e=e.toFixed(1);if(e==="1.0"||e==="1.1"||e==="1.2"){if(this.version)this.version=e;else this.options.version=e;delete this.options.schema}else if(e&&typeof e==="string"){this.options.schema=e}if(Array.isArray(t))this.options.customTags=t;const r=Object.assign({},this.getDefaults(),this.options);this.schema=new i.Schema(r)}parse(e,t){if(this.options.keepCstNodes)this.cstNode=e;if(this.options.keepNodeTypes)this.type="DOCUMENT";const{directives:r=[],contents:s=[],directivesEndMarker:i,error:o,valueRange:a}=e;if(o){if(!o.source)o.source=this;this.errors.push(o)}parseDirectives(this,r,t);if(i)this.directivesEndMarker=true;this.range=a?[a.start,a.end]:null;this.setSchema();this.anchors._cstAliases=[];parseContents(this,s);this.anchors.resolveNodes();if(this.options.prettyErrors){for(const e of this.errors)if(e instanceof n.YAMLError)e.makePretty();for(const e of this.warnings)if(e instanceof n.YAMLError)e.makePretty()}return this}listNonDefaultTags(){return f(this.contents).filter(e=>e.indexOf(i.Schema.defaultPrefix)!==0)}setTagPrefix(e,t){if(e[0]!=="!"||e[e.length-1]!=="!")throw new Error("Handle must start and end with !");if(t){const r=this.tagPrefixes.find(t=>t.handle===e);if(r)r.prefix=t;else this.tagPrefixes.push({handle:e,prefix:t})}else{this.tagPrefixes=this.tagPrefixes.filter(t=>t.handle!==e)}}toJSON(e,t){const{keepBlobsInJSON:r,mapAsMap:n,maxAliasCount:i}=this.options;const o=r&&(typeof e!=="string"||!(this.contents instanceof s.Scalar));const a={doc:this,indentStep:" ",keep:o,mapAsMap:o&&!!n,maxAliasCount:i,stringify:stringify};const l=Object.keys(this.anchors.map);if(l.length>0)a.anchors=new Map(l.map(e=>[this.anchors.map[e],{alias:[],aliasCount:0,count:1}]));const c=s.toJSON(this.contents,e,a);if(typeof t==="function"&&a.anchors)for(const{count:e,res:r}of a.anchors.values())t(r,e);return c}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");const e=this.options.indent;if(!Number.isInteger(e)||e<=0){const t=JSON.stringify(e);throw new Error(`"indent" option must be a positive integer, not ${t}`)}this.setSchema();const t=[];let r=false;if(this.version){let e="%YAML 1.2";if(this.schema.name==="yaml-1.1"){if(this.version==="1.0")e="%YAML:1.0";else if(this.version==="1.1")e="%YAML 1.1"}t.push(e);r=true}const n=this.listNonDefaultTags();this.tagPrefixes.forEach(({handle:e,prefix:s})=>{if(n.some(e=>e.indexOf(s)===0)){t.push(`%TAG ${e} ${s}`);r=true}});if(r||this.directivesEndMarker)t.push("---");if(this.commentBefore){if(r||!this.directivesEndMarker)t.unshift("");t.unshift(this.commentBefore.replace(/^/gm,"#"))}const i={anchors:{},doc:this,indent:"",indentStep:" ".repeat(e),stringify:stringify};let o=false;let a=null;if(this.contents){if(this.contents instanceof s.Node){if(this.contents.spaceBefore&&(r||this.directivesEndMarker))t.push("");if(this.contents.commentBefore)t.push(this.contents.commentBefore.replace(/^/gm,"#"));i.forceBlockIndent=!!this.comment;a=this.contents.comment}const e=a?null:()=>o=true;const n=stringify(this.contents,i,()=>a=null,e);t.push(s.addComment(n,"",a))}else if(this.contents!==undefined){t.push(stringify(this.contents,i))}if(this.comment){if((!o||a)&&t[t.length-1]!=="")t.push("");t.push(this.comment.replace(/^/gm,"#"))}return t.join("\n")+"\n"}}n._defineProperty(Document,"defaults",l);t.Document=Document;t.defaultOptions=o;t.scalarOptions=a},6580:(e,t)=>{"use strict";const r={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."};const n={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"};const s="tag:yaml.org,2002:";const i={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function findLineStarts(e){const t=[0];let r=e.indexOf("\n");while(r!==-1){r+=1;t.push(r);r=e.indexOf("\n",r)}return t}function getSrcInfo(e){let t,r;if(typeof e==="string"){t=findLineStarts(e);r=e}else{if(Array.isArray(e))e=e[0];if(e&&e.context){if(!e.lineStarts)e.lineStarts=findLineStarts(e.context.src);t=e.lineStarts;r=e.context.src}}return{lineStarts:t,src:r}}function getLinePos(e,t){if(typeof e!=="number"||e<0)return null;const{lineStarts:r,src:n}=getSrcInfo(t);if(!r||!n||e>n.length)return null;for(let t=0;t=1)||e>r.length)return null;const s=r[e-1];let i=r[e];while(i&&i>s&&n[i-1]==="\n")--i;return n.slice(s,i)}function getPrettyContext({start:e,end:t},r,n=80){let s=getLine(e.line,r);if(!s)return null;let{col:i}=e;if(s.length>n){if(i<=n-10){s=s.substr(0,n-1)+"…"}else{const e=Math.round(n/2);if(s.length>i+e)s=s.substr(0,i+e-1)+"…";i-=s.length-n;s="…"+s.substr(1-n)}}let o=1;let a="";if(t){if(t.line===e.line&&i+(t.col-e.col)<=n+1){o=t.col-e.col}else{o=Math.min(s.length+1,n)-i;a="…"}}const l=i>1?" ".repeat(i-1):"";const c="^".repeat(o);return`${s}\n${l}${c}${a}`}class Range{static copy(e){return new Range(e.start,e.end)}constructor(e,t){this.start=e;this.end=t||e}isEmpty(){return typeof this.start!=="number"||!this.end||this.end<=this.start}setOrigRange(e,t){const{start:r,end:n}=this;if(e.length===0||n<=e[0]){this.origStart=r;this.origEnd=n;return t}let s=t;while(sr)break;else++s}this.origStart=r+s;const i=s;while(s=n)break;else++s}this.origEnd=n+s;return i}}class Node{static addStringTerminator(e,t,r){if(r[r.length-1]==="\n")return r;const n=Node.endOfWhiteSpace(e,t);return n>=e.length||e[n]==="\n"?r+"\n":r}static atDocumentBoundary(e,t,n){const s=e[t];if(!s)return true;const i=e[t-1];if(i&&i!=="\n")return false;if(n){if(s!==n)return false}else{if(s!==r.DIRECTIVES_END&&s!==r.DOCUMENT_END)return false}const o=e[t+1];const a=e[t+2];if(o!==s||a!==s)return false;const l=e[t+3];return!l||l==="\n"||l==="\t"||l===" "}static endOfIdentifier(e,t){let r=e[t];const n=r==="<";const s=n?["\n","\t"," ",">"]:["\n","\t"," ","[","]","{","}",","];while(r&&s.indexOf(r)===-1)r=e[t+=1];if(n&&r===">")t+=1;return t}static endOfIndent(e,t){let r=e[t];while(r===" ")r=e[t+=1];return t}static endOfLine(e,t){let r=e[t];while(r&&r!=="\n")r=e[t+=1];return t}static endOfWhiteSpace(e,t){let r=e[t];while(r==="\t"||r===" ")r=e[t+=1];return t}static startOfLine(e,t){let r=e[t-1];if(r==="\n")return t;while(r&&r!=="\n")r=e[t-=1];return t+1}static endOfBlockIndent(e,t,r){const n=Node.endOfIndent(e,r);if(n>r+t){return n}else{const t=Node.endOfWhiteSpace(e,n);const r=e[t];if(!r||r==="\n")return t}return null}static atBlank(e,t,r){const n=e[t];return n==="\n"||n==="\t"||n===" "||r&&!n}static nextNodeIsIndented(e,t,r){if(!e||t<0)return false;if(t>0)return true;return r&&e==="-"}static normalizeOffset(e,t){const r=e[t];return!r?t:r!=="\n"&&e[t-1]==="\n"?t-1:Node.endOfWhiteSpace(e,t)}static foldNewline(e,t,r){let n=0;let s=false;let i="";let o=e[t+1];while(o===" "||o==="\t"||o==="\n"){switch(o){case"\n":n=0;t+=1;i+="\n";break;case"\t":if(n<=r)s=true;t=Node.endOfWhiteSpace(e,t+2)-1;break;case" ":n+=1;t+=1;break}o=e[t+1]}if(!i)i=" ";if(o&&n<=r)s=true;return{fold:i,offset:t,error:s}}constructor(e,t,r){Object.defineProperty(this,"context",{value:r||null,writable:true});this.error=null;this.range=null;this.valueRange=null;this.props=t||[];this.type=e;this.value=null}getPropValue(e,t,r){if(!this.context)return null;const{src:n}=this.context;const s=this.props[e];return s&&n[s.start]===t?n.slice(s.start+(r?1:0),s.end):null}get anchor(){for(let e=0;e0?e.join("\n"):null}commentHasRequiredWhitespace(e){const{src:t}=this.context;if(this.header&&e===this.header.end)return false;if(!this.valueRange)return false;const{end:r}=this.valueRange;return e!==r||Node.atBlank(t,r-1)}get hasComment(){if(this.context){const{src:e}=this.context;for(let t=0;tr.setOrigRange(e,t));return t}toString(){const{context:{src:e},range:t,value:r}=this;if(r!=null)return r;const n=e.slice(t.start,t.end);return Node.addStringTerminator(e,t.end,n)}}class YAMLError extends Error{constructor(e,t,r){if(!r||!(t instanceof Node))throw new Error(`Invalid arguments for new ${e}`);super();this.name=e;this.message=r;this.source=t}makePretty(){if(!this.source)return;this.nodeType=this.source.type;const e=this.source.context&&this.source.context.root;if(typeof this.offset==="number"){this.range=new Range(this.offset,this.offset+1);const t=e&&getLinePos(this.offset,e);if(t){const e={line:t.line,col:t.col+1};this.linePos={start:t,end:e}}delete this.offset}else{this.range=this.source.range;this.linePos=this.source.rangeAsLinePos}if(this.linePos){const{line:t,col:r}=this.linePos.start;this.message+=` at line ${t}, column ${r}`;const n=e&&getPrettyContext(this.linePos,e);if(n)this.message+=`:\n\n${n}\n`}delete this.source}}class YAMLReferenceError extends YAMLError{constructor(e,t){super("YAMLReferenceError",e,t)}}class YAMLSemanticError extends YAMLError{constructor(e,t){super("YAMLSemanticError",e,t)}}class YAMLSyntaxError extends YAMLError{constructor(e,t){super("YAMLSyntaxError",e,t)}}class YAMLWarning extends YAMLError{constructor(e,t){super("YAMLWarning",e,t)}}function _defineProperty(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}class PlainValue extends Node{static endOfLine(e,t,r){let n=e[t];let s=t;while(n&&n!=="\n"){if(r&&(n==="["||n==="]"||n==="{"||n==="}"||n===","))break;const t=e[s+1];if(n===":"&&(!t||t==="\n"||t==="\t"||t===" "||r&&t===","))break;if((n===" "||n==="\t")&&t==="#")break;s+=1;n=t}return s}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{src:r}=this.context;let n=r[t-1];while(ei?r.slice(i,n+1):e}else{s+=e}}const i=r[e];switch(i){case"\t":{const e="Plain value cannot start with a tab character";const t=[new YAMLSemanticError(this,e)];return{errors:t,str:s}}case"@":case"`":{const e=`Plain value cannot start with reserved character ${i}`;const t=[new YAMLSemanticError(this,e)];return{errors:t,str:s}}default:return s}}parseBlockValue(e){const{indent:t,inFlow:r,src:n}=this.context;let s=e;let i=e;for(let e=n[s];e==="\n";e=n[s]){if(Node.atDocumentBoundary(n,s+1))break;const e=Node.endOfBlockIndent(n,t,s+1);if(e===null||n[e]==="#")break;if(n[e]==="\n"){s=e}else{i=PlainValue.endOfLine(n,e,r);s=i}}if(this.valueRange.isEmpty())this.valueRange.start=e;this.valueRange.end=i;return i}parse(e,t){this.context=e;const{inFlow:r,src:n}=e;let s=t;const i=n[s];if(i&&i!=="#"&&i!=="\n"){s=PlainValue.endOfLine(n,t,r)}this.valueRange=new Range(t,s);s=Node.endOfWhiteSpace(n,s);s=this.parseComment(s);if(!this.hasComment||this.valueRange.isEmpty()){s=this.parseBlockValue(s)}return s}}t.Char=r;t.Node=Node;t.PlainValue=PlainValue;t.Range=Range;t.Type=n;t.YAMLError=YAMLError;t.YAMLReferenceError=YAMLReferenceError;t.YAMLSemanticError=YAMLSemanticError;t.YAMLSyntaxError=YAMLSyntaxError;t.YAMLWarning=YAMLWarning;t._defineProperty=_defineProperty;t.defaultTagPrefix=s;t.defaultTags=i},3616:(e,t,r)=>{"use strict";var n=r(6580);var s=r(390);var i=r(5655);function createMap(e,t,r){const n=new s.YAMLMap(e);if(t instanceof Map){for(const[s,i]of t)n.items.push(e.createPair(s,i,r))}else if(t&&typeof t==="object"){for(const s of Object.keys(t))n.items.push(e.createPair(s,t[s],r))}if(typeof e.sortMapEntries==="function"){n.items.sort(e.sortMapEntries)}return n}const o={createNode:createMap,default:true,nodeClass:s.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:s.resolveMap};function createSeq(e,t,r){const n=new s.YAMLSeq(e);if(t&&t[Symbol.iterator]){for(const s of t){const t=e.createNode(s,r.wrapScalars,null,r);n.items.push(t)}}return n}const a={createNode:createSeq,default:true,nodeClass:s.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:s.resolveSeq};const l={identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:s.resolveString,stringify(e,t,r,n){t=Object.assign({actualString:true},t);return s.stringifyString(e,t,r,n)},options:s.strOptions};const c=[o,a,l];const f=e=>typeof e==="bigint"||Number.isInteger(e);const u=(e,t,r)=>s.intOptions.asBigInt?BigInt(e):parseInt(t,r);function intStringify(e,t,r){const{value:n}=e;if(f(n)&&n>=0)return r+n.toString(t);return s.stringifyNumber(e)}const h={identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:s.nullOptions,stringify:()=>s.nullOptions.nullStr};const p={identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>e[0]==="t"||e[0]==="T",options:s.boolOptions,stringify:({value:e})=>e?s.boolOptions.trueStr:s.boolOptions.falseStr};const d={identify:e=>f(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>u(e,t,8),options:s.intOptions,stringify:e=>intStringify(e,8,"0o")};const g={identify:f,default:true,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>u(e,e,10),options:s.intOptions,stringify:s.stringifyNumber};const w={identify:e=>f(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>u(e,t,16),options:s.intOptions,stringify:e=>intStringify(e,16,"0x")};const y={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:s.stringifyNumber};const m={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify:({value:e})=>Number(e).toExponential()};const S={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(e,t,r){const n=t||r;const i=new s.Scalar(parseFloat(e));if(n&&n[n.length-1]==="0")i.minFractionDigits=n.length;return i},stringify:s.stringifyNumber};const b=c.concat([h,p,d,g,w,y,m,S]);const O=e=>typeof e==="bigint"||Number.isInteger(e);const E=({value:e})=>JSON.stringify(e);const A=[o,a,{identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:s.resolveString,stringify:E},{identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:E},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:E},{identify:O,default:true,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>s.intOptions.asBigInt?BigInt(e):parseInt(e,10),stringify:({value:e})=>O(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:E}];A.scalarFallback=(e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)});const M=({value:e})=>e?s.boolOptions.trueStr:s.boolOptions.falseStr;const N=e=>typeof e==="bigint"||Number.isInteger(e);function intResolve$1(e,t,r){let n=t.replace(/_/g,"");if(s.intOptions.asBigInt){switch(r){case 2:n=`0b${n}`;break;case 8:n=`0o${n}`;break;case 16:n=`0x${n}`;break}const t=BigInt(n);return e==="-"?BigInt(-1)*t:t}const i=parseInt(n,r);return e==="-"?-1*i:i}function intStringify$1(e,t,r){const{value:n}=e;if(N(n)){const e=n.toString(t);return n<0?"-"+r+e.substr(1):r+e}return s.stringifyNumber(e)}const C=c.concat([{identify:e=>e==null,createNode:(e,t,r)=>r.wrapScalars?new s.Scalar(null):null,default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:s.nullOptions,stringify:()=>s.nullOptions.nullStr},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>true,options:s.boolOptions,stringify:M},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>false,options:s.boolOptions,stringify:M},{identify:N,default:true,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,r)=>intResolve$1(t,r,2),stringify:e=>intStringify$1(e,2,"0b")},{identify:N,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,r)=>intResolve$1(t,r,8),stringify:e=>intStringify$1(e,8,"0")},{identify:N,default:true,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,r)=>intResolve$1(t,r,10),stringify:s.stringifyNumber},{identify:N,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,r)=>intResolve$1(t,r,16),stringify:e=>intStringify$1(e,16,"0x")},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:s.stringifyNumber},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify:({value:e})=>Number(e).toExponential()},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(e,t){const r=new s.Scalar(parseFloat(e.replace(/_/g,"")));if(t){const e=t.replace(/_/g,"");if(e[e.length-1]==="0")r.minFractionDigits=e.length}return r},stringify:s.stringifyNumber}],i.binary,i.omap,i.pairs,i.set,i.intTime,i.floatTime,i.timestamp);const T={core:b,failsafe:c,json:A,yaml11:C};const L={binary:i.binary,bool:p,float:S,floatExp:m,floatNaN:y,floatTime:i.floatTime,int:g,intHex:w,intOct:d,intTime:i.intTime,map:o,null:h,omap:i.omap,pairs:i.pairs,seq:a,set:i.set,timestamp:i.timestamp};function findTagObject(e,t,r){if(t){const e=r.filter(e=>e.tag===t);const n=e.find(e=>!e.format)||e[0];if(!n)throw new Error(`Tag ${t} not found`);return n}return r.find(t=>(t.identify&&t.identify(e)||t.class&&e instanceof t.class)&&!t.format)}function createNode(e,t,r){if(e instanceof s.Node)return e;const{defaultPrefix:n,onTagObj:i,prevObjects:l,schema:c,wrapScalars:f}=r;if(t&&t.startsWith("!!"))t=n+t.slice(2);let u=findTagObject(e,t,c.tags);if(!u){if(typeof e.toJSON==="function")e=e.toJSON();if(typeof e!=="object")return f?new s.Scalar(e):e;u=e instanceof Map?o:e[Symbol.iterator]?a:o}if(i){i(u);delete r.onTagObj}const h={};if(e&&typeof e==="object"&&l){const t=l.get(e);if(t){const e=new s.Alias(t);r.aliasNodes.push(e);return e}h.value=e;l.set(e,h)}h.node=u.createNode?u.createNode(r.schema,e,r):f?new s.Scalar(e):e;if(t&&h.node instanceof s.Node)h.node.tag=t;return h.node}function getSchemaTags(e,t,r,n){let s=e[n.replace(/\W/g,"")];if(!s){const t=Object.keys(e).map(e=>JSON.stringify(e)).join(", ");throw new Error(`Unknown schema "${n}"; use one of ${t}`)}if(Array.isArray(r)){for(const e of r)s=s.concat(e)}else if(typeof r==="function"){s=r(s.slice())}for(let e=0;eJSON.stringify(e)).join(", ");throw new Error(`Unknown custom tag "${r}"; use one of ${e}`)}s[e]=n}}return s}const R=(e,t)=>e.keyt.key?1:0;class Schema{constructor({customTags:e,merge:t,schema:r,sortMapEntries:n,tags:s}){this.merge=!!t;this.name=r;this.sortMapEntries=n===true?R:n||null;if(!e&&s)i.warnOptionDeprecation("tags","customTags");this.tags=getSchemaTags(T,L,e||s,r)}createNode(e,t,r,n){const s={defaultPrefix:Schema.defaultPrefix,schema:this,wrapScalars:t};const i=n?Object.assign(n,s):s;return createNode(e,r,i)}createPair(e,t,r){if(!r)r={wrapScalars:true};const n=this.createNode(e,r.wrapScalars,null,r);const i=this.createNode(t,r.wrapScalars,null,r);return new s.Pair(n,i)}}n._defineProperty(Schema,"defaultPrefix",n.defaultTagPrefix);n._defineProperty(Schema,"defaultTags",n.defaultTags);t.Schema=Schema},4884:(e,t,r)=>{"use strict";var n=r(6580);var s=r(2488);r(390);var i=r(1230);var o=r(3616);var a=r(5655);function createNode(e,t=true,r){if(r===undefined&&typeof t==="string"){r=t;t=true}const n=Object.assign({},i.Document.defaults[i.defaultOptions.version],i.defaultOptions);const s=new o.Schema(n);return s.createNode(e,t,r)}class Document extends i.Document{constructor(e){super(Object.assign({},i.defaultOptions,e))}}function parseAllDocuments(e,t){const r=[];let n;for(const i of s.parse(e)){const e=new Document(t);e.parse(i,n);r.push(e);n=e}return r}function parseDocument(e,t){const r=s.parse(e);const i=new Document(t).parse(r[0]);if(r.length>1){const e="Source contains multiple documents; please use YAML.parseAllDocuments()";i.errors.unshift(new n.YAMLSemanticError(r[1],e))}return i}function parse(e,t){const r=parseDocument(e,t);r.warnings.forEach(e=>a.warn(e));if(r.errors.length>0)throw r.errors[0];return r.toJSON()}function stringify(e,t){const r=new Document(t);r.contents=e;return String(r)}const l={createNode:createNode,defaultOptions:i.defaultOptions,Document:Document,parse:parse,parseAllDocuments:parseAllDocuments,parseCST:s.parse,parseDocument:parseDocument,scalarOptions:i.scalarOptions,stringify:stringify};t.YAML=l},2488:(e,t,r)=>{"use strict";var n=r(6580);class BlankLine extends n.Node{constructor(){super(n.Type.BLANK_LINE)}get includesTrailingLines(){return true}parse(e,t){this.context=e;this.range=new n.Range(t,t+1);return t+1}}class CollectionItem extends n.Node{constructor(e,t){super(e,t);this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,t){this.context=e;const{parseNode:r,src:s}=e;let{atLineStart:i,lineStart:o}=e;if(!i&&this.type===n.Type.SEQ_ITEM)this.error=new n.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line");const a=i?t-o:e.indent;let l=n.Node.endOfWhiteSpace(s,t+1);let c=s[l];const f=c==="#";const u=[];let h=null;while(c==="\n"||c==="#"){if(c==="#"){const e=n.Node.endOfLine(s,l+1);u.push(new n.Range(l,e));l=e}else{i=true;o=l+1;const e=n.Node.endOfWhiteSpace(s,o);if(s[e]==="\n"&&u.length===0){h=new BlankLine;o=h.parse({src:s},o)}l=n.Node.endOfIndent(s,o)}c=s[l]}if(n.Node.nextNodeIsIndented(c,l-(o+a),this.type!==n.Type.SEQ_ITEM)){this.node=r({atLineStart:i,inCollection:false,indent:a,lineStart:o,parent:this},l)}else if(c&&o>t+1){l=o-1}if(this.node){if(h){const t=e.parent.items||e.parent.contents;if(t)t.push(h)}if(u.length)Array.prototype.push.apply(this.props,u);l=this.node.range.end}else{if(f){const e=u[0];this.props.push(e);l=e.end}else{l=n.Node.endOfLine(s,t+1)}}const p=this.node?this.node.valueRange.end:l;this.valueRange=new n.Range(t,p);return l}setOrigRanges(e,t){t=super.setOrigRanges(e,t);return this.node?this.node.setOrigRanges(e,t):t}toString(){const{context:{src:e},node:t,range:r,value:s}=this;if(s!=null)return s;const i=t?e.slice(r.start,t.range.start)+String(t):e.slice(r.start,r.end);return n.Node.addStringTerminator(e,r.end,i)}}class Comment extends n.Node{constructor(){super(n.Type.COMMENT)}parse(e,t){this.context=e;const r=this.parseComment(t);this.range=new n.Range(t,r);return r}}function grabCollectionEndComments(e){let t=e;while(t instanceof CollectionItem)t=t.node;if(!(t instanceof Collection))return null;const r=t.items.length;let s=-1;for(let e=r-1;e>=0;--e){const r=t.items[e];if(r.type===n.Type.COMMENT){const{indent:t,lineStart:n}=r.context;if(t>0&&r.range.start>=n+t)break;s=e}else if(r.type===n.Type.BLANK_LINE)s=e;else break}if(s===-1)return null;const i=t.items.splice(s,r-s);const o=i[0].range.start;while(true){t.range.end=o;if(t.valueRange&&t.valueRange.end>o)t.valueRange.end=o;if(t===e)break;t=t.context.parent}return i}class Collection extends n.Node{static nextContentHasIndent(e,t,r){const s=n.Node.endOfLine(e,t)+1;t=n.Node.endOfWhiteSpace(e,s);const i=e[t];if(!i)return false;if(t>=s+r)return true;if(i!=="#"&&i!=="\n")return false;return Collection.nextContentHasIndent(e,t,r)}constructor(e){super(e.type===n.Type.SEQ_ITEM?n.Type.SEQ:n.Type.MAP);for(let t=e.props.length-1;t>=0;--t){if(e.props[t].start0}parse(e,t){this.context=e;const{parseNode:r,src:s}=e;let i=n.Node.startOfLine(s,t);const o=this.items[0];o.context.parent=this;this.valueRange=n.Range.copy(o.valueRange);const a=o.range.start-o.context.lineStart;let l=t;l=n.Node.normalizeOffset(s,l);let c=s[l];let f=n.Node.endOfWhiteSpace(s,i)===l;let u=false;while(c){while(c==="\n"||c==="#"){if(f&&c==="\n"&&!u){const e=new BlankLine;l=e.parse({src:s},l);this.valueRange.end=l;if(l>=s.length){c=null;break}this.items.push(e);l-=1}else if(c==="#"){if(l=s.length){c=null;break}}i=l+1;l=n.Node.endOfIndent(s,i);if(n.Node.atBlank(s,l)){const e=n.Node.endOfWhiteSpace(s,l);const t=s[e];if(!t||t==="\n"||t==="#"){l=e}}c=s[l];f=true}if(!c){break}if(l!==i+a&&(f||c!==":")){if(lt)l=i;break}else if(!this.error){const e="All collection items must start at the same column";this.error=new n.YAMLSyntaxError(this,e)}}if(o.type===n.Type.SEQ_ITEM){if(c!=="-"){if(i>t)l=i;break}}else if(c==="-"&&!this.error){const e=s[l+1];if(!e||e==="\n"||e==="\t"||e===" "){const e="A collection cannot be both a mapping and a sequence";this.error=new n.YAMLSyntaxError(this,e)}}const e=r({atLineStart:f,inCollection:true,indent:a,lineStart:i,parent:this},l);if(!e)return l;this.items.push(e);this.valueRange.end=e.valueRange.end;l=n.Node.normalizeOffset(s,e.range.end);c=s[l];f=false;u=e.includesTrailingLines;if(c){let e=l-1;let t=s[e];while(t===" "||t==="\t")t=s[--e];if(t==="\n"){i=e+1;f=true}}const h=grabCollectionEndComments(e);if(h)Array.prototype.push.apply(this.items,h)}return l}setOrigRanges(e,t){t=super.setOrigRanges(e,t);this.items.forEach(r=>{t=r.setOrigRanges(e,t)});return t}toString(){const{context:{src:e},items:t,range:r,value:s}=this;if(s!=null)return s;let i=e.slice(r.start,t[0].range.start)+String(t[0]);for(let e=1;e0){this.contents=this.directives;this.directives=[]}return i}}if(t[i]){this.directivesEndMarker=new n.Range(i,i+3);return i+3}if(s){this.error=new n.YAMLSemanticError(this,"Missing directives-end indicator line")}else if(this.directives.length>0){this.contents=this.directives;this.directives=[]}return i}parseContents(e){const{parseNode:t,src:r}=this.context;if(!this.contents)this.contents=[];let s=e;while(r[s-1]==="-")s-=1;let i=n.Node.endOfWhiteSpace(r,e);let o=s===e;this.valueRange=new n.Range(i);while(!n.Node.atDocumentBoundary(r,i,n.Char.DOCUMENT_END)){switch(r[i]){case"\n":if(o){const e=new BlankLine;i=e.parse({src:r},i);if(i{t=r.setOrigRanges(e,t)});if(this.directivesEndMarker)t=this.directivesEndMarker.setOrigRange(e,t);this.contents.forEach(r=>{t=r.setOrigRanges(e,t)});if(this.documentEndMarker)t=this.documentEndMarker.setOrigRange(e,t);return t}toString(){const{contents:e,directives:t,value:r}=this;if(r!=null)return r;let s=t.join("");if(e.length>0){if(t.length>0||e[0].type===n.Type.COMMENT)s+="---\n";s+=e.join("")}if(s[s.length-1]!=="\n")s+="\n";return s}}class Alias extends n.Node{parse(e,t){this.context=e;const{src:r}=e;let s=n.Node.endOfIdentifier(r,t+1);this.valueRange=new n.Range(t+1,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}const s={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"};class BlockValue extends n.Node{constructor(e,t){super(e,t);this.blockIndent=null;this.chomping=s.CLIP;this.header=null}get includesTrailingLines(){return this.chomping===s.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:t}=this.valueRange;const{indent:r,src:i}=this.context;if(this.valueRange.isEmpty())return"";let o=null;let a=i[t-1];while(a==="\n"||a==="\t"||a===" "){t-=1;if(t<=e){if(this.chomping===s.KEEP)break;else return""}if(a==="\n")o=t;a=i[t-1]}let l=t+1;if(o){if(this.chomping===s.KEEP){l=o;t=this.valueRange.end}else{t=o}}const c=r+this.blockIndent;const f=this.type===n.Type.BLOCK_FOLDED;let u=true;let h="";let p="";let d=false;for(let r=e;rl){l=c}}else if(s&&s!=="\n"&&c{if(r instanceof n.Node){t=r.setOrigRanges(e,t)}else if(e.length===0){r.origOffset=r.offset}else{let n=t;while(nr.offset)break;else++n}r.origOffset=r.offset+n;t=n}});return t}toString(){const{context:{src:e},items:t,range:r,value:s}=this;if(s!=null)return s;const i=t.filter(e=>e instanceof n.Node);let o="";let a=r.start;i.forEach(t=>{const r=e.slice(a,t.range.start);a=t.range.end;o+=r+String(t);if(o[o.length-1]==="\n"&&e[a-1]!=="\n"&&e[a]==="\n"){a+=1}});o+=e.slice(a,r.end);return n.Node.addStringTerminator(e,r.end,o)}}class QuoteDouble extends n.Node{static endOfQuote(e,t){let r=e[t];while(r&&r!=='"'){t+=r==="\\"?2:1;r=e[t]}return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[];const{start:t,end:r}=this.valueRange;const{indent:s,src:i}=this.context;if(i[r-1]!=='"')e.push(new n.YAMLSyntaxError(this,'Missing closing "quote'));let o="";for(let a=t+1;ae?i.slice(e,a+1):t}else{o+=t}}return e.length>0?{errors:e,str:o}:o}parseCharCode(e,t,r){const{src:s}=this.context;const i=s.substr(e,t);const o=i.length===t&&/^[0-9a-fA-F]+$/.test(i);const a=o?parseInt(i,16):NaN;if(isNaN(a)){r.push(new n.YAMLSyntaxError(this,`Invalid escape sequence ${s.substr(e-2,t+2)}`));return s.substr(e-2,t+2)}return String.fromCodePoint(a)}parse(e,t){this.context=e;const{src:r}=e;let s=QuoteDouble.endOfQuote(r,t+1);this.valueRange=new n.Range(t,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}class QuoteSingle extends n.Node{static endOfQuote(e,t){let r=e[t];while(r){if(r==="'"){if(e[t+1]!=="'")break;r=e[t+=2]}else{r=e[t+=1]}}return t+1}get strValue(){if(!this.valueRange||!this.context)return null;const e=[];const{start:t,end:r}=this.valueRange;const{indent:s,src:i}=this.context;if(i[r-1]!=="'")e.push(new n.YAMLSyntaxError(this,"Missing closing 'quote"));let o="";for(let a=t+1;ae?i.slice(e,a+1):t}else{o+=t}}return e.length>0?{errors:e,str:o}:o}parse(e,t){this.context=e;const{src:r}=e;let s=QuoteSingle.endOfQuote(r,t+1);this.valueRange=new n.Range(t,s);s=n.Node.endOfWhiteSpace(r,s);s=this.parseComment(s);return s}}function createNewNode(e,t){switch(e){case n.Type.ALIAS:return new Alias(e,t);case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:return new BlockValue(e,t);case n.Type.FLOW_MAP:case n.Type.FLOW_SEQ:return new FlowCollection(e,t);case n.Type.MAP_KEY:case n.Type.MAP_VALUE:case n.Type.SEQ_ITEM:return new CollectionItem(e,t);case n.Type.COMMENT:case n.Type.PLAIN:return new n.PlainValue(e,t);case n.Type.QUOTE_DOUBLE:return new QuoteDouble(e,t);case n.Type.QUOTE_SINGLE:return new QuoteSingle(e,t);default:return null}}class ParseContext{static parseType(e,t,r){switch(e[t]){case"*":return n.Type.ALIAS;case">":return n.Type.BLOCK_FOLDED;case"|":return n.Type.BLOCK_LITERAL;case"{":return n.Type.FLOW_MAP;case"[":return n.Type.FLOW_SEQ;case"?":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.MAP_KEY:n.Type.PLAIN;case":":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.MAP_VALUE:n.Type.PLAIN;case"-":return!r&&n.Node.atBlank(e,t+1,true)?n.Type.SEQ_ITEM:n.Type.PLAIN;case'"':return n.Type.QUOTE_DOUBLE;case"'":return n.Type.QUOTE_SINGLE;default:return n.Type.PLAIN}}constructor(e={},{atLineStart:t,inCollection:r,inFlow:s,indent:i,lineStart:o,parent:a}={}){n._defineProperty(this,"parseNode",(e,t)=>{if(n.Node.atDocumentBoundary(this.src,t))return null;const r=new ParseContext(this,e);const{props:s,type:i,valueStart:o}=r.parseProps(t);const a=createNewNode(i,s);let l=a.parse(r,o);a.range=new n.Range(t,l);if(l<=t){a.error=new Error(`Node#parse consumed no characters`);a.error.parseEnd=l;a.error.source=a;a.range.end=t+1}if(r.nodeStartsCollection(a)){if(!a.error&&!r.atLineStart&&r.parent.type===n.Type.DOCUMENT){a.error=new n.YAMLSyntaxError(a,"Block collection must not have preceding content here (e.g. directives-end indicator)")}const e=new Collection(a);l=e.parse(new ParseContext(r),l);e.range=new n.Range(t,l);return e}return a});this.atLineStart=t!=null?t:e.atLineStart||false;this.inCollection=r!=null?r:e.inCollection||false;this.inFlow=s!=null?s:e.inFlow||false;this.indent=i!=null?i:e.indent;this.lineStart=o!=null?o:e.lineStart;this.parent=a!=null?a:e.parent||{};this.root=e.root;this.src=e.src}nodeStartsCollection(e){const{inCollection:t,inFlow:r,src:s}=this;if(t||r)return false;if(e instanceof CollectionItem)return true;let i=e.range.end;if(s[i]==="\n"||s[i-1]==="\n")return false;i=n.Node.endOfWhiteSpace(s,i);return s[i]===":"}parseProps(e){const{inFlow:t,parent:r,src:s}=this;const i=[];let o=false;e=this.atLineStart?n.Node.endOfIndent(s,e):n.Node.endOfWhiteSpace(s,e);let a=s[e];while(a===n.Char.ANCHOR||a===n.Char.COMMENT||a===n.Char.TAG||a==="\n"){if(a==="\n"){const t=e+1;const i=n.Node.endOfIndent(s,t);const a=i-(t+this.indent);const l=r.type===n.Type.SEQ_ITEM&&r.context.atLineStart;if(!n.Node.nextNodeIsIndented(s[i],a,!l))break;this.atLineStart=true;this.lineStart=t;o=false;e=i}else if(a===n.Char.COMMENT){const t=n.Node.endOfLine(s,e+1);i.push(new n.Range(e,t));e=t}else{let t=n.Node.endOfIdentifier(s,e+1);if(a===n.Char.TAG&&s[t]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(s.slice(e+1,t+13))){t=n.Node.endOfIdentifier(s,t+5)}i.push(new n.Range(e,t));o=true;e=n.Node.endOfWhiteSpace(s,t)}a=s[e]}if(o&&a===":"&&n.Node.atBlank(s,e+1,true))e-=1;const l=ParseContext.parseType(s,e,t);return{props:i,type:l,valueStart:e}}}function parse(e){const t=[];if(e.indexOf("\r")!==-1){e=e.replace(/\r\n?/g,(e,r)=>{if(e.length>1)t.push(r);return"\n"})}const r=[];let n=0;do{const t=new Document;const s=new ParseContext({src:e});n=t.parse(s,n);r.push(t)}while(n{if(t.length===0)return false;for(let e=1;er.join("...\n"));return r}t.parse=parse},390:(e,t,r)=>{"use strict";var n=r(6580);function addCommentBefore(e,t,r){if(!r)return e;const n=r.replace(/[\s\S]^/gm,`$&${t}#`);return`#${n}\n${t}${e}`}function addComment(e,t,r){return!r?e:r.indexOf("\n")===-1?`${e} #${r}`:`${e}\n`+r.replace(/^/gm,`${t||""}#`)}class Node{}function toJSON(e,t,r){if(Array.isArray(e))return e.map((e,t)=>toJSON(e,String(t),r));if(e&&typeof e.toJSON==="function"){const n=r&&r.anchors&&r.anchors.get(e);if(n)r.onCreate=(e=>{n.res=e;delete r.onCreate});const s=e.toJSON(t,r);if(n&&r.onCreate)r.onCreate(s);return s}if((!r||!r.keep)&&typeof e==="bigint")return Number(e);return e}class Scalar extends Node{constructor(e){super();this.value=e}toJSON(e,t){return t&&t.keep?this.value:toJSON(this.value,e,t)}toString(){return String(this.value)}}function collectionFromPath(e,t,r){let n=r;for(let e=t.length-1;e>=0;--e){const r=t[e];const s=Number.isInteger(r)&&r>=0?[]:{};s[r]=n;n=s}return e.createNode(n,false)}const s=e=>e==null||typeof e==="object"&&e[Symbol.iterator]().next().done;class Collection extends Node{constructor(e){super();n._defineProperty(this,"items",[]);this.schema=e}addIn(e,t){if(s(e))this.add(t);else{const[r,...n]=e;const s=this.get(r,true);if(s instanceof Collection)s.addIn(n,t);else if(s===undefined&&this.schema)this.set(r,collectionFromPath(this.schema,n,t));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`)}}deleteIn([e,...t]){if(t.length===0)return this.delete(e);const r=this.get(e,true);if(r instanceof Collection)return r.deleteIn(t);else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}getIn([e,...t],r){const n=this.get(e,true);if(t.length===0)return!r&&n instanceof Scalar?n.value:n;else return n instanceof Collection?n.getIn(t,r):undefined}hasAllNullValues(){return this.items.every(e=>{if(!e||e.type!=="PAIR")return false;const t=e.value;return t==null||t instanceof Scalar&&t.value==null&&!t.commentBefore&&!t.comment&&!t.tag})}hasIn([e,...t]){if(t.length===0)return this.has(e);const r=this.get(e,true);return r instanceof Collection?r.hasIn(t):false}setIn([e,...t],r){if(t.length===0){this.set(e,r)}else{const n=this.get(e,true);if(n instanceof Collection)n.setIn(t,r);else if(n===undefined&&this.schema)this.set(e,collectionFromPath(this.schema,t,r));else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`)}}toJSON(){return null}toString(e,{blockItem:t,flowChars:r,isMap:s,itemIndent:i},o,a){const{indent:l,indentStep:c,stringify:f}=e;const u=this.type===n.Type.FLOW_MAP||this.type===n.Type.FLOW_SEQ||e.inFlow;if(u)i+=c;const h=s&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:h,indent:i,inFlow:u,type:null});let p=false;let d=false;const g=this.items.reduce((t,r,n)=>{let s;if(r){if(!p&&r.spaceBefore)t.push({type:"comment",str:""});if(r.commentBefore)r.commentBefore.match(/^.*$/gm).forEach(e=>{t.push({type:"comment",str:`#${e}`})});if(r.comment)s=r.comment;if(u&&(!p&&r.spaceBefore||r.commentBefore||r.comment||r.key&&(r.key.commentBefore||r.key.comment)||r.value&&(r.value.commentBefore||r.value.comment)))d=true}p=false;let o=f(r,e,()=>s=null,()=>p=true);if(u&&!d&&o.includes("\n"))d=true;if(u&&ne.str);if(d||n.reduce((e,t)=>e+t.length+2,2)>Collection.maxFlowStringSingleLineLength){w=e;for(const e of n){w+=e?`\n${c}${l}${e}`:"\n"}w+=`\n${l}${t}`}else{w=`${e} ${n.join(" ")} ${t}`}}else{const e=g.map(t);w=e.shift();for(const t of e)w+=t?`\n${l}${t}`:"\n"}if(this.comment){w+="\n"+this.comment.replace(/^/gm,`${l}#`);if(o)o()}else if(p&&a)a();return w}}n._defineProperty(Collection,"maxFlowStringSingleLineLength",60);function asItemIndex(e){let t=e instanceof Scalar?e.value:e;if(t&&typeof t==="string")t=Number(t);return Number.isInteger(t)&&t>=0?t:null}class YAMLSeq extends Collection{add(e){this.items.push(e)}delete(e){const t=asItemIndex(e);if(typeof t!=="number")return false;const r=this.items.splice(t,1);return r.length>0}get(e,t){const r=asItemIndex(e);if(typeof r!=="number")return undefined;const n=this.items[r];return!t&&n instanceof Scalar?n.value:n}has(e){const t=asItemIndex(e);return typeof t==="number"&&te.type==="comment"?e.str:`- ${e.str}`,flowChars:{start:"[",end:"]"},isMap:false,itemIndent:(e.indent||"")+" "},t,r)}}const i=(e,t,r)=>{if(t===null)return"";if(typeof t!=="object")return String(t);if(e instanceof Node&&r&&r.doc)return e.toString({anchors:{},doc:r.doc,indent:"",indentStep:r.indentStep,inFlow:true,inStringifyKey:true,stringify:r.stringify});return JSON.stringify(t)};class Pair extends Node{constructor(e,t=null){super();this.key=e;this.value=t;this.type=Pair.Type.PAIR}get commentBefore(){return this.key instanceof Node?this.key.commentBefore:undefined}set commentBefore(e){if(this.key==null)this.key=new Scalar(null);if(this.key instanceof Node)this.key.commentBefore=e;else{const e="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(e)}}addToJSMap(e,t){const r=toJSON(this.key,"",e);if(t instanceof Map){const n=toJSON(this.value,r,e);t.set(r,n)}else if(t instanceof Set){t.add(r)}else{const n=i(this.key,r,e);t[n]=toJSON(this.value,n,e)}return t}toJSON(e,t){const r=t&&t.mapAsMap?new Map:{};return this.addToJSMap(t,r)}toString(e,t,r){if(!e||!e.doc)return JSON.stringify(this);const{indent:s,indentSeq:i,simpleKeys:o}=e.doc.options;let{key:a,value:l}=this;let c=a instanceof Node&&a.comment;if(o){if(c){throw new Error("With simple keys, key nodes cannot have comments")}if(a instanceof Collection){const e="With simple keys, collection cannot be used as a key value";throw new Error(e)}}const f=!o&&(!a||c||a instanceof Collection||a.type===n.Type.BLOCK_FOLDED||a.type===n.Type.BLOCK_LITERAL);const{doc:u,indent:h,indentStep:p,stringify:d}=e;e=Object.assign({},e,{implicitKey:!f,indent:h+p});let g=false;let w=d(a,e,()=>c=null,()=>g=true);w=addComment(w,e.indent,c);if(e.allNullValues&&!o){if(this.comment){w=addComment(w,e.indent,this.comment);if(t)t()}else if(g&&!c&&r)r();return e.inFlow?w:`? ${w}`}w=f?`? ${w}\n${h}:`:`${w}:`;if(this.comment){w=addComment(w,e.indent,this.comment);if(t)t()}let y="";let m=null;if(l instanceof Node){if(l.spaceBefore)y="\n";if(l.commentBefore){const t=l.commentBefore.replace(/^/gm,`${e.indent}#`);y+=`\n${t}`}m=l.comment}else if(l&&typeof l==="object"){l=u.schema.createNode(l,true)}e.implicitKey=false;if(!f&&!this.comment&&l instanceof Scalar)e.indentAtStart=w.length+1;g=false;if(!i&&s>=2&&!e.inFlow&&!f&&l instanceof YAMLSeq&&l.type!==n.Type.FLOW_SEQ&&!l.tag&&!u.anchors.getName(l)){e.indent=e.indent.substr(2)}const S=d(l,e,()=>m=null,()=>g=true);let b=" ";if(y||this.comment){b=`${y}\n${e.indent}`}else if(!f&&l instanceof Collection){const t=S[0]==="["||S[0]==="{";if(!t||S.includes("\n"))b=`\n${e.indent}`}if(g&&!m&&r)r();return addComment(w+b+S,e.indent,m)}}n._defineProperty(Pair,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});const o=(e,t)=>{if(e instanceof Alias){const r=t.get(e.source);return r.count*r.aliasCount}else if(e instanceof Collection){let r=0;for(const n of e.items){const e=o(n,t);if(e>r)r=e}return r}else if(e instanceof Pair){const r=o(e.key,t);const n=o(e.value,t);return Math.max(r,n)}return 1};class Alias extends Node{static stringify({range:e,source:t},{anchors:r,doc:n,implicitKey:s,inStringifyKey:i}){let o=Object.keys(r).find(e=>r[e]===t);if(!o&&i)o=n.anchors.getName(t)||n.anchors.newName();if(o)return`*${o}${s?" ":""}`;const a=n.anchors.getName(t)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${a} [${e}]`)}constructor(e){super();this.source=e;this.type=n.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,t){if(!t)return toJSON(this.source,e,t);const{anchors:r,maxAliasCount:s}=t;const i=r.get(this.source);if(!i||i.res===undefined){const e="This should not happen: Alias anchor was not resolved?";if(this.cstNode)throw new n.YAMLReferenceError(this.cstNode,e);else throw new ReferenceError(e)}if(s>=0){i.count+=1;if(i.aliasCount===0)i.aliasCount=o(this.source,r);if(i.count*i.aliasCount>s){const e="Excessive alias count indicates a resource exhaustion attack";if(this.cstNode)throw new n.YAMLReferenceError(this.cstNode,e);else throw new ReferenceError(e)}}return i.res}toString(e){return Alias.stringify(this,e)}}n._defineProperty(Alias,"default",true);function findPair(e,t){const r=t instanceof Scalar?t.value:t;for(const n of e){if(n instanceof Pair){if(n.key===t||n.key===r)return n;if(n.key&&n.key.value===r)return n}}return undefined}class YAMLMap extends Collection{add(e,t){if(!e)e=new Pair(e);else if(!(e instanceof Pair))e=new Pair(e.key||e,e.value);const r=findPair(this.items,e.key);const n=this.schema&&this.schema.sortMapEntries;if(r){if(t)r.value=e.value;else throw new Error(`Key ${e.key} already set`)}else if(n){const t=this.items.findIndex(t=>n(e,t)<0);if(t===-1)this.items.push(e);else this.items.splice(t,0,e)}else{this.items.push(e)}}delete(e){const t=findPair(this.items,e);if(!t)return false;const r=this.items.splice(this.items.indexOf(t),1);return r.length>0}get(e,t){const r=findPair(this.items,e);const n=r&&r.value;return!t&&n instanceof Scalar?n.value:n}has(e){return!!findPair(this.items,e)}set(e,t){this.add(new Pair(e,t),true)}toJSON(e,t,r){const n=r?new r:t&&t.mapAsMap?new Map:{};if(t&&t.onCreate)t.onCreate(n);for(const e of this.items)e.addToJSMap(t,n);return n}toString(e,t,r){if(!e)return JSON.stringify(this);for(const e of this.items){if(!(e instanceof Pair))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`)}return super.toString(e,{blockItem:e=>e.str,flowChars:{start:"{",end:"}"},isMap:true,itemIndent:e.indent||""},t,r)}}const a="<<";class Merge extends Pair{constructor(e){if(e instanceof Pair){let t=e.value;if(!(t instanceof YAMLSeq)){t=new YAMLSeq;t.items.push(e.value);t.range=e.value.range}super(e.key,t);this.range=e.range}else{super(new Scalar(a),new YAMLSeq)}this.type=Pair.Type.MERGE_PAIR}addToJSMap(e,t){for(const{source:r}of this.value.items){if(!(r instanceof YAMLMap))throw new Error("Merge sources must be maps");const n=r.toJSON(null,e,Map);for(const[e,r]of n){if(t instanceof Map){if(!t.has(e))t.set(e,r)}else if(t instanceof Set){t.add(e)}else{if(!Object.prototype.hasOwnProperty.call(t,e))t[e]=r}}}return t}toString(e,t){const r=this.value;if(r.items.length>1)return super.toString(e,t);this.value=r.items[0];const n=super.toString(e,t);this.value=r;return n}}const l={defaultType:n.Type.BLOCK_LITERAL,lineWidth:76};const c={trueStr:"true",falseStr:"false"};const f={asBigInt:false};const u={nullStr:"null"};const h={defaultType:n.Type.PLAIN,doubleQuoted:{jsonEncoding:false,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function resolveScalar(e,t,r){for(const{format:r,test:n,resolve:s}of t){if(n){const t=e.match(n);if(t){let e=s.apply(null,t);if(!(e instanceof Scalar))e=new Scalar(e);if(r)e.format=r;return e}}}if(r)e=r(e);return new Scalar(e)}const p="flow";const d="block";const g="quoted";const w=(e,t)=>{let r=e[t+1];while(r===" "||r==="\t"){do{r=e[t+=1]}while(r&&r!=="\n");r=e[t+1]}return t};function foldFlowLines(e,t,r,{indentAtStart:n,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}){if(!s||s<0)return e;const l=Math.max(1+i,1+s-t.length);if(e.length<=l)return e;const c=[];const f={};let u=s-(typeof n==="number"?n:t.length);let h=undefined;let p=undefined;let y=false;let m=-1;if(r===d){m=w(e,m);if(m!==-1)u=m+l}for(let t;t=e[m+=1];){if(r===g&&t==="\\"){switch(e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}}if(t==="\n"){if(r===d)m=w(e,m);u=m+l;h=undefined}else{if(t===" "&&p&&p!==" "&&p!=="\n"&&p!=="\t"){const t=e[m+1];if(t&&t!==" "&&t!=="\n"&&t!=="\t")h=m}if(m>=u){if(h){c.push(h);u=h+l;h=undefined}else if(r===g){while(p===" "||p==="\t"){p=t;t=e[m+=1];y=true}c.push(m-2);f[m-2]=true;u=m-2+l;h=undefined}else{y=true}}}p=t}if(y&&a)a();if(c.length===0)return e;if(o)o();let S=e.slice(0,c[0]);for(let n=0;ne?Object.assign({indentAtStart:e},h.fold):h.fold;const m=e=>/^(%|---|\.\.\.)/m.test(e);function lineLengthOverLimit(e,t){const r=e.length;if(r<=t)return false;for(let n=0,s=0;nt)return true;s=n+1;if(r-s<=t)return false}}return true}function doubleQuotedString(e,t){const{implicitKey:r}=t;const{jsonEncoding:n,minMultiLineLength:s}=h.doubleQuoted;const i=JSON.stringify(e);if(n)return i;const o=t.indent||(m(e)?" ":"");let a="";let l=0;for(let e=0,t=i[e];t;t=i[++e]){if(t===" "&&i[e+1]==="\\"&&i[e+2]==="n"){a+=i.slice(l,e)+"\\ ";e+=1;l=e;t="\\"}if(t==="\\")switch(i[e+1]){case"u":{a+=i.slice(l,e);const t=i.substr(e+2,4);switch(t){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:if(t.substr(0,2)==="00")a+="\\x"+t.substr(2);else a+=i.substr(e,6)}e+=5;l=e+1}break;case"n":if(r||i[e+2]==='"'||i.length";if(!r)return f+"\n";let u="";let p="";r=r.replace(/[\n\t ]*$/,e=>{const t=e.indexOf("\n");if(t===-1){f+="-"}else if(r===e||t!==e.length-1){f+="+";if(o)o()}p=e.replace(/\n$/,"");return""}).replace(/^[\n ]*/,e=>{if(e.indexOf(" ")!==-1)f+=l;const t=e.match(/ +$/);if(t){u=e.slice(0,-t[0].length);return t[0]}else{u=e;return""}});if(p)p=p.replace(/\n+(?!\n|$)/g,`$&${a}`);if(u)u=u.replace(/\n+/g,`$&${a}`);if(e){f+=" #"+e.replace(/ ?[\r\n]+/g," ");if(i)i()}if(!r)return`${f}${l}\n${a}${p}`;if(c){r=r.replace(/\n+/g,`$&${a}`);return`${f}\n${a}${u}${r}${p}`}r=r.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${a}`);const g=foldFlowLines(`${u}${r}${p}`,a,d,h.fold);return`${f}\n${a}${g}`}function plainString(e,t,r,s){const{comment:i,type:o,value:a}=e;const{actualString:l,implicitKey:c,indent:f,inFlow:u}=t;if(c&&/[\n[\]{},]/.test(a)||u&&/[[\]{},]/.test(a)){return doubleQuotedString(a,t)}if(!a||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a)){return c||u||a.indexOf("\n")===-1?a.indexOf('"')!==-1&&a.indexOf("'")===-1?singleQuotedString(a,t):doubleQuotedString(a,t):blockString(e,t,r,s)}if(!c&&!u&&o!==n.Type.PLAIN&&a.indexOf("\n")!==-1){return blockString(e,t,r,s)}if(f===""&&m(a)){t.forceBlockIndent=true;return blockString(e,t,r,s)}const h=a.replace(/\n+/g,`$&\n${f}`);if(l){const{tags:e}=t.doc.schema;const r=resolveScalar(h,e,e.scalarFallback).value;if(typeof r!=="string")return doubleQuotedString(a,t)}const d=c?h:foldFlowLines(h,f,p,y(t));if(i&&!u&&(d.indexOf("\n")!==-1||i.indexOf("\n")!==-1)){if(r)r();return addCommentBefore(d,f,i)}return d}function stringifyString(e,t,r,s){const{defaultType:i}=h;const{implicitKey:o,inFlow:a}=t;let{type:l,value:c}=e;if(typeof c!=="string"){c=String(c);e=Object.assign({},e,{value:c})}const f=i=>{switch(i){case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:return blockString(e,t,r,s);case n.Type.QUOTE_DOUBLE:return doubleQuotedString(c,t);case n.Type.QUOTE_SINGLE:return singleQuotedString(c,t);case n.Type.PLAIN:return plainString(e,t,r,s);default:return null}};if(l!==n.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(c)){l=n.Type.QUOTE_DOUBLE}else if((o||a)&&(l===n.Type.BLOCK_FOLDED||l===n.Type.BLOCK_LITERAL)){l=n.Type.QUOTE_DOUBLE}let u=f(l);if(u===null){u=f(i);if(u===null)throw new Error(`Unsupported default string type ${i}`)}return u}function stringifyNumber({format:e,minFractionDigits:t,tag:r,value:n}){if(typeof n==="bigint")return String(n);if(!isFinite(n))return isNaN(n)?".nan":n<0?"-.inf":".inf";let s=JSON.stringify(n);if(!e&&t&&(!r||r==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let e=s.indexOf(".");if(e<0){e=s.length;s+="."}let r=t-(s.length-e-1);while(r-- >0)s+="0"}return s}function checkFlowCollectionEnd(e,t){let r,s;switch(t.type){case n.Type.FLOW_MAP:r="}";s="flow map";break;case n.Type.FLOW_SEQ:r="]";s="flow sequence";break;default:e.push(new n.YAMLSemanticError(t,"Not a flow collection!?"));return}let i;for(let e=t.items.length-1;e>=0;--e){const r=t.items[e];if(!r||r.type!==n.Type.COMMENT){i=r;break}}if(i&&i.char!==r){const o=`Expected ${s} to end with ${r}`;let a;if(typeof i.offset==="number"){a=new n.YAMLSemanticError(t,o);a.offset=i.offset+1}else{a=new n.YAMLSemanticError(i,o);if(i.range&&i.range.end)a.offset=i.range.end-i.range.start}e.push(a)}}function checkFlowCommentSpace(e,t){const r=t.context.src[t.range.start-1];if(r!=="\n"&&r!=="\t"&&r!==" "){const r="Comments must be separated from other tokens by white space characters";e.push(new n.YAMLSemanticError(t,r))}}function getLongKeyError(e,t){const r=String(t);const s=r.substr(0,8)+"..."+r.substr(-8);return new n.YAMLSemanticError(e,`The "${s}" key is too long`)}function resolveComments(e,t){for(const{afterKey:r,before:n,comment:s}of t){let t=e.items[n];if(!t){if(s!==undefined){if(e.comment)e.comment+="\n"+s;else e.comment=s}}else{if(r&&t.value)t=t.value;if(s===undefined){if(r||!t.commentBefore)t.spaceBefore=true}else{if(t.commentBefore)t.commentBefore+="\n"+s;else t.commentBefore=s}}}}function resolveString(e,t){const r=t.strValue;if(!r)return"";if(typeof r==="string")return r;r.errors.forEach(r=>{if(!r.source)r.source=t;e.errors.push(r)});return r.str}function resolveTagHandle(e,t){const{handle:r,suffix:s}=t.tag;let i=e.tagPrefixes.find(e=>e.handle===r);if(!i){const s=e.getDefaults().tagPrefixes;if(s)i=s.find(e=>e.handle===r);if(!i)throw new n.YAMLSemanticError(t,`The ${r} tag handle is non-default and was not declared.`)}if(!s)throw new n.YAMLSemanticError(t,`The ${r} tag has no suffix.`);if(r==="!"&&(e.version||e.options.version)==="1.0"){if(s[0]==="^"){e.warnings.push(new n.YAMLWarning(t,"YAML 1.0 ^ tag expansion is not supported"));return s}if(/[:/]/.test(s)){const e=s.match(/^([a-z0-9-]+)\/(.*)/i);return e?`tag:${e[1]}.yaml.org,2002:${e[2]}`:`tag:${s}`}}return i.prefix+decodeURIComponent(s)}function resolveTagName(e,t){const{tag:r,type:s}=t;let i=false;if(r){const{handle:s,suffix:o,verbatim:a}=r;if(a){if(a!=="!"&&a!=="!!")return a;const r=`Verbatim tags aren't resolved, so ${a} is invalid.`;e.errors.push(new n.YAMLSemanticError(t,r))}else if(s==="!"&&!o){i=true}else{try{return resolveTagHandle(e,t)}catch(t){e.errors.push(t)}}}switch(s){case n.Type.BLOCK_FOLDED:case n.Type.BLOCK_LITERAL:case n.Type.QUOTE_DOUBLE:case n.Type.QUOTE_SINGLE:return n.defaultTags.STR;case n.Type.FLOW_MAP:case n.Type.MAP:return n.defaultTags.MAP;case n.Type.FLOW_SEQ:case n.Type.SEQ:return n.defaultTags.SEQ;case n.Type.PLAIN:return i?n.defaultTags.STR:null;default:return null}}function resolveByTagName(e,t,r){const{tags:n}=e.schema;const s=[];for(const i of n){if(i.tag===r){if(i.test)s.push(i);else{const r=i.resolve(e,t);return r instanceof Collection?r:new Scalar(r)}}}const i=resolveString(e,t);if(typeof i==="string"&&s.length>0)return resolveScalar(i,s,n.scalarFallback);return null}function getFallbackTagName({type:e}){switch(e){case n.Type.FLOW_MAP:case n.Type.MAP:return n.defaultTags.MAP;case n.Type.FLOW_SEQ:case n.Type.SEQ:return n.defaultTags.SEQ;default:return n.defaultTags.STR}}function resolveTag(e,t,r){try{const n=resolveByTagName(e,t,r);if(n){if(r&&t.tag)n.tag=r;return n}}catch(r){if(!r.source)r.source=t;e.errors.push(r);return null}try{const s=getFallbackTagName(t);if(!s)throw new Error(`The tag ${r} is unavailable`);const i=`The tag ${r} is unavailable, falling back to ${s}`;e.warnings.push(new n.YAMLWarning(t,i));const o=resolveByTagName(e,t,s);o.tag=r;return o}catch(r){const s=new n.YAMLReferenceError(t,r.message);s.stack=r.stack;e.errors.push(s);return null}}const S=e=>{if(!e)return false;const{type:t}=e;return t===n.Type.MAP_KEY||t===n.Type.MAP_VALUE||t===n.Type.SEQ_ITEM};function resolveNodeProps(e,t){const r={before:[],after:[]};let s=false;let i=false;const o=S(t.context.parent)?t.context.parent.props.concat(t.props):t.props;for(const{start:a,end:l}of o){switch(t.context.src[a]){case n.Char.COMMENT:{if(!t.commentHasRequiredWhitespace(a)){const r="Comments must be separated from other tokens by white space characters";e.push(new n.YAMLSemanticError(t,r))}const{header:s,valueRange:i}=t;const o=i&&(a>i.start||s&&a>s.start)?r.after:r.before;o.push(t.context.src.slice(a+1,l));break}case n.Char.ANCHOR:if(s){const r="A node can have at most one anchor";e.push(new n.YAMLSemanticError(t,r))}s=true;break;case n.Char.TAG:if(i){const r="A node can have at most one tag";e.push(new n.YAMLSemanticError(t,r))}i=true;break}}return{comments:r,hasAnchor:s,hasTag:i}}function resolveNodeValue(e,t){const{anchors:r,errors:s,schema:i}=e;if(t.type===n.Type.ALIAS){const e=t.rawValue;const i=r.getNode(e);if(!i){const r=`Aliased anchor not found: ${e}`;s.push(new n.YAMLReferenceError(t,r));return null}const o=new Alias(i);r._cstAliases.push(o);return o}const o=resolveTagName(e,t);if(o)return resolveTag(e,t,o);if(t.type!==n.Type.PLAIN){const e=`Failed to resolve ${t.type} node here`;s.push(new n.YAMLSyntaxError(t,e));return null}try{const r=resolveString(e,t);return resolveScalar(r,i.tags,i.tags.scalarFallback)}catch(e){if(!e.source)e.source=t;s.push(e);return null}}function resolveNode(e,t){if(!t)return null;if(t.error)e.errors.push(t.error);const{comments:r,hasAnchor:s,hasTag:i}=resolveNodeProps(e.errors,t);if(s){const{anchors:r}=e;const n=t.anchor;const s=r.getNode(n);if(s)r.map[r.newName(n)]=s;r.map[n]=t}if(t.type===n.Type.ALIAS&&(s||i)){const r="An alias node must not specify any properties";e.errors.push(new n.YAMLSemanticError(t,r))}const o=resolveNodeValue(e,t);if(o){o.range=[t.range.start,t.range.end];if(e.options.keepCstNodes)o.cstNode=t;if(e.options.keepNodeTypes)o.type=t.type;const n=r.before.join("\n");if(n){o.commentBefore=o.commentBefore?`${o.commentBefore}\n${n}`:n}const s=r.after.join("\n");if(s)o.comment=o.comment?`${o.comment}\n${s}`:s}return t.resolved=o}function resolveMap(e,t){if(t.type!==n.Type.MAP&&t.type!==n.Type.FLOW_MAP){const r=`A ${t.type} node cannot be resolved as a mapping`;e.errors.push(new n.YAMLSyntaxError(t,r));return null}const{comments:r,items:s}=t.type===n.Type.FLOW_MAP?resolveFlowMapItems(e,t):resolveBlockMapItems(e,t);const i=new YAMLMap;i.items=s;resolveComments(i,r);let o=false;for(let r=0;r{if(e instanceof Alias){const{type:t}=e.source;if(t===n.Type.MAP||t===n.Type.FLOW_MAP)return false;return o="Merge nodes aliases can only point to maps"}return o="Merge nodes can only have Alias nodes as values"});if(o)e.errors.push(new n.YAMLSemanticError(t,o))}else{for(let o=r+1;o{if(s.length===0)return false;const{start:i}=s[0];if(t&&i>t.valueRange.start)return false;if(r[i]!==n.Char.COMMENT)return false;for(let t=e;t0){r=new n.PlainValue(n.Type.PLAIN,[]);r.context={parent:l,src:l.context.src};const e=l.range.start+1;r.range={start:e,end:e};r.valueRange={start:e,end:e};if(typeof l.range.origStart==="number"){const e=l.range.origStart+1;r.range.origStart=r.range.origEnd=e;r.valueRange.origStart=r.valueRange.origEnd=e}}const a=new Pair(i,resolveNode(e,r));resolvePairComment(l,a);s.push(a);if(i&&typeof o==="number"){if(l.range.start>o+1024)e.errors.push(getLongKeyError(t,i))}i=undefined;o=null}break;default:if(i!==undefined)s.push(new Pair(i));i=resolveNode(e,l);o=l.range.start;if(l.error)e.errors.push(l.error);e:for(let r=a+1;;++r){const s=t.items[r];switch(s&&s.type){case n.Type.BLANK_LINE:case n.Type.COMMENT:continue e;case n.Type.MAP_VALUE:break e;default:{const t="Implicit map keys need to be followed by map values";e.errors.push(new n.YAMLSemanticError(l,t));break e}}}if(l.valueRangeContainsNewline){const t="Implicit map keys need to be on a single line";e.errors.push(new n.YAMLSemanticError(l,t))}}}if(i!==undefined)s.push(new Pair(i));return{comments:r,items:s}}function resolveFlowMapItems(e,t){const r=[];const s=[];let i=undefined;let o=false;let a="{";for(let l=0;le instanceof Pair&&e.key instanceof Collection)){const r="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new n.YAMLWarning(t,r))}t.resolved=i;return i}function resolveBlockSeqItems(e,t){const r=[];const s=[];for(let i=0;ia+1024)e.errors.push(getLongKeyError(t,o));const{src:s}=c.context;for(let t=a;t{"use strict";var n=r(6580);var s=r(390);const i={identify:e=>e instanceof Uint8Array,default:false,tag:"tag:yaml.org,2002:binary",resolve:(e,t)=>{const r=s.resolveString(e,t);if(typeof Buffer==="function"){return Buffer.from(r,"base64")}else if(typeof atob==="function"){const e=atob(r.replace(/[\n\r]/g,""));const t=new Uint8Array(e.length);for(let r=0;r{let l;if(typeof Buffer==="function"){l=r instanceof Buffer?r.toString("base64"):Buffer.from(r.buffer).toString("base64")}else if(typeof btoa==="function"){let e="";for(let t=0;t1){const e="Each pair must have its own sequence indicator";throw new n.YAMLSemanticError(t,e)}const e=i.items[0]||new s.Pair;if(i.commentBefore)e.commentBefore=e.commentBefore?`${i.commentBefore}\n${e.commentBefore}`:i.commentBefore;if(i.comment)e.comment=e.comment?`${i.comment}\n${e.comment}`:i.comment;i=e}r.items[e]=i instanceof s.Pair?i:new s.Pair(i)}return r}function createPairs(e,t,r){const n=new s.YAMLSeq(e);n.tag="tag:yaml.org,2002:pairs";for(const s of t){let t,i;if(Array.isArray(s)){if(s.length===2){t=s[0];i=s[1]}else throw new TypeError(`Expected [key, value] tuple: ${s}`)}else if(s&&s instanceof Object){const e=Object.keys(s);if(e.length===1){t=e[0];i=s[t]}else throw new TypeError(`Expected { key: value } tuple: ${s}`)}else{t=s}const o=e.createPair(t,i,r);n.items.push(o)}return n}const o={default:false,tag:"tag:yaml.org,2002:pairs",resolve:parsePairs,createNode:createPairs};class YAMLOMap extends s.YAMLSeq{constructor(){super();n._defineProperty(this,"add",s.YAMLMap.prototype.add.bind(this));n._defineProperty(this,"delete",s.YAMLMap.prototype.delete.bind(this));n._defineProperty(this,"get",s.YAMLMap.prototype.get.bind(this));n._defineProperty(this,"has",s.YAMLMap.prototype.has.bind(this));n._defineProperty(this,"set",s.YAMLMap.prototype.set.bind(this));this.tag=YAMLOMap.tag}toJSON(e,t){const r=new Map;if(t&&t.onCreate)t.onCreate(r);for(const e of this.items){let n,i;if(e instanceof s.Pair){n=s.toJSON(e.key,"",t);i=s.toJSON(e.value,n,t)}else{n=s.toJSON(e,"",t)}if(r.has(n))throw new Error("Ordered maps must not include duplicate keys");r.set(n,i)}return r}}n._defineProperty(YAMLOMap,"tag","tag:yaml.org,2002:omap");function parseOMap(e,t){const r=parsePairs(e,t);const i=[];for(const{key:e}of r.items){if(e instanceof s.Scalar){if(i.includes(e.value)){const e="Ordered maps must not include duplicate keys";throw new n.YAMLSemanticError(t,e)}else{i.push(e.value)}}}return Object.assign(new YAMLOMap,r)}function createOMap(e,t,r){const n=createPairs(e,t,r);const s=new YAMLOMap;s.items=n.items;return s}const a={identify:e=>e instanceof Map,nodeClass:YAMLOMap,default:false,tag:"tag:yaml.org,2002:omap",resolve:parseOMap,createNode:createOMap};class YAMLSet extends s.YAMLMap{constructor(){super();this.tag=YAMLSet.tag}add(e){const t=e instanceof s.Pair?e:new s.Pair(e);const r=s.findPair(this.items,t.key);if(!r)this.items.push(t)}get(e,t){const r=s.findPair(this.items,e);return!t&&r instanceof s.Pair?r.key instanceof s.Scalar?r.key.value:r.key:r}set(e,t){if(typeof t!=="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);const r=s.findPair(this.items,e);if(r&&!t){this.items.splice(this.items.indexOf(r),1)}else if(!r&&t){this.items.push(new s.Pair(e))}}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,t,r);else throw new Error("Set items must all have null values")}}n._defineProperty(YAMLSet,"tag","tag:yaml.org,2002:set");function parseSet(e,t){const r=s.resolveMap(e,t);if(!r.hasAllNullValues())throw new n.YAMLSemanticError(t,"Set items must all have null values");return Object.assign(new YAMLSet,r)}function createSet(e,t,r){const n=new YAMLSet;for(const s of t)n.items.push(e.createPair(s,null,r));return n}const l={identify:e=>e instanceof Set,nodeClass:YAMLSet,default:false,tag:"tag:yaml.org,2002:set",resolve:parseSet,createNode:createSet};const c=(e,t)=>{const r=t.split(":").reduce((e,t)=>e*60+Number(t),0);return e==="-"?-r:r};const f=({value:e})=>{if(isNaN(e)||!isFinite(e))return s.stringifyNumber(e);let t="";if(e<0){t="-";e=Math.abs(e)}const r=[e%60];if(e<60){r.unshift(0)}else{e=Math.round((e-r[0])/60);r.unshift(e%60);if(e>=60){e=Math.round((e-r[0])/60);r.unshift(e)}}return t+r.map(e=>e<10?"0"+String(e):String(e)).join(":").replace(/000000\d*$/,"")};const u={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(e,t,r)=>c(t,r.replace(/_/g,"")),stringify:f};const h={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(e,t,r)=>c(t,r.replace(/_/g,"")),stringify:f};const p={identify:e=>e instanceof Date,default:true,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:"+"([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})"+"(?:(?:t|T|[ \\t]+)"+"([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)"+"(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?"+")?"+")$"),resolve:(e,t,r,n,s,i,o,a,l)=>{if(a)a=(a+"00").substr(1,3);let f=Date.UTC(t,r-1,n,s||0,i||0,o||0,a||0);if(l&&l!=="Z"){let e=c(l[0],l.slice(1));if(Math.abs(e)<30)e*=60;f-=6e4*e}return new Date(f)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function shouldWarn(e){const t=typeof process!=="undefined"&&process.env||{};if(e){if(typeof YAML_SILENCE_DEPRECATION_WARNINGS!=="undefined")return!YAML_SILENCE_DEPRECATION_WARNINGS;return!t.YAML_SILENCE_DEPRECATION_WARNINGS}if(typeof YAML_SILENCE_WARNINGS!=="undefined")return!YAML_SILENCE_WARNINGS;return!t.YAML_SILENCE_WARNINGS}function warn(e,t){if(shouldWarn(false)){const r=typeof process!=="undefined"&&process.emitWarning;if(r)r(e,t);else{console.warn(t?`${t}: ${e}`:e)}}}function warnFileDeprecation(e){if(shouldWarn(true)){const t=e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");warn(`The endpoint 'yaml/${t}' will be removed in a future release.`,"DeprecationWarning")}}const d={};function warnOptionDeprecation(e,t){if(!d[e]&&shouldWarn(true)){d[e]=true;let r=`The option '${e}' will be removed in a future release`;r+=t?`, use '${t}' instead.`:".";warn(r,"DeprecationWarning")}}t.binary=i;t.floatTime=h;t.intTime=u;t.omap=a;t.pairs=o;t.set=l;t.timestamp=p;t.warn=warn;t.warnFileDeprecation=warnFileDeprecation;t.warnOptionDeprecation=warnOptionDeprecation},1310:(e,t,r)=>{e.exports=r(4884).YAML},1657:e=>{"use strict";class SyntaxError extends Error{constructor(e){super(e);const{line:t,column:r,reason:n,plugin:s,file:i}=e;this.name="SyntaxError";this.message=`${this.name}\n\n`;if(typeof t!=="undefined"){this.message+=`(${t}:${r}) `}this.message+=s?`${s}: `:"";this.message+=i?`${i} `:" ";this.message+=`${n}`;const o=e.showSourceCode();if(o){this.message+=`\n\n${o}\n`}this.stack=false}}e.exports=SyntaxError},5962:e=>{"use strict";class Warning extends Error{constructor(e){super(e);const{text:t,line:r,column:n,plugin:s}=e;this.name="Warning";this.message=`${this.name}\n\n`;if(typeof r!=="undefined"){this.message+=`(${r}:${n}) `}this.message+=s?`${s}: `:"";this.message+=`${t}`;this.stack=false}}e.exports=Warning},5365:(e,t,r)=>{"use strict";e.exports=r(6347).default},6347:(e,t,r)=>{"use strict";var n;n={value:true};t.default=loader;var s=r(3443);var i=_interopRequireDefault(r(3225));var o=_interopRequireDefault(r(7001));var a=r(2519);var l=_interopRequireDefault(r(4698));var c=_interopRequireDefault(r(5962));var f=_interopRequireDefault(r(1657));var u=_interopRequireDefault(r(7988));var h=r(1405);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function loader(e,t,r){const n=(0,s.getOptions)(this);(0,i.default)(u.default,n,{name:"PostCSS Loader",baseDataPath:"options"});const p=this.async();const d=typeof n.postcssOptions==="undefined"||typeof n.postcssOptions.config==="undefined"?true:n.postcssOptions.config;let g;if(d){try{g=await(0,h.loadConfig)(this,d)}catch(e){p(e);return}}const w=typeof n.sourceMap!=="undefined"?n.sourceMap:this.sourceMap;const{plugins:y,processOptions:m}=(0,h.getPostcssOptions)(this,g,n.postcssOptions);if(w){m.map={inline:false,annotation:false,...m.map}}if(t&&m.map){m.map.prev=(0,h.normalizeSourceMap)(t,this.context)}let S;if(r&&r.ast&&r.ast.type==="postcss"&&(0,a.satisfies)(r.ast.version,`^${l.default.version}`)){({root:S}=r.ast)}if(!S&&n.execute){e=(0,h.exec)(e,this)}let b;try{b=await(0,o.default)(y).process(S||e,m)}catch(e){if(e.file){this.addDependency(e.file)}if(e.name==="CssSyntaxError"){p(new f.default(e))}else{p(e)}return}for(const e of b.warnings()){this.emitWarning(new c.default(e))}for(const e of b.messages){if(e.type==="dependency"){this.addDependency(e.file)}if(e.type==="asset"&&e.content&&e.file){this.emitFile(e.file,e.content,e.sourceMap,e.info)}}let O=b.map?b.map.toJSON():undefined;if(O&&w){O=(0,h.normalizeSourceMapAfterPostcss)(O,this.context)}const E={type:"postcss",version:b.processor.version,root:b.root};p(null,b.css,O,{ast:E})}},1405:(e,t,r)=>{"use strict";e=r.nmd(e);Object.defineProperty(t,"__esModule",{value:true});t.loadConfig=loadConfig;t.getPostcssOptions=getPostcssOptions;t.exec=exec;t.normalizeSourceMap=normalizeSourceMap;t.normalizeSourceMapAfterPostcss=normalizeSourceMapAfterPostcss;var n=_interopRequireDefault(r(5622));var s=_interopRequireDefault(r(2282));var i=r(241);var o=r(3507);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a=e;const l=(e,t)=>new Promise((r,n)=>{e.stat(t,(e,t)=>{if(e){n(e)}r(t)})});function exec(e,t){const{resource:r,context:n}=t;const i=new s.default(r,a);i.paths=s.default._nodeModulePaths(n);i.filename=r;i._compile(e,r);return i.exports}async function loadConfig(e,t){const r=typeof t==="string"?n.default.resolve(t):n.default.dirname(e.resourcePath);let s;try{s=await l(e.fs,r)}catch(e){throw new Error(`No PostCSS config found in: ${r}`)}const a=(0,o.cosmiconfig)("postcss");let c;try{if(s.isFile()){c=await a.load(r)}else{c=await a.search(r)}}catch(e){throw e}if(!c){return{}}e.addDependency(c.filepath);if(c.isEmpty){return c}if(typeof c.config==="function"){const t={mode:e.mode,file:e.resourcePath,webpackLoaderContext:e};c.config=c.config(t)}c=(0,i.klona)(c);return c}function loadPlugin(e,t,r){try{if(!t||Object.keys(t).length===0){const t=require(e);if(t.default){return t.default}return t}const n=require(e);if(n.default){return n.default(t)}return n(t)}catch(t){throw new Error(`Loading PostCSS "${e}" plugin failed: ${t.message}\n\n(@${r})`)}}function pluginFactory(){const e=new Map;return t=>{if(typeof t==="undefined"){return e}if(Array.isArray(t)){for(const r of t){if(Array.isArray(r)){const[t,n]=r;e.set(t,n)}else if(r&&typeof r==="function"){e.set(r)}else if(r&&Object.keys(r).length===1&&(typeof r[Object.keys(r)[0]]==="object"||typeof r[Object.keys(r)[0]]==="boolean")&&r[Object.keys(r)[0]]!==null){const[t]=Object.keys(r);const n=r[t];if(n===false){e.delete(t)}else{e.set(t,n)}}else if(r){e.set(r)}}}else{const r=Object.entries(t);for(const[t,n]of r){if(n===false){e.delete(t)}else{e.set(t,n)}}}return e}}function getPostcssOptions(e,t={},r={}){const s=e.resourcePath;let o=r;if(typeof o==="function"){o=o(e)}let a=[];try{const r=pluginFactory();if(t.config&&t.config.plugins){r(t.config.plugins)}r(o.plugins);a=[...r()].map(e=>{const[t,r]=e;if(typeof t==="string"){return loadPlugin(t,r,s)}return t})}catch(t){e.emitError(t)}const l=t.config||{};if(l.from){l.from=n.default.resolve(n.default.dirname(t.filepath),l.from)}if(l.to){l.to=n.default.resolve(n.default.dirname(t.filepath),l.to)}delete l.plugins;const c=(0,i.klona)(o);if(c.from){c.from=n.default.resolve(e.rootContext,c.from)}if(c.to){c.to=n.default.resolve(e.rootContext,c.to)}delete c.config;delete c.plugins;const f={from:s,to:s,map:false,...l,...c};if(typeof f.parser==="string"){try{f.parser=require(f.parser)}catch(t){e.emitError(new Error(`Loading PostCSS "${f.parser}" parser failed: ${t.message}\n\n(@${s})`))}}if(typeof f.stringifier==="string"){try{f.stringifier=require(f.stringifier)}catch(t){e.emitError(new Error(`Loading PostCSS "${f.stringifier}" stringifier failed: ${t.message}\n\n(@${s})`))}}if(typeof f.syntax==="string"){try{f.syntax=require(f.syntax)}catch(t){e.emitError(new Error(`Loading PostCSS "${f.syntax}" syntax failed: ${t.message}\n\n(@${s})`))}}if(f.map===true){f.map={inline:true}}return{plugins:a,processOptions:f}}const c=/^[a-z]:[/\\]|^\\\\/i;const f=/^[a-z0-9+\-.]+:/i;function getURLType(e){if(e[0]==="/"){if(e[1]==="/"){return"scheme-relative"}return"path-absolute"}if(c.test(e)){return"path-absolute"}return f.test(e)?"absolute":"path-relative"}function normalizeSourceMap(e,t){let r=e;if(typeof r==="string"){r=JSON.parse(r)}delete r.file;const{sourceRoot:s}=r;delete r.sourceRoot;if(r.sources){r.sources=r.sources.map(e=>{const r=getURLType(e);if(r==="path-relative"||r==="path-absolute"){const i=r==="path-relative"&&s?n.default.resolve(s,n.default.normalize(e)):n.default.normalize(e);return n.default.relative(t,i)}return e})}return r}function normalizeSourceMapAfterPostcss(e,t){const r=e;delete r.file;r.sourceRoot="";r.sources=r.sources.map(e=>{if(e.indexOf("<")===0){return e}const r=getURLType(e);if(r==="path-relative"){return n.default.resolve(t,e)}return e});return r}},4193:(e,t,r)=>{"use strict";let n=r(6919);class AtRule extends n{constructor(e){super(e);this.type="atrule"}append(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.append(...e)}prepend(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.prepend(...e)}}e.exports=AtRule;AtRule.default=AtRule;n.registerAtRule(AtRule)},7592:(e,t,r)=>{"use strict";let n=r(8557);class Comment extends n{constructor(e){super(e);this.type="comment"}}e.exports=Comment;Comment.default=Comment},6919:(e,t,r)=>{"use strict";let n=r(3522);let{isClean:s}=r(2594);let i=r(7592);let o=r(8557);let a,l,c;function cleanSource(e){return e.map(e=>{if(e.nodes)e.nodes=cleanSource(e.nodes);delete e.source;return e})}function markDirtyUp(e){e[s]=false;if(e.proxyOf.nodes){for(let t of e.proxyOf.nodes){markDirtyUp(t)}}}function rebuild(e){if(e.type==="atrule"){Object.setPrototypeOf(e,c.prototype)}else if(e.type==="rule"){Object.setPrototypeOf(e,l.prototype)}else if(e.type==="decl"){Object.setPrototypeOf(e,n.prototype)}else if(e.type==="comment"){Object.setPrototypeOf(e,i.prototype)}if(e.nodes){e.nodes.forEach(e=>{rebuild(e)})}}class Container extends o{push(e){e.parent=this;this.proxyOf.nodes.push(e);return this}each(e){if(!this.proxyOf.nodes)return undefined;let t=this.getIterator();let r,n;while(this.indexes[t]{let n;try{n=e(t,r)}catch(e){throw t.addToError(e)}if(n!==false&&t.walk){n=t.walk(e)}return n})}walkDecls(e,t){if(!t){t=e;return this.walk((e,r)=>{if(e.type==="decl"){return t(e,r)}})}if(e instanceof RegExp){return this.walk((r,n)=>{if(r.type==="decl"&&e.test(r.prop)){return t(r,n)}})}return this.walk((r,n)=>{if(r.type==="decl"&&r.prop===e){return t(r,n)}})}walkRules(e,t){if(!t){t=e;return this.walk((e,r)=>{if(e.type==="rule"){return t(e,r)}})}if(e instanceof RegExp){return this.walk((r,n)=>{if(r.type==="rule"&&e.test(r.selector)){return t(r,n)}})}return this.walk((r,n)=>{if(r.type==="rule"&&r.selector===e){return t(r,n)}})}walkAtRules(e,t){if(!t){t=e;return this.walk((e,r)=>{if(e.type==="atrule"){return t(e,r)}})}if(e instanceof RegExp){return this.walk((r,n)=>{if(r.type==="atrule"&&e.test(r.name)){return t(r,n)}})}return this.walk((r,n)=>{if(r.type==="atrule"&&r.name===e){return t(r,n)}})}walkComments(e){return this.walk((t,r)=>{if(t.type==="comment"){return e(t,r)}})}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}this.markDirty();return this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes){this.indexes[t]=this.indexes[t]+e.length}}this.markDirty();return this}cleanRaws(e){super.cleanRaws(e);if(this.nodes){for(let t of this.nodes)t.cleanRaws(e)}}insertBefore(e,t){e=this.index(e);let r=e===0?"prepend":false;let n=this.normalize(t,this.proxyOf.nodes[e],r).reverse();for(let t of n)this.proxyOf.nodes.splice(e,0,t);let s;for(let t in this.indexes){s=this.indexes[t];if(e<=s){this.indexes[t]=s+n.length}}this.markDirty();return this}insertAfter(e,t){e=this.index(e);let r=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of r)this.proxyOf.nodes.splice(e+1,0,t);let n;for(let t in this.indexes){n=this.indexes[t];if(e=e){this.indexes[r]=t-1}}this.markDirty();return this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=undefined;this.proxyOf.nodes=[];this.markDirty();return this}replaceValues(e,t,r){if(!r){r=t;t={}}this.walkDecls(n=>{if(t.props&&!t.props.includes(n.prop))return;if(t.fast&&!n.value.includes(t.fast))return;n.value=n.value.replace(e,r)});this.markDirty();return this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){if(typeof e==="number")return e;if(e.proxyOf)e=e.proxyOf;return this.proxyOf.nodes.indexOf(e)}get first(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[0]}get last(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if(typeof e==="string"){e=cleanSource(a(e).nodes)}else if(Array.isArray(e)){e=e.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type==="root"){e=e.nodes.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type){e=[e]}else if(e.prop){if(typeof e.value==="undefined"){throw new Error("Value field is missed in node creation")}else if(typeof e.value!=="string"){e.value=String(e.value)}e=[new n(e)]}else if(e.selector){e=[new l(e)]}else if(e.name){e=[new c(e)]}else if(e.text){e=[new i(e)]}else{throw new Error("Unknown node type in node creation")}let r=e.map(e=>{if(typeof e.markDirty!=="function")rebuild(e);e=e.proxyOf;if(e.parent)e.parent.removeChild(e);if(e[s])markDirtyUp(e);if(typeof e.raws.before==="undefined"){if(t&&typeof t.raws.before!=="undefined"){e.raws.before=t.raws.before.replace(/\S/g,"")}}e.parent=this;return e});return r}getProxyProcessor(){return{set(e,t,r){if(e[t]===r)return true;e[t]=r;if(t==="name"||t==="params"||t==="selector"){e.markDirty()}return true},get(e,t){if(t==="proxyOf"){return e}else if(!e[t]){return e[t]}else if(t==="each"||typeof t==="string"&&t.startsWith("walk")){return(...r)=>{return e[t](...r.map(e=>{if(typeof e==="function"){return(t,r)=>e(t.toProxy(),r)}else{return e}}))}}else if(t==="every"||t==="some"){return r=>{return e[t]((e,...t)=>r(e.toProxy(),...t))}}else if(t==="root"){return()=>e.root().toProxy()}else if(t==="nodes"){return e.nodes.map(e=>e.toProxy())}else if(t==="first"||t==="last"){return e[t].toProxy()}else{return e[t]}}}}getIterator(){if(!this.lastEach)this.lastEach=0;if(!this.indexes)this.indexes={};this.lastEach+=1;let e=this.lastEach;this.indexes[e]=0;return e}}Container.registerParse=(e=>{a=e});Container.registerRule=(e=>{l=e});Container.registerAtRule=(e=>{c=e});e.exports=Container;Container.default=Container},3279:(e,t,r)=>{"use strict";let{red:n,bold:s,gray:i,options:o}=r(5666);let a=r(1040);class CssSyntaxError extends Error{constructor(e,t,r,n,s,i){super(e);this.name="CssSyntaxError";this.reason=e;if(s){this.file=s}if(n){this.source=n}if(i){this.plugin=i}if(typeof t!=="undefined"&&typeof r!=="undefined"){this.line=t;this.column=r}this.setMessage();if(Error.captureStackTrace){Error.captureStackTrace(this,CssSyntaxError)}}setMessage(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"";if(typeof this.line!=="undefined"){this.message+=":"+this.line+":"+this.column}this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;if(e==null)e=o.enabled;if(a){if(e)t=a(t)}let r=t.split(/\r?\n/);let l=Math.max(this.line-3,0);let c=Math.min(this.line+2,r.length);let f=String(c).length;let u,h;if(e){u=(e=>s(n(e)));h=(e=>i(e))}else{u=h=(e=>e)}return r.slice(l,c).map((e,t)=>{let r=l+1+t;let n=" "+(" "+r).slice(-f)+" | ";if(r===this.line){let t=h(n.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return u(">")+h(n)+e+"\n "+t+u("^")}return" "+h(n)+e}).join("\n")}toString(){let e=this.showSourceCode();if(e){e="\n\n"+e+"\n"}return this.name+": "+this.message+e}}e.exports=CssSyntaxError;CssSyntaxError.default=CssSyntaxError},3522:(e,t,r)=>{"use strict";let n=r(8557);class Declaration extends n{constructor(e){if(e&&typeof e.value!=="undefined"&&typeof e.value!=="string"){e={...e,value:String(e.value)}}super(e);this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}e.exports=Declaration;Declaration.default=Declaration},1543:(e,t,r)=>{"use strict";let n=r(3522);let s=r(1090);let i=r(7592);let o=r(4193);let a=r(2690);let l=r(2630);let c=r(2234);function fromJSON(e,t){if(Array.isArray(e))return e.map(e=>fromJSON(e));let{inputs:r,...f}=e;if(r){t=[];for(let e of r){let r={...e,__proto__:a.prototype};if(r.map){r.map={...r.map,__proto__:s.prototype}}t.push(r)}}if(f.nodes){f.nodes=e.nodes.map(e=>fromJSON(e,t))}if(f.source){let{inputId:e,...r}=f.source;f.source=r;if(e!=null){f.source.input=t[e]}}if(f.type==="root"){return new l(f)}else if(f.type==="decl"){return new n(f)}else if(f.type==="rule"){return new c(f)}else if(f.type==="comment"){return new i(f)}else if(f.type==="atrule"){return new o(f)}else{throw new Error("Unknown node type: "+e.type)}}e.exports=fromJSON;fromJSON.default=fromJSON},2690:(e,t,r)=>{"use strict";let{fileURLToPath:n,pathToFileURL:s}=r(8835);let{resolve:i,isAbsolute:o}=r(5622);let{nanoid:a}=r(4002);let l=r(1040);let c=r(3279);let f=r(1090);let u=Symbol("fromOffset cache");let h=Boolean(i&&o);class Input{constructor(e,t={}){if(e===null||typeof e==="undefined"||typeof e==="object"&&!e.toString){throw new Error(`PostCSS received ${e} instead of CSS string`)}this.css=e.toString();if(this.css[0]==="\ufeff"||this.css[0]==="￾"){this.hasBOM=true;this.css=this.css.slice(1)}else{this.hasBOM=false}if(t.from){if(!h||/^\w+:\/\//.test(t.from)||o(t.from)){this.file=t.from}else{this.file=i(t.from)}}if(h){let e=new f(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;if(!this.file&&t)this.file=this.mapResolve(t)}}if(!this.file){this.id=""}if(this.map)this.map.file=this.from}fromOffset(e){let t,r;if(!this[u]){let e=this.css.split("\n");r=new Array(e.length);let t=0;for(let n=0,s=e.length;n=t){n=r.length-1}else{let t=r.length-2;let s;while(n>1);if(e=r[s+1]){n=s+1}else{n=s;break}}}return{line:n+1,col:e-r[n]+1}}error(e,t,r,n={}){let i;if(!r){let e=this.fromOffset(t);t=e.line;r=e.col}let o=this.origin(t,r);if(o){i=new c(e,o.line,o.column,o.source,o.file,n.plugin)}else{i=new c(e,t,r,this.css,this.file,n.plugin)}i.input={line:t,column:r,source:this.css};if(this.file){if(s){i.input.url=s(this.file).toString()}i.input.file=this.file}return i}origin(e,t){if(!this.map)return false;let r=this.map.consumer();let i=r.originalPositionFor({line:e,column:t});if(!i.source)return false;let a;if(o(i.source)){a=s(i.source)}else{a=new URL(i.source,this.map.consumer().sourceRoot||s(this.map.mapFile))}let l={url:a.toString(),line:i.line,column:i.column};if(a.protocol==="file:"){if(n){l.file=n(a)}else{throw new Error(`file: protocol is not available in this PostCSS build`)}}let c=r.sourceContentFor(i.source);if(c)l.source=c;return l}mapResolve(e){if(/^\w+:\/\//.test(e)){return e}return i(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of["hasBOM","css","file","id"]){if(this[t]!=null){e[t]=this[t]}}if(this.map){e.map={...this.map};if(e.map.consumerCache){e.map.consumerCache=undefined}}return e}}e.exports=Input;Input.default=Input;if(l&&l.registerInput){l.registerInput(Input)}},6310:(e,t,r)=>{"use strict";let n=r(3091);let{isClean:s}=r(2594);let i=r(4793);let o=r(1600);let a=r(6846);let l=r(2128);let c=r(2630);const f={root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"};const u={postcssPlugin:true,prepare:true,Once:true,Root:true,Declaration:true,Rule:true,AtRule:true,Comment:true,DeclarationExit:true,RuleExit:true,AtRuleExit:true,CommentExit:true,RootExit:true,OnceExit:true};const h={postcssPlugin:true,prepare:true,Once:true};const p=0;function isPromise(e){return typeof e==="object"&&typeof e.then==="function"}function getEvents(e){let t=false;let r=f[e.type];if(e.type==="decl"){t=e.prop.toLowerCase()}else if(e.type==="atrule"){t=e.name.toLowerCase()}if(t&&e.append){return[r,r+"-"+t,p,r+"Exit",r+"Exit-"+t]}else if(t){return[r,r+"-"+t,r+"Exit",r+"Exit-"+t]}else if(e.append){return[r,p,r+"Exit"]}else{return[r,r+"Exit"]}}function toStack(e){let t;if(e.type==="root"){t=["Root",p,"RootExit"]}else{t=getEvents(e)}return{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function cleanMarks(e){e[s]=false;if(e.nodes)e.nodes.forEach(e=>cleanMarks(e));return e}let d={};class LazyResult{constructor(e,t,r){this.stringified=false;this.processed=false;let n;if(typeof t==="object"&&t!==null&&t.type==="root"){n=cleanMarks(t)}else if(t instanceof LazyResult||t instanceof a){n=cleanMarks(t.root);if(t.map){if(typeof r.map==="undefined")r.map={};if(!r.map.inline)r.map.inline=false;r.map.prev=t.map}}else{let e=l;if(r.syntax)e=r.syntax.parse;if(r.parser)e=r.parser;if(e.parse)e=e.parse;try{n=e(t,r)}catch(e){this.processed=true;this.error=e}}this.result=new a(e,n,r);this.helpers={...d,result:this.result,postcss:d};this.plugins=this.processor.plugins.map(e=>{if(typeof e==="object"&&e.prepare){return{...e,...e.prepare(this.result)}}else{return e}})}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){if(process.env.NODE_ENV!=="production"){if(!("from"in this.opts)){o("Without `from` option PostCSS could generate wrong source map "+"and will not find Browserslist config. Set it to CSS file path "+"or to `undefined` to prevent this warning.")}}return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){if(this.error)return Promise.reject(this.error);if(this.processed)return Promise.resolve(this.result);if(!this.processing){this.processing=this.runAsync()}return this.processing}sync(){if(this.error)throw this.error;if(this.processed)return this.result;this.processed=true;if(this.processing){throw this.getAsyncError()}for(let e of this.plugins){let t=this.runOnRoot(e);if(isPromise(t)){throw this.getAsyncError()}}this.prepareVisitors();if(this.hasListener){let e=this.result.root;while(!e[s]){e[s]=true;this.walkSync(e)}if(this.listeners.OnceExit){this.visitSync(this.listeners.OnceExit,e)}}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=true;this.sync();let e=this.result.opts;let t=i;if(e.syntax)t=e.syntax.stringify;if(e.stringifier)t=e.stringifier;if(t.stringify)t=t.stringify;let r=new n(t,this.result.root,this.result.opts);let s=r.generate();this.result.css=s[0];this.result.map=s[1];return this.result}walkSync(e){e[s]=true;let t=getEvents(e);for(let r of t){if(r===p){if(e.nodes){e.each(e=>{if(!e[s])this.walkSync(e)})}}else{let t=this.listeners[r];if(t){if(this.visitSync(t,e.toProxy()))return}}}}visitSync(e,t){for(let[r,n]of e){this.result.lastPlugin=r;let e;try{e=n(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(t.type!=="root"&&!t.parent)return true;if(isPromise(e)){throw this.getAsyncError()}}}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e==="object"&&e.Once){return e.Once(this.result.root,this.helpers)}else if(typeof e==="function"){return e(this.result.root,this.result)}}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{if(t)t.addToError(e);this.error=e;if(e.name==="CssSyntaxError"&&!e.plugin){e.plugin=r.postcssPlugin;e.setMessage()}else if(r.postcssVersion){if(process.env.NODE_ENV!=="production"){let e=r.postcssPlugin;let t=r.postcssVersion;let n=this.result.processor.version;let s=t.split(".");let i=n.split(".");if(s[0]!==i[0]||parseInt(s[1])>parseInt(i[1])){console.error("Unknown error from PostCSS plugin. Your current PostCSS "+"version is "+n+", but "+e+" uses "+t+". Perhaps this is the source of the error below.")}}}}catch(e){if(console&&console.error)console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e0){let e=this.visitTick(t);if(isPromise(e)){try{await e}catch(e){let r=t[t.length-1].node;throw this.handleError(e,r)}}}}if(this.listeners.OnceExit){for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{await r(e,this.helpers)}catch(e){throw this.handleError(e)}}}}this.processed=true;return this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{if(!this.listeners[t])this.listeners[t]=[];this.listeners[t].push([e,r])};for(let t of this.plugins){if(typeof t==="object"){for(let r in t){if(!u[r]&&/^[A-Z]/.test(r)){throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. `+`Try to update PostCSS (${this.processor.version} now).`)}if(!h[r]){if(typeof t[r]==="object"){for(let n in t[r]){if(n==="*"){e(t,r,t[r][n])}else{e(t,r+"-"+n.toLowerCase(),t[r][n])}}}else if(typeof t[r]==="function"){e(t,r,t[r])}}}}}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1];let{node:r,visitors:n}=t;if(r.type!=="root"&&!r.parent){e.pop();return}if(n.length>0&&t.visitorIndex{d=e});e.exports=LazyResult;LazyResult.default=LazyResult;c.registerLazyResult(LazyResult)},1608:e=>{"use strict";let t={split(e,t,r){let n=[];let s="";let i=false;let o=0;let a=false;let l=false;for(let r of e){if(l){l=false}else if(r==="\\"){l=true}else if(a){if(r===a){a=false}}else if(r==='"'||r==="'"){a=r}else if(r==="("){o+=1}else if(r===")"){if(o>0)o-=1}else if(o===0){if(t.includes(r))i=true}if(i){if(s!=="")n.push(s.trim());s="";i=false}else{s+=r}}if(r||s!=="")n.push(s.trim());return n},space(e){let r=[" ","\n","\t"];return t.split(e,r)},comma(e){return t.split(e,[","],true)}};e.exports=t;t.default=t},3091:(e,t,r)=>{"use strict";let{dirname:n,resolve:s,relative:i,sep:o}=r(5622);let{pathToFileURL:a}=r(8835);let l=r(6241);let c=Boolean(n&&s&&i&&o);class MapGenerator{constructor(e,t,r){this.stringify=e;this.mapOpts=r.map||{};this.root=t;this.opts=r}isMap(){if(typeof this.opts.map!=="undefined"){return!!this.opts.map}return this.previous().length>0}previous(){if(!this.previousMaps){this.previousMaps=[];this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;if(!this.previousMaps.includes(t)){this.previousMaps.push(t)}}})}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline!=="undefined"){return this.mapOpts.inline}let e=this.mapOpts.annotation;if(typeof e!=="undefined"&&e!==true){return false}if(this.previous().length){return this.previous().some(e=>e.inline)}return true}isSourcesContent(){if(typeof this.mapOpts.sourcesContent!=="undefined"){return this.mapOpts.sourcesContent}if(this.previous().length){return this.previous().some(e=>e.withContent())}return true}clearAnnotation(){if(this.mapOpts.annotation===false)return;let e;for(let t=this.root.nodes.length-1;t>=0;t--){e=this.root.nodes[t];if(e.type!=="comment")continue;if(e.text.indexOf("# sourceMappingURL=")===0){this.root.removeChild(t)}}}setSourcesContent(){let e={};this.root.walk(t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=true;this.map.setSourceContent(this.toUrl(this.path(r)),t.source.input.css)}}})}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file));let r=e.root||n(e.file);let s;if(this.mapOpts.sourcesContent===false){s=new l.SourceMapConsumer(e.text);if(s.sourcesContent){s.sourcesContent=s.sourcesContent.map(()=>null)}}else{s=e.consumer()}this.map.applySourceMap(s,t,this.toUrl(this.path(r)))}}isAnnotation(){if(this.isInline()){return true}if(typeof this.mapOpts.annotation!=="undefined"){return this.mapOpts.annotation}if(this.previous().length){return this.previous().some(e=>e.annotation)}return true}toBase64(e){if(Buffer){return Buffer.from(e).toString("base64")}else{return window.btoa(unescape(encodeURIComponent(e)))}}addAnnotation(){let e;if(this.isInline()){e="data:application/json;base64,"+this.toBase64(this.map.toString())}else if(typeof this.mapOpts.annotation==="string"){e=this.mapOpts.annotation}else if(typeof this.mapOpts.annotation==="function"){e=this.mapOpts.annotation(this.opts.to,this.root)}else{e=this.outputFile()+".map"}let t="\n";if(this.css.includes("\r\n"))t="\r\n";this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){if(this.opts.to){return this.path(this.opts.to)}if(this.opts.from){return this.path(this.opts.from)}return"to.css"}generateMap(){this.generateString();if(this.isSourcesContent())this.setSourcesContent();if(this.previous().length>0)this.applyPrevMaps();if(this.isAnnotation())this.addAnnotation();if(this.isInline()){return[this.css]}return[this.css,this.map]}path(e){if(e.indexOf("<")===0)return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?n(this.opts.to):".";if(typeof this.mapOpts.annotation==="string"){t=n(s(t,this.mapOpts.annotation))}e=i(t,e);return e}toUrl(e){if(o==="\\"){e=e.replace(/\\/g,"/")}return encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){if(this.mapOpts.from){return this.toUrl(this.mapOpts.from)}else if(this.mapOpts.absolute){if(a){return a(e.source.input.from).toString()}else{throw new Error("`map.absolute` option is not available in this PostCSS build")}}else{return this.toUrl(this.path(e.source.input.from))}}generateString(){this.css="";this.map=new l.SourceMapGenerator({file:this.outputFile()});let e=1;let t=1;let r="";let n={source:"",generated:{line:0,column:0},original:{line:0,column:0}};let s,i;this.stringify(this.root,(o,a,l)=>{this.css+=o;if(a&&l!=="end"){n.generated.line=e;n.generated.column=t-1;if(a.source&&a.source.start){n.source=this.sourcePath(a);n.original.line=a.source.start.line;n.original.column=a.source.start.column-1;this.map.addMapping(n)}else{n.source=r;n.original.line=1;n.original.column=0;this.map.addMapping(n)}}s=o.match(/\n/g);if(s){e+=s.length;i=o.lastIndexOf("\n");t=o.length-i}else{t+=o.length}if(a&&l!=="start"){let s=a.parent||{raws:{}};if(a.type!=="decl"||a!==s.last||s.raws.semicolon){if(a.source&&a.source.end){n.source=this.sourcePath(a);n.original.line=a.source.end.line;n.original.column=a.source.end.column-1;n.generated.line=e;n.generated.column=t-2;this.map.addMapping(n)}else{n.source=r;n.original.line=1;n.original.column=0;n.generated.line=e;n.generated.column=t-1;this.map.addMapping(n)}}}})}generate(){this.clearAnnotation();if(c&&this.isMap()){return this.generateMap()}let e="";this.stringify(this.root,t=>{e+=t});return[e]}}e.exports=MapGenerator},8557:(e,t,r)=>{"use strict";let n=r(3279);let s=r(9414);let{isClean:i}=r(2594);let o=r(4793);function cloneNode(e,t){let r=new e.constructor;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n)){continue}if(n==="proxyCache")continue;let s=e[n];let i=typeof s;if(n==="parent"&&i==="object"){if(t)r[n]=t}else if(n==="source"){r[n]=s}else if(Array.isArray(s)){r[n]=s.map(e=>cloneNode(e,r))}else{if(i==="object"&&s!==null)s=cloneNode(s);r[n]=s}}return r}class Node{constructor(e={}){this.raws={};this[i]=false;for(let t in e){if(t==="nodes"){this.nodes=[];for(let r of e[t]){if(typeof r.clone==="function"){this.append(r.clone())}else{this.append(r)}}}else{this[t]=e[t]}}}error(e,t={}){if(this.source){let r=this.positionBy(t);return this.source.input.error(e,r.line,r.column,t)}return new n(e)}warn(e,t,r){let n={node:this};for(let e in r)n[e]=r[e];return e.warn(t,n)}remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this}toString(e=o){if(e.stringify)e=e.stringify;let t="";e(this,e=>{t+=e});return t}clone(e={}){let t=cloneNode(this);for(let r in e){t[r]=e[r]}return t}cloneBefore(e={}){let t=this.clone(e);this.parent.insertBefore(this,t);return t}cloneAfter(e={}){let t=this.clone(e);this.parent.insertAfter(this,t);return t}replaceWith(...e){if(this.parent){let t=this;let r=false;for(let n of e){if(n===this){r=true}else if(r){this.parent.insertAfter(t,n);t=n}else{this.parent.insertBefore(t,n)}}if(!r){this.remove()}}return this}next(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){this.parent.insertBefore(this,e);return this}after(e){this.parent.insertAfter(this,e);return this}root(){let e=this;while(e.parent)e=e.parent;return e}raw(e,t){let r=new s;return r.raw(this,e,t)}cleanRaws(e){delete this.raws.before;delete this.raws.after;if(!e)delete this.raws.between}toJSON(e,t){let r={};let n=t==null;t=t||new Map;let s=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e)){continue}if(e==="parent"||e==="proxyCache")continue;let n=this[e];if(Array.isArray(n)){r[e]=n.map(e=>{if(typeof e==="object"&&e.toJSON){return e.toJSON(null,t)}else{return e}})}else if(typeof n==="object"&&n.toJSON){r[e]=n.toJSON(null,t)}else if(e==="source"){let i=t.get(n.input);if(i==null){i=s;t.set(n.input,s);s++}r[e]={inputId:i,start:n.start,end:n.end}}else{r[e]=n}}if(n){r.inputs=[...t.keys()].map(e=>e.toJSON())}return r}positionInside(e){let t=this.toString();let r=this.source.start.column;let n=this.source.start.line;for(let s=0;se.root().toProxy()}else{return e[t]}}}}toProxy(){if(!this.proxyCache){this.proxyCache=new Proxy(this,this.getProxyProcessor())}return this.proxyCache}addToError(e){e.postcssNode=this;if(e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[i]){this[i]=false;let e=this;while(e=e.parent){e[i]=false}}}get proxyOf(){return this}}e.exports=Node;Node.default=Node},2128:(e,t,r)=>{"use strict";let n=r(6919);let s=r(5613);let i=r(2690);function parse(e,t){let r=new i(e,t);let n=new s(r);try{n.parse()}catch(e){if(process.env.NODE_ENV!=="production"){if(e.name==="CssSyntaxError"&&t&&t.from){if(/\.scss$/i.test(t.from)){e.message+="\nYou tried to parse SCSS with "+"the standard CSS parser; "+"try again with the postcss-scss parser"}else if(/\.sass/i.test(t.from)){e.message+="\nYou tried to parse Sass with "+"the standard CSS parser; "+"try again with the postcss-sass parser"}else if(/\.less$/i.test(t.from)){e.message+="\nYou tried to parse Less with "+"the standard CSS parser; "+"try again with the postcss-less parser"}}}throw e}return n.root}e.exports=parse;parse.default=parse;n.registerParse(parse)},5613:(e,t,r)=>{"use strict";let n=r(3522);let s=r(5790);let i=r(7592);let o=r(4193);let a=r(2630);let l=r(2234);class Parser{constructor(e){this.input=e;this.root=new a;this.current=this.root;this.spaces="";this.semicolon=false;this.customProperty=false;this.createTokenizer();this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=s(this.input)}parse(){let e;while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();switch(e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}}this.endFile()}comment(e){let t=new i;this.init(t,e[2]);t.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r)){t.text="";t.raws.left=r;t.raws.right=""}else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}emptyRule(e){let t=new l;this.init(t,e[2]);t.selector="";t.raws.between="";this.current=t}other(e){let t=false;let r=null;let n=false;let s=null;let i=[];let o=e[1].startsWith("--");let a=[];let l=e;while(l){r=l[0];a.push(l);if(r==="("||r==="["){if(!s)s=l;i.push(r==="("?")":"]")}else if(o&&n&&r==="{"){if(!s)s=l;i.push("}")}else if(i.length===0){if(r===";"){if(n){this.decl(a,o);return}else{break}}else if(r==="{"){this.rule(a);return}else if(r==="}"){this.tokenizer.back(a.pop());t=true;break}else if(r===":"){n=true}}else if(r===i[i.length-1]){i.pop();if(i.length===0)s=null}l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile())t=true;if(i.length>0)this.unclosedBracket(s);if(t&&n){while(a.length){l=a[a.length-1][0];if(l!=="space"&&l!=="comment")break;this.tokenizer.back(a.pop())}this.decl(a,o)}else{this.unknownWord(a)}}rule(e){e.pop();let t=new l;this.init(t,e[0][2]);t.raws.between=this.spacesAndCommentsFromEnd(e);this.raw(t,"selector",e);this.current=t}decl(e,t){let r=new n;this.init(r,e[0][2]);let s=e[e.length-1];if(s[0]===";"){this.semicolon=true;e.pop()}r.source.end=this.getPosition(s[3]||s[2]);while(e[0][0]!=="word"){if(e.length===1)this.unknownWord(e);r.raws.before+=e.shift()[1]}r.source.start=this.getPosition(e[0][2]);r.prop="";while(e.length){let t=e[0][0];if(t===":"||t==="space"||t==="comment"){break}r.prop+=e.shift()[1]}r.raws.between="";let i;while(e.length){i=e.shift();if(i[0]===":"){r.raws.between+=i[1];break}else{if(i[0]==="word"&&/\w/.test(i[1])){this.unknownWord([i])}r.raws.between+=i[1]}}if(r.prop[0]==="_"||r.prop[0]==="*"){r.raws.before+=r.prop[0];r.prop=r.prop.slice(1)}let o=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){i=e[t];if(i[1].toLowerCase()==="!important"){r.important=true;let n=this.stringFrom(e,t);n=this.spacesFromEnd(e)+n;if(n!==" !important")r.raws.important=n;break}else if(i[1].toLowerCase()==="important"){let n=e.slice(0);let s="";for(let e=t;e>0;e--){let t=n[e][0];if(s.trim().indexOf("!")===0&&t!=="space"){break}s=n.pop()[1]+s}if(s.trim().indexOf("!")===0){r.important=true;r.raws.important=s;e=n}}if(i[0]!=="space"&&i[0]!=="comment"){break}}let a=e.some(e=>e[0]!=="space"&&e[0]!=="comment");this.raw(r,"value",e);if(a){r.raws.between+=o}else{r.value=o+r.value}if(r.value.includes(":")&&!t){this.checkMissedSemicolon(e)}}atrule(e){let t=new o;t.name=e[1].slice(1);if(t.name===""){this.unnamedAtrule(t,e)}this.init(t,e[2]);let r;let n;let s;let i=false;let a=false;let l=[];let c=[];while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();r=e[0];if(r==="("||r==="["){c.push(r==="("?")":"]")}else if(r==="{"&&c.length>0){c.push("}")}else if(r===c[c.length-1]){c.pop()}if(c.length===0){if(r===";"){t.source.end=this.getPosition(e[2]);this.semicolon=true;break}else if(r==="{"){a=true;break}else if(r==="}"){if(l.length>0){s=l.length-1;n=l[s];while(n&&n[0]==="space"){n=l[--s]}if(n){t.source.end=this.getPosition(n[3]||n[2])}}this.end(e);break}else{l.push(e)}}else{l.push(e)}if(this.tokenizer.endOfFile()){i=true;break}}t.raws.between=this.spacesAndCommentsFromEnd(l);if(l.length){t.raws.afterName=this.spacesAndCommentsFromStart(l);this.raw(t,"params",l);if(i){e=l[l.length-1];t.source.end=this.getPosition(e[3]||e[2]);this.spaces=t.raws.between;t.raws.between=""}}else{t.raws.afterName="";t.params=""}if(a){t.nodes=[];this.current=t}}end(e){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.semicolon=false;this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.spaces="";if(this.current.parent){this.current.source.end=this.getPosition(e[2]);this.current=this.current.parent}else{this.unexpectedClose(e)}}endFile(){if(this.current.parent)this.unclosedBlock();if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){this.spaces+=e[1];if(this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];if(e&&e.type==="rule"&&!e.raws.ownSemicolon){e.raws.ownSemicolon=this.spaces;this.spaces=""}}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e);e.source={start:this.getPosition(t),input:this.input};e.raws.before=this.spaces;this.spaces="";if(e.type!=="comment")this.semicolon=false}raw(e,t,r){let n,s;let i=r.length;let o="";let a=true;let l,c;let f=/^([#.|])?(\w)+/i;for(let t=0;te+t[1],"");e.raws[t]={value:o,raw:n}}e[t]=o}spacesAndCommentsFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space"&&t!=="comment")break;r=e.pop()[1]+r}return r}spacesAndCommentsFromStart(e){let t;let r="";while(e.length){t=e[0][0];if(t!=="space"&&t!=="comment")break;r+=e.shift()[1]}return r}spacesFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space")break;r=e.pop()[1]+r}return r}stringFrom(e,t){let r="";for(let n=t;n=0;s--){n=e[s];if(n[0]!=="space"){r+=1;if(r===2)break}}throw this.input.error("Missed semicolon",n[2])}}e.exports=Parser},7001:(e,t,r)=>{"use strict";let n=r(3279);let s=r(3522);let i=r(6310);let o=r(6919);let a=r(9189);let l=r(4793);let c=r(1543);let f=r(7143);let u=r(7592);let h=r(4193);let p=r(6846);let d=r(2690);let g=r(2128);let w=r(1608);let y=r(2234);let m=r(2630);let S=r(8557);function postcss(...e){if(e.length===1&&Array.isArray(e[0])){e=e[0]}return new a(e)}postcss.plugin=function plugin(e,t){if(console&&console.warn){console.warn(e+": postcss.plugin was deprecated. Migration guide:\n"+"https://evilmartians.com/chronicles/postcss-8-plugin-migration");if(process.env.LANG&&process.env.LANG.startsWith("cn")){console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\n"+"https://www.w3ctech.com/topic/2226")}}function creator(...r){let n=t(...r);n.postcssPlugin=e;n.postcssVersion=(new a).version;return n}let r;Object.defineProperty(creator,"postcss",{get(){if(!r)r=creator();return r}});creator.process=function(e,t,r){return postcss([creator(r)]).process(e,t)};return creator};postcss.stringify=l;postcss.parse=g;postcss.fromJSON=c;postcss.list=w;postcss.comment=(e=>new u(e));postcss.atRule=(e=>new h(e));postcss.decl=(e=>new s(e));postcss.rule=(e=>new y(e));postcss.root=(e=>new m(e));postcss.CssSyntaxError=n;postcss.Declaration=s;postcss.Container=o;postcss.Comment=u;postcss.Warning=f;postcss.AtRule=h;postcss.Result=p;postcss.Input=d;postcss.Rule=y;postcss.Root=m;postcss.Node=S;i.registerPostcss(postcss);e.exports=postcss;postcss.default=postcss},1090:(e,t,r)=>{"use strict";let{existsSync:n,readFileSync:s}=r(5747);let{dirname:i,join:o}=r(5622);let a=r(6241);function fromBase64(e){if(Buffer){return Buffer.from(e,"base64").toString()}else{return window.atob(e)}}class PreviousMap{constructor(e,t){if(t.map===false)return;this.loadAnnotation(e);this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:undefined;let n=this.loadMap(t.from,r);if(!this.mapFile&&t.from){this.mapFile=t.from}if(this.mapFile)this.root=i(this.mapFile);if(n)this.text=n}consumer(){if(!this.consumerCache){this.consumerCache=new a.SourceMapConsumer(this.text)}return this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){if(!e)return false;return e.substr(0,t.length)===t}getAnnotationURL(e){return e.match(/\/\*\s*# sourceMappingURL=(.*)\*\//)[1].trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=.*\*\//gm);if(t&&t.length>0){let e=t[t.length-1];if(e){this.annotation=this.getAnnotationURL(e)}}}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/;let r=/^data:application\/json;base64,/;let n=/^data:application\/json;charset=utf-?8,/;let s=/^data:application\/json,/;if(n.test(e)||s.test(e)){return decodeURIComponent(e.substr(RegExp.lastMatch.length))}if(t.test(e)||r.test(e)){return fromBase64(e.substr(RegExp.lastMatch.length))}let i=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)}loadFile(e){this.root=i(e);if(n(e)){this.mapFile=e;return s(e,"utf-8").toString().trim()}}loadMap(e,t){if(t===false)return false;if(t){if(typeof t==="string"){return t}else if(typeof t==="function"){let r=t(e);if(r){let e=this.loadFile(r);if(!e){throw new Error("Unable to load previous source map: "+r.toString())}return e}}else if(t instanceof a.SourceMapConsumer){return a.SourceMapGenerator.fromSourceMap(t).toString()}else if(t instanceof a.SourceMapGenerator){return t.toString()}else if(this.isMap(t)){return JSON.stringify(t)}else{throw new Error("Unsupported previous source map format: "+t.toString())}}else if(this.inline){return this.decodeInline(this.annotation)}else if(this.annotation){let t=this.annotation;if(e)t=o(i(e),t);return this.loadFile(t)}}isMap(e){if(typeof e!=="object")return false;return typeof e.mappings==="string"||typeof e._mappings==="string"||Array.isArray(e.sections)}}e.exports=PreviousMap;PreviousMap.default=PreviousMap},9189:(e,t,r)=>{"use strict";let n=r(6310);let s=r(2630);class Processor{constructor(e=[]){this.version="8.2.10";this.plugins=this.normalize(e)}use(e){this.plugins=this.plugins.concat(this.normalize([e]));return this}process(e,t={}){if(this.plugins.length===0&&t.parser===t.stringifier&&!t.hideNothingWarning){if(process.env.NODE_ENV!=="production"){if(typeof console!=="undefined"&&console.warn){console.warn("You did not set any plugins, parser, or stringifier. "+"Right now, PostCSS does nothing. Pick plugins for your case "+"on https://www.postcss.parts/ and use them in postcss.config.js.")}}}return new n(this,e,t)}normalize(e){let t=[];for(let r of e){if(r.postcss===true){r=r()}else if(r.postcss){r=r.postcss}if(typeof r==="object"&&Array.isArray(r.plugins)){t=t.concat(r.plugins)}else if(typeof r==="object"&&r.postcssPlugin){t.push(r)}else if(typeof r==="function"){t.push(r)}else if(typeof r==="object"&&(r.parse||r.stringify)){if(process.env.NODE_ENV!=="production"){throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use "+"one of the syntax/parser/stringifier options as outlined "+"in your PostCSS runner documentation.")}}else{throw new Error(r+" is not a PostCSS plugin")}}return t}}e.exports=Processor;Processor.default=Processor;s.registerProcessor(Processor)},6846:(e,t,r)=>{"use strict";let n=r(7143);class Result{constructor(e,t,r){this.processor=e;this.messages=[];this.root=t;this.opts=r;this.css=undefined;this.map=undefined}toString(){return this.css}warn(e,t={}){if(!t.plugin){if(this.lastPlugin&&this.lastPlugin.postcssPlugin){t.plugin=this.lastPlugin.postcssPlugin}}let r=new n(e,t);this.messages.push(r);return r}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}}e.exports=Result;Result.default=Result},2630:(e,t,r)=>{"use strict";let n=r(6919);let s,i;class Root extends n{constructor(e){super(e);this.type="root";if(!this.nodes)this.nodes=[]}removeChild(e,t){let r=this.index(e);if(!t&&r===0&&this.nodes.length>1){this.nodes[1].raws.before=this.nodes[r].raws.before}return super.removeChild(e)}normalize(e,t,r){let n=super.normalize(e);if(t){if(r==="prepend"){if(this.nodes.length>1){t.raws.before=this.nodes[1].raws.before}else{delete t.raws.before}}else if(this.first!==t){for(let e of n){e.raws.before=t.raws.before}}}return n}toResult(e={}){let t=new s(new i,this,e);return t.stringify()}}Root.registerLazyResult=(e=>{s=e});Root.registerProcessor=(e=>{i=e});e.exports=Root;Root.default=Root},2234:(e,t,r)=>{"use strict";let n=r(6919);let s=r(1608);class Rule extends n{constructor(e){super(e);this.type="rule";if(!this.nodes)this.nodes=[]}get selectors(){return s.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null;let r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}e.exports=Rule;Rule.default=Rule;n.registerRule(Rule)},9414:e=>{"use strict";const t={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:false};function capitalize(e){return e[0].toUpperCase()+e.slice(1)}class Stringifier{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type]){throw new Error("Unknown AST node type "+e.type+". "+"Maybe you need to change PostCSS stringifier.")}this[e.type](e,t)}root(e){this.body(e);if(e.raws.after)this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft");let r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon");let n=e.prop+r+this.rawValue(e,"value");if(e.important){n+=e.raws.important||" !important"}if(t)n+=";";this.builder(n,e)}rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}}atrule(e,t){let r="@"+e.name;let n=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){r+=e.raws.afterName}else if(n){r+=" "}if(e.nodes){this.block(e,r+n)}else{let s=(e.raws.between||"")+(t?";":"");this.builder(r+n+s,e)}}body(e){let t=e.nodes.length-1;while(t>0){if(e.nodes[t].type!=="comment")break;t-=1}let r=this.raw(e,"semicolon");for(let n=0;n{s=e.raws[r];if(typeof s!=="undefined")return false})}}if(typeof s==="undefined")s=t[n];o.rawCache[n]=s;return s}rawSemicolon(e){let t;e.walk(e=>{if(e.nodes&&e.nodes.length&&e.last.type==="decl"){t=e.raws.semicolon;if(typeof t!=="undefined")return false}});return t}rawEmptyBody(e){let t;e.walk(e=>{if(e.nodes&&e.nodes.length===0){t=e.raws.after;if(typeof t!=="undefined")return false}});return t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;e.walk(r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e){if(typeof r.raws.before!=="undefined"){let e=r.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}});return t}rawBeforeComment(e,t){let r;e.walkComments(e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}});if(typeof r==="undefined"){r=this.raw(t,null,"beforeDecl")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeDecl(e,t){let r;e.walkDecls(e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}});if(typeof r==="undefined"){r=this.raw(t,null,"beforeRule")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeRule(e){let t;e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)){if(typeof r.raws.before!=="undefined"){t=r.raws.before;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}});if(t)t=t.replace(/\S/g,"");return t}rawBeforeClose(e){let t;e.walk(e=>{if(e.nodes&&e.nodes.length>0){if(typeof e.raws.after!=="undefined"){t=e.raws.after;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}});if(t)t=t.replace(/\S/g,"");return t}rawBeforeOpen(e){let t;e.walk(e=>{if(e.type!=="decl"){t=e.raws.between;if(typeof t!=="undefined")return false}});return t}rawColon(e){let t;e.walkDecls(e=>{if(typeof e.raws.between!=="undefined"){t=e.raws.between.replace(/[^\s:]/g,"");return false}});return t}beforeAfter(e,t){let r;if(e.type==="decl"){r=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){r=this.raw(e,null,"beforeComment")}else if(t==="before"){r=this.raw(e,null,"beforeRule")}else{r=this.raw(e,null,"beforeClose")}let n=e.parent;let s=0;while(n&&n.type!=="root"){s+=1;n=n.parent}if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e{"use strict";let n=r(9414);function stringify(e,t){let r=new n(t);r.stringify(e)}e.exports=stringify;stringify.default=stringify},2594:e=>{"use strict";e.exports.isClean=Symbol("isClean")},1040:(e,t,r)=>{"use strict";let{cyan:n,gray:s,green:i,yellow:o,magenta:a}=r(5666);let l=r(5790);let c;function registerInput(e){c=e}const f={brackets:n,"at-word":n,comment:s,string:i,class:o,hash:a,call:n,"(":n,")":n,"{":o,"}":o,"[":o,"]":o,":":o,";":o};function getTokenType([e,t],r){if(e==="word"){if(t[0]==="."){return"class"}if(t[0]==="#"){return"hash"}}if(!r.endOfFile()){let e=r.nextToken();r.back(e);if(e[0]==="brackets"||e[0]==="(")return"call"}return e}function terminalHighlight(e){let t=l(new c(e),{ignoreErrors:true});let r="";while(!t.endOfFile()){let e=t.nextToken();let n=f[getTokenType(e,t)];if(n){r+=e[1].split(/\r?\n/).map(e=>n(e)).join("\n")}else{r+=e[1]}}return r}terminalHighlight.registerInput=registerInput;e.exports=terminalHighlight},5790:e=>{"use strict";const t="'".charCodeAt(0);const r='"'.charCodeAt(0);const n="\\".charCodeAt(0);const s="/".charCodeAt(0);const i="\n".charCodeAt(0);const o=" ".charCodeAt(0);const a="\f".charCodeAt(0);const l="\t".charCodeAt(0);const c="\r".charCodeAt(0);const f="[".charCodeAt(0);const u="]".charCodeAt(0);const h="(".charCodeAt(0);const p=")".charCodeAt(0);const d="{".charCodeAt(0);const g="}".charCodeAt(0);const w=";".charCodeAt(0);const y="*".charCodeAt(0);const m=":".charCodeAt(0);const S="@".charCodeAt(0);const b=/[\t\n\f\r "#'()/;[\\\]{}]/g;const O=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const E=/.[\n"'(/\\]/;const A=/[\da-f]/i;e.exports=function tokenizer(e,M={}){let N=e.css.valueOf();let C=M.ignoreErrors;let T,L,R,_,$;let v,x,D,B,P;let F=N.length;let Y=0;let j=[];let I=[];function position(){return Y}function unclosed(t){throw e.error("Unclosed "+t,Y)}function endOfFile(){return I.length===0&&Y>=F}function nextToken(e){if(I.length)return I.pop();if(Y>=F)return;let M=e?e.ignoreUnclosed:false;T=N.charCodeAt(Y);switch(T){case i:case o:case l:case c:case a:{L=Y;do{L+=1;T=N.charCodeAt(L)}while(T===o||T===i||T===l||T===c||T===a);P=["space",N.slice(Y,L)];Y=L-1;break}case f:case u:case d:case g:case m:case w:case p:{let e=String.fromCharCode(T);P=[e,e,Y];break}case h:{D=j.length?j.pop()[1]:"";B=N.charCodeAt(Y+1);if(D==="url"&&B!==t&&B!==r&&B!==o&&B!==i&&B!==l&&B!==a&&B!==c){L=Y;do{v=false;L=N.indexOf(")",L+1);if(L===-1){if(C||M){L=Y;break}else{unclosed("bracket")}}x=L;while(N.charCodeAt(x-1)===n){x-=1;v=!v}}while(v);P=["brackets",N.slice(Y,L+1),Y,L];Y=L}else{L=N.indexOf(")",Y+1);_=N.slice(Y,L+1);if(L===-1||E.test(_)){P=["(","(",Y]}else{P=["brackets",_,Y,L];Y=L}}break}case t:case r:{R=T===t?"'":'"';L=Y;do{v=false;L=N.indexOf(R,L+1);if(L===-1){if(C||M){L=Y+1;break}else{unclosed("string")}}x=L;while(N.charCodeAt(x-1)===n){x-=1;v=!v}}while(v);P=["string",N.slice(Y,L+1),Y,L];Y=L;break}case S:{b.lastIndex=Y+1;b.test(N);if(b.lastIndex===0){L=N.length-1}else{L=b.lastIndex-2}P=["at-word",N.slice(Y,L+1),Y,L];Y=L;break}case n:{L=Y;$=true;while(N.charCodeAt(L+1)===n){L+=1;$=!$}T=N.charCodeAt(L+1);if($&&T!==s&&T!==o&&T!==i&&T!==l&&T!==c&&T!==a){L+=1;if(A.test(N.charAt(L))){while(A.test(N.charAt(L+1))){L+=1}if(N.charCodeAt(L+1)===o){L+=1}}}P=["word",N.slice(Y,L+1),Y,L];Y=L;break}default:{if(T===s&&N.charCodeAt(Y+1)===y){L=N.indexOf("*/",Y+2)+1;if(L===0){if(C||M){L=N.length}else{unclosed("comment")}}P=["comment",N.slice(Y,L+1),Y,L];Y=L}else{O.lastIndex=Y+1;O.test(N);if(O.lastIndex===0){L=N.length-1}else{L=O.lastIndex-2}P=["word",N.slice(Y,L+1),Y,L];j.push(P);Y=L}break}}Y++;return P}function back(e){I.push(e)}return{back:back,nextToken:nextToken,endOfFile:endOfFile,position:position}}},1600:e=>{"use strict";let t={};e.exports=function warnOnce(e){if(t[e])return;t[e]=true;if(typeof console!=="undefined"&&console.warn){console.warn(e)}}},7143:e=>{"use strict";class Warning{constructor(e,t={}){this.type="warning";this.text=e;if(t.node&&t.node.source){let e=t.node.positionBy(t);this.line=e.line;this.column=e.column}for(let e in t)this[e]=t[e]}toString(){if(this.node){return this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message}if(this.plugin){return this.plugin+": "+this.text}return this.text}}e.exports=Warning;Warning.default=Warning},5666:(e,t)=>{let r=!("NO_COLOR"in process.env)&&("FORCE_COLOR"in process.env||process.platform==="win32"||process.stdout!=null&&process.stdout.isTTY&&process.env.TERM&&process.env.TERM!=="dumb");const n=(e,t,n,s)=>i=>r?e+(~(i+="").indexOf(t,4)?i.replace(n,s):i)+t:i;const s=(e,t)=>{return n(`[${e}m`,`[${t}m`,new RegExp(`\\x1b\\[${t}m`,"g"),`[${e}m`)};t.options=Object.defineProperty({},"enabled",{get:()=>r,set:e=>r=e});t.reset=s(0,0);t.bold=n("","",/\x1b\[22m/g,"");t.dim=n("","",/\x1b\[22m/g,"");t.italic=s(3,23);t.underline=s(4,24);t.inverse=s(7,27);t.hidden=s(8,28);t.strikethrough=s(9,29);t.black=s(30,39);t.red=s(31,39);t.green=s(32,39);t.yellow=s(33,39);t.blue=s(34,39);t.magenta=s(35,39);t.cyan=s(36,39);t.white=s(37,39);t.gray=s(90,39);t.bgBlack=s(40,49);t.bgRed=s(41,49);t.bgGreen=s(42,49);t.bgYellow=s(43,49);t.bgBlue=s(44,49);t.bgMagenta=s(45,49);t.bgCyan=s(46,49);t.bgWhite=s(47,49);t.blackBright=s(90,39);t.redBright=s(91,39);t.greenBright=s(92,39);t.yellowBright=s(93,39);t.blueBright=s(94,39);t.magentaBright=s(95,39);t.cyanBright=s(96,39);t.whiteBright=s(97,39);t.bgBlackBright=s(100,49);t.bgRedBright=s(101,49);t.bgGreenBright=s(102,49);t.bgYellowBright=s(103,49);t.bgBlueBright=s(104,49);t.bgMagentaBright=s(105,49);t.bgCyanBright=s(106,49);t.bgWhiteBright=s(107,49)},4002:e=>{let t="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW";let r=(e,t)=>{return()=>{let r="";let n=t;while(n--){r+=e[Math.random()*e.length|0]}return r}};let n=(e=21)=>{let r="";let n=e;while(n--){r+=t[Math.random()*64|0]}return r};e.exports={nanoid:n,customAlphabet:r}},7988:e=>{"use strict";e.exports=JSON.parse('{"type":"object","properties":{"postcssOptions":{"description":"Options to pass through to `Postcss`.","anyOf":[{"type":"object","additionalProperties":true,"properties":{"config":{"description":"Allows to specify PostCSS Config Path (https://github.com/postcss/postcss-loader#config)","anyOf":[{"description":"Allows to specify the path to the configuration file","type":"string"},{"description":"Enables/Disables autoloading config","type":"boolean"}]}}},{"instanceof":"Function"}]},"execute":{"description":"Enables/Disables PostCSS parser support in \'CSS-in-JS\' (https://github.com/postcss/postcss-loader#execute)","type":"boolean"},"sourceMap":{"description":"Enables/Disables generation of source maps (https://github.com/postcss/postcss-loader#sourcemap)","type":"boolean"}},"additionalProperties":false}')},4698:e=>{"use strict";e.exports=JSON.parse('{"name":"postcss","version":"8.2.10","description":"Tool for transforming styles with JS plugins","engines":{"node":"^10 || ^12 || >=14"},"exports":{".":{"require":"./lib/postcss.js","import":"./lib/postcss.mjs","types":"./lib/postcss.d.ts"},"./":"./"},"main":"./lib/postcss.js","types":"./lib/postcss.d.ts","keywords":["css","postcss","rework","preprocessor","parser","source map","transform","manipulation","transpiler"],"funding":{"type":"opencollective","url":"https://opencollective.com/postcss/"},"author":"Andrey Sitnik ","license":"MIT","homepage":"https://postcss.org/","repository":"postcss/postcss","dependencies":{"colorette":"^1.2.2","nanoid":"^3.1.22","source-map":"^0.6.1"},"browser":{"./lib/terminal-highlight":false,"colorette":false,"fs":false,"path":false,"url":false}}')},2242:e=>{"use strict";e.exports=require("chalk")},5747:e=>{"use strict";e.exports=require("fs")},2282:e=>{"use strict";e.exports=require("module")},3443:e=>{"use strict";e.exports=require("next/dist/compiled/loader-utils")},3225:e=>{"use strict";e.exports=require("next/dist/compiled/schema-utils")},2519:e=>{"use strict";e.exports=require("next/dist/compiled/semver")},6241:e=>{"use strict";e.exports=require("next/dist/compiled/source-map")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},8835:e=>{"use strict";e.exports=require("url")},1669:e=>{"use strict";e.exports=require("util")}};var t={};function __nccwpck_require__(r){if(t[r]){return t[r].exports}var n=t[r]={id:r,loaded:false,exports:{}};var s=true;try{e[r](n,n.exports,__nccwpck_require__);s=false}finally{if(s)delete t[r]}n.loaded=true;return n.exports}(()=>{__nccwpck_require__.nmd=(e=>{e.paths=[];if(!e.children)e.children=[];return e})})();__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(5365)})(); \ No newline at end of file diff --git a/packages/next/compiled/postcss-scss/scss-syntax.js b/packages/next/compiled/postcss-scss/scss-syntax.js index 966cb62e23921..c6e799bc4ff7f 100644 --- a/packages/next/compiled/postcss-scss/scss-syntax.js +++ b/packages/next/compiled/postcss-scss/scss-syntax.js @@ -1 +1 @@ -module.exports=(()=>{var e={618:(e,r,l)=>{const{Container:t}=l(43);class NestedDeclaration extends t{constructor(e){super(e);this.type="decl";this.isNested=true;if(!this.nodes)this.nodes=[]}}e.exports=NestedDeclaration},327:(e,r,l)=>{let{Input:t}=l(43);let i=l(270);e.exports=function scssParse(e,r){let l=new t(e,r);let f=new i(l);f.parse();return f.root}},270:(e,r,l)=>{let{Comment:t}=l(43);let i=l(552);let f=l(618);let a=l(366);class ScssParser extends i{createTokenizer(){this.tokenizer=a(this.input)}rule(e){let r=false;let l=0;let t="";for(let i of e){if(r){if(i[0]!=="comment"&&i[0]!=="{"){t+=i[1]}}else if(i[0]==="space"&&i[1].includes("\n")){break}else if(i[0]==="("){l+=1}else if(i[0]===")"){l-=1}else if(l===0&&i[0]===":"){r=true}}if(!r||t.trim()===""||/^[#:A-Za-z-]/.test(t)){super.rule(e)}else{e.pop();let r=new f;this.init(r,e[0][2]);let l;for(let r=e.length-1;r>=0;r--){if(e[r][0]!=="space"){l=e[r];break}}if(l[3]){let e=this.input.fromOffset(l[3]);r.source.end={offset:l[3],line:e.line,column:e.col}}else{let e=this.input.fromOffset(l[2]);r.source.end={offset:l[2],line:e.line,column:e.col}}while(e[0][0]!=="word"){r.raws.before+=e.shift()[1]}r.source.start={line:e[0][2],column:e[0][3]};r.prop="";while(e.length){let l=e[0][0];if(l===":"||l==="space"||l==="comment"){break}r.prop+=e.shift()[1]}r.raws.between="";let t;while(e.length){t=e.shift();if(t[0]===":"){r.raws.between+=t[1];break}else{r.raws.between+=t[1]}}if(r.prop[0]==="_"||r.prop[0]==="*"){r.raws.before+=r.prop[0];r.prop=r.prop.slice(1)}r.raws.between+=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let l=e.length-1;l>0;l--){t=e[l];if(t[1]==="!important"){r.important=true;let t=this.stringFrom(e,l);t=this.spacesFromEnd(e)+t;if(t!==" !important"){r.raws.important=t}break}else if(t[1]==="important"){let t=e.slice(0);let i="";for(let e=l;e>0;e--){let r=t[e][0];if(i.trim().indexOf("!")===0&&r!=="space"){break}i=t.pop()[1]+i}if(i.trim().indexOf("!")===0){r.important=true;r.raws.important=i;e=t}}if(t[0]!=="space"&&t[0]!=="comment"){break}}this.raw(r,"value",e);if(r.value.includes(":")){this.checkMissedSemicolon(e)}this.current=r}}comment(e){if(e[4]==="inline"){let r=new t;this.init(r,e[2]);r.raws.inline=true;let l=this.input.fromOffset(e[3]);r.source.end={offset:e[3],line:l.line,column:l.col};let i=e[1].slice(2);if(/^\s*$/.test(i)){r.text="";r.raws.left=i;r.raws.right=""}else{let e=i.match(/^(\s*)([^]*\S)(\s*)$/);let l=e[2].replace(/(\*\/|\/\*)/g,"*//*");r.text=l;r.raws.left=e[1];r.raws.right=e[3];r.raws.text=e[2]}}else{super.comment(e)}}raw(e,r,l){super.raw(e,r,l);if(e.raws[r]){let t=e.raws[r].raw;e.raws[r].raw=l.reduce((e,r)=>{if(r[0]==="comment"&&r[4]==="inline"){let l=r[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return e+"/*"+l+"*/"}else{return e+r[1]}},"");if(t!==e.raws[r].raw){e.raws[r].scss=t}}}}e.exports=ScssParser},139:(e,r,l)=>{let t=l(779);class ScssStringifier extends t{comment(e){let r=this.raw(e,"left","commentLeft");let l=this.raw(e,"right","commentRight");if(e.raws.inline){let t=e.raws.text||e.text;this.builder("//"+r+t+l,e)}else{this.builder("/*"+r+e.text+l+"*/",e)}}decl(e,r){if(!e.isNested){super.decl(e,r)}else{let r=this.raw(e,"between","colon");let l=e.prop+r+this.rawValue(e,"value");if(e.important){l+=e.raws.important||" !important"}this.builder(l+"{",e,"start");let t;if(e.nodes&&e.nodes.length){this.body(e);t=this.raw(e,"after")}else{t=this.raw(e,"after","emptyBody")}if(t)this.builder(t);this.builder("}",e,"end")}}rawValue(e,r){let l=e[r];let t=e.raws[r];if(t&&t.value===l){return t.scss?t.scss:t.raw}else{return l}}}e.exports=ScssStringifier},886:(e,r,l)=>{let t=l(139);e.exports=function scssStringify(e,r){let l=new t(r);l.stringify(e)}},845:(e,r,l)=>{let t=l(886);let i=l(327);e.exports={parse:i,stringify:t}},366:e=>{"use strict";const r="'".charCodeAt(0);const l='"'.charCodeAt(0);const t="\\".charCodeAt(0);const i="/".charCodeAt(0);const f="\n".charCodeAt(0);const a=" ".charCodeAt(0);const s="\f".charCodeAt(0);const h="\t".charCodeAt(0);const w="\r".charCodeAt(0);const o="[".charCodeAt(0);const u="]".charCodeAt(0);const n="(".charCodeAt(0);const c=")".charCodeAt(0);const m="{".charCodeAt(0);const b="}".charCodeAt(0);const p=";".charCodeAt(0);const y="*".charCodeAt(0);const C=":".charCodeAt(0);const A="@".charCodeAt(0);const d=",".charCodeAt(0);const O="#".charCodeAt(0);const D=/[\t\n\f\r "#'()/;[\\\]{}]/g;const g=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const q=/.[\n"'(/\\]/;const z=/[\da-f]/i;const F=/[\n\f\r]/g;e.exports=function scssTokenize(e,V={}){let $=e.css.valueOf();let B=V.ignoreErrors;let k,S,I,_,M;let U,Z,j,G;let J=$.length;let X=0;let Y=[];let v=[];let P;function position(){return X}function unclosed(r){throw e.error("Unclosed "+r,X)}function endOfFile(){return v.length===0&&X>=J}function interpolation(){let e=1;let i=false;let f=false;while(e>0){S+=1;if($.length<=S)unclosed("interpolation");k=$.charCodeAt(S);j=$.charCodeAt(S+1);if(i){if(!f&&k===i){i=false;f=false}else if(k===t){f=!U}else if(f){f=false}}else if(k===r||k===l){i=k}else if(k===b){e-=1}else if(k===O&&j===m){e+=1}}}function nextToken(e){if(v.length)return v.pop();if(X>=J)return;let V=e?e.ignoreUnclosed:false;k=$.charCodeAt(X);switch(k){case f:case a:case h:case w:case s:{S=X;do{S+=1;k=$.charCodeAt(S)}while(k===a||k===f||k===h||k===w||k===s);G=["space",$.slice(X,S)];X=S-1;break}case o:case u:case m:case b:case C:case p:case c:{let e=String.fromCharCode(k);G=[e,e,X];break}case d:{G=["word",",",X,X+1];break}case n:{Z=Y.length?Y.pop()[1]:"";j=$.charCodeAt(X+1);if(Z==="url"&&j!==r&&j!==l){P=1;U=false;S=X+1;while(S<=$.length-1){j=$.charCodeAt(S);if(j===t){U=!U}else if(j===n){P+=1}else if(j===c){P-=1;if(P===0)break}S+=1}_=$.slice(X,S+1);G=["brackets",_,X,S];X=S}else{S=$.indexOf(")",X+1);_=$.slice(X,S+1);if(S===-1||q.test(_)){G=["(","(",X]}else{G=["brackets",_,X,S];X=S}}break}case r:case l:{I=k;S=X;U=false;while(S{"use strict";const r={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:false};function capitalize(e){return e[0].toUpperCase()+e.slice(1)}class Stringifier{constructor(e){this.builder=e}stringify(e,r){this[e.type](e,r)}root(e){this.root=e;this.body(e);if(e.raws.after)this.builder(e.raws.after)}comment(e){let r=this.raw(e,"left","commentLeft");let l=this.raw(e,"right","commentRight");this.builder("/*"+r+e.text+l+"*/",e)}decl(e,r){let l=this.raw(e,"between","colon");let t=e.prop+l+this.rawValue(e,"value");if(e.important){t+=e.raws.important||" !important"}if(r)t+=";";this.builder(t,e)}rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}}atrule(e,r){let l="@"+e.name;let t=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){l+=e.raws.afterName}else if(t){l+=" "}if(e.nodes){this.block(e,l+t)}else{let i=(e.raws.between||"")+(r?";":"");this.builder(l+t+i,e)}}body(e){let r=e.nodes.length-1;while(r>0){if(e.nodes[r].type!=="comment")break;r-=1}let l=this.raw(e,"semicolon");for(let t=0;t{i=e.raws[l];if(typeof i!=="undefined")return false})}}if(typeof i==="undefined")i=r[t];a.rawCache[t]=i;return i}rawSemicolon(e){let r;e.walk(e=>{if(e.nodes&&e.nodes.length&&e.last.type==="decl"){r=e.raws.semicolon;if(typeof r!=="undefined")return false}});return r}rawEmptyBody(e){let r;e.walk(e=>{if(e.nodes&&e.nodes.length===0){r=e.raws.after;if(typeof r!=="undefined")return false}});return r}rawIndent(e){if(e.raws.indent)return e.raws.indent;let r;e.walk(l=>{let t=l.parent;if(t&&t!==e&&t.parent&&t.parent===e){if(typeof l.raws.before!=="undefined"){let e=l.raws.before.split("\n");r=e[e.length-1];r=r.replace(/\S/g,"");return false}}});return r}rawBeforeComment(e,r){let l;e.walkComments(e=>{if(typeof e.raws.before!=="undefined"){l=e.raws.before;if(l.includes("\n")){l=l.replace(/[^\n]+$/,"")}return false}});if(typeof l==="undefined"){l=this.raw(r,null,"beforeDecl")}else if(l){l=l.replace(/\S/g,"")}return l}rawBeforeDecl(e,r){let l;e.walkDecls(e=>{if(typeof e.raws.before!=="undefined"){l=e.raws.before;if(l.includes("\n")){l=l.replace(/[^\n]+$/,"")}return false}});if(typeof l==="undefined"){l=this.raw(r,null,"beforeRule")}else if(l){l=l.replace(/\S/g,"")}return l}rawBeforeRule(e){let r;e.walk(l=>{if(l.nodes&&(l.parent!==e||e.first!==l)){if(typeof l.raws.before!=="undefined"){r=l.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}});if(r)r=r.replace(/\S/g,"");return r}rawBeforeClose(e){let r;e.walk(e=>{if(e.nodes&&e.nodes.length>0){if(typeof e.raws.after!=="undefined"){r=e.raws.after;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}});if(r)r=r.replace(/\S/g,"");return r}rawBeforeOpen(e){let r;e.walk(e=>{if(e.type!=="decl"){r=e.raws.between;if(typeof r!=="undefined")return false}});return r}rawColon(e){let r;e.walkDecls(e=>{if(typeof e.raws.between!=="undefined"){r=e.raws.between.replace(/[^\s:]/g,"");return false}});return r}beforeAfter(e,r){let l;if(e.type==="decl"){l=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){l=this.raw(e,null,"beforeComment")}else if(r==="before"){l=this.raw(e,null,"beforeRule")}else{l=this.raw(e,null,"beforeClose")}let t=e.parent;let i=0;while(t&&t.type!=="root"){i+=1;t=t.parent}if(l.includes("\n")){let r=this.raw(e,null,"indent");if(r.length){for(let e=0;e{"use strict";e.exports=require("postcss")},552:e=>{"use strict";e.exports=require("postcss/lib/parser")}};var r={};function __nccwpck_require__(l){if(r[l]){return r[l].exports}var t=r[l]={exports:{}};var i=true;try{e[l](t,t.exports,__nccwpck_require__);i=false}finally{if(i)delete r[l]}return t.exports}__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(845)})(); \ No newline at end of file +module.exports=(()=>{var e={618:(e,r,l)=>{const{Container:t}=l(43);class NestedDeclaration extends t{constructor(e){super(e);this.type="decl";this.isNested=true;if(!this.nodes)this.nodes=[]}}e.exports=NestedDeclaration},327:(e,r,l)=>{let{Input:t}=l(43);let i=l(270);e.exports=function scssParse(e,r){let l=new t(e,r);let f=new i(l);f.parse();return f.root}},270:(e,r,l)=>{let{Comment:t}=l(43);let i=l(552);let f=l(618);let a=l(366);class ScssParser extends i{createTokenizer(){this.tokenizer=a(this.input)}rule(e){let r=false;let l=0;let t="";for(let i of e){if(r){if(i[0]!=="comment"&&i[0]!=="{"){t+=i[1]}}else if(i[0]==="space"&&i[1].includes("\n")){break}else if(i[0]==="("){l+=1}else if(i[0]===")"){l-=1}else if(l===0&&i[0]===":"){r=true}}if(!r||t.trim()===""||/^[#:A-Za-z-]/.test(t)){super.rule(e)}else{e.pop();let r=new f;this.init(r,e[0][2]);let l;for(let r=e.length-1;r>=0;r--){if(e[r][0]!=="space"){l=e[r];break}}if(l[3]){let e=this.input.fromOffset(l[3]);r.source.end={offset:l[3],line:e.line,column:e.col}}else{let e=this.input.fromOffset(l[2]);r.source.end={offset:l[2],line:e.line,column:e.col}}while(e[0][0]!=="word"){r.raws.before+=e.shift()[1]}r.source.start={line:e[0][2],column:e[0][3]};r.prop="";while(e.length){let l=e[0][0];if(l===":"||l==="space"||l==="comment"){break}r.prop+=e.shift()[1]}r.raws.between="";let t;while(e.length){t=e.shift();if(t[0]===":"){r.raws.between+=t[1];break}else{r.raws.between+=t[1]}}if(r.prop[0]==="_"||r.prop[0]==="*"){r.raws.before+=r.prop[0];r.prop=r.prop.slice(1)}r.raws.between+=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let l=e.length-1;l>0;l--){t=e[l];if(t[1]==="!important"){r.important=true;let t=this.stringFrom(e,l);t=this.spacesFromEnd(e)+t;if(t!==" !important"){r.raws.important=t}break}else if(t[1]==="important"){let t=e.slice(0);let i="";for(let e=l;e>0;e--){let r=t[e][0];if(i.trim().indexOf("!")===0&&r!=="space"){break}i=t.pop()[1]+i}if(i.trim().indexOf("!")===0){r.important=true;r.raws.important=i;e=t}}if(t[0]!=="space"&&t[0]!=="comment"){break}}this.raw(r,"value",e);if(r.value.includes(":")){this.checkMissedSemicolon(e)}this.current=r}}comment(e){if(e[4]==="inline"){let r=new t;this.init(r,e[2]);r.raws.inline=true;let l=this.input.fromOffset(e[3]);r.source.end={offset:e[3],line:l.line,column:l.col};let i=e[1].slice(2);if(/^\s*$/.test(i)){r.text="";r.raws.left=i;r.raws.right=""}else{let e=i.match(/^(\s*)([^]*\S)(\s*)$/);let l=e[2].replace(/(\*\/|\/\*)/g,"*//*");r.text=l;r.raws.left=e[1];r.raws.right=e[3];r.raws.text=e[2]}}else{super.comment(e)}}raw(e,r,l){super.raw(e,r,l);if(e.raws[r]){let t=e.raws[r].raw;e.raws[r].raw=l.reduce((e,r)=>{if(r[0]==="comment"&&r[4]==="inline"){let l=r[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return e+"/*"+l+"*/"}else{return e+r[1]}},"");if(t!==e.raws[r].raw){e.raws[r].scss=t}}}}e.exports=ScssParser},139:(e,r,l)=>{let t=l(779);class ScssStringifier extends t{comment(e){let r=this.raw(e,"left","commentLeft");let l=this.raw(e,"right","commentRight");if(e.raws.inline){let t=e.raws.text||e.text;this.builder("//"+r+t+l,e)}else{this.builder("/*"+r+e.text+l+"*/",e)}}decl(e,r){if(!e.isNested){super.decl(e,r)}else{let r=this.raw(e,"between","colon");let l=e.prop+r+this.rawValue(e,"value");if(e.important){l+=e.raws.important||" !important"}this.builder(l+"{",e,"start");let t;if(e.nodes&&e.nodes.length){this.body(e);t=this.raw(e,"after")}else{t=this.raw(e,"after","emptyBody")}if(t)this.builder(t);this.builder("}",e,"end")}}rawValue(e,r){let l=e[r];let t=e.raws[r];if(t&&t.value===l){return t.scss?t.scss:t.raw}else{return l}}}e.exports=ScssStringifier},886:(e,r,l)=>{let t=l(139);e.exports=function scssStringify(e,r){let l=new t(r);l.stringify(e)}},845:(e,r,l)=>{let t=l(886);let i=l(327);e.exports={parse:i,stringify:t}},366:e=>{"use strict";const r="'".charCodeAt(0);const l='"'.charCodeAt(0);const t="\\".charCodeAt(0);const i="/".charCodeAt(0);const f="\n".charCodeAt(0);const a=" ".charCodeAt(0);const s="\f".charCodeAt(0);const w="\t".charCodeAt(0);const h="\r".charCodeAt(0);const o="[".charCodeAt(0);const u="]".charCodeAt(0);const n="(".charCodeAt(0);const c=")".charCodeAt(0);const b="{".charCodeAt(0);const m="}".charCodeAt(0);const y=";".charCodeAt(0);const p="*".charCodeAt(0);const C=":".charCodeAt(0);const A="@".charCodeAt(0);const d=",".charCodeAt(0);const O="#".charCodeAt(0);const D=/[\t\n\f\r "#'()/;[\\\]{}]/g;const S=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const q=/.[\n"'(/\\]/;const z=/[\da-f]/i;const F=/[\n\f\r]/g;e.exports=function scssTokenize(e,V={}){let $=e.css.valueOf();let k=V.ignoreErrors;let B,I,M,_,U;let Z,g,j,G;let J=$.length;let X=0;let Y=[];let P=[];let v;function position(){return X}function unclosed(r){throw e.error("Unclosed "+r,X)}function endOfFile(){return P.length===0&&X>=J}function interpolation(){let e=1;let i=false;let f=false;while(e>0){I+=1;if($.length<=I)unclosed("interpolation");B=$.charCodeAt(I);j=$.charCodeAt(I+1);if(i){if(!f&&B===i){i=false;f=false}else if(B===t){f=!f}else if(f){f=false}}else if(B===r||B===l){i=B}else if(B===m){e-=1}else if(B===O&&j===b){e+=1}}}function nextToken(e){if(P.length)return P.pop();if(X>=J)return;let V=e?e.ignoreUnclosed:false;B=$.charCodeAt(X);switch(B){case f:case a:case w:case h:case s:{I=X;do{I+=1;B=$.charCodeAt(I)}while(B===a||B===f||B===w||B===h||B===s);G=["space",$.slice(X,I)];X=I-1;break}case o:case u:case b:case m:case C:case y:case c:{let e=String.fromCharCode(B);G=[e,e,X];break}case d:{G=["word",",",X,X+1];break}case n:{g=Y.length?Y.pop()[1]:"";j=$.charCodeAt(X+1);if(g==="url"&&j!==r&&j!==l){v=1;Z=false;I=X+1;while(I<=$.length-1){j=$.charCodeAt(I);if(j===t){Z=!Z}else if(j===n){v+=1}else if(j===c){v-=1;if(v===0)break}I+=1}_=$.slice(X,I+1);G=["brackets",_,X,I];X=I}else{I=$.indexOf(")",X+1);_=$.slice(X,I+1);if(I===-1||q.test(_)){G=["(","(",X]}else{G=["brackets",_,X,I];X=I}}break}case r:case l:{M=B;I=X;Z=false;while(I{"use strict";const r={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:false};function capitalize(e){return e[0].toUpperCase()+e.slice(1)}class Stringifier{constructor(e){this.builder=e}stringify(e,r){if(!this[e.type]){throw new Error("Unknown AST node type "+e.type+". "+"Maybe you need to change PostCSS stringifier.")}this[e.type](e,r)}root(e){this.body(e);if(e.raws.after)this.builder(e.raws.after)}comment(e){let r=this.raw(e,"left","commentLeft");let l=this.raw(e,"right","commentRight");this.builder("/*"+r+e.text+l+"*/",e)}decl(e,r){let l=this.raw(e,"between","colon");let t=e.prop+l+this.rawValue(e,"value");if(e.important){t+=e.raws.important||" !important"}if(r)t+=";";this.builder(t,e)}rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}}atrule(e,r){let l="@"+e.name;let t=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){l+=e.raws.afterName}else if(t){l+=" "}if(e.nodes){this.block(e,l+t)}else{let i=(e.raws.between||"")+(r?";":"");this.builder(l+t+i,e)}}body(e){let r=e.nodes.length-1;while(r>0){if(e.nodes[r].type!=="comment")break;r-=1}let l=this.raw(e,"semicolon");for(let t=0;t{i=e.raws[l];if(typeof i!=="undefined")return false})}}if(typeof i==="undefined")i=r[t];a.rawCache[t]=i;return i}rawSemicolon(e){let r;e.walk(e=>{if(e.nodes&&e.nodes.length&&e.last.type==="decl"){r=e.raws.semicolon;if(typeof r!=="undefined")return false}});return r}rawEmptyBody(e){let r;e.walk(e=>{if(e.nodes&&e.nodes.length===0){r=e.raws.after;if(typeof r!=="undefined")return false}});return r}rawIndent(e){if(e.raws.indent)return e.raws.indent;let r;e.walk(l=>{let t=l.parent;if(t&&t!==e&&t.parent&&t.parent===e){if(typeof l.raws.before!=="undefined"){let e=l.raws.before.split("\n");r=e[e.length-1];r=r.replace(/\S/g,"");return false}}});return r}rawBeforeComment(e,r){let l;e.walkComments(e=>{if(typeof e.raws.before!=="undefined"){l=e.raws.before;if(l.includes("\n")){l=l.replace(/[^\n]+$/,"")}return false}});if(typeof l==="undefined"){l=this.raw(r,null,"beforeDecl")}else if(l){l=l.replace(/\S/g,"")}return l}rawBeforeDecl(e,r){let l;e.walkDecls(e=>{if(typeof e.raws.before!=="undefined"){l=e.raws.before;if(l.includes("\n")){l=l.replace(/[^\n]+$/,"")}return false}});if(typeof l==="undefined"){l=this.raw(r,null,"beforeRule")}else if(l){l=l.replace(/\S/g,"")}return l}rawBeforeRule(e){let r;e.walk(l=>{if(l.nodes&&(l.parent!==e||e.first!==l)){if(typeof l.raws.before!=="undefined"){r=l.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}});if(r)r=r.replace(/\S/g,"");return r}rawBeforeClose(e){let r;e.walk(e=>{if(e.nodes&&e.nodes.length>0){if(typeof e.raws.after!=="undefined"){r=e.raws.after;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}});if(r)r=r.replace(/\S/g,"");return r}rawBeforeOpen(e){let r;e.walk(e=>{if(e.type!=="decl"){r=e.raws.between;if(typeof r!=="undefined")return false}});return r}rawColon(e){let r;e.walkDecls(e=>{if(typeof e.raws.between!=="undefined"){r=e.raws.between.replace(/[^\s:]/g,"");return false}});return r}beforeAfter(e,r){let l;if(e.type==="decl"){l=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){l=this.raw(e,null,"beforeComment")}else if(r==="before"){l=this.raw(e,null,"beforeRule")}else{l=this.raw(e,null,"beforeClose")}let t=e.parent;let i=0;while(t&&t.type!=="root"){i+=1;t=t.parent}if(l.includes("\n")){let r=this.raw(e,null,"indent");if(r.length){for(let e=0;e{"use strict";e.exports=require("postcss")},552:e=>{"use strict";e.exports=require("postcss/lib/parser")}};var r={};function __nccwpck_require__(l){if(r[l]){return r[l].exports}var t=r[l]={exports:{}};var i=true;try{e[l](t,t.exports,__nccwpck_require__);i=false}finally{if(i)delete r[l]}return t.exports}__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(845)})(); \ No newline at end of file diff --git a/packages/next/package.json b/packages/next/package.json index 428622d93ca86..fc43bbfb74c7c 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -77,7 +77,7 @@ "chokidar": "3.5.1", "constants-browserify": "1.0.0", "crypto-browserify": "3.12.0", - "cssnano-simple": "1.2.2", + "cssnano-simple": "2.0.0", "domain-browser": "4.19.0", "encoding": "0.1.13", "etag": "1.8.1", @@ -93,7 +93,7 @@ "p-limit": "3.1.0", "path-browserify": "1.0.1", "pnp-webpack-plugin": "1.6.4", - "postcss": "8.1.7", + "postcss": "8.2.10", "process": "0.11.10", "prop-types": "15.7.2", "querystring-es3": "0.2.1", @@ -225,7 +225,7 @@ "postcss-flexbugs-fixes": "4.2.1", "postcss-loader": "4.0.3", "postcss-preset-env": "6.7.0", - "postcss-scss": "3.0.4", + "postcss-scss": "3.0.5", "recast": "0.18.5", "regexr": "https://github.com/ijjk/regexr-lexer.git#3bcf3d1c4bc6dd9239c47acb1fb7b419823f8337", "resolve-url-loader": "3.1.2", diff --git a/yarn.lock b/yarn.lock index 9e045e0b14168..15c1b2d409e8f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4833,7 +4833,7 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@1.0.30001179, caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001020, caniuse-lite@^1.0.30001093, caniuse-lite@^1.0.30001165, caniuse-lite@^1.0.30001173, caniuse-lite@^1.0.30001179: +caniuse-lite@1.0.30001179, caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001020, caniuse-lite@^1.0.30001093, caniuse-lite@^1.0.30001165, caniuse-lite@^1.0.30001173, caniuse-lite@^1.0.30001179, caniuse-lite@^1.0.30001202: version "1.0.30001179" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001179.tgz#b0803883b4471a6c62066fb1752756f8afc699c8" integrity sha512-blMmO0QQujuUWZKyVrD1msR4WNDAqb/UPO1Sw2WWsQ7deoM5bJiicKnWJ1Y0NS/aGINSnKPIWBMw5luX+NDUCA== @@ -5273,6 +5273,11 @@ colorette@^1.2.1: resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.1.tgz#4d0b921325c14faf92633086a536db6e89564b1b" integrity sha512-puCDz0CzydiSYOrnXpz/PKd69zRrribezjtE9yd4zvytoRc8+RY/KJPvtPFKZS3E3wP6neGyMe0vOTlHO5L3Pw== +colorette@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94" + integrity sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w== + colors@1.2.5: version "1.2.5" resolved "https://registry.yarnpkg.com/colors/-/colors-1.2.5.tgz#89c7ad9a374bc030df8013241f68136ed8835afc" @@ -6018,13 +6023,12 @@ cssnano-preset-simple@1.2.1: caniuse-lite "^1.0.30001093" postcss "^7.0.32" -cssnano-preset-simple@1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/cssnano-preset-simple/-/cssnano-preset-simple-1.2.2.tgz#c631bf79ffec7fdfc4069e2f2da3ca67d99d8413" - integrity sha512-gtvrcRSGtP3hA/wS8mFVinFnQdEsEpm3v4I/s/KmNjpdWaThV/4E5EojAzFXxyT5OCSRPLlHR9iQexAqKHlhGQ== +cssnano-preset-simple@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/cssnano-preset-simple/-/cssnano-preset-simple-2.0.0.tgz#b55e72cb970713f425560a0e141b0335249e2f96" + integrity sha512-HkufSLkaBJbKBFx/7aj5HmCK9Ni/JedRQm0mT2qBzMG/dEuJOLnMt2lK6K1rwOOyV4j9aSY+knbW9WoS7BYpzg== dependencies: - caniuse-lite "^1.0.30001179" - postcss "^7.0.32" + caniuse-lite "^1.0.30001202" cssnano-simple@1.2.1: version "1.2.1" @@ -6034,13 +6038,12 @@ cssnano-simple@1.2.1: cssnano-preset-simple "1.2.1" postcss "^7.0.32" -cssnano-simple@1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/cssnano-simple/-/cssnano-simple-1.2.2.tgz#72c2c3970e67123c3b4130894a30dc1050267007" - integrity sha512-4slyYc1w4JhSbhVX5xi9G0aQ42JnRyPg+7l7cqoNyoIDzfWx40Rq3JQZnoAWDu60A4AvKVp9ln/YSUOdhDX68g== +cssnano-simple@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/cssnano-simple/-/cssnano-simple-2.0.0.tgz#930d9dcd8ba105c5a62ce719cb00854da58b5c05" + integrity sha512-0G3TXaFxlh/szPEG/o3VcmCwl0N3E60XNb9YZZijew5eIs6fLjJuOPxQd9yEBaX2p/YfJtt49i4vYi38iH6/6w== dependencies: - cssnano-preset-simple "1.2.2" - postcss "^7.0.32" + cssnano-preset-simple "^2.0.0" cssnano-util-get-arguments@^4.0.0: version "4.0.0" @@ -10078,14 +10081,6 @@ limit-spawn@0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/limit-spawn/-/limit-spawn-0.0.3.tgz#cc09c24467a0f0a1ed10a5196dba597cad3f65dc" -line-column@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/line-column/-/line-column-1.0.2.tgz#d25af2936b6f4849172b312e4792d1d987bc34a2" - integrity sha1-0lryk2tvSEkXKzEuR5LR2Ye8NKI= - dependencies: - isarray "^1.0.0" - isobject "^2.0.0" - lines-and-columns@^1.1.6: version "1.1.6" resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" @@ -11100,11 +11095,16 @@ nan@^2.12.1, nan@^2.13.2: version "2.14.0" resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" -nanoid@3.1.20, nanoid@^3.1.16, nanoid@^3.1.20: +nanoid@3.1.20, nanoid@^3.1.20: version "3.1.20" resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.20.tgz#badc263c6b1dcf14b71efaa85f6ab4c1d6cfc788" integrity sha512-a1cQNyczgKbLX9jwbS/+d7W8fX/RfgYR7lVWwWOGIPNgK2m0MWvrGF6/m4kk6U3QcFMnZf3RIhL0v2Jgh/0Uxw== +nanoid@^3.1.22: + version "3.1.22" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.22.tgz#b35f8fb7d151990a8aebd5aa5015c03cf726f844" + integrity sha512-/2ZUaJX2ANuLtTvqTlgqBQNJoQO398KyJgZloL0PZkC0dpysjncRUPsFe3DUPzz/y3h+u7C46np8RMuvF3jsSQ== + nanomatch@^1.2.9: version "1.2.13" resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119" @@ -12869,12 +12869,12 @@ postcss-safe-parser@4.0.2: dependencies: postcss "^7.0.26" -postcss-scss@3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/postcss-scss/-/postcss-scss-3.0.4.tgz#74ce30ec9de615b41aeab1249e7557698e372e73" - integrity sha512-BAkBZ35aXhCeBRmliHylYqTN1PvNJyh9aBPQHUmk9SdDdbk7n3GExm7cQivDckOgJpB+agyig9TwRAmf6WnvfA== +postcss-scss@3.0.5: + version "3.0.5" + resolved "https://registry.yarnpkg.com/postcss-scss/-/postcss-scss-3.0.5.tgz#bd484faf05890e48a6f5e097acb3d104cc7b9ac7" + integrity sha512-3e0qYk87eczfzg5P73ZVuuxEGCBfatRhPze6KrSaIbEKVtmnFI1RYp1Fv+AyZi+w8kcNRSPeNX6ap4b65zEkiA== dependencies: - postcss "^8.1.6" + postcss "^8.2.7" postcss-selector-matches@^4.0.0: version "4.0.0" @@ -12988,14 +12988,13 @@ postcss@7.0.32, postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.11, postcss@^7.0.14 source-map "^0.6.1" supports-color "^6.1.0" -postcss@8.1.7: - version "8.1.7" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.1.7.tgz#ff6a82691bd861f3354fd9b17b2332f88171233f" - integrity sha512-llCQW1Pz4MOPwbZLmOddGM9eIJ8Bh7SZ2Oj5sxZva77uVaotYDsYTch1WBTNu7fUY0fpWp0fdt7uW40D4sRiiQ== +postcss@8.2.10, postcss@^8.2.7: + version "8.2.10" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.2.10.tgz#ca7a042aa8aff494b334d0ff3e9e77079f6f702b" + integrity sha512-b/h7CPV7QEdrqIxtAf2j31U5ef05uBDuvoXv6L51Q4rcS1jdlXAVKJv+atCFdUXYl9dyTHGyoMzIepwowRJjFw== dependencies: - colorette "^1.2.1" - line-column "^1.0.2" - nanoid "^3.1.16" + colorette "^1.2.2" + nanoid "^3.1.22" source-map "^0.6.1" postcss@^5.0.10: @@ -13015,7 +13014,7 @@ postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.23, postcss@^6.0.9: source-map "^0.6.1" supports-color "^5.4.0" -postcss@^8.1.6, postcss@^8.2.1: +postcss@^8.2.1: version "8.2.1" resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.2.1.tgz#eabc5557c4558059b9d9e5b15bce7ffa9089c2a8" integrity sha512-RhsqOOAQzTgh1UB/IZdca7F9WDb7SUCR2Vnv1x7DbvuuggQIpoDwjK+q0rzoPffhYvWNKX5JSwS4so4K3UC6vA==