"use strict";var e=require("process"),t=require("os"),n=require("tty"),r=require("yargs/yargs"),i=require("yargs"),o=require("fs"),s=require("path"),a=require("cosmiconfig"),u=require("util"),c=require("child_process"),l=require("url"),p=require("import-from"),A=require("stream"),f=require("events"),D=require("tmp"),d=require("@marp-team/marpit"),g=require("puppeteer-core"),h=require("net"),m=require("is-wsl"),v=require("crypto"),b=require("chokidar"),y=require("ws"),w=require("querystring"),C=require("serve-index"),E=require("@marp-team/marp-core/package.json");function F(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var k=F(l);const _=(e=0)=>t=>`[${t+e}m`,B=(e=0)=>t=>`[${38+e};5;${t}m`,P=(e=0)=>(t,n,r)=>`[${38+e};2;${t};${n};${r}m`,x={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(x.modifier),Object.keys(x.color),Object.keys(x.bgColor);const S=function(){const e=new Map;for(const[t,n]of Object.entries(x)){for(const[t,r]of Object.entries(n))x[t]={open:`[${r[0]}m`,close:`[${r[1]}m`},n[t]=x[t],e.set(r[0],r[1]);Object.defineProperty(x,t,{value:n,enumerable:!1})}return Object.defineProperty(x,"codes",{value:e,enumerable:!1}),x.color.close="",x.bgColor.close="",x.color.ansi=_(),x.color.ansi256=B(),x.color.ansi16m=P(),x.bgColor.ansi=_(10),x.bgColor.ansi256=B(10),x.bgColor.ansi16m=P(10),Object.defineProperties(x,{rgbToAnsi256:{value:(e,t,n)=>e===t&&t===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(n/255*5),enumerable:!1},hexToRgb:{value(e){const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[n]=t;3===n.length&&(n=[...n].map((e=>e+e)).join(""));const r=Number.parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},enumerable:!1},hexToAnsi256:{value:e=>x.rgbToAnsi256(...x.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return e-8+90;let t,n,r;if(e>=232)t=(10*(e-232)+8)/255,n=t,r=t;else{const i=(e-=16)%36;t=Math.floor(e/36)/5,n=Math.floor(i/6)/5,r=i%6/5}const i=2*Math.max(t,n,r);if(0===i)return 30;let o=30+(Math.round(r)<<2|Math.round(n)<<1|Math.round(t));return 2===i&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,t,n)=>x.ansi256ToAnsi(x.rgbToAnsi256(e,t,n)),enumerable:!1},hexToAnsi:{value:e=>x.ansi256ToAnsi(x.hexToAnsi256(e)),enumerable:!1}}),x}();function T(t,n=(globalThis.Deno?globalThis.Deno.args:e.argv)){const r=t.startsWith("-")?"":1===t.length?"-":"--",i=n.indexOf(r+t),o=n.indexOf("--");return-1!==i&&(-1===o||i=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in O)return"GITHUB_ACTIONS"in O?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((e=>e in O))||"codeship"===O.CI_NAME?1:a;if("TEAMCITY_VERSION"in O)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(O.TEAMCITY_VERSION)?1:0;if("truecolor"===O.COLORTERM)return 3;if("xterm-kitty"===O.TERM)return 3;if("TERM_PROGRAM"in O){const e=Number.parseInt((O.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(O.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(O.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(O.TERM)||"COLORTERM"in O?1:a}(n,{streamIsTTY:n&&n.isTTY,...r}),0!==i&&{level:i,hasBasic:!0,has256:i>=2,has16m:i>=3};var i}T("no-color")||T("no-colors")||T("color=false")||T("color=never")?I=0:(T("color")||T("colors")||T("color=true")||T("color=always"))&&(I=1);const R={stdout:M({isTTY:n.isatty(1)}),stderr:M({isTTY:n.isatty(2)})};function L(e,t,n){let r=e.indexOf(t);if(-1===r)return e;const i=t.length;let o=0,s="";do{s+=e.slice(o,r)+t+n,o=r+i,r=e.indexOf(t,o)}while(-1!==r);return s+=e.slice(o),s}const{stdout:N,stderr:H}=R,j=Symbol("GENERATOR"),Q=Symbol("STYLER"),z=Symbol("IS_EMPTY"),U=["ansi","ansi","ansi256","ansi16m"],G=Object.create(null),Y=e=>{const t=(...e)=>e.join(" ");return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=N?N.level:0;e.level=void 0===t.level?n:t.level})(t,e),Object.setPrototypeOf(t,X.prototype),t};function X(e){return Y(e)}Object.setPrototypeOf(X.prototype,Function.prototype);for(const[e,t]of Object.entries(S))G[e]={get(){const n=K(this,J(t.open,t.close,this[Q]),this[z]);return Object.defineProperty(this,e,{value:n}),n}};G.visible={get(){const e=K(this,this[Q],!0);return Object.defineProperty(this,"visible",{value:e}),e}};const Z=(e,t,n,...r)=>"rgb"===e?"ansi16m"===t?S[n].ansi16m(...r):"ansi256"===t?S[n].ansi256(S.rgbToAnsi256(...r)):S[n].ansi(S.rgbToAnsi(...r)):"hex"===e?Z("rgb",t,n,...S.hexToRgb(...r)):S[n][e](...r),q=["rgb","hex","ansi256"];for(const e of q)G[e]={get(){const{level:t}=this;return function(...n){const r=J(Z(e,U[t],"color",...n),S.color.close,this[Q]);return K(this,r,this[z])}}},G["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...n){const r=J(Z(e,U[t],"bgColor",...n),S.bgColor.close,this[Q]);return K(this,r,this[z])}}};const W=Object.defineProperties((()=>{}),{...G,level:{enumerable:!0,get(){return this[j].level},set(e){this[j].level=e}}}),J=(e,t,n)=>{let r,i;return void 0===n?(r=e,i=t):(r=n.openAll+e,i=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:n}},K=(e,t,n)=>{const r=(...e)=>V(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,W),r[j]=e,r[Q]=t,r[z]=n,r},V=(e,t)=>{if(e.level<=0||!t)return e[z]?"":t;let n=e[Q];if(void 0===n)return t;const{openAll:r,closeAll:i}=n;if(t.includes(""))for(;void 0!==n;)t=L(t,n.close,n.open),n=n.parent;const o=t.indexOf("\n");return-1!==o&&(t=function(e,t,n,r){let i=0,o="";do{const s="\r"===e[r-1];o+=e.slice(i,s?r-1:r)+t+(s?"\r\n":"\n")+n,i=r+1,r=e.indexOf("\n",i)}while(-1!==r);return o+=e.slice(i),o}(t,i,r,o)),r+t+i};Object.defineProperties(X.prototype,G);const $=X();function ee(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(function({onlyFirst:e=!1}={}){const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}(),"")}X({level:H?H.level:0});var te="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ne(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){if(this instanceof e){var n=[null];return n.push.apply(n,arguments),new(Function.bind.apply(t,n))}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var re={},ie={get exports(){return re},set exports(e){re=e}};!function(e){var t={};function n(e){return e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}ie.exports=t,t.eastAsianWidth=function(e){var t=e.charCodeAt(0),n=2==e.length?e.charCodeAt(1):0,r=t;return 55296<=t&&t<=56319&&56320<=n&&n<=57343&&(r=(t&=1023)<<10|(n&=1023),r+=65536),12288==r||65281<=r&&r<=65376||65504<=r&&r<=65510?"F":8361==r||65377<=r&&r<=65470||65474<=r&&r<=65479||65482<=r&&r<=65487||65490<=r&&r<=65495||65498<=r&&r<=65500||65512<=r&&r<=65518?"H":4352<=r&&r<=4447||4515<=r&&r<=4519||4602<=r&&r<=4607||9001<=r&&r<=9002||11904<=r&&r<=11929||11931<=r&&r<=12019||12032<=r&&r<=12245||12272<=r&&r<=12283||12289<=r&&r<=12350||12353<=r&&r<=12438||12441<=r&&r<=12543||12549<=r&&r<=12589||12593<=r&&r<=12686||12688<=r&&r<=12730||12736<=r&&r<=12771||12784<=r&&r<=12830||12832<=r&&r<=12871||12880<=r&&r<=13054||13056<=r&&r<=19903||19968<=r&&r<=42124||42128<=r&&r<=42182||43360<=r&&r<=43388||44032<=r&&r<=55203||55216<=r&&r<=55238||55243<=r&&r<=55291||63744<=r&&r<=64255||65040<=r&&r<=65049||65072<=r&&r<=65106||65108<=r&&r<=65126||65128<=r&&r<=65131||110592<=r&&r<=110593||127488<=r&&r<=127490||127504<=r&&r<=127546||127552<=r&&r<=127560||127568<=r&&r<=127569||131072<=r&&r<=194367||177984<=r&&r<=196605||196608<=r&&r<=262141?"W":32<=r&&r<=126||162<=r&&r<=163||165<=r&&r<=166||172==r||175==r||10214<=r&&r<=10221||10629<=r&&r<=10630?"Na":161==r||164==r||167<=r&&r<=168||170==r||173<=r&&r<=174||176<=r&&r<=180||182<=r&&r<=186||188<=r&&r<=191||198==r||208==r||215<=r&&r<=216||222<=r&&r<=225||230==r||232<=r&&r<=234||236<=r&&r<=237||240==r||242<=r&&r<=243||247<=r&&r<=250||252==r||254==r||257==r||273==r||275==r||283==r||294<=r&&r<=295||299==r||305<=r&&r<=307||312==r||319<=r&&r<=322||324==r||328<=r&&r<=331||333==r||338<=r&&r<=339||358<=r&&r<=359||363==r||462==r||464==r||466==r||468==r||470==r||472==r||474==r||476==r||593==r||609==r||708==r||711==r||713<=r&&r<=715||717==r||720==r||728<=r&&r<=731||733==r||735==r||768<=r&&r<=879||913<=r&&r<=929||931<=r&&r<=937||945<=r&&r<=961||963<=r&&r<=969||1025==r||1040<=r&&r<=1103||1105==r||8208==r||8211<=r&&r<=8214||8216<=r&&r<=8217||8220<=r&&r<=8221||8224<=r&&r<=8226||8228<=r&&r<=8231||8240==r||8242<=r&&r<=8243||8245==r||8251==r||8254==r||8308==r||8319==r||8321<=r&&r<=8324||8364==r||8451==r||8453==r||8457==r||8467==r||8470==r||8481<=r&&r<=8482||8486==r||8491==r||8531<=r&&r<=8532||8539<=r&&r<=8542||8544<=r&&r<=8555||8560<=r&&r<=8569||8585==r||8592<=r&&r<=8601||8632<=r&&r<=8633||8658==r||8660==r||8679==r||8704==r||8706<=r&&r<=8707||8711<=r&&r<=8712||8715==r||8719==r||8721==r||8725==r||8730==r||8733<=r&&r<=8736||8739==r||8741==r||8743<=r&&r<=8748||8750==r||8756<=r&&r<=8759||8764<=r&&r<=8765||8776==r||8780==r||8786==r||8800<=r&&r<=8801||8804<=r&&r<=8807||8810<=r&&r<=8811||8814<=r&&r<=8815||8834<=r&&r<=8835||8838<=r&&r<=8839||8853==r||8857==r||8869==r||8895==r||8978==r||9312<=r&&r<=9449||9451<=r&&r<=9547||9552<=r&&r<=9587||9600<=r&&r<=9615||9618<=r&&r<=9621||9632<=r&&r<=9633||9635<=r&&r<=9641||9650<=r&&r<=9651||9654<=r&&r<=9655||9660<=r&&r<=9661||9664<=r&&r<=9665||9670<=r&&r<=9672||9675==r||9678<=r&&r<=9681||9698<=r&&r<=9701||9711==r||9733<=r&&r<=9734||9737==r||9742<=r&&r<=9743||9748<=r&&r<=9749||9756==r||9758==r||9792==r||9794==r||9824<=r&&r<=9825||9827<=r&&r<=9829||9831<=r&&r<=9834||9836<=r&&r<=9837||9839==r||9886<=r&&r<=9887||9918<=r&&r<=9919||9924<=r&&r<=9933||9935<=r&&r<=9953||9955==r||9960<=r&&r<=9983||10045==r||10071==r||10102<=r&&r<=10111||11093<=r&&r<=11097||12872<=r&&r<=12879||57344<=r&&r<=63743||65024<=r&&r<=65039||65533==r||127232<=r&&r<=127242||127248<=r&&r<=127277||127280<=r&&r<=127337||127344<=r&&r<=127386||917760<=r&&r<=917999||983040<=r&&r<=1048573||1048576<=r&&r<=1114109?"A":"N"},t.characterLength=function(e){var t=this.eastAsianWidth(e);return"F"==t||"W"==t||"A"==t?2:1},t.length=function(e){for(var t=n(e),r=0,i=0;i=r-(2==l?1:0)){if(!(s+l<=i))break;o+=c}s+=l}return o}}();var oe=re,se=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g};function ae(e,t={}){if("string"!=typeof e||0===e.length)return 0;if(t={ambiguousIsNarrow:!0,...t},0===(e=ee(e)).length)return 0;e=e.replace(se()," ");const n=t.ambiguousIsNarrow?1:2;let r=0;for(const t of e){const e=t.codePointAt(0);if(!(e<=31||e>=127&&e<=159)&&!(e>=768&&e<=879))switch(oe.eastAsianWidth(t)){case"F":case"W":r+=2;break;case"A":r+=n;break;default:r+=1}}return r}const ue=(e=0)=>t=>`[${t+e}m`,ce=(e=0)=>t=>`[${38+e};5;${t}m`,le=(e=0)=>(t,n,r)=>`[${38+e};2;${t};${n};${r}m`,pe={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(pe.modifier),Object.keys(pe.color),Object.keys(pe.bgColor);const Ae=function(){const e=new Map;for(const[t,n]of Object.entries(pe)){for(const[t,r]of Object.entries(n))pe[t]={open:`[${r[0]}m`,close:`[${r[1]}m`},n[t]=pe[t],e.set(r[0],r[1]);Object.defineProperty(pe,t,{value:n,enumerable:!1})}return Object.defineProperty(pe,"codes",{value:e,enumerable:!1}),pe.color.close="",pe.bgColor.close="",pe.color.ansi=ue(),pe.color.ansi256=ce(),pe.color.ansi16m=le(),pe.bgColor.ansi=ue(10),pe.bgColor.ansi256=ce(10),pe.bgColor.ansi16m=le(10),Object.defineProperties(pe,{rgbToAnsi256:{value:(e,t,n)=>e===t&&t===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(n/255*5),enumerable:!1},hexToRgb:{value:e=>{const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[n]=t;3===n.length&&(n=[...n].map((e=>e+e)).join(""));const r=Number.parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},enumerable:!1},hexToAnsi256:{value:e=>pe.rgbToAnsi256(...pe.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value:e=>{if(e<8)return 30+e;if(e<16)return e-8+90;let t,n,r;if(e>=232)t=(10*(e-232)+8)/255,n=t,r=t;else{const i=(e-=16)%36;t=Math.floor(e/36)/5,n=Math.floor(i/6)/5,r=i%6/5}const i=2*Math.max(t,n,r);if(0===i)return 30;let o=30+(Math.round(r)<<2|Math.round(n)<<1|Math.round(t));return 2===i&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,t,n)=>pe.ansi256ToAnsi(pe.rgbToAnsi256(e,t,n)),enumerable:!1},hexToAnsi:{value:e=>pe.ansi256ToAnsi(pe.hexToAnsi256(e)),enumerable:!1}}),pe}(),fe=new Set(["","›"]),De="]8;;",de=e=>`${fe.values().next().value}[${e}m`,ge=e=>`${fe.values().next().value}${De}${e}`,he=(e,t,n)=>{const r=[...t];let i=!1,o=!1,s=ae(ee(e[e.length-1]));for(const[t,a]of r.entries()){const u=ae(a);s+u<=n?e[e.length-1]+=a:(e.push(a),s=0),fe.has(a)&&(i=!0,o=r.slice(t+1).join("").startsWith(De)),i?o?""===a&&(i=!1,o=!1):"m"===a&&(i=!1):(s+=u,s===n&&t0&&e.length>1&&(e[e.length-2]+=e.pop())},me=i.terminalWidth()||80,ve=(e,t,n)=>{const r=ee(e).length+1,i=n.singleLine?t:function(e,t,n){return String(e).normalize().replace(/\r\n/g,"\n").split("\n").map((e=>((e,t,n={})=>{if(!1!==n.trim&&""===e.trim())return"";let r,i,o="";const s=(e=>e.split(" ").map((e=>ae(e))))(e);let a=[""];for(const[r,i]of e.split(" ").entries()){!1!==n.trim&&(a[a.length-1]=a[a.length-1].trimStart());let e=ae(a[a.length-1]);if(0!==r&&(e>=t&&(!1===n.wordWrap||!1===n.trim)&&(a.push(""),e=0),(e>0||!1===n.trim)&&(a[a.length-1]+=" ",e++)),n.hard&&s[r]>t){const n=t-e,o=1+Math.floor((s[r]-n-1)/t);Math.floor((s[r]-1)/t)t&&e>0&&s[r]>0){if(!1===n.wordWrap&&et&&!1===n.wordWrap?he(a,i,t):a[a.length-1]+=i}}!1!==n.trim&&(a=a.map((e=>(e=>{const t=e.split(" ");let n=t.length;for(;n>0&&!(ae(t[n-1])>0);)n--;return n===t.length?e:t.slice(0,n).join(" ")+t.slice(n).join("")})(e))));const u=[...a.join("\n")];for(const[e,t]of u.entries()){if(o+=t,fe.has(t)){const{groups:t}=new RegExp(`(?:\\[(?\\d+)m|\\${De}(?.*))`).exec(u.slice(e).join(""))||{groups:{}};if(void 0!==t.code){const e=Number.parseFloat(t.code);r=39===e?void 0:e}else void 0!==t.uri&&(i=0===t.uri.length?void 0:t.uri)}const n=Ae.codes.get(Number(r));"\n"===u[e+1]?(i&&(o+=ge("")),r&&n&&(o+=de(n))):"\n"===t&&(r&&n&&(o+=de(r)),i&&(o+=ge(i)))}return o})(e,t,undefined))).join("\n")}(t,me-r);return`${e} ${i.split("\n").join(`\n${" ".repeat(r)}`)}`};let be=!1;function ye(e){be=e}function we(e,t={}){be||console.warn(ve($.bgCyan.black("[ INFO ]"),e,t))}function Ce(e,t={}){be||console.warn(ve($.bgYellow.black("[ WARN ]"),e,t))}function Ee(e,t={}){console.error(ve($.bgRed.white("[ ERROR ]"),e,t))}var Fe={};const ke={4:"zh_CHS",1025:"ar_SA",1026:"bg_BG",1027:"ca_ES",1028:"zh_TW",1029:"cs_CZ",1030:"da_DK",1031:"de_DE",1032:"el_GR",1033:"en_US",1034:"es_ES",1035:"fi_FI",1036:"fr_FR",1037:"he_IL",1038:"hu_HU",1039:"is_IS",1040:"it_IT",1041:"ja_JP",1042:"ko_KR",1043:"nl_NL",1044:"nb_NO",1045:"pl_PL",1046:"pt_BR",1047:"rm_CH",1048:"ro_RO",1049:"ru_RU",1050:"hr_HR",1051:"sk_SK",1052:"sq_AL",1053:"sv_SE",1054:"th_TH",1055:"tr_TR",1056:"ur_PK",1057:"id_ID",1058:"uk_UA",1059:"be_BY",1060:"sl_SI",1061:"et_EE",1062:"lv_LV",1063:"lt_LT",1064:"tg_TJ",1065:"fa_IR",1066:"vi_VN",1067:"hy_AM",1069:"eu_ES",1070:"wen_DE",1071:"mk_MK",1074:"tn_ZA",1076:"xh_ZA",1077:"zu_ZA",1078:"af_ZA",1079:"ka_GE",1080:"fo_FO",1081:"hi_IN",1082:"mt_MT",1083:"se_NO",1086:"ms_MY",1087:"kk_KZ",1088:"ky_KG",1089:"sw_KE",1090:"tk_TM",1092:"tt_RU",1093:"bn_IN",1094:"pa_IN",1095:"gu_IN",1096:"or_IN",1097:"ta_IN",1098:"te_IN",1099:"kn_IN",1100:"ml_IN",1101:"as_IN",1102:"mr_IN",1103:"sa_IN",1104:"mn_MN",1105:"bo_CN",1106:"cy_GB",1107:"kh_KH",1108:"lo_LA",1109:"my_MM",1110:"gl_ES",1111:"kok_IN",1114:"syr_SY",1115:"si_LK",1118:"am_ET",1121:"ne_NP",1122:"fy_NL",1123:"ps_AF",1124:"fil_PH",1125:"div_MV",1128:"ha_NG",1130:"yo_NG",1131:"quz_BO",1132:"ns_ZA",1133:"ba_RU",1134:"lb_LU",1135:"kl_GL",1144:"ii_CN",1146:"arn_CL",1148:"moh_CA",1150:"br_FR",1152:"ug_CN",1153:"mi_NZ",1154:"oc_FR",1155:"co_FR",1156:"gsw_FR",1157:"sah_RU",1158:"qut_GT",1159:"rw_RW",1160:"wo_SN",1164:"gbz_AF",2049:"ar_IQ",2052:"zh_CN",2055:"de_CH",2057:"en_GB",2058:"es_MX",2060:"fr_BE",2064:"it_CH",2067:"nl_BE",2068:"nn_NO",2070:"pt_PT",2077:"sv_FI",2080:"ur_IN",2092:"az_AZ",2094:"dsb_DE",2107:"se_SE",2108:"ga_IE",2110:"ms_BN",2115:"uz_UZ",2128:"mn_CN",2129:"bo_BT",2141:"iu_CA",2143:"tmz_DZ",2155:"quz_EC",3073:"ar_EG",3076:"zh_HK",3079:"de_AT",3081:"en_AU",3082:"es_ES",3084:"fr_CA",3098:"sr_SP",3131:"se_FI",3179:"quz_PE",4097:"ar_LY",4100:"zh_SG",4103:"de_LU",4105:"en_CA",4106:"es_GT",4108:"fr_CH",4122:"hr_BA",4155:"smj_NO",5121:"ar_DZ",5124:"zh_MO",5127:"de_LI",5129:"en_NZ",5130:"es_CR",5132:"fr_LU",5179:"smj_SE",6145:"ar_MA",6153:"en_IE",6154:"es_PA",6156:"fr_MC",6203:"sma_NO",7169:"ar_TN",7177:"en_ZA",7178:"es_DO",7194:"sr_BA",7227:"sma_SE",8193:"ar_OM",8201:"en_JA",8202:"es_VE",8218:"bs_BA",8251:"sms_FI",9217:"ar_YE",9225:"en_CB",9226:"es_CO",9275:"smn_FI",10241:"ar_SY",10249:"en_BZ",10250:"es_PE",11265:"ar_JO",11273:"en_TT",11274:"es_AR",12289:"ar_LB",12297:"en_ZW",12298:"es_EC",13313:"ar_KW",13321:"en_PH",13322:"es_CL",14337:"ar_AE",14346:"es_UR",15361:"ar_BH",15370:"es_PY",16385:"ar_QA",16394:"es_BO",17417:"en_MY",17418:"es_SV",18441:"en_IN",18442:"es_HN",19466:"es_NI",20490:"es_PR",21514:"es_US",31748:"zh_CHT"},_e=(e=>{if("object"!=typeof e||null===e)throw new TypeError("Expected an object");const t={};for(const[n,r]of Object.entries(e))t[r]=n;for(const n of Object.getOwnPropertySymbols(e))t[e[n]]=n;return t})(ke);Fe.from=e=>{if("number"!=typeof e)throw new TypeError("Expected a number");return ke[e]},Fe.to=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");if(_e[e])return Number(_e[e])},Fe.all=new Proxy(_e,{get(e,t){const n=e[t];if(n)return Number(n)}});const Be=u.promisify(c.execFile),Pe={spawn:!0},xe="en-US";async function Se(e,t){return(await async function(e,t){const n=await Be(e,t,{encoding:"utf8"});return n.stdout=n.stdout.trim(),n}(e,t)).stdout}function Te(e=process.env){return e.LC_ALL||e.LC_MESSAGES||e.LANG||e.LANGUAGE}function Oe(e){return e&&e.replace(/[.:].*/,"")}async function Ie(){return Se("locale",["-a"])}const Me=new Map;async function Re(e=Pe){if(Me.has(e.spawn))return Me.get(e.spawn);let t;try{const n=Te();t=n||!1===e.spawn?Oe(n):"win32"===process.platform?await async function(){const e=await Se("wmic",["os","get","locale"]),t=Number.parseInt(e.replace("Locale",""),16);return Fe.from(t)}():"darwin"===process.platform?await async function(){const e=await Promise.all([Se("defaults",["read","-globalDomain","AppleLocale"]),Ie()]);return function(e,t=""){return t.includes(e)?e:xe}(e[0],e[1])}():await async function(){return Oe(function(e){const t={};for(const n of e.split("\n")){const[e,r]=n.split("=");t[e]=r.replace(/^"|"$/g,"")}return Te(t)}(await Se("locale")))}()}catch{}const n=(t||xe).replace(/_/,"-");return Me.set(e.spawn,n),n}class Le{#e;#t;#n;constructor(){this.clear()}enqueue(e){const t=new class{value;next;constructor(e){this.value=e}}(e);this.#e?(this.#t.next=t,this.#t=t):(this.#e=t,this.#t=t),this.#n++}dequeue(){const e=this.#e;if(e)return this.#e=this.#e.next,this.#n--,e.value}clear(){this.#e=void 0,this.#t=void 0,this.#n=0}get size(){return this.#n}*[Symbol.iterator](){let e=this.#e;for(;e;)yield e.value,e=e.next}}function Ne(e){if(!Number.isInteger(e)&&e!==Number.POSITIVE_INFINITY||!(e>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");const t=new Le;let n=0;const r=async(e,r,i)=>{n++;const o=(async()=>e(...i))();r(o);try{await o}catch{}n--,t.size>0&&t.dequeue()()},i=(i,...o)=>new Promise((s=>{((i,o,s)=>{t.enqueue(r.bind(void 0,i,o,s)),(async()=>{await Promise.resolve(),n0&&t.dequeue()()})()})(i,s,o)}));return Object.defineProperties(i,{activeCount:{get:()=>n},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}}),i}class He extends Error{constructor(e){super(),this.value=e}}const je=async(e,t)=>t(await e),Qe=async e=>{const t=await Promise.all(e);if(!0===t[1])throw new He(t[0]);return!1},ze={directory:"isDirectory",file:"isFile"},Ue=(e,t)=>t[ze[e]](),Ge=e=>e instanceof URL?l.fileURLToPath(e):e;async function Ye(t,{cwd:n=e.cwd(),type:r="file",allowSymlinks:i=!0,concurrency:a,preserveOrder:u}={}){!function(e){if(!Object.hasOwnProperty.call(ze,e))throw new Error(`Invalid type specified: ${e}`)}(r),n=Ge(n);const c=i?o.promises.stat:o.promises.lstat;return async function(e,t,{concurrency:n=Number.POSITIVE_INFINITY,preserveOrder:r=!0}={}){const i=Ne(n),o=[...e].map((e=>[e,i(je,e,t)])),s=Ne(r?1:Number.POSITIVE_INFINITY);try{await Promise.all(o.map((e=>s(Qe,e))))}catch(e){if(e instanceof He)return e.value;throw e}}(t,(async e=>{try{const t=await c(s.resolve(n,e));return Ue(r,t)}catch{return!1}}),{concurrency:a,preserveOrder:u})}const Xe=e=>e instanceof URL?l.fileURLToPath(e):e,Ze=Symbol("findUpStop");class CLIError extends Error{constructor(e,t=1){super(),this.name="CLIError",this.message=e,this.errorCode=t}toString(){return this.message}}var qe;function We(e,t=exports.b.GENERAL_ERROR){throw new CLIError(e,t)}exports.b=void 0,(qe=exports.b||(exports.b={}))[qe.GENERAL_ERROR=1]="GENERAL_ERROR",qe[qe.NOT_FOUND_CHROMIUM=2]="NOT_FOUND_CHROMIUM",qe[qe.LISTEN_PORT_IS_ALREADY_USED=3]="LISTEN_PORT_IS_ALREADY_USED",qe[qe.CANNOT_SPAWN_SNAP_CHROMIUM=4]="CANNOT_SPAWN_SNAP_CHROMIUM";const Je=e=>"[object Error]"===Object.prototype.toString.call(e),Ke=Symbol("delayedEngineResolver");class Ve{static async resolve(e,t){return new Ve(await Ve.resolveModule(e,t))}static async resolveDefaultEngine(){var e;return void 0===Ve._defaultEngine&&(Ve._defaultEngine=await Ve.resolve(["@marp-team/marp-core",(e=async()=>require("@marp-team/marp-core").Marp,{[Ke]:e})])),Ve._defaultEngine}async getPackage(){return void 0===this._cachedPackage&&(this._cachedPackage=await this.resolvePackage()),this._cachedPackage}static async resolveModule(e,t){let n;for(const r of[].concat(e))if("string"==typeof r?(n=t&&p.silent(s.dirname(s.resolve(t)),r)||p.silent(process.cwd(),r),n&&"object"==typeof n&&"default"in n&&(n=n.default)):n="object"==typeof r&&r[Ke]?await r[Ke]():r,n)break;return n||We("The specified engine has not resolved."),n}constructor(e){this.klass=e}async resolvePackage(){const e=this.findClassPath(this.klass);if(!e)return null;const t=await async function({cwd:e}={}){return async function(e,t={}){const n=await async function(e,t={}){let n=s.resolve(Xe(t.cwd)||"");const{root:r}=s.parse(n),i=s.resolve(n,t.stopAt||r),o=t.limit||Number.POSITIVE_INFINITY,a=[e].flat(),u=async t=>{if("function"!=typeof e)return Ye(a,t);const n=await e(t.cwd);return"string"==typeof n?Ye([n],t):n},c=[];for(;;){const e=await u({...t,cwd:n});if(e===Ze)break;if(e&&c.push(s.resolve(n,e)),n===i||c.length>=o)break;n=s.dirname(n)}return c}(e,{...t,limit:1});return n[0]}("package.json",{cwd:e})}({cwd:s.dirname(e)});return t?require(t):null}findClassPath(e){var t;for(const n in require.cache){const r=null===(t=require.cache[n])||void 0===t?void 0:t.exports;if(r===e||r&&"object"==typeof r&&Object.values(r).includes(e))return n}}}const $e=Symbol();function et(e){const{marpit:t}=e;e.core.ruler.push("marp_cli_info",(e=>{var n;if(e.inlineMode)return;const{themeSet:r,lastGlobalDirectives:i}=t,o=i||{},s=o.theme||(r.default||{}).name,a={theme:s,author:o.marpCLIAuthor,description:o.marpCLIDescription,image:o.marpCLIImage,keywords:o.marpCLIKeywords,title:o.marpCLITitle,url:o.marpCLIURL,size:{height:r.getThemeProp(s,"heightPixel"),width:r.getThemeProp(s,"widthPixel")},length:0};for(const t of e.tokens)1===(null===(n=t.meta)||void 0===n?void 0:n.marpitSlideElement)&&(a.length+=1);t[$e]=a}))}const tt=e=>{let t;if(Array.isArray(e)?t=e:"string"==typeof e&&(t=e.split(",").map((e=>e.trim()))),t){const e=[...new Set(t.filter((e=>"string"==typeof e&&!!e))).values()];if(e.length>0)return e}};function nt({marpit:e}){Object.assign(e.customDirectives.global,{author:e=>"string"==typeof e?{marpCLIAuthor:e}:{},description:e=>"string"==typeof e?{marpCLIDescription:e}:{},image:e=>"string"==typeof e?{marpCLIImage:e}:{},keywords:e=>{const t=tt(e);return t?{marpCLIKeywords:t}:{}},title:e=>"string"==typeof e?{marpCLITitle:e}:{},url:e=>{try{e&&new l.URL(e)}catch(t){return Ce(`Specified canonical URL is ignored since invalid URL: ${e}`),{}}return{marpCLIURL:e}}})}const rt="data-marp-cli-pdf-outline",it=Symbol();function ot(e){e.core.ruler.push("marp_cli_pdf_outline",(t=>{var n,r,i;if(t.inlineMode)return;const o=[];let s=-1,a=[],u=0;for(const e of t.tokens)if("marpit_slide_open"===e.type&&null!=(null===(n=e.meta)||void 0===n?void 0:n.marpitSlide)&&(s=e.meta.marpitSlide),1===(null===(r=e.meta)||void 0===r?void 0:r.marpitSlideElement))a=[];else if(-1===(null===(i=e.meta)||void 0===i?void 0:i.marpitSlideElement))o.push({pageNumber:s+1,headings:[...a]});else if("heading_open"===e.type){const t="pdf-outline:"+u++;e.attrSet(rt,t),a.push({key:t,level:e.markup.length})}e.marpit[it]=o}))}const st=(e,t)=>{const n=e=>{if(e instanceof HTMLElement)return[e.offsetLeft,e.offsetTop];if(e instanceof SVGGraphicsElement){const t=e.getBBox();return[t.x,t.y]}},r=e=>{var t,n;let i="";if(e.nodeType===Node.ELEMENT_NODE){const n=e,o=n.getBoundingClientRect(),s=window.getComputedStyle(n);(o.width>0||o.height>0)&&"visible"===s.visibility&&(("AREA"===n.tagName||"IMG"===n.tagName||"INPUT"===n.tagName&&"image"===n.getAttribute("type"))&&(i+=null!==(t=n.getAttribute("alt"))&&void 0!==t?t:""),"BR"===n.tagName?i+="\n":(n.childNodes.forEach((e=>{i+=r(e)})),"P"===n.tagName&&(i+="\n"),s.display.startsWith("inline")||(i+="\n")))}else e.nodeType===Node.TEXT_NODE&&(i+=null!==(n=e.textContent)&&void 0!==n?n:"");return i},i=e=>{let t=e.replace(/[\t\n\r ]+/g," ");return" "===t.charAt(0)&&(t=t.slice(1))," "===t.charAt(t.length-1)&&(t=t.slice(0,-1)),t},o={};for(const s of e){const e=document.querySelector(`[${t}="${s.key}"]`);if(e){let t,a=e;for(;a&&null==a.getAttribute("data-marpit-svg");){const e=n(a);t?e&&(t[0]+=e[0],t[1]+=e[1]):t=e,a=a.parentElement}o[s.key]=t?[...t,i(r(e))]:void 0}}return o},at=new Map;at.clear(),at.set("none",{backward:{both:void 0,incoming:void 0,outgoing:void 0},forward:{both:void 0,incoming:void 0,outgoing:void 0}});const ut=e=>{if("object"!=typeof e)return!1;const t=e;return"string"==typeof t.name&&(void 0===t.duration||"string"==typeof t.duration)},ct=Symbol(),lt=/^marp-(?:(?:outgoing|incoming)-)?transition-(?:backward-)?(.+)$/,pt={clockwise:"@keyframes marp-incoming-transition-__builtin__clockwise{0%{-webkit-clip-path:polygon(50% 50%,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0);clip-path:polygon(50% 50%,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0)}12.5%{-webkit-clip-path:polygon(50% 50%,50% 0,100% 0,100% 0,100% 0,100% 0,100% 0);clip-path:polygon(50% 50%,50% 0,100% 0,100% 0,100% 0,100% 0,100% 0)}37.5%{-webkit-clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,100% 100%,100% 100%,100% 100%);clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,100% 100%,100% 100%,100% 100%)}62.5%{-webkit-clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 100%,0 100%);clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 100%,0 100%)}87.5%{-webkit-clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 0,0 0);clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 0,0 0)}to{-webkit-clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 0,50% 0);clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 0,50% 0)}}@keyframes marp-incoming-transition-backward-__builtin__clockwise{0%{-webkit-clip-path:polygon(50% 50%,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0);clip-path:polygon(50% 50%,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0)}12.5%{-webkit-clip-path:polygon(50% 50%,50% 0,0 0,0 0,0 0,0 0,0 0);clip-path:polygon(50% 50%,50% 0,0 0,0 0,0 0,0 0,0 0)}37.5%{-webkit-clip-path:polygon(50% 50%,50% 0,0 0,0 100%,0 100%,0 100%,0 100%);clip-path:polygon(50% 50%,50% 0,0 0,0 100%,0 100%,0 100%,0 100%)}62.5%{-webkit-clip-path:polygon(50% 50%,50% 0,0 0,0 100%,100% 100%,100% 100%,100% 100%);clip-path:polygon(50% 50%,50% 0,0 0,0 100%,100% 100%,100% 100%,100% 100%)}87.5%{-webkit-clip-path:polygon(50% 50%,50% 0,0 0,0 100%,100% 100%,100% 0,100% 0);clip-path:polygon(50% 50%,50% 0,0 0,0 100%,100% 100%,100% 0,100% 0)}to{-webkit-clip-path:polygon(50% 50%,50% 0,0 0,0 100%,100% 100%,100% 0,50% 0);clip-path:polygon(50% 50%,50% 0,0 0,0 100%,100% 100%,100% 0,50% 0)}}",counterclockwise:"@keyframes marp-incoming-transition-__builtin__counterclockwise{0%{-webkit-clip-path:polygon(50% 50%,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0);clip-path:polygon(50% 50%,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0)}12.5%{-webkit-clip-path:polygon(50% 50%,50% 0,0 0,0 0,0 0,0 0,0 0);clip-path:polygon(50% 50%,50% 0,0 0,0 0,0 0,0 0,0 0)}37.5%{-webkit-clip-path:polygon(50% 50%,50% 0,0 0,0 100%,0 100%,0 100%,0 100%);clip-path:polygon(50% 50%,50% 0,0 0,0 100%,0 100%,0 100%,0 100%)}62.5%{-webkit-clip-path:polygon(50% 50%,50% 0,0 0,0 100%,100% 100%,100% 100%,100% 100%);clip-path:polygon(50% 50%,50% 0,0 0,0 100%,100% 100%,100% 100%,100% 100%)}87.5%{-webkit-clip-path:polygon(50% 50%,50% 0,0 0,0 100%,100% 100%,100% 0,100% 0);clip-path:polygon(50% 50%,50% 0,0 0,0 100%,100% 100%,100% 0,100% 0)}to{-webkit-clip-path:polygon(50% 50%,50% 0,0 0,0 100%,100% 100%,100% 0,50% 0);clip-path:polygon(50% 50%,50% 0,0 0,0 100%,100% 100%,100% 0,50% 0)}}@keyframes marp-incoming-transition-backward-__builtin__counterclockwise{0%{-webkit-clip-path:polygon(50% 50%,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0);clip-path:polygon(50% 50%,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0)}12.5%{-webkit-clip-path:polygon(50% 50%,50% 0,100% 0,100% 0,100% 0,100% 0,100% 0);clip-path:polygon(50% 50%,50% 0,100% 0,100% 0,100% 0,100% 0,100% 0)}37.5%{-webkit-clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,100% 100%,100% 100%,100% 100%);clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,100% 100%,100% 100%,100% 100%)}62.5%{-webkit-clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 100%,0 100%);clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 100%,0 100%)}87.5%{-webkit-clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 0,0 0);clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 0,0 0)}to{-webkit-clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 0,50% 0);clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 0,50% 0)}}",cover:"@keyframes marp-incoming-transition-__builtin__cover{0%{animation-timing-function:ease-out;opacity:0;transform:translateX(10%)}}@keyframes marp-outgoing-transition-backward-__builtin__cover{0%{animation-timing-function:ease-out}to{opacity:0;transform:translateX(10%)}}@keyframes marp-incoming-transition-backward-__builtin__cover{0%{z-index:-1}to{z-index:-1}}",coverflow:"@keyframes marp-outgoing-transition-__builtin__coverflow{0%{animation-timing-function:ease-in-out;transform:perspective(50vw) translateX(0) rotateY(0) translateZ(0);z-index:1}to{filter:brightness(.5);transform:perspective(50vw) translateX(calc(var(--marp-transition-direction, 1)*-60vw)) rotateY(calc(var(--marp-transition-direction, 1)*70deg)) translateZ(-50vw);z-index:0}}@keyframes marp-incoming-transition-__builtin__coverflow{0%{animation-timing-function:ease-in-out;filter:brightness(.5);transform:perspective(50vw) translateX(calc(var(--marp-transition-direction, 1)*60vw)) rotateY(calc(var(--marp-transition-direction, 1)*-70deg)) translateZ(-50vw);z-index:0}to{transform:perspective(50vw) translateX(0) rotateY(0) translateZ(0);z-index:1}}",cube:"@keyframes marp-outgoing-transition-__builtin__cube{0%{animation-timing-function:ease-in-out;transform:perspective(100vw) translateZ(-50vw) rotateY(0deg) translateZ(50vw);z-index:1}to{filter:brightness(.5);transform:perspective(100vw) translateZ(-50vw) rotateY(calc(var(--marp-transition-direction, 1)*-90deg)) translateZ(50vw);z-index:0}}@keyframes marp-incoming-transition-__builtin__cube{0%{animation-timing-function:ease-in-out;filter:brightness(.5);transform:perspective(100vw) translateZ(-50vw) rotateY(calc(var(--marp-transition-direction, 1)*90deg)) translateZ(50vw);z-index:0}to{transform:perspective(100vw) translateZ(-50vw) rotateY(0deg) translateZ(50vw);z-index:1}}",cylinder:"@keyframes marp-outgoing-transition-__builtin__cylinder{0%{animation-timing-function:ease-in-out;transform:perspective(100vw) translateZ(50vw) rotateY(0deg) translateZ(-50vw)}to{filter:brightness(.5);transform:perspective(100vw) translateZ(50vw) rotateY(calc(var(--marp-transition-direction, 1)*90deg)) translateZ(-50vw)}}@keyframes marp-incoming-transition-__builtin__cylinder{0%{animation-timing-function:ease-in-out;filter:brightness(.5);transform:perspective(100vw) translateZ(50vw) rotateY(calc(var(--marp-transition-direction, 1)*-90deg)) translateZ(-50vw)}to{transform:perspective(100vw) translateZ(50vw) rotateY(0deg) translateZ(-50vw)}}",diamond:"@keyframes marp-incoming-transition-__builtin__diamond{0%{-webkit-clip-path:polygon(50% 50%,50% 50%,50% 50%,50% 50%);clip-path:polygon(50% 50%,50% 50%,50% 50%,50% 50%)}to{-webkit-clip-path:polygon(50% -50%,150% 50%,50% 150%,-50% 50%);clip-path:polygon(50% -50%,150% 50%,50% 150%,-50% 50%)}}@keyframes marp-incoming-transition-backward-__builtin__diamond{0%{z-index:-1}to{z-index:-1}}@keyframes marp-outgoing-transition-backward-__builtin__diamond{0%{-webkit-clip-path:polygon(50% -50%,150% 50%,50% 150%,-50% 50%);clip-path:polygon(50% -50%,150% 50%,50% 150%,-50% 50%)}to{-webkit-clip-path:polygon(50% 50%,50% 50%,50% 50%,50% 50%);clip-path:polygon(50% 50%,50% 50%,50% 50%,50% 50%)}}",drop:":root{--bespoke-marp-transition-drop-shadow:0 0.3vh 0.6vh rgba(0,0,0,.39),rgba(0,0,0,.3) 0 3vh 5vh,rgba(0,0,0,.22) 0 2vh 1.5vh}@keyframes marp-incoming-transition-__builtin__drop{0%{box-shadow:var(--bespoke-marp-transition-drop-shadow);transform:translateY(-100%)}35%{animation-timing-function:ease-out;transform:none}60%{animation-timing-function:ease-in;transform:translateY(-10%)}85%{animation-timing-function:ease-out;transform:none}92.5%{animation-timing-function:ease-in;box-shadow:var(--bespoke-marp-transition-drop-shadow);transform:translateY(-1%)}}@keyframes marp-outgoing-transition-__builtin__drop{35%{filter:none}to{filter:brightness(.5)}}@keyframes marp-incoming-transition-backward-__builtin__drop{0%{animation-timing-function:ease-in;filter:brightness(.5)}65%{filter:none}}@keyframes marp-outgoing-transition-backward-__builtin__drop{0%{animation-timing-function:ease-in;box-shadow:var(--bespoke-marp-transition-drop-shadow);z-index:1}to{box-shadow:var(--bespoke-marp-transition-drop-shadow);transform:translateY(-100%);z-index:1}}",explode:"@keyframes marp-incoming-transition-__builtin__explode{0%{z-index:-1}to{z-index:-1}}@keyframes marp-outgoing-transition-__builtin__explode{0%{animation-timing-function:ease-out}to{opacity:0;transform:scale(1.2)}}@keyframes marp-incoming-transition-backward-__builtin__explode{0%{animation-timing-function:ease-out;opacity:0;transform:scale(1.2)}}@keyframes marp-outgoing-transition-backward-__builtin__explode{}",fade:"@keyframes marp-outgoing-transition-__builtin__fade{0%{opacity:1}to{opacity:0}}@keyframes marp-incoming-transition-__builtin__fade{0%{mix-blend-mode:plus-lighter;opacity:0}to{mix-blend-mode:plus-lighter;opacity:1}}","fade-out":"@keyframes marp-transition-__builtin__fade-out{0%{opacity:1}50%{opacity:0}to{opacity:0}}",fall:"@keyframes marp-incoming-transition-__builtin__fall{0%{z-index:-1}to{z-index:-1}}@keyframes marp-outgoing-transition-__builtin__fall{0%{animation-timing-function:cubic-bezier(.4,0,1,.6);transform:perspective(100vmax) rotateX(0);transform-origin:50% 100%}to{filter:brightness(.75);transform:perspective(100vmax) rotateX(-90deg);transform-origin:50% 100%}}@keyframes marp-incoming-transition-backward-__builtin__fall{0%{animation-timing-function:cubic-bezier(0,.4,.6,1);filter:brightness(.75);transform:perspective(100vmax) rotateX(-90deg);transform-origin:50% 100%}to{transform:perspective(100vmax) rotateX(0);transform-origin:50% 100%}}@keyframes marp-outgoing-transition-backward-__builtin__fall{}",flip:"@keyframes marp-outgoing-transition-__builtin__flip{0%{animation-timing-function:ease-in}50%{animation-timing-function:step-start;opacity:.5;transform:perspective(800px) translateZ(-400px) rotateY(calc(var(--marp-transition-direction, 1)*-90deg))}to{opacity:0}}@keyframes marp-incoming-transition-__builtin__flip{0%{animation-timing-function:step-end;opacity:0}50%{animation-timing-function:ease-out;opacity:.5;transform:perspective(800px) translateZ(-400px) rotateY(calc(var(--marp-transition-direction, 1)*90deg))}}",glow:"@keyframes marp-outgoing-transition-__builtin__glow{50%{animation-timing-function:step-start;filter:blur(10px) contrast(0) brightness(2);opacity:1}to{opacity:0}}@keyframes marp-incoming-transition-__builtin__glow{0%{z-index:-1}to{z-index:-1}0%{filter:blur(10px) contrast(0) brightness(2)}50%{filter:blur(10px) contrast(0) brightness(2)}}",implode:"@keyframes marp-incoming-transition-__builtin__implode{0%{animation-timing-function:ease-out;opacity:0;transform:scale(1.2)}}@keyframes marp-incoming-transition-backward-__builtin__implode{0%{z-index:-1}to{z-index:-1}}@keyframes marp-outgoing-transition-backward-__builtin__implode{0%{animation-timing-function:ease-out}to{opacity:0;transform:scale(1.2)}}","in-out":"@keyframes marp-outgoing-transition-__builtin__in-out{0%{animation-timing-function:ease-out}50%{animation-timing-function:ease-out;filter:brightness(1);transform:translateX(calc(var(--marp-transition-direction, 1)*-25%)) scale(.45)}to{filter:brightness(.75);transform:translateX(calc(var(--marp-transition-direction, 1)*-25%)) scale(.45) translateX(calc(var(--marp-transition-direction, 1)*-25vw))}}@keyframes marp-incoming-transition-__builtin__in-out{0%{animation-timing-function:ease-out;filter:brightness(.75);transform:translateX(calc(var(--marp-transition-direction, 1)*25%)) scale(.45) translateX(calc(var(--marp-transition-direction, 1)*25vw));z-index:-1}50%{animation-timing-function:ease-out;filter:brightness(1);transform:translateX(calc(var(--marp-transition-direction, 1)*25%)) scale(.45)}to{z-index:0}}","iris-in":"@keyframes marp-incoming-transition-__builtin__iris-in{0%{-webkit-clip-path:circle(0);clip-path:circle(0)}to{-webkit-clip-path:circle(75vmax);clip-path:circle(75vmax)}}@keyframes marp-outgoing-transition-backward-__builtin__iris-in{0%{-webkit-clip-path:circle(75vmax);clip-path:circle(75vmax)}to{-webkit-clip-path:circle(0);clip-path:circle(0)}}@keyframes marp-incoming-transition-backward-__builtin__iris-in{0%{z-index:-1}to{z-index:-1}}","iris-out":"@keyframes marp-outgoing-transition-__builtin__iris-out{0%{-webkit-clip-path:circle(75vmax);clip-path:circle(75vmax)}to{-webkit-clip-path:circle(0);clip-path:circle(0)}}@keyframes marp-incoming-transition-__builtin__iris-out{0%{z-index:-1}to{z-index:-1}}@keyframes marp-incoming-transition-backward-__builtin__iris-out{0%{-webkit-clip-path:circle(0);clip-path:circle(0)}to{-webkit-clip-path:circle(75vmax);clip-path:circle(75vmax)}}@keyframes marp-outgoing-transition-backward-__builtin__iris-out{}",melt:"@keyframes marp-incoming-transition-__builtin__melt{0%{-webkit-clip-path:polygon(100% -50%,0 -50%,0 0,1.56% -.29%,3.13% -1.22%,4.69% -2.51%,6.25% -3.65%,7.81% -4.44%,9.38% -4.94%,10.94% -5.19%,12.5% -5.28%,12.5% -5.28%,14.06% -5.19%,15.63% -4.92%,17.19% -4.31%,18.75% -3.22%,20.31% -1.78%,21.88% -.67%,23.44% -.14%,25% 0,25% 0,26.56% -.32%,28.13% -1.4%,29.69% -3.46%,31.25% -6.39%,32.81% -9.32%,34.38% -11.38%,35.94% -12.46%,37.5% -12.78%,37.5% -12.78%,39.06% -12.47%,40.63% -11.5%,42.19% -9.76%,43.75% -7.32%,45.31% -4.53%,46.88% -2.07%,48.44% -.5%,50% 0,50% 0,51.56% -.67%,53.13% -3.18%,54.69% -7.19%,56.25% -10.49%,57.81% -12.53%,59.38% -13.69%,60.94% -14.28%,62.5% -14.44%,62.5% -14.44%,64.06% -14.28%,65.63% -13.69%,67.19% -12.51%,68.75% -10.43%,70.31% -7.04%,71.88% -3.03%,73.44% -.61%,75% 0,75% 0,76.56% -.14%,78.13% -.62%,79.69% -1.42%,81.25% -2.28%,82.81% -2.93%,84.38% -3.33%,85.94% -3.56%,87.5% -3.61%,87.5% -3.61%,89.06% -3.56%,90.63% -3.37%,92.19% -3.06%,93.75% -2.61%,95.31% -2.01%,96.88% -1.29%,98.44% -.51%,100% 0);clip-path:polygon(100% -50%,0 -50%,0 0,1.56% -.29%,3.13% -1.22%,4.69% -2.51%,6.25% -3.65%,7.81% -4.44%,9.38% -4.94%,10.94% -5.19%,12.5% -5.28%,12.5% -5.28%,14.06% -5.19%,15.63% -4.92%,17.19% -4.31%,18.75% -3.22%,20.31% -1.78%,21.88% -.67%,23.44% -.14%,25% 0,25% 0,26.56% -.32%,28.13% -1.4%,29.69% -3.46%,31.25% -6.39%,32.81% -9.32%,34.38% -11.38%,35.94% -12.46%,37.5% -12.78%,37.5% -12.78%,39.06% -12.47%,40.63% -11.5%,42.19% -9.76%,43.75% -7.32%,45.31% -4.53%,46.88% -2.07%,48.44% -.5%,50% 0,50% 0,51.56% -.67%,53.13% -3.18%,54.69% -7.19%,56.25% -10.49%,57.81% -12.53%,59.38% -13.69%,60.94% -14.28%,62.5% -14.44%,62.5% -14.44%,64.06% -14.28%,65.63% -13.69%,67.19% -12.51%,68.75% -10.43%,70.31% -7.04%,71.88% -3.03%,73.44% -.61%,75% 0,75% 0,76.56% -.14%,78.13% -.62%,79.69% -1.42%,81.25% -2.28%,82.81% -2.93%,84.38% -3.33%,85.94% -3.56%,87.5% -3.61%,87.5% -3.61%,89.06% -3.56%,90.63% -3.37%,92.19% -3.06%,93.75% -2.61%,95.31% -2.01%,96.88% -1.29%,98.44% -.51%,100% 0);opacity:.8}30%{animation-timing-function:ease-out;opacity:1}to{-webkit-clip-path:polygon(100% -50%,0 -50%,0 100%,1.56% 104.1%,3.13% 117.13%,4.69% 135.17%,6.25% 151.1%,7.81% 162.29%,9.38% 169.21%,10.94% 172.82%,12.5% 173.89%,12.5% 173.89%,14.06% 173.05%,15.63% 170.01%,17.19% 163.62%,18.75% 152.2%,20.31% 136.8%,21.88% 125.05%,23.44% 119.5%,25% 118.06%,25% 118.06%,26.56% 118.32%,28.13% 119.24%,29.69% 120.99%,31.25% 123.47%,32.81% 125.95%,34.38% 127.7%,35.94% 128.62%,37.5% 128.89%,37.5% 128.89%,39.06% 128.31%,40.63% 126.43%,42.19% 123.07%,43.75% 118.33%,45.31% 112.93%,46.88% 108.16%,48.44% 105.14%,50% 104.17%,50% 104.17%,51.56% 106.55%,53.13% 115.67%,54.69% 130.19%,56.25% 142.09%,57.81% 149.48%,59.38% 153.69%,60.94% 155.79%,62.5% 156.39%,62.5% 156.39%,64.06% 156.07%,65.63% 154.98%,67.19% 152.75%,68.75% 148.82%,70.31% 142.45%,71.88% 134.87%,73.44% 130.33%,75% 129.17%,75% 129.17%,76.56% 133.7%,78.13% 149.12%,79.69% 174.71%,81.25% 202.03%,82.81% 222.99%,84.38% 236.17%,85.94% 243%,87.5% 245%,87.5% 245%,89.06% 242.66%,90.63% 235.41%,92.19% 222.89%,93.75% 204.82%,95.31% 181.05%,96.88% 152.08%,98.44% 120.6%,100% 100%);clip-path:polygon(100% -50%,0 -50%,0 100%,1.56% 104.1%,3.13% 117.13%,4.69% 135.17%,6.25% 151.1%,7.81% 162.29%,9.38% 169.21%,10.94% 172.82%,12.5% 173.89%,12.5% 173.89%,14.06% 173.05%,15.63% 170.01%,17.19% 163.62%,18.75% 152.2%,20.31% 136.8%,21.88% 125.05%,23.44% 119.5%,25% 118.06%,25% 118.06%,26.56% 118.32%,28.13% 119.24%,29.69% 120.99%,31.25% 123.47%,32.81% 125.95%,34.38% 127.7%,35.94% 128.62%,37.5% 128.89%,37.5% 128.89%,39.06% 128.31%,40.63% 126.43%,42.19% 123.07%,43.75% 118.33%,45.31% 112.93%,46.88% 108.16%,48.44% 105.14%,50% 104.17%,50% 104.17%,51.56% 106.55%,53.13% 115.67%,54.69% 130.19%,56.25% 142.09%,57.81% 149.48%,59.38% 153.69%,60.94% 155.79%,62.5% 156.39%,62.5% 156.39%,64.06% 156.07%,65.63% 154.98%,67.19% 152.75%,68.75% 148.82%,70.31% 142.45%,71.88% 134.87%,73.44% 130.33%,75% 129.17%,75% 129.17%,76.56% 133.7%,78.13% 149.12%,79.69% 174.71%,81.25% 202.03%,82.81% 222.99%,84.38% 236.17%,85.94% 243%,87.5% 245%,87.5% 245%,89.06% 242.66%,90.63% 235.41%,92.19% 222.89%,93.75% 204.82%,95.31% 181.05%,96.88% 152.08%,98.44% 120.6%,100% 100%)}}@keyframes marp-incoming-transition-backward-__builtin__melt{0%{-webkit-clip-path:polygon(100% 150%,0 150%,0 100%,1.56% 100.29%,3.13% 101.22%,4.69% 102.51%,6.25% 103.65%,7.81% 104.44%,9.38% 104.94%,10.94% 105.19%,12.5% 105.28%,12.5% 105.28%,14.06% 105.19%,15.63% 104.92%,17.19% 104.31%,18.75% 103.22%,20.31% 101.78%,21.88% 100.67%,23.44% 100.14%,25% 100%,25% 100%,26.56% 100.32%,28.13% 101.4%,29.69% 103.46%,31.25% 106.39%,32.81% 109.32%,34.38% 111.38%,35.94% 112.46%,37.5% 112.78%,37.5% 112.78%,39.06% 112.47%,40.63% 111.5%,42.19% 109.76%,43.75% 107.32%,45.31% 104.53%,46.88% 102.07%,48.44% 100.5%,50% 100%,50% 100%,51.56% 100.67%,53.13% 103.18%,54.69% 107.19%,56.25% 110.49%,57.81% 112.53%,59.38% 113.69%,60.94% 114.28%,62.5% 114.44%,62.5% 114.44%,64.06% 114.28%,65.63% 113.69%,67.19% 112.51%,68.75% 110.43%,70.31% 107.04%,71.88% 103.03%,73.44% 100.61%,75% 100%,75% 100%,76.56% 100.14%,78.13% 100.63%,79.69% 101.42%,81.25% 102.28%,82.81% 102.93%,84.38% 103.33%,85.94% 103.56%,87.5% 103.61%,87.5% 103.61%,89.06% 103.56%,90.63% 103.38%,92.19% 103.06%,93.75% 102.61%,95.31% 102.01%,96.88% 101.29%,98.44% 100.51%,100% 100%);clip-path:polygon(100% 150%,0 150%,0 100%,1.56% 100.29%,3.13% 101.22%,4.69% 102.51%,6.25% 103.65%,7.81% 104.44%,9.38% 104.94%,10.94% 105.19%,12.5% 105.28%,12.5% 105.28%,14.06% 105.19%,15.63% 104.92%,17.19% 104.31%,18.75% 103.22%,20.31% 101.78%,21.88% 100.67%,23.44% 100.14%,25% 100%,25% 100%,26.56% 100.32%,28.13% 101.4%,29.69% 103.46%,31.25% 106.39%,32.81% 109.32%,34.38% 111.38%,35.94% 112.46%,37.5% 112.78%,37.5% 112.78%,39.06% 112.47%,40.63% 111.5%,42.19% 109.76%,43.75% 107.32%,45.31% 104.53%,46.88% 102.07%,48.44% 100.5%,50% 100%,50% 100%,51.56% 100.67%,53.13% 103.18%,54.69% 107.19%,56.25% 110.49%,57.81% 112.53%,59.38% 113.69%,60.94% 114.28%,62.5% 114.44%,62.5% 114.44%,64.06% 114.28%,65.63% 113.69%,67.19% 112.51%,68.75% 110.43%,70.31% 107.04%,71.88% 103.03%,73.44% 100.61%,75% 100%,75% 100%,76.56% 100.14%,78.13% 100.63%,79.69% 101.42%,81.25% 102.28%,82.81% 102.93%,84.38% 103.33%,85.94% 103.56%,87.5% 103.61%,87.5% 103.61%,89.06% 103.56%,90.63% 103.38%,92.19% 103.06%,93.75% 102.61%,95.31% 102.01%,96.88% 101.29%,98.44% 100.51%,100% 100%);opacity:.8}30%{animation-timing-function:ease-out;opacity:1}to{-webkit-clip-path:polygon(100% 150%,0 150%,0 0,1.56% -4.1%,3.13% -17.13%,4.69% -35.17%,6.25% -51.1%,7.81% -62.29%,9.38% -69.21%,10.94% -72.82%,12.5% -73.89%,12.5% -73.89%,14.06% -73.05%,15.63% -70.01%,17.19% -63.62%,18.75% -52.2%,20.31% -36.8%,21.88% -25.05%,23.44% -19.5%,25% -18.06%,25% -18.06%,26.56% -18.32%,28.13% -19.24%,29.69% -20.99%,31.25% -23.47%,32.81% -25.95%,34.38% -27.7%,35.94% -28.62%,37.5% -28.89%,37.5% -28.89%,39.06% -28.31%,40.63% -26.43%,42.19% -23.07%,43.75% -18.33%,45.31% -12.93%,46.88% -8.16%,48.44% -5.14%,50% -4.17%,50% -4.17%,51.56% -6.55%,53.13% -15.67%,54.69% -30.19%,56.25% -42.09%,57.81% -49.48%,59.38% -53.69%,60.94% -55.79%,62.5% -56.39%,62.5% -56.39%,64.06% -56.07%,65.63% -54.98%,67.19% -52.75%,68.75% -48.82%,70.31% -42.45%,71.88% -34.87%,73.44% -30.33%,75% -29.17%,75% -29.17%,76.56% -33.7%,78.13% -49.12%,79.69% -74.71%,81.25% -102.03%,82.81% -122.99%,84.38% -136.17%,85.94% -143%,87.5% -145%,87.5% -145%,89.06% -142.66%,90.63% -135.41%,92.19% -122.89%,93.75% -104.82%,95.31% -81.05%,96.88% -52.08%,98.44% -20.6%,100% 0);clip-path:polygon(100% 150%,0 150%,0 0,1.56% -4.1%,3.13% -17.13%,4.69% -35.17%,6.25% -51.1%,7.81% -62.29%,9.38% -69.21%,10.94% -72.82%,12.5% -73.89%,12.5% -73.89%,14.06% -73.05%,15.63% -70.01%,17.19% -63.62%,18.75% -52.2%,20.31% -36.8%,21.88% -25.05%,23.44% -19.5%,25% -18.06%,25% -18.06%,26.56% -18.32%,28.13% -19.24%,29.69% -20.99%,31.25% -23.47%,32.81% -25.95%,34.38% -27.7%,35.94% -28.62%,37.5% -28.89%,37.5% -28.89%,39.06% -28.31%,40.63% -26.43%,42.19% -23.07%,43.75% -18.33%,45.31% -12.93%,46.88% -8.16%,48.44% -5.14%,50% -4.17%,50% -4.17%,51.56% -6.55%,53.13% -15.67%,54.69% -30.19%,56.25% -42.09%,57.81% -49.48%,59.38% -53.69%,60.94% -55.79%,62.5% -56.39%,62.5% -56.39%,64.06% -56.07%,65.63% -54.98%,67.19% -52.75%,68.75% -48.82%,70.31% -42.45%,71.88% -34.87%,73.44% -30.33%,75% -29.17%,75% -29.17%,76.56% -33.7%,78.13% -49.12%,79.69% -74.71%,81.25% -102.03%,82.81% -122.99%,84.38% -136.17%,85.94% -143%,87.5% -145%,87.5% -145%,89.06% -142.66%,90.63% -135.41%,92.19% -122.89%,93.75% -104.82%,95.31% -81.05%,96.88% -52.08%,98.44% -20.6%,100% 0)}}",overlap:"@keyframes marp-outgoing-transition-__builtin__overlap{50%{filter:contrast(1)}to{filter:contrast(0)}}@keyframes marp-incoming-transition-__builtin__overlap{0%{mix-blend-mode:overlay;opacity:0}50%{opacity:1}to{mix-blend-mode:overlay}}",pivot:"@keyframes marp-incoming-transition-__builtin__pivot{0%{animation-timing-function:ease-out;transform:rotate(-90deg);transform-origin:left top}to{transform-origin:left top}}@keyframes marp-incoming-transition-backward-__builtin__pivot{0%{z-index:-1}to{z-index:-1}}@keyframes marp-outgoing-transition-backward-__builtin__pivot{0%{animation-timing-function:ease-in;transform-origin:left top}to{transform:rotate(-90deg);transform-origin:left top}}",pull:"@keyframes marp-outgoing-transition-__builtin__pull{0%{animation-timing-function:ease-out}to{transform:translateX(-100%)}}@keyframes marp-incoming-transition-__builtin__pull{0%{z-index:-1}to{z-index:-1}}@keyframes marp-incoming-transition-backward-__builtin__pull{0%{animation-timing-function:ease-out;transform:translateX(-100%)}}@keyframes marp-outgoing-transition-backward-__builtin__pull{}",push:"@keyframes marp-incoming-transition-__builtin__push{0%{animation-timing-function:ease-out;transform:translateX(100%)}}@keyframes marp-outgoing-transition-backward-__builtin__push{0%{animation-timing-function:ease-out}to{transform:translateX(100%)}}@keyframes marp-incoming-transition-backward-__builtin__push{0%{z-index:-1}to{z-index:-1}}",reveal:"@keyframes marp-outgoing-transition-__builtin__reveal{0%{animation-timing-function:ease-out}to{opacity:0;transform:translateX(-10%)}}@keyframes marp-incoming-transition-__builtin__reveal{0%{z-index:-1}to{z-index:-1}}@keyframes marp-outgoing-transition-backward-__builtin__reveal{}@keyframes marp-incoming-transition-backward-__builtin__reveal{0%{animation-timing-function:ease-out;opacity:0;transform:translateX(-10%)}}",rotate:"@keyframes marp-outgoing-transition-__builtin__rotate{0%{animation-timing-function:ease-in-out;transform:perspective(100vw) translateZ(-40vw) rotateY(0deg) translateZ(40vw);z-index:1}to{opacity:0;transform:perspective(100vw) translateZ(-40vw) rotateY(calc(var(--marp-transition-direction, 1)*-180deg)) translateZ(40vw) rotateY(calc(var(--marp-transition-direction, 1)*180deg));z-index:0}}@keyframes marp-incoming-transition-__builtin__rotate{0%{animation-timing-function:ease-in-out;opacity:0;transform:perspective(100vw) translateZ(-40vw) rotateY(calc(var(--marp-transition-direction, 1)*180deg)) translateZ(40vw) rotateY(calc(var(--marp-transition-direction, 1)*-180deg));z-index:0}to{transform:perspective(100vw) translateZ(-40vw) rotateY(0deg) translateZ(40vw);z-index:1}}",slide:"@keyframes marp-incoming-transition-__builtin__slide{0%{animation-timing-function:ease-in-out;transform:translateX(calc(var(--marp-transition-direction, 1)*100vw))}to{animation-timing-function:ease-in-out}}@keyframes marp-outgoing-transition-__builtin__slide{0%{animation-timing-function:ease-in-out}to{animation-timing-function:ease-in-out;transform:translateX(calc(var(--marp-transition-direction, 1)*-100vw))}}",star:':root{--bespoke-marp-transition-star-mask:url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%20951.1%22%3E%3Cpath%20d%3D%22m500%200%20118%20363.3h382L691%20587.8l118%20363.3-309-224.6-309%20224.6%20118-363.3L0%20363.3h382L500%200z%22%2F%3E%3C%2Fsvg%3E")}@keyframes marp-incoming-transition-__builtin__star{0%{-webkit-mask-image:var(--bespoke-marp-transition-star-mask);mask-image:var(--bespoke-marp-transition-star-mask);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:0 0;mask-size:0 0}to{-webkit-mask-image:var(--bespoke-marp-transition-star-mask);mask-image:var(--bespoke-marp-transition-star-mask);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:270vmax 270vmax;mask-size:270vmax 270vmax}}@keyframes marp-outgoing-transition-backward-__builtin__star{0%{-webkit-mask-image:var(--bespoke-marp-transition-star-mask);mask-image:var(--bespoke-marp-transition-star-mask);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:270vmax 270vmax;mask-size:270vmax 270vmax}to{-webkit-mask-image:var(--bespoke-marp-transition-star-mask);mask-image:var(--bespoke-marp-transition-star-mask);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:0 0;mask-size:0 0}}@keyframes marp-incoming-transition-backward-__builtin__star{0%{z-index:-1}to{z-index:-1}}',swap:"@keyframes marp-outgoing-transition-__builtin__swap{0%{animation-timing-function:ease-in-out;transform-origin:calc(var(--marp-transition-direction, 1)*50% + 50%) calc(var(--marp-transition-direction, 1)*50% + 50%);z-index:1}50%{animation-timing-function:ease-in-out;transform:translateY(calc(var(--marp-transition-direction, 1)*-50%)) rotate(5deg)}to{filter:brightness(.5);transform-origin:calc(var(--marp-transition-direction, 1)*50% + 50%) calc(var(--marp-transition-direction, 1)*50% + 50%);z-index:0}}@keyframes marp-incoming-transition-__builtin__swap{0%{animation-timing-function:ease-in-out;filter:brightness(.75);transform-origin:calc(var(--marp-transition-direction, 1)*-50% + 50%) calc(var(--marp-transition-direction, 1)*-50% + 50%)}50%{animation-timing-function:ease-in-out;transform:translateY(calc(var(--marp-transition-direction, 1)*50%)) rotate(5deg)}to{transform-origin:calc(var(--marp-transition-direction, 1)*-50% + 50%) calc(var(--marp-transition-direction, 1)*-50% + 50%)}}",swipe:"@keyframes marp-outgoing-transition-__builtin__swipe{0%{animation-timing-function:ease-in;box-shadow:6px 6px 10px 6px rgba(0,0,0,.25);transform-origin:100% 100%;z-index:1}to{box-shadow:6px 6px 10px 6px rgba(0,0,0,.25);transform:translate(calc(-100vw - 30px),-30vh) rotate(-30deg);transform-origin:100% 100%;z-index:1}}@keyframes marp-incoming-transition-__builtin__swipe{0%{animation-timing-function:ease-in-out;filter:brightness(.5);transform:scale(.95)}to{filter:none;transform:scale(1)}}@keyframes marp-outgoing-transition-backward-__builtin__swipe{0%{animation-timing-function:ease-in-out}to{filter:brightness(.5);transform:scale(.95)}}@keyframes marp-incoming-transition-backward-__builtin__swipe{0%{animation-timing-function:ease-out;box-shadow:6px 6px 10px 6px rgba(0,0,0,.25);transform:translate(calc(-100vw - 30px),30vh) rotate(30deg);transform-origin:100% 0;z-index:1}to{box-shadow:6px 6px 10px 6px rgba(0,0,0,.25);transform-origin:100% 0;z-index:1}}",swoosh:"@keyframes marp-incoming-transition-__builtin__swoosh{0%{transform:translate(-10vw) scale(0) perspective(100vw) translate3d(100vw,-100vh,-100vw) rotateX(90deg) rotate(90deg)}to{transform:translate(0) scale(1) perspective(100vw)}}@keyframes marp-incoming-transition-backward-__builtin__swoosh{0%{z-index:-1}to{z-index:-1}}@keyframes marp-outgoing-transition-backward-__builtin__swoosh{0%{transform:translate(0) scale(1) perspective(100vw)}to{transform:translate(-10vw) scale(0) perspective(100vw) translate3d(100vw,-100vh,-100vw) rotateX(90deg) rotate(90deg)}}",wipe:"@keyframes marp-incoming-transition-__builtin__wipe{0%{-webkit-mask-image:linear-gradient(90deg,transparent 100vw,#000 110vw,#000);mask-image:linear-gradient(90deg,transparent 100vw,#000 110vw,#000);-webkit-mask-position:left top;mask-position:left top;-webkit-mask-size:210vw 100vh;mask-size:210vw 100vh}to{-webkit-mask-image:linear-gradient(90deg,transparent 100vw,#000 110vw,#000);mask-image:linear-gradient(90deg,transparent 100vw,#000 110vw,#000);-webkit-mask-position:right top;mask-position:right top;-webkit-mask-size:210vw 100vh;mask-size:210vw 100vh}}@keyframes marp-incoming-transition-backward-__builtin__wipe{0%{-webkit-mask-image:linear-gradient(270deg,transparent 100vw,#000 110vw,#000);mask-image:linear-gradient(270deg,transparent 100vw,#000 110vw,#000);-webkit-mask-position:right top;mask-position:right top;-webkit-mask-size:210vw 100vh;mask-size:210vw 100vh}to{-webkit-mask-image:linear-gradient(270deg,transparent 100vw,#000 110vw,#000);mask-image:linear-gradient(270deg,transparent 100vw,#000 110vw,#000);-webkit-mask-position:left top;mask-position:left top;-webkit-mask-size:210vw 100vh;mask-size:210vw 100vh}}",wiper:"@keyframes marp-incoming-transition-__builtin__wiper{0%{animation-timing-function:ease-in;-webkit-clip-path:polygon(50% 100%,0 100%,0 100%,0 100%,0 100%);clip-path:polygon(50% 100%,0 100%,0 100%,0 100%,0 100%)}33%{animation-timing-function:linear;-webkit-clip-path:polygon(50% 100%,0 100%,0 0,0 0,0 0);clip-path:polygon(50% 100%,0 100%,0 0,0 0,0 0)}66%{animation-timing-function:ease-out;-webkit-clip-path:polygon(50% 100%,0 100%,0 0,100% 0,100% 0);clip-path:polygon(50% 100%,0 100%,0 0,100% 0,100% 0)}to{-webkit-clip-path:polygon(50% 100%,0 100%,0 0,100% 0,100% 100%);clip-path:polygon(50% 100%,0 100%,0 0,100% 0,100% 100%)}}@keyframes marp-incoming-transition-backward-__builtin__wiper{0%{animation-timing-function:ease-in;-webkit-clip-path:polygon(50% 100%,100% 100%,100% 100%,100% 100%,100% 100%);clip-path:polygon(50% 100%,100% 100%,100% 100%,100% 100%,100% 100%)}33%{animation-timing-function:linear;-webkit-clip-path:polygon(50% 100%,100% 100%,100% 0,100% 0,100% 0);clip-path:polygon(50% 100%,100% 100%,100% 0,100% 0,100% 0)}66%{animation-timing-function:ease-out;-webkit-clip-path:polygon(50% 100%,100% 100%,100% 0,0 0,0 0);clip-path:polygon(50% 100%,100% 100%,100% 0,0 0,0 0)}to{-webkit-clip-path:polygon(50% 100%,100% 100%,100% 0,0 0,0 100%);clip-path:polygon(50% 100%,100% 100%,100% 0,0 0,0 100%)}}",zoom:"@keyframes marp-incoming-transition-__builtin__zoom{0%{animation-timing-function:ease-out;opacity:0;transform:scale(0)}}@keyframes marp-incoming-transition-backward-__builtin__zoom{0%{z-index:-1}to{z-index:-1}}@keyframes marp-outgoing-transition-backward-__builtin__zoom{0%{animation-timing-function:ease-in}to{opacity:0;transform:scale(0)}}",none:!1};function At(e){const{marpit:t}=e;t.customDirectives.local.transition=e=>{if("string"==typeof e){const[t,n]=e.trim().split(/\s+/),r={name:t,duration:n};if(ut(r))return{transition:r}}return{}},e.core.ruler.after("marpit_directives_apply","marp_cli_transition",(e=>{var n;if(e.inlineMode)return!1;const r=new Map;let i;for(const t of e.tokens){const{marpitDirectives:e,marpitStyleScoped:o}=t.meta||{};if("marpit_slide_open"===t.type&&i&&(t.attrSet("data-transition-back",i),i=void 0),"object"==typeof(null==e?void 0:e.transition)){const s={...e.transition};if(ut(s)){pt[s.name]&&(r.set(s.name,pt[s.name]),s.builtinFallback=!0);const e=null==o?void 0:o.key;if(e){const t=null==o?void 0:o.keyframeSet;for(const r of null!==(n=null==t?void 0:t.values())&&void 0!==n?n:[]){const t=r.match(lt);if(t&&s.name===t[1]){s.name=`${s.name}-${e}`,s.builtinFallback=!1;break}}}const a=JSON.stringify(s);t.attrSet("data-transition",a),i=a}}}const o={builtinTransitionStyle:[...r.values()].join("")};return t[ct]=o,!0}))}const{stdin:ft}=process;async function Dt(){let e="";if(ft.isTTY)return e;ft.setEncoding("utf8");for await(const t of ft)e+=t;return e}Dt.buffer=async()=>{const e=[];let t=0;if(ft.isTTY)return Buffer.concat([]);for await(const n of ft)e.push(n),t+=n.length;return Buffer.concat(e,t)};const dt=A.PassThrough,gt=Array.prototype.slice;function ht(e,t){if(Array.isArray(e))for(let n=0,r=e.length;n[].concat(e,t)),[])},bt.splitWhen=function(e,t){const n=[[]];let r=0;for(const i of e)t(i)?(r++,n[r]=[]):n[r].push(i);return n};var yt={};Object.defineProperty(yt,"__esModule",{value:!0}),yt.isEnoentCodeError=void 0,yt.isEnoentCodeError=function(e){return"ENOENT"===e.code};var wt={};Object.defineProperty(wt,"__esModule",{value:!0}),wt.createDirentFromStats=void 0;wt.createDirentFromStats=function(e,t){return new class{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}(e,t)};var Ct={};Object.defineProperty(Ct,"__esModule",{value:!0}),Ct.removeLeadingDotSegment=Ct.escape=Ct.makeAbsolute=Ct.unixify=void 0;const Et=s,Ft=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;Ct.unixify=function(e){return e.replace(/\\/g,"/")},Ct.makeAbsolute=function(e,t){return Et.resolve(e,t)},Ct.escape=function(e){return e.replace(Ft,"\\$2")},Ct.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){const t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(2)}return e};var kt={},_t={"{":"}","(":")","[":"]"},Bt=function(e){if("!"===e[0])return!0;for(var t=0,n=-2,r=-2,i=-2,o=-2,s=-2;tt)){if(-1===s||s>r)return!0;if(-1===(s=e.indexOf("\\",t))||s>r)return!0}if(-1!==i&&"{"===e[t]&&"}"!==e[t+1]&&(i=e.indexOf("}",t))>t&&(-1===(s=e.indexOf("\\",t))||s>i))return!0;if(-1!==o&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(o=e.indexOf(")",t))>t&&(-1===(s=e.indexOf("\\",t))||s>o))return!0;if(-1!==n&&"("===e[t]&&"|"!==e[t+1]&&(nn&&(-1===(s=e.indexOf("\\",n))||s>o)))return!0;if("\\"===e[t]){var a=e[t+1];t+=2;var u=_t[a];if(u){var c=e.indexOf(u,t);-1!==c&&(t=c+1)}if("!"===e[t])return!0}else t++}return!1},Pt=function(e){if("!"===e[0])return!0;for(var t=0;t * * Copyright (c) 2014-2016, Jon Schlinkert. * Licensed under the MIT License. */!function(e){e.isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),e.find=(e,t)=>e.nodes.find((e=>e.type===t)),e.exceedsLimit=(t,n,r=1,i)=>!1!==i&&!(!e.isInteger(t)||!e.isInteger(n))&&(Number(n)-Number(t))/Number(r)>=i,e.escapeNode=(e,t=0,n)=>{let r=e.nodes[t];r&&(n&&r.type===n||"open"===r.type||"close"===r.type)&&!0!==r.escaped&&(r.value="\\"+r.value,r.escaped=!0)},e.encloseBrace=e=>"brace"===e.type&&e.commas>>0+e.ranges>>0==0&&(e.invalid=!0,!0),e.isInvalidBrace=e=>!("brace"!==e.type||!0!==e.invalid&&!e.dollar&&(e.commas>>0+e.ranges>>0!=0&&!0===e.open&&!0===e.close||(e.invalid=!0,0))),e.isOpenOrClose=e=>"open"===e.type||"close"===e.type||!0===e.open||!0===e.close,e.reduce=e=>e.reduce(((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e)),[]),e.flatten=(...e)=>{const t=[],n=e=>{for(let r=0;r{let n=(e,r={})=>{let i=t.escapeInvalid&&Nt.isInvalidBrace(r),o=!0===e.invalid&&!0===t.escapeInvalid,s="";if(e.value)return(i||o)&&Nt.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(let t of e.nodes)s+=n(t);return s};return n(e)}; /*! * is-number * * Copyright (c) 2014-present, Jon Schlinkert. * Released under the MIT License. */ /*! * to-regex-range * * Copyright (c) 2015-present, Jon Schlinkert. * Released under the MIT License. */ const jt=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))},Qt=(e,t,n)=>{if(!1===jt(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===jt(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let r={relaxZeros:!0,...n};"boolean"==typeof r.strictZeros&&(r.relaxZeros=!1===r.strictZeros);let i=e+":"+t+"="+String(r.relaxZeros)+String(r.shorthand)+String(r.capture)+String(r.wrap);if(Qt.cache.hasOwnProperty(i))return Qt.cache[i].result;let o=Math.min(e,t),s=Math.max(e,t);if(1===Math.abs(o-s)){let n=e+"|"+t;return r.capture?`(${n})`:!1===r.wrap?n:`(?:${n})`}let a=Jt(e)||Jt(t),u={min:e,max:t,a:o,b:s},c=[],l=[];return a&&(u.isPadded=a,u.maxLen=String(u.max).length),o<0&&(l=Ut(s<0?Math.abs(s):1,Math.abs(o),u,r),o=u.a=0),s>=0&&(c=Ut(o,s,u,r)),u.negatives=l,u.positives=c,u.result=function(e,t,n){let r=Gt(e,t,"-",!1)||[],i=Gt(t,e,"",!1)||[],o=Gt(e,t,"-?",!0)||[];return r.concat(o).concat(i).join("|")}(l,c),!0===r.capture?u.result=`(${u.result})`:!1!==r.wrap&&c.length+l.length>1&&(u.result=`(?:${u.result})`),Qt.cache[i]=u,u.result};function zt(e,t,n){if(e===t)return{pattern:e,count:[],digits:0};let r=function(e,t){let n=[];for(let r=0;r1&&i.count.pop(),i.count.push(u.count[0]),i.string=i.pattern+Wt(i.count),a=t+1)}return s}function Gt(e,t,n,r,i){let o=[];for(let i of e){let{string:e}=i;r||Xt(t,"string",e)||o.push(n+e),r&&Xt(t,"string",e)&&o.push(n+e)}return o}function Yt(e,t){return e>t?1:t>e?-1:0}function Xt(e,t,n){return e.some((e=>e[t]===n))}function Zt(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function qt(e,t){return e-e%Math.pow(10,t)}function Wt(e){let[t=0,n=""]=e;return n||t>1?`{${t+(n?","+n:"")}}`:""}function Jt(e){return/^-?(0+)\d/.test(e)}function Kt(e,t,n){if(!t.isPadded)return e;let r=Math.abs(t.maxLen-String(e).length),i=!1!==n.relaxZeros;switch(r){case 0:return"";case 1:return i?"0?":"0";case 2:return i?"0{0,2}":"00";default:return i?`0{0,${r}}`:`0{${r}}`}}Qt.cache={},Qt.clearCache=()=>Qt.cache={}; /*! * fill-range * * Copyright (c) 2014-present, Jon Schlinkert. * Licensed under the MIT License. */ const Vt=u,$t=Qt,en=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),tn=e=>"number"==typeof e||"string"==typeof e&&""!==e,nn=e=>Number.isInteger(+e),rn=e=>{let t=`${e}`,n=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++n];);return n>0},on=(e,t,n)=>{if(t>0){let n="-"===e[0]?"-":"";n&&(e=e.slice(1)),e=n+e.padStart(n?t-1:t,"0")}return!1===n?String(e):e},sn=(e,t)=>{let n="-"===e[0]?"-":"";for(n&&(e=e.slice(1),t--);e.length{if(n)return $t(e,t,{wrap:!1,...r});let i=String.fromCharCode(e);return e===t?i:`[${i}-${String.fromCharCode(t)}]`},un=(e,t,n)=>{if(Array.isArray(e)){let t=!0===n.wrap,r=n.capture?"":"?:";return t?`(${r}${e.join("|")})`:e.join("|")}return $t(e,t,n)},cn=(...e)=>new RangeError("Invalid range arguments: "+Vt.inspect(...e)),ln=(e,t,n)=>{if(!0===n.strictRanges)throw cn([e,t]);return[]},pn=(e,t,n,r={})=>{if(null==t&&tn(e))return[e];if(!tn(e)||!tn(t))return ln(e,t,r);if("function"==typeof n)return pn(e,t,1,{transform:n});if(en(n))return pn(e,t,0,n);let i={...r};return!0===i.capture&&(i.wrap=!0),n=n||i.step||1,nn(n)?nn(e)&&nn(t)?((e,t,n=1,r={})=>{let i=Number(e),o=Number(t);if(!Number.isInteger(i)||!Number.isInteger(o)){if(!0===r.strictRanges)throw cn([e,t]);return[]}0===i&&(i=0),0===o&&(o=0);let s=i>o,a=String(e),u=String(t),c=String(n);n=Math.max(Math.abs(n),1);let l=rn(a)||rn(u)||rn(c),p=l?Math.max(a.length,u.length,c.length):0,A=!1===l&&!1===((e,t,n)=>"string"==typeof e||"string"==typeof t||!0===n.stringify)(e,t,r),f=r.transform||(e=>t=>!0===e?Number(t):String(t))(A);if(r.toRegex&&1===n)return an(sn(e,p),sn(t,p),!0,r);let D={negatives:[],positives:[]},d=[],g=0;for(;s?i>=o:i<=o;)!0===r.toRegex&&n>1?D[(h=i)<0?"negatives":"positives"].push(Math.abs(h)):d.push(on(f(i,g),p,A)),i=s?i-n:i+n,g++;var h;return!0===r.toRegex?n>1?((e,t)=>{e.negatives.sort(((e,t)=>et?1:0)),e.positives.sort(((e,t)=>et?1:0));let n,r=t.capture?"":"?:",i="",o="";return e.positives.length&&(i=e.positives.join("|")),e.negatives.length&&(o=`-(${r}${e.negatives.join("|")})`),n=i&&o?`${i}|${o}`:i||o,t.wrap?`(${r}${n})`:n})(D,r):un(d,null,{wrap:!1,...r}):d})(e,t,n,i):((e,t,n=1,r={})=>{if(!nn(e)&&e.length>1||!nn(t)&&t.length>1)return ln(e,t,r);let i=r.transform||(e=>String.fromCharCode(e)),o=`${e}`.charCodeAt(0),s=`${t}`.charCodeAt(0),a=o>s,u=Math.min(o,s),c=Math.max(o,s);if(r.toRegex&&1===n)return an(u,c,!1,r);let l=[],p=0;for(;a?o>=s:o<=s;)l.push(i(o,p)),o=a?o-n:o+n,p++;return!0===r.toRegex?un(l,null,{wrap:!1,options:r}):l})(e,t,Math.max(Math.abs(n),1),i):null==n||en(n)?pn(e,t,1,n):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(n,i)},An=pn,fn=Lt;const Dn=pn,dn=Ht,gn=Lt,hn=(e="",t="",n=!1)=>{let r=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return n?gn.flatten(t).map((e=>`{${e}}`)):t;for(let i of e)if(Array.isArray(i))for(let e of i)r.push(hn(e,t,n));else for(let e of t)!0===n&&"string"==typeof e&&(e=`{${e}}`),r.push(Array.isArray(e)?hn(i,e,n):i+e);return gn.flatten(r)};const mn=Ht,{MAX_LENGTH:vn,CHAR_BACKSLASH:bn,CHAR_BACKTICK:yn,CHAR_COMMA:wn,CHAR_DOT:Cn,CHAR_LEFT_PARENTHESES:En,CHAR_RIGHT_PARENTHESES:Fn,CHAR_LEFT_CURLY_BRACE:kn,CHAR_RIGHT_CURLY_BRACE:_n,CHAR_LEFT_SQUARE_BRACKET:Bn,CHAR_RIGHT_SQUARE_BRACKET:Pn,CHAR_DOUBLE_QUOTE:xn,CHAR_SINGLE_QUOTE:Sn,CHAR_NO_BREAK_SPACE:Tn,CHAR_ZERO_WIDTH_NOBREAK_SPACE:On}={MAX_LENGTH:65536,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"};const In=Ht,Mn=(e,t={})=>{let n=(e,r={})=>{let i=fn.isInvalidBrace(r),o=!0===e.invalid&&!0===t.escapeInvalid,s=!0===i||!0===o,a=!0===t.escapeInvalid?"\\":"",u="";if(!0===e.isOpen)return a+e.value;if(!0===e.isClose)return a+e.value;if("open"===e.type)return s?a+e.value:"(";if("close"===e.type)return s?a+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":s?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){let n=fn.reduce(e.nodes),r=An(...n,{...t,wrap:!1,toRegex:!0});if(0!==r.length)return n.length>1&&r.length>1?`(${r})`:r}if(e.nodes)for(let t of e.nodes)u+=n(t,e);return u};return n(e)},Rn=(e,t={})=>{let n=void 0===t.rangeLimit?1e3:t.rangeLimit,r=(e,i={})=>{e.queue=[];let o=i,s=i.queue;for(;"brace"!==o.type&&"root"!==o.type&&o.parent;)o=o.parent,s=o.queue;if(e.invalid||e.dollar)return void s.push(hn(s.pop(),dn(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void s.push(hn(s.pop(),["{}"]));if(e.nodes&&e.ranges>0){let r=gn.reduce(e.nodes);if(gn.exceedsLimit(...r,t.step,n))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let i=Dn(...r,t);return 0===i.length&&(i=dn(e,t)),s.push(hn(s.pop(),i)),void(e.nodes=[])}let a=gn.encloseBrace(e),u=e.queue,c=e;for(;"brace"!==c.type&&"root"!==c.type&&c.parent;)c=c.parent,u=c.queue;for(let t=0;t{if("string"!=typeof e)throw new TypeError("Expected a string");let n=t||{},r="number"==typeof n.maxLength?Math.min(vn,n.maxLength):vn;if(e.length>r)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${r})`);let i,o={type:"root",input:e,nodes:[]},s=[o],a=o,u=o,c=0,l=e.length,p=0,A=0;const f=()=>e[p++],D=e=>{if("text"===e.type&&"dot"===u.type&&(u.type="text"),!u||"text"!==u.type||"text"!==e.type)return a.nodes.push(e),e.parent=a,e.prev=u,u=e,e;u.value+=e.value};for(D({type:"bos"});p0){if(a.ranges>0){a.ranges=0;let e=a.nodes.shift();a.nodes=[e,{type:"text",value:mn(a)}]}D({type:"comma",value:i}),a.commas++}else if(i===Cn&&A>0&&0===a.commas){let e=a.nodes;if(0===A||0===e.length){D({type:"text",value:i});continue}if("dot"===u.type){if(a.range=[],u.value+=i,u.type="range",3!==a.nodes.length&&5!==a.nodes.length){a.invalid=!0,a.ranges=0,u.type="text";continue}a.ranges++,a.args=[];continue}if("range"===u.type){e.pop();let t=e[e.length-1];t.value+=u.value+i,u=t,a.ranges--;continue}D({type:"dot",value:i})}else D({type:"text",value:i});else{if("brace"!==a.type){D({type:"text",value:i});continue}let e="close";a=s.pop(),a.close=!0,D({type:e,value:i}),A--,a=s[s.length-1]}else{A++;let e=u.value&&"$"===u.value.slice(-1)||!0===a.dollar;a=D({type:"brace",open:!0,close:!1,dollar:e,depth:A,commas:0,ranges:0,nodes:[]}),s.push(a),D({type:"open",value:i})}else{let e,n=i;for(!0!==t.keepQuotes&&(i="");p{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)}));let e=s[s.length-1],t=e.nodes.indexOf(a);e.nodes.splice(t,1,...a.nodes)}}while(s.length>0);return D({type:"eos"}),o},Nn=(e,t={})=>{let n=[];if(Array.isArray(e))for(let r of e){let e=Nn.create(r,t);Array.isArray(e)?n.push(...e):n.push(e)}else n=[].concat(Nn.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(n=[...new Set(n)]),n};Nn.parse=(e,t={})=>Ln(e,t),Nn.stringify=(e,t={})=>In("string"==typeof e?Nn.parse(e,t):e,t),Nn.compile=(e,t={})=>("string"==typeof e&&(e=Nn.parse(e,t)),Mn(e,t)),Nn.expand=(e,t={})=>{"string"==typeof e&&(e=Nn.parse(e,t));let n=Rn(e,t);return!0===t.noempty&&(n=n.filter(Boolean)),!0===t.nodupes&&(n=[...new Set(n)]),n},Nn.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?Nn.compile(e,t):Nn.expand(e,t);var Hn=Nn,jn={},Qn={get exports(){return jn},set exports(e){jn=e}},zn={};const Un=s,Gn="\\\\/",Yn=`[^${Gn}]`,Xn="\\.",Zn="\\/",qn="[^/]",Wn=`(?:${Zn}|$)`,Jn=`(?:^|${Zn})`,Kn=`${Xn}{1,2}${Wn}`,Vn={DOT_LITERAL:Xn,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:Zn,ONE_CHAR:"(?=.)",QMARK:qn,END_ANCHOR:Wn,DOTS_SLASH:Kn,NO_DOT:`(?!${Xn})`,NO_DOTS:`(?!${Jn}${Kn})`,NO_DOT_SLASH:`(?!${Xn}{0,1}${Wn})`,NO_DOTS_SLASH:`(?!${Kn})`,QMARK_NO_DOT:`[^.${Zn}]`,STAR:`${qn}*?`,START_ANCHOR:Jn},$n={...Vn,SLASH_LITERAL:`[${Gn}]`,QMARK:Yn,STAR:`${Yn}*?`,DOTS_SLASH:`${Xn}{1,2}(?:[${Gn}]|$)`,NO_DOT:`(?!${Xn})`,NO_DOTS:`(?!(?:^|[${Gn}])${Xn}{1,2}(?:[${Gn}]|$))`,NO_DOT_SLASH:`(?!${Xn}{0,1}(?:[${Gn}]|$))`,NO_DOTS_SLASH:`(?!${Xn}{1,2}(?:[${Gn}]|$))`,QMARK_NO_DOT:`[^.${Gn}]`,START_ANCHOR:`(?:^|[${Gn}])`,END_ANCHOR:`(?:[${Gn}]|$)`};var er={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:Un.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?$n:Vn};!function(e){const t=s,n="win32"===process.platform,{REGEX_BACKSLASH:r,REGEX_REMOVE_BACKSLASH:i,REGEX_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_GLOBAL:a}=er;e.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),e.hasRegexChars=e=>o.test(e),e.isRegexChar=t=>1===t.length&&e.hasRegexChars(t),e.escapeRegex=e=>e.replace(a,"\\$1"),e.toPosixSlashes=e=>e.replace(r,"/"),e.removeBackslashes=e=>e.replace(i,(e=>"\\"===e?"":e)),e.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},e.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===n||"\\"===t.sep,e.escapeLast=(t,n,r)=>{const i=t.lastIndexOf(n,r);return-1===i?t:"\\"===t[i-1]?e.escapeLast(t,n,i-1):`${t.slice(0,i)}\\${t.slice(i)}`},e.removePrefix=(e,t={})=>{let n=e;return n.startsWith("./")&&(n=n.slice(2),t.prefix="./"),n},e.wrapOutput=(e,t={},n={})=>{let r=`${n.contains?"":"^"}(?:${e})${n.contains?"":"$"}`;return!0===t.negated&&(r=`(?:^(?!${r}).*$)`),r}}(zn);const tr=zn,{CHAR_ASTERISK:nr,CHAR_AT:rr,CHAR_BACKWARD_SLASH:ir,CHAR_COMMA:or,CHAR_DOT:sr,CHAR_EXCLAMATION_MARK:ar,CHAR_FORWARD_SLASH:ur,CHAR_LEFT_CURLY_BRACE:cr,CHAR_LEFT_PARENTHESES:lr,CHAR_LEFT_SQUARE_BRACKET:pr,CHAR_PLUS:Ar,CHAR_QUESTION_MARK:fr,CHAR_RIGHT_CURLY_BRACE:Dr,CHAR_RIGHT_PARENTHESES:dr,CHAR_RIGHT_SQUARE_BRACKET:gr}=er,hr=e=>e===ur||e===ir,mr=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};const vr=er,br=zn,{MAX_LENGTH:yr,POSIX_REGEX_SOURCE:wr,REGEX_NON_SPECIAL_CHARS:Cr,REGEX_SPECIAL_CHARS_BACKREF:Er,REPLACEMENTS:Fr}=vr,kr=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const n=`[${e.join("-")}]`;try{new RegExp(n)}catch(t){return e.map((e=>br.escapeRegex(e))).join("..")}return n},_r=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,Br=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=Fr[e]||e;const n={...t},r="number"==typeof n.maxLength?Math.min(yr,n.maxLength):yr;let i=e.length;if(i>r)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${r}`);const o={type:"bos",value:"",output:n.prepend||""},s=[o],a=n.capture?"":"?:",u=br.isWindows(t),c=vr.globChars(u),l=vr.extglobChars(c),{DOT_LITERAL:p,PLUS_LITERAL:A,SLASH_LITERAL:f,ONE_CHAR:D,DOTS_SLASH:d,NO_DOT:g,NO_DOT_SLASH:h,NO_DOTS_SLASH:m,QMARK:v,QMARK_NO_DOT:b,STAR:y,START_ANCHOR:w}=c,C=e=>`(${a}(?:(?!${w}${e.dot?d:p}).)*?)`,E=n.dot?"":g,F=n.dot?v:b;let k=!0===n.bash?C(n):y;n.capture&&(k=`(${k})`),"boolean"==typeof n.noext&&(n.noextglob=n.noext);const _={input:e,index:-1,start:0,dot:!0===n.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:s};e=br.removePrefix(e,_),i=e.length;const B=[],P=[],x=[];let S,T=o;const O=()=>_.index===i-1,I=_.peek=(t=1)=>e[_.index+t],M=_.advance=()=>e[++_.index]||"",R=()=>e.slice(_.index+1),L=(e="",t=0)=>{_.consumed+=e,_.index+=t},N=e=>{_.output+=null!=e.output?e.output:e.value,L(e.value)},H=()=>{let e=1;for(;"!"===I()&&("("!==I(2)||"?"===I(3));)M(),_.start++,e++;return e%2!=0&&(_.negated=!0,_.start++,!0)},j=e=>{_[e]++,x.push(e)},Q=e=>{_[e]--,x.pop()},z=e=>{if("globstar"===T.type){const t=_.braces>0&&("comma"===e.type||"brace"===e.type),n=!0===e.extglob||B.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||n||(_.output=_.output.slice(0,-T.output.length),T.type="star",T.value="*",T.output=k,_.output+=T.output)}if(B.length&&"paren"!==e.type&&(B[B.length-1].inner+=e.value),(e.value||e.output)&&N(e),T&&"text"===T.type&&"text"===e.type)return T.value+=e.value,void(T.output=(T.output||"")+e.value);e.prev=T,s.push(e),T=e},U=(e,t)=>{const r={...l[t],conditions:1,inner:""};r.prev=T,r.parens=_.parens,r.output=_.output;const i=(n.capture?"(":"")+r.open;j("parens"),z({type:e,value:t,output:_.output?"":D}),z({type:"paren",extglob:!0,value:M(),output:i}),B.push(r)},G=e=>{let r,i=e.close+(n.capture?")":"");if("negate"===e.type){let o=k;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(o=C(n)),(o!==k||O()||/^\)+$/.test(R()))&&(i=e.close=`)$))${o}`),e.inner.includes("*")&&(r=R())&&/^\.[^\\/.]+$/.test(r)){const n=Br(r,{...t,fastpaths:!1}).output;i=e.close=`)${n})${o})`}"bos"===e.prev.type&&(_.negatedExtglob=!0)}z({type:"paren",extglob:!0,value:S,output:i}),Q("parens")};if(!1!==n.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let r=!1,i=e.replace(Er,((e,t,n,i,o,s)=>"\\"===i?(r=!0,e):"?"===i?t?t+i+(o?v.repeat(o.length):""):0===s?F+(o?v.repeat(o.length):""):v.repeat(n.length):"."===i?p.repeat(n.length):"*"===i?t?t+i+(o?k:""):k:t?e:`\\${e}`));return!0===r&&(i=!0===n.unescape?i.replace(/\\/g,""):i.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),i===e&&!0===n.contains?(_.output=e,_):(_.output=br.wrapOutput(i,_,t),_)}for(;!O();){if(S=M(),"\0"===S)continue;if("\\"===S){const e=I();if("/"===e&&!0!==n.bash)continue;if("."===e||";"===e)continue;if(!e){S+="\\",z({type:"text",value:S});continue}const t=/^\\+/.exec(R());let r=0;if(t&&t[0].length>2&&(r=t[0].length,_.index+=r,r%2!=0&&(S+="\\")),!0===n.unescape?S=M():S+=M(),0===_.brackets){z({type:"text",value:S});continue}}if(_.brackets>0&&("]"!==S||"["===T.value||"[^"===T.value)){if(!1!==n.posix&&":"===S){const e=T.value.slice(1);if(e.includes("[")&&(T.posix=!0,e.includes(":"))){const e=T.value.lastIndexOf("["),t=T.value.slice(0,e),n=T.value.slice(e+2),r=wr[n];if(r){T.value=t+r,_.backtrack=!0,M(),o.output||1!==s.indexOf(T)||(o.output=D);continue}}}("["===S&&":"!==I()||"-"===S&&"]"===I())&&(S=`\\${S}`),"]"!==S||"["!==T.value&&"[^"!==T.value||(S=`\\${S}`),!0===n.posix&&"!"===S&&"["===T.value&&(S="^"),T.value+=S,N({value:S});continue}if(1===_.quotes&&'"'!==S){S=br.escapeRegex(S),T.value+=S,N({value:S});continue}if('"'===S){_.quotes=1===_.quotes?0:1,!0===n.keepQuotes&&z({type:"text",value:S});continue}if("("===S){j("parens"),z({type:"paren",value:S});continue}if(")"===S){if(0===_.parens&&!0===n.strictBrackets)throw new SyntaxError(_r("opening","("));const e=B[B.length-1];if(e&&_.parens===e.parens+1){G(B.pop());continue}z({type:"paren",value:S,output:_.parens?")":"\\)"}),Q("parens");continue}if("["===S){if(!0!==n.nobracket&&R().includes("]"))j("brackets");else{if(!0!==n.nobracket&&!0===n.strictBrackets)throw new SyntaxError(_r("closing","]"));S=`\\${S}`}z({type:"bracket",value:S});continue}if("]"===S){if(!0===n.nobracket||T&&"bracket"===T.type&&1===T.value.length){z({type:"text",value:S,output:`\\${S}`});continue}if(0===_.brackets){if(!0===n.strictBrackets)throw new SyntaxError(_r("opening","["));z({type:"text",value:S,output:`\\${S}`});continue}Q("brackets");const e=T.value.slice(1);if(!0===T.posix||"^"!==e[0]||e.includes("/")||(S=`/${S}`),T.value+=S,N({value:S}),!1===n.literalBrackets||br.hasRegexChars(e))continue;const t=br.escapeRegex(T.value);if(_.output=_.output.slice(0,-T.value.length),!0===n.literalBrackets){_.output+=t,T.value=t;continue}T.value=`(${a}${t}|${T.value})`,_.output+=T.value;continue}if("{"===S&&!0!==n.nobrace){j("braces");const e={type:"brace",value:S,output:"(",outputIndex:_.output.length,tokensIndex:_.tokens.length};P.push(e),z(e);continue}if("}"===S){const e=P[P.length-1];if(!0===n.nobrace||!e){z({type:"text",value:S,output:S});continue}let t=")";if(!0===e.dots){const e=s.slice(),r=[];for(let t=e.length-1;t>=0&&(s.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&r.unshift(e[t].value);t=kr(r,n),_.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const n=_.output.slice(0,e.outputIndex),r=_.tokens.slice(e.tokensIndex);e.value=e.output="\\{",S=t="\\}",_.output=n;for(const e of r)_.output+=e.output||e.value}z({type:"brace",value:S,output:t}),Q("braces"),P.pop();continue}if("|"===S){B.length>0&&B[B.length-1].conditions++,z({type:"text",value:S});continue}if(","===S){let e=S;const t=P[P.length-1];t&&"braces"===x[x.length-1]&&(t.comma=!0,e="|"),z({type:"comma",value:S,output:e});continue}if("/"===S){if("dot"===T.type&&_.index===_.start+1){_.start=_.index+1,_.consumed="",_.output="",s.pop(),T=o;continue}z({type:"slash",value:S,output:f});continue}if("."===S){if(_.braces>0&&"dot"===T.type){"."===T.value&&(T.output=p);const e=P[P.length-1];T.type="dots",T.output+=S,T.value+=S,e.dots=!0;continue}if(_.braces+_.parens===0&&"bos"!==T.type&&"slash"!==T.type){z({type:"text",value:S,output:p});continue}z({type:"dot",value:S,output:p});continue}if("?"===S){if((!T||"("!==T.value)&&!0!==n.noextglob&&"("===I()&&"?"!==I(2)){U("qmark",S);continue}if(T&&"paren"===T.type){const e=I();let t=S;if("<"===e&&!br.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===T.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(R()))&&(t=`\\${S}`),z({type:"text",value:S,output:t});continue}if(!0!==n.dot&&("slash"===T.type||"bos"===T.type)){z({type:"qmark",value:S,output:b});continue}z({type:"qmark",value:S,output:v});continue}if("!"===S){if(!0!==n.noextglob&&"("===I()&&("?"!==I(2)||!/[!=<:]/.test(I(3)))){U("negate",S);continue}if(!0!==n.nonegate&&0===_.index){H();continue}}if("+"===S){if(!0!==n.noextglob&&"("===I()&&"?"!==I(2)){U("plus",S);continue}if(T&&"("===T.value||!1===n.regex){z({type:"plus",value:S,output:A});continue}if(T&&("bracket"===T.type||"paren"===T.type||"brace"===T.type)||_.parens>0){z({type:"plus",value:S});continue}z({type:"plus",value:A});continue}if("@"===S){if(!0!==n.noextglob&&"("===I()&&"?"!==I(2)){z({type:"at",extglob:!0,value:S,output:""});continue}z({type:"text",value:S});continue}if("*"!==S){"$"!==S&&"^"!==S||(S=`\\${S}`);const e=Cr.exec(R());e&&(S+=e[0],_.index+=e[0].length),z({type:"text",value:S});continue}if(T&&("globstar"===T.type||!0===T.star)){T.type="star",T.star=!0,T.value+=S,T.output=k,_.backtrack=!0,_.globstar=!0,L(S);continue}let t=R();if(!0!==n.noextglob&&/^\([^?]/.test(t)){U("star",S);continue}if("star"===T.type){if(!0===n.noglobstar){L(S);continue}const r=T.prev,i=r.prev,o="slash"===r.type||"bos"===r.type,s=i&&("star"===i.type||"globstar"===i.type);if(!0===n.bash&&(!o||t[0]&&"/"!==t[0])){z({type:"star",value:S,output:""});continue}const a=_.braces>0&&("comma"===r.type||"brace"===r.type),u=B.length&&("pipe"===r.type||"paren"===r.type);if(!o&&"paren"!==r.type&&!a&&!u){z({type:"star",value:S,output:""});continue}for(;"/**"===t.slice(0,3);){const n=e[_.index+4];if(n&&"/"!==n)break;t=t.slice(3),L("/**",3)}if("bos"===r.type&&O()){T.type="globstar",T.value+=S,T.output=C(n),_.output=T.output,_.globstar=!0,L(S);continue}if("slash"===r.type&&"bos"!==r.prev.type&&!s&&O()){_.output=_.output.slice(0,-(r.output+T.output).length),r.output=`(?:${r.output}`,T.type="globstar",T.output=C(n)+(n.strictSlashes?")":"|$)"),T.value+=S,_.globstar=!0,_.output+=r.output+T.output,L(S);continue}if("slash"===r.type&&"bos"!==r.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";_.output=_.output.slice(0,-(r.output+T.output).length),r.output=`(?:${r.output}`,T.type="globstar",T.output=`${C(n)}${f}|${f}${e})`,T.value+=S,_.output+=r.output+T.output,_.globstar=!0,L(S+M()),z({type:"slash",value:"/",output:""});continue}if("bos"===r.type&&"/"===t[0]){T.type="globstar",T.value+=S,T.output=`(?:^|${f}|${C(n)}${f})`,_.output=T.output,_.globstar=!0,L(S+M()),z({type:"slash",value:"/",output:""});continue}_.output=_.output.slice(0,-T.output.length),T.type="globstar",T.output=C(n),T.value+=S,_.output+=T.output,_.globstar=!0,L(S);continue}const r={type:"star",value:S,output:k};!0!==n.bash?!T||"bracket"!==T.type&&"paren"!==T.type||!0!==n.regex?(_.index!==_.start&&"slash"!==T.type&&"dot"!==T.type||("dot"===T.type?(_.output+=h,T.output+=h):!0===n.dot?(_.output+=m,T.output+=m):(_.output+=E,T.output+=E),"*"!==I()&&(_.output+=D,T.output+=D)),z(r)):(r.output=S,z(r)):(r.output=".*?","bos"!==T.type&&"slash"!==T.type||(r.output=E+r.output),z(r))}for(;_.brackets>0;){if(!0===n.strictBrackets)throw new SyntaxError(_r("closing","]"));_.output=br.escapeLast(_.output,"["),Q("brackets")}for(;_.parens>0;){if(!0===n.strictBrackets)throw new SyntaxError(_r("closing",")"));_.output=br.escapeLast(_.output,"("),Q("parens")}for(;_.braces>0;){if(!0===n.strictBrackets)throw new SyntaxError(_r("closing","}"));_.output=br.escapeLast(_.output,"{"),Q("braces")}if(!0===n.strictSlashes||"star"!==T.type&&"bracket"!==T.type||z({type:"maybe_slash",value:"",output:`${f}?`}),!0===_.backtrack){_.output="";for(const e of _.tokens)_.output+=null!=e.output?e.output:e.value,e.suffix&&(_.output+=e.suffix)}return _};Br.fastpaths=(e,t)=>{const n={...t},r="number"==typeof n.maxLength?Math.min(yr,n.maxLength):yr,i=e.length;if(i>r)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${r}`);e=Fr[e]||e;const o=br.isWindows(t),{DOT_LITERAL:s,SLASH_LITERAL:a,ONE_CHAR:u,DOTS_SLASH:c,NO_DOT:l,NO_DOTS:p,NO_DOTS_SLASH:A,STAR:f,START_ANCHOR:D}=vr.globChars(o),d=n.dot?p:l,g=n.dot?A:l,h=n.capture?"":"?:";let m=!0===n.bash?".*?":f;n.capture&&(m=`(${m})`);const v=e=>!0===e.noglobstar?m:`(${h}(?:(?!${D}${e.dot?c:s}).)*?)`,b=e=>{switch(e){case"*":return`${d}${u}${m}`;case".*":return`${s}${u}${m}`;case"*.*":return`${d}${m}${s}${u}${m}`;case"*/*":return`${d}${m}${a}${u}${g}${m}`;case"**":return d+v(n);case"**/*":return`(?:${d}${v(n)}${a})?${g}${u}${m}`;case"**/*.*":return`(?:${d}${v(n)}${a})?${g}${m}${s}${u}${m}`;case"**/.*":return`(?:${d}${v(n)}${a})?${s}${u}${m}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const n=b(t[1]);if(!n)return;return n+s+t[2]}}},y=br.removePrefix(e,{negated:!1,prefix:""});let w=b(y);return w&&!0!==n.strictSlashes&&(w+=`${a}?`),w};const Pr=s,xr=(e,t)=>{const n=t||{},r=e.length-1,i=!0===n.parts||!0===n.scanToEnd,o=[],s=[],a=[];let u,c,l=e,p=-1,A=0,f=0,D=!1,d=!1,g=!1,h=!1,m=!1,v=!1,b=!1,y=!1,w=!1,C=!1,E=0,F={value:"",depth:0,isGlob:!1};const k=()=>p>=r,_=()=>(u=c,l.charCodeAt(++p));for(;p0&&(P=l.slice(0,A),l=l.slice(A),f-=A),B&&!0===g&&f>0?(B=l.slice(0,f),x=l.slice(f)):!0===g?(B="",x=l):B=l,B&&""!==B&&"/"!==B&&B!==l&&hr(B.charCodeAt(B.length-1))&&(B=B.slice(0,-1)),!0===n.unescape&&(x&&(x=tr.removeBackslashes(x)),B&&!0===b&&(B=tr.removeBackslashes(B)));const S={prefix:P,input:e,start:A,base:B,glob:x,isBrace:D,isBracket:d,isGlob:g,isExtglob:h,isGlobstar:m,negated:y,negatedExtglob:w};if(!0===n.tokens&&(S.maxDepth=0,hr(c)||s.push(F),S.tokens=s),!0===n.parts||!0===n.tokens){let t;for(let r=0;r{if(Array.isArray(e)){const r=e.map((e=>Ir(e,t,n))),i=e=>{for(const t of r){const n=t(e);if(n)return n}return!1};return i}const r=(i=e)&&"object"==typeof i&&!Array.isArray(i)&&e.tokens&&e.input;var i;if(""===e||"string"!=typeof e&&!r)throw new TypeError("Expected pattern to be a non-empty string");const o=t||{},s=Tr.isWindows(t),a=r?Ir.compileRe(e,t):Ir.makeRe(e,t,!1,!0),u=a.state;delete a.state;let c=()=>!1;if(o.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};c=Ir(o.ignore,e,n)}const l=(n,r=!1)=>{const{isMatch:i,match:l,output:p}=Ir.test(n,a,t,{glob:e,posix:s}),A={glob:e,state:u,regex:a,posix:s,input:n,output:p,match:l,isMatch:i};return"function"==typeof o.onResult&&o.onResult(A),!1===i?(A.isMatch=!1,!!r&&A):c(n)?("function"==typeof o.onIgnore&&o.onIgnore(A),A.isMatch=!1,!!r&&A):("function"==typeof o.onMatch&&o.onMatch(A),!r||A)};return n&&(l.state=u),l};Ir.test=(e,t,n,{glob:r,posix:i}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const o=n||{},s=o.format||(i?Tr.toPosixSlashes:null);let a=e===r,u=a&&s?s(e):e;return!1===a&&(u=s?s(e):e,a=u===r),!1!==a&&!0!==o.capture||(a=!0===o.matchBase||!0===o.basename?Ir.matchBase(e,t,n,i):t.exec(u)),{isMatch:Boolean(a),match:a,output:u}},Ir.matchBase=(e,t,n,r=Tr.isWindows(n))=>(t instanceof RegExp?t:Ir.makeRe(t,n)).test(Pr.basename(e)),Ir.isMatch=(e,t,n)=>Ir(t,n)(e),Ir.parse=(e,t)=>Array.isArray(e)?e.map((e=>Ir.parse(e,t))):Sr(e,{...t,fastpaths:!1}),Ir.scan=(e,t)=>xr(e,t),Ir.compileRe=(e,t,n=!1,r=!1)=>{if(!0===n)return e.output;const i=t||{},o=i.contains?"":"^",s=i.contains?"":"$";let a=`${o}(?:${e.output})${s}`;e&&!0===e.negated&&(a=`^(?!${a}).*$`);const u=Ir.toRegex(a,t);return!0===r&&(u.state=e),u},Ir.makeRe=(e,t={},n=!1,r=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let i={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(i.output=Sr.fastpaths(e,t)),i.output||(i=Sr(e,t)),Ir.compileRe(i,t,n,r)},Ir.toRegex=(e,t)=>{try{const n=t||{};return new RegExp(e,n.flags||(n.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},Ir.constants=Or;var Mr=Ir;Qn.exports=Mr;const Rr=u,Lr=Hn,Nr=jn,Hr=zn,jr=e=>""===e||"./"===e,Qr=(e,t,n)=>{t=[].concat(t),e=[].concat(e);let r=new Set,i=new Set,o=new Set,s=0,a=e=>{o.add(e.output),n&&n.onResult&&n.onResult(e)};for(let o=0;o!r.has(e)));if(n&&0===u.length){if(!0===n.failglob)throw new Error(`No matches found for "${t.join(", ")}"`);if(!0===n.nonull||!0===n.nullglob)return n.unescape?t.map((e=>e.replace(/\\/g,""))):t}return u};Qr.match=Qr,Qr.matcher=(e,t)=>Nr(e,t),Qr.isMatch=(e,t,n)=>Nr(t,n)(e),Qr.any=Qr.isMatch,Qr.not=(e,t,n={})=>{t=[].concat(t).map(String);let r=new Set,i=[],o=new Set(Qr(e,t,{...n,onResult:e=>{n.onResult&&n.onResult(e),i.push(e.output)}}));for(let e of i)o.has(e)||r.add(e);return[...r]},Qr.contains=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${Rr.inspect(e)}"`);if(Array.isArray(t))return t.some((t=>Qr.contains(e,t,n)));if("string"==typeof t){if(jr(e)||jr(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return Qr.isMatch(e,t,{...n,contains:!0})},Qr.matchKeys=(e,t,n)=>{if(!Hr.isObject(e))throw new TypeError("Expected the first argument to be an object");let r=Qr(Object.keys(e),t,n),i={};for(let t of r)i[t]=e[t];return i},Qr.some=(e,t,n)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=Nr(String(e),n);if(r.some((e=>t(e))))return!0}return!1},Qr.every=(e,t,n)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=Nr(String(e),n);if(!r.every((e=>t(e))))return!1}return!0},Qr.all=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${Rr.inspect(e)}"`);return[].concat(t).every((t=>Nr(t,n)(e)))},Qr.capture=(e,t,n)=>{let r=Hr.isWindows(n),i=Nr.makeRe(String(e),{...n,capture:!0}).exec(r?Hr.toPosixSlashes(t):t);if(i)return i.slice(1).map((e=>void 0===e?"":e))},Qr.makeRe=(...e)=>Nr.makeRe(...e),Qr.scan=(...e)=>Nr.scan(...e),Qr.parse=(e,t)=>{let n=[];for(let r of[].concat(e||[]))for(let e of Lr(String(r),t))n.push(Nr.parse(e,t));return n},Qr.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!/\{.*\}/.test(e)?[e]:Lr(e,t)},Qr.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return Qr.braces(e,{...t,expand:!0})};var zr=Qr;Object.defineProperty(kt,"__esModule",{value:!0}),kt.matchAny=kt.convertPatternsToRe=kt.makeRe=kt.getPatternParts=kt.expandBraceExpansion=kt.expandPatternsWithBraceExpansion=kt.isAffectDepthOfReadingPattern=kt.endsWithSlashGlobStar=kt.hasGlobStar=kt.getBaseDirectory=kt.isPatternRelatedToParentDirectory=kt.getPatternsOutsideCurrentDirectory=kt.getPatternsInsideCurrentDirectory=kt.getPositivePatterns=kt.getNegativePatterns=kt.isPositivePattern=kt.isNegativePattern=kt.convertToNegativePattern=kt.convertToPositivePattern=kt.isDynamicPattern=kt.isStaticPattern=void 0;const Ur=s,Gr=zr,Yr="**",Xr="\\",Zr=/[*?]|^!/,qr=/\[[^[]*]/,Wr=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,Jr=/[!*+?@]\([^(]*\)/,Kr=/,|\.\./;function Vr(e,t={}){return!$r(e,t)}function $r(e,t={}){return!!(""!==e&&(!1===t.caseSensitiveMatch||e.includes(Xr)||Zr.test(e)||qr.test(e)||Wr.test(e)||!1!==t.extglob&&Jr.test(e)||!1!==t.braceExpansion&&function(e){const t=e.indexOf("{");if(-1===t)return!1;const n=e.indexOf("}",t+1);if(-1===n)return!1;const r=e.slice(t,n);return Kr.test(r)}(e)))}function ei(e){return e.startsWith("!")&&"("!==e[1]}function ti(e){return!ei(e)}function ni(e){return e.startsWith("..")||e.startsWith("./..")}function ri(e){return e.endsWith("/"+Yr)}function ii(e){return Gr.braces(e,{expand:!0,nodupes:!0})}function oi(e,t){return Gr.makeRe(e,t)}kt.isStaticPattern=Vr,kt.isDynamicPattern=$r,kt.convertToPositivePattern=function(e){return ei(e)?e.slice(1):e},kt.convertToNegativePattern=function(e){return"!"+e},kt.isNegativePattern=ei,kt.isPositivePattern=ti,kt.getNegativePatterns=function(e){return e.filter(ei)},kt.getPositivePatterns=function(e){return e.filter(ti)},kt.getPatternsInsideCurrentDirectory=function(e){return e.filter((e=>!ni(e)))},kt.getPatternsOutsideCurrentDirectory=function(e){return e.filter(ni)},kt.isPatternRelatedToParentDirectory=ni,kt.getBaseDirectory=function(e){return function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&Tt&&e.indexOf("/")<0&&(e=e.replace(Ot,"/")),It.test(e)&&(e+="/"),e+="a";do{e=St(e)}while(xt(e)||Mt.test(e));return e.replace(Rt,"$1")}(e,{flipBackslashes:!1})},kt.hasGlobStar=function(e){return e.includes(Yr)},kt.endsWithSlashGlobStar=ri,kt.isAffectDepthOfReadingPattern=function(e){const t=Ur.basename(e);return ri(e)||Vr(t)},kt.expandPatternsWithBraceExpansion=function(e){return e.reduce(((e,t)=>e.concat(ii(t))),[])},kt.expandBraceExpansion=ii,kt.getPatternParts=function(e,t){let{parts:n}=Gr.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return 0===n.length&&(n=[e]),n[0].startsWith("/")&&(n[0]=n[0].slice(1),n.unshift("")),n},kt.makeRe=oi,kt.convertPatternsToRe=function(e,t){return e.map((e=>oi(e,t)))},kt.matchAny=function(e,t){return t.some((t=>t.test(e)))};var si={};Object.defineProperty(si,"__esModule",{value:!0}),si.merge=void 0;const ai=function(){const e=[],t=gt.call(arguments);let n=!1,r=t[t.length-1];r&&!Array.isArray(r)&&null==r.pipe?t.pop():r={};const i=!1!==r.end,o=!0===r.pipeError;null==r.objectMode&&(r.objectMode=!0),null==r.highWaterMark&&(r.highWaterMark=65536);const s=dt(r);function a(){for(let t=0,n=arguments.length;t0||(n=!1,u())}function a(e){function t(){e.removeListener("merge2UnpipeEnd",t),e.removeListener("end",t),o&&e.removeListener("error",n),i()}function n(e){s.emit("error",e)}if(e._readableState.endEmitted)return i();e.on("merge2UnpipeEnd",t),e.on("end",t),o&&e.on("error",n),e.pipe(s,{end:!1}),e.resume()}for(let e=0;ee.emit("close")))}si.merge=function(e){const t=ai(e);return e.forEach((e=>{e.once("error",(e=>t.emit("error",e)))})),t.once("close",(()=>ui(e))),t.once("end",(()=>ui(e))),t};var ci={};Object.defineProperty(ci,"__esModule",{value:!0}),ci.isEmpty=ci.isString=void 0,ci.isString=function(e){return"string"==typeof e},ci.isEmpty=function(e){return""===e},Object.defineProperty(vt,"__esModule",{value:!0}),vt.string=vt.stream=vt.pattern=vt.path=vt.fs=vt.errno=vt.array=void 0;const li=bt;vt.array=li;const pi=yt;vt.errno=pi;const Ai=wt;vt.fs=Ai;const fi=Ct;vt.path=fi;const Di=kt;vt.pattern=Di;const di=si;vt.stream=di;const gi=ci;vt.string=gi,Object.defineProperty(mt,"__esModule",{value:!0}),mt.convertPatternGroupToTask=mt.convertPatternGroupsToTasks=mt.groupPatternsByBaseDirectory=mt.getNegativePatternsAsPositive=mt.getPositivePatterns=mt.convertPatternsToTasks=mt.generate=void 0;const hi=vt;function mi(e,t,n){const r=[],i=hi.pattern.getPatternsOutsideCurrentDirectory(e),o=hi.pattern.getPatternsInsideCurrentDirectory(e),s=yi(i),a=yi(o);return r.push(...wi(s,t,n)),"."in a?r.push(Ci(".",o,t,n)):r.push(...wi(a,t,n)),r}function vi(e){return hi.pattern.getPositivePatterns(e)}function bi(e,t){return hi.pattern.getNegativePatterns(e).concat(t).map(hi.pattern.convertToPositivePattern)}function yi(e){return e.reduce(((e,t)=>{const n=hi.pattern.getBaseDirectory(t);return n in e?e[n].push(t):e[n]=[t],e}),{})}function wi(e,t,n){return Object.keys(e).map((r=>Ci(r,e[r],t,n)))}function Ci(e,t,n,r){return{dynamic:r,positive:t,negative:n,base:e,patterns:[].concat(t,n.map(hi.pattern.convertToNegativePattern))}}mt.generate=function(e,t){const n=vi(e),r=bi(e,t.ignore),i=n.filter((e=>hi.pattern.isStaticPattern(e,t))),o=n.filter((e=>hi.pattern.isDynamicPattern(e,t))),s=mi(i,r,!1),a=mi(o,r,!0);return s.concat(a)},mt.convertPatternsToTasks=mi,mt.getPositivePatterns=vi,mt.getNegativePatternsAsPositive=bi,mt.groupPatternsByBaseDirectory=yi,mt.convertPatternGroupsToTasks=wi,mt.convertPatternGroupToTask=Ci;var Ei={};Object.defineProperty(Ei,"__esModule",{value:!0}),Ei.removeDuplicateSlashes=Ei.transform=void 0;const Fi=/(?!^)\/{2,}/g;function ki(e){return e.replace(Fi,"/")}Ei.transform=function(e){return e.map((e=>ki(e)))},Ei.removeDuplicateSlashes=ki;var _i={},Bi={},Pi={},xi={},Si={},Ti={},Oi={},Ii={},Mi={};function Ri(e,t){e(t)}function Li(e,t){e(null,t)}Object.defineProperty(Mi,"__esModule",{value:!0}),Mi.read=void 0,Mi.read=function(e,t,n){t.fs.lstat(e,((r,i)=>{null===r?i.isSymbolicLink()&&t.followSymbolicLink?t.fs.stat(e,((e,r)=>{if(null!==e)return t.throwErrorOnBrokenSymbolicLink?void Ri(n,e):void Li(n,i);t.markSymbolicLink&&(r.isSymbolicLink=()=>!0),Li(n,r)})):Li(n,i):Ri(n,r)}))};var Ni={};Object.defineProperty(Ni,"__esModule",{value:!0}),Ni.read=void 0,Ni.read=function(e,t){const n=t.fs.lstatSync(e);if(!n.isSymbolicLink()||!t.followSymbolicLink)return n;try{const n=t.fs.statSync(e);return t.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(e){if(!t.throwErrorOnBrokenSymbolicLink)return n;throw e}};var Hi={},ji={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.createFileSystemAdapter=e.FILE_SYSTEM_ADAPTER=void 0;const t=o;e.FILE_SYSTEM_ADAPTER={lstat:t.lstat,stat:t.stat,lstatSync:t.lstatSync,statSync:t.statSync},e.createFileSystemAdapter=function(t){return void 0===t?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),t)}}(ji),Object.defineProperty(Hi,"__esModule",{value:!0});const Qi=ji;Hi.default=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=Qi.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,t){return null!=e?e:t}},Object.defineProperty(Ii,"__esModule",{value:!0}),Ii.statSync=Ii.stat=Ii.Settings=void 0;const zi=Mi,Ui=Ni,Gi=Hi;function Yi(e={}){return e instanceof Gi.default?e:new Gi.default(e)}/*! queue-microtask. MIT License. Feross Aboukhadijeh */let Xi;Ii.Settings=Gi.default,Ii.stat=function(e,t,n){"function"!=typeof t?zi.read(e,Yi(t),n):zi.read(e,Yi(),t)},Ii.statSync=function(e,t){const n=Yi(t);return Ui.read(e,n)};const Zi="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:te):e=>(Xi||(Xi=Promise.resolve())).then(e).catch((e=>setTimeout((()=>{throw e}),0)))/*! run-parallel. MIT License. Feross Aboukhadijeh */;var qi={};Object.defineProperty(qi,"__esModule",{value:!0}),qi.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const Wi=process.versions.node.split(".");if(void 0===Wi[0]||void 0===Wi[1])throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);const Ji=Number.parseInt(Wi[0],10),Ki=Number.parseInt(Wi[1],10),Vi=Ji>10,$i=10===Ji&&Ki>=10;qi.IS_SUPPORT_READDIR_WITH_FILE_TYPES=Vi||$i;var eo={},to={};Object.defineProperty(to,"__esModule",{value:!0}),to.createDirentFromStats=void 0;class no{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}to.createDirentFromStats=function(e,t){return new no(e,t)},Object.defineProperty(eo,"__esModule",{value:!0}),eo.fs=void 0;const ro=to;eo.fs=ro;var io={};Object.defineProperty(io,"__esModule",{value:!0}),io.joinPathSegments=void 0,io.joinPathSegments=function(e,t,n){return e.endsWith(n)?e+t:e+n+t},Object.defineProperty(Oi,"__esModule",{value:!0}),Oi.readdir=Oi.readdirWithFileTypes=Oi.read=void 0;const oo=Ii,so=function(e,t){let n,r,i,o=!0;function s(e){function r(){t&&t(e,n),t=null}o?Zi(r):r()}function a(e,t,i){n[e]=i,(0==--r||t)&&s(t)}Array.isArray(e)?(n=[],r=e.length):(i=Object.keys(e),n={},r=i.length),r?i?i.forEach((function(t){e[t]((function(e,n){a(t,e,n)}))})):e.forEach((function(e,t){e((function(e,n){a(t,e,n)}))})):s(null),o=!1},ao=qi,uo=eo,co=io;function lo(e,t,n){t.fs.readdir(e,{withFileTypes:!0},((r,i)=>{if(null!==r)return void Ao(n,r);const o=i.map((n=>({dirent:n,name:n.name,path:co.joinPathSegments(e,n.name,t.pathSegmentSeparator)})));if(!t.followSymbolicLinks)return void fo(n,o);const s=o.map((e=>function(e,t){return n=>{e.dirent.isSymbolicLink()?t.fs.stat(e.path,((r,i)=>{if(null!==r)return t.throwErrorOnBrokenSymbolicLink?void n(r):void n(null,e);e.dirent=uo.fs.createDirentFromStats(e.name,i),n(null,e)})):n(null,e)}}(e,t)));so(s,((e,t)=>{null===e?fo(n,t):Ao(n,e)}))}))}function po(e,t,n){t.fs.readdir(e,((r,i)=>{if(null!==r)return void Ao(n,r);const o=i.map((n=>{const r=co.joinPathSegments(e,n,t.pathSegmentSeparator);return e=>{oo.stat(r,t.fsStatSettings,((i,o)=>{if(null!==i)return void e(i);const s={name:n,path:r,dirent:uo.fs.createDirentFromStats(n,o)};t.stats&&(s.stats=o),e(null,s)}))}}));so(o,((e,t)=>{null===e?fo(n,t):Ao(n,e)}))}))}function Ao(e,t){e(t)}function fo(e,t){e(null,t)}Oi.read=function(e,t,n){t.stats||!ao.IS_SUPPORT_READDIR_WITH_FILE_TYPES?po(e,t,n):lo(e,t,n)},Oi.readdirWithFileTypes=lo,Oi.readdir=po;var Do={};Object.defineProperty(Do,"__esModule",{value:!0}),Do.readdir=Do.readdirWithFileTypes=Do.read=void 0;const go=Ii,ho=qi,mo=eo,vo=io;function bo(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map((n=>{const r={dirent:n,name:n.name,path:vo.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(r.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(r.path);r.dirent=mo.fs.createDirentFromStats(r.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return r}))}function yo(e,t){return t.fs.readdirSync(e).map((n=>{const r=vo.joinPathSegments(e,n,t.pathSegmentSeparator),i=go.statSync(r,t.fsStatSettings),o={name:n,path:r,dirent:mo.fs.createDirentFromStats(n,i)};return t.stats&&(o.stats=i),o}))}Do.read=function(e,t){return!t.stats&&ho.IS_SUPPORT_READDIR_WITH_FILE_TYPES?bo(e,t):yo(e,t)},Do.readdirWithFileTypes=bo,Do.readdir=yo;var wo={},Co={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.createFileSystemAdapter=e.FILE_SYSTEM_ADAPTER=void 0;const t=o;e.FILE_SYSTEM_ADAPTER={lstat:t.lstat,stat:t.stat,lstatSync:t.lstatSync,statSync:t.statSync,readdir:t.readdir,readdirSync:t.readdirSync},e.createFileSystemAdapter=function(t){return void 0===t?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),t)}}(Co),Object.defineProperty(wo,"__esModule",{value:!0});const Eo=s,Fo=Ii,ko=Co;wo.default=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=ko.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Eo.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new Fo.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}},Object.defineProperty(Ti,"__esModule",{value:!0}),Ti.Settings=Ti.scandirSync=Ti.scandir=void 0;const _o=Oi,Bo=Do,Po=wo;function xo(e={}){return e instanceof Po.default?e:new Po.default(e)}Ti.Settings=Po.default,Ti.scandir=function(e,t,n){"function"!=typeof t?_o.read(e,xo(t),n):_o.read(e,xo(),t)},Ti.scandirSync=function(e,t){const n=xo(t);return Bo.read(e,n)};var So={},To=function(e){var t=new e,n=t;return{get:function(){var r=t;return r.next?t=r.next:(t=new e,n=t),r.next=null,r},release:function(e){n.next=e,n=e}}};function Oo(e,t,n){if("function"==typeof e&&(n=t,t=e,e=null),n<1)throw new Error("fastqueue concurrency must be greater than 1");var r=To(Mo),i=null,o=null,s=0,a=null,u={push:function(n,l){var p=r.get();p.context=e,p.release=c,p.value=n,p.callback=l||Io,p.errorHandler=a,s===u.concurrency||u.paused?o?(o.next=p,o=p):(i=p,o=p,u.saturated()):(s++,t.call(e,p.value,p.worked))},drain:Io,saturated:Io,pause:function(){u.paused=!0},paused:!1,concurrency:n,running:function(){return s},resume:function(){if(u.paused){u.paused=!1;for(var e=0;e{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate((()=>{this._pushToQueue(this._root,this._settings.basePath)})),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,t){const n={directory:e,base:t};this._queue.push(n,(e=>{null!==e&&this._handleError(e)}))}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,((n,r)=>{if(null===n){for(const t of r)this._handleEntry(t,e.base);t(null,void 0)}else t(n,void 0)}))}_handleError(e){!this._isDestroyed&&zo.isFatalError(this._settings,e)&&(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError)return;const n=e.path;void 0!==t&&(e.path=zo.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),zo.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&zo.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}Si.default=Go,Object.defineProperty(xi,"__esModule",{value:!0});const Yo=Si;xi.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new Yo.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError((t=>{!function(e,t){e(t)}(e,t)})),this._reader.onEntry((e=>{this._storage.push(e)})),this._reader.onEnd((()=>{!function(e,t){e(null,t)}(e,this._storage)})),this._reader.read()}};var Xo={};Object.defineProperty(Xo,"__esModule",{value:!0});const Zo=A,qo=Si;Xo.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new qo.default(this._root,this._settings),this._stream=new Zo.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError((e=>{this._stream.emit("error",e)})),this._reader.onEntry((e=>{this._stream.push(e)})),this._reader.onEnd((()=>{this._stream.push(null)})),this._reader.read(),this._stream}};var Wo={},Jo={};Object.defineProperty(Jo,"__esModule",{value:!0});const Ko=Ti,Vo=Ro,$o=Lo;class es extends $o.default{constructor(){super(...arguments),this._scandir=Ko.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(const e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,t){try{const n=this._scandir(e,this._settings.fsScandirSettings);for(const e of n)this._handleEntry(e,t)}catch(e){this._handleError(e)}}_handleError(e){if(Vo.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const n=e.path;void 0!==t&&(e.path=Vo.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),Vo.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&Vo.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}Jo.default=es,Object.defineProperty(Wo,"__esModule",{value:!0});const ts=Jo;Wo.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new ts.default(this._root,this._settings)}read(){return this._reader.read()}};var ns={};Object.defineProperty(ns,"__esModule",{value:!0});const rs=s,is=Ti;ns.default=class{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,rs.sep),this.fsScandirSettings=new is.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}},Object.defineProperty(Pi,"__esModule",{value:!0}),Pi.Settings=Pi.walkStream=Pi.walkSync=Pi.walk=void 0;const os=xi,ss=Xo,as=Wo,us=ns;function cs(e={}){return e instanceof us.default?e:new us.default(e)}Pi.Settings=us.default,Pi.walk=function(e,t,n){"function"!=typeof t?new os.default(e,cs(t)).read(n):new os.default(e,cs()).read(t)},Pi.walkSync=function(e,t){const n=cs(t);return new as.default(e,n).read()},Pi.walkStream=function(e,t){const n=cs(t);return new ss.default(e,n).read()};var ls={};Object.defineProperty(ls,"__esModule",{value:!0});const ps=s,As=Ii,fs=vt;ls.default=class{constructor(e){this._settings=e,this._fsStatSettings=new As.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return ps.resolve(this._settings.cwd,e)}_makeEntry(e,t){const n={name:t,path:t,dirent:fs.fs.createDirentFromStats(t,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!fs.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};var Ds={};Object.defineProperty(Ds,"__esModule",{value:!0});const ds=A,gs=Ii,hs=Pi,ms=ls;class vs extends ms.default{constructor(){super(...arguments),this._walkStream=hs.walkStream,this._stat=gs.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const n=e.map(this._getFullEntryPath,this),r=new ds.PassThrough({objectMode:!0});r._write=(i,o,s)=>this._getEntry(n[i],e[i],t).then((e=>{null!==e&&t.entryFilter(e)&&r.push(e),i===n.length-1&&r.end(),s()})).catch(s);for(let e=0;ethis._makeEntry(e,t))).catch((e=>{if(n.errorFilter(e))return null;throw e}))}_getStat(e){return new Promise(((t,n)=>{this._stat(e,this._fsStatSettings,((e,r)=>null===e?t(r):n(e)))}))}}Ds.default=vs,Object.defineProperty(Bi,"__esModule",{value:!0});const bs=Pi,ys=ls,ws=Ds;class Cs extends ys.default{constructor(){super(...arguments),this._walkAsync=bs.walk,this._readerStream=new ws.default(this._settings)}dynamic(e,t){return new Promise(((n,r)=>{this._walkAsync(e,t,((e,t)=>{null===e?n(t):r(e)}))}))}async static(e,t){const n=[],r=this._readerStream.static(e,t);return new Promise(((e,t)=>{r.once("error",t),r.on("data",(e=>n.push(e))),r.once("end",(()=>e(n)))}))}}Bi.default=Cs;var Es={},Fs={},ks={},_s={};Object.defineProperty(_s,"__esModule",{value:!0});const Bs=vt;_s.default=class{constructor(e,t,n){this._patterns=e,this._settings=t,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){const e=Bs.pattern.expandPatternsWithBraceExpansion(this._patterns);for(const t of e){const e=this._getPatternSegments(t),n=this._splitSegmentsIntoSections(e);this._storage.push({complete:n.length<=1,pattern:t,segments:e,sections:n})}}_getPatternSegments(e){return Bs.pattern.getPatternParts(e,this._micromatchOptions).map((e=>Bs.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:Bs.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e}))}_splitSegmentsIntoSections(e){return Bs.array.splitWhen(e,(e=>e.dynamic&&Bs.pattern.hasGlobStar(e.pattern)))}},Object.defineProperty(ks,"__esModule",{value:!0});const Ps=_s;class xs extends Ps.default{match(e){const t=e.split("/"),n=t.length,r=this._storage.filter((e=>!e.complete||e.segments.length>n));for(const e of r){const r=e.sections[0];if(!e.complete&&n>r.length)return!0;if(t.every(((t,n)=>{const r=e.segments[n];return!(!r.dynamic||!r.patternRe.test(t))||!r.dynamic&&r.pattern===t})))return!0}return!1}}ks.default=xs,Object.defineProperty(Fs,"__esModule",{value:!0});const Ss=vt,Ts=ks;Fs.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t}getFilter(e,t,n){const r=this._getMatcher(t),i=this._getNegativePatternsRe(n);return t=>this._filter(e,t,r,i)}_getMatcher(e){return new Ts.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(Ss.pattern.isAffectDepthOfReadingPattern);return Ss.pattern.convertPatternsToRe(t,this._micromatchOptions)}_filter(e,t,n,r){if(this._isSkippedByDeep(e,t.path))return!1;if(this._isSkippedSymbolicLink(t))return!1;const i=Ss.path.removeLeadingDotSegment(t.path);return!this._isSkippedByPositivePatterns(i,n)&&this._isSkippedByNegativePatterns(i,r)}_isSkippedByDeep(e,t){return this._settings.deep!==1/0&&this._getEntryLevel(e,t)>=this._settings.deep}_getEntryLevel(e,t){const n=t.split("/").length;return""===e?n:n-e.split("/").length}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(e,t){return!Ss.pattern.matchAny(e,t)}};var Os={};Object.defineProperty(Os,"__esModule",{value:!0});const Is=vt;Os.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const n=Is.pattern.convertPatternsToRe(e,this._micromatchOptions),r=Is.pattern.convertPatternsToRe(t,this._micromatchOptions);return e=>this._filter(e,n,r)}_filter(e,t,n){if(this._settings.unique&&this._isDuplicateEntry(e))return!1;if(this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;if(this._isSkippedByAbsoluteNegativePatterns(e.path,n))return!1;const r=this._settings.baseNameMatch?e.name:e.path,i=e.dirent.isDirectory(),o=this._isMatchToPatterns(r,t,i)&&!this._isMatchToPatterns(e.path,n,i);return this._settings.unique&&o&&this._createIndexRecord(e),o}_isDuplicateEntry(e){return this.index.has(e.path)}_createIndexRecord(e){this.index.set(e.path,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,t){if(!this._settings.absolute)return!1;const n=Is.path.makeAbsolute(this._settings.cwd,e);return Is.pattern.matchAny(n,t)}_isMatchToPatterns(e,t,n){const r=Is.path.removeLeadingDotSegment(e),i=Is.pattern.matchAny(r,t);return!i&&n?Is.pattern.matchAny(r+"/",t):i}};var Ms={};Object.defineProperty(Ms,"__esModule",{value:!0});const Rs=vt;Ms.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return Rs.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};var Ls={};Object.defineProperty(Ls,"__esModule",{value:!0});const Ns=vt;Ls.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=Ns.path.makeAbsolute(this._settings.cwd,t),t=Ns.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}},Object.defineProperty(Es,"__esModule",{value:!0});const Hs=s,js=Fs,Qs=Os,zs=Ms,Us=Ls;Es.default=class{constructor(e){this._settings=e,this.errorFilter=new zs.default(this._settings),this.entryFilter=new Qs.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new js.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new Us.default(this._settings)}_getRootDirectory(e){return Hs.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){const t="."===e.base?"":e.base;return{basePath:t,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}},Object.defineProperty(_i,"__esModule",{value:!0});const Gs=Bi,Ys=Es;class Xs extends Ys.default{constructor(){super(...arguments),this._reader=new Gs.default(this._settings)}async read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e);return(await this.api(t,e,n)).map((e=>n.transform(e)))}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}_i.default=Xs;var Zs={};Object.defineProperty(Zs,"__esModule",{value:!0});const qs=A,Ws=Ds,Js=Es;class Ks extends Js.default{constructor(){super(...arguments),this._reader=new Ws.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),r=this.api(t,e,n),i=new qs.Readable({objectMode:!0,read:()=>{}});return r.once("error",(e=>i.emit("error",e))).on("data",(e=>i.emit("data",n.transform(e)))).once("end",(()=>i.emit("end"))),i.once("close",(()=>r.destroy())),i}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}Zs.default=Ks;var Vs={},$s={};Object.defineProperty($s,"__esModule",{value:!0});const ea=Ii,ta=Pi,na=ls;class ra extends na.default{constructor(){super(...arguments),this._walkSync=ta.walkSync,this._statSync=ea.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){const n=[];for(const r of e){const e=this._getFullEntryPath(r),i=this._getEntry(e,r,t);null!==i&&t.entryFilter(i)&&n.push(i)}return n}_getEntry(e,t,n){try{const n=this._getStat(e);return this._makeEntry(n,t)}catch(e){if(n.errorFilter(e))return null;throw e}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}$s.default=ra,Object.defineProperty(Vs,"__esModule",{value:!0});const ia=$s,oa=Es;class sa extends oa.default{constructor(){super(...arguments),this._reader=new ia.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e);return this.api(t,e,n).map(n.transform)}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}Vs.default=sa;var aa={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const n=o,r=t,i=Math.max(r.cpus().length,1);e.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:n.lstat,lstatSync:n.lstatSync,stat:n.stat,statSync:n.statSync,readdir:n.readdir,readdirSync:n.readdirSync},e.default=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,i),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0)}_getValue(e,t){return void 0===e?t:e}_getFileSystemMethods(t={}){return Object.assign(Object.assign({},e.DEFAULT_FILE_SYSTEM_ADAPTER),t)}}}(aa);const ua=mt,ca=Ei,la=_i,pa=Zs,Aa=Vs,fa=aa,Da=vt;async function da(e,t){ha(e);const n=ga(e,la.default,t),r=await Promise.all(n);return Da.array.flatten(r)}function ga(e,t,n){const r=ca.transform([].concat(e)),i=new fa.default(n),o=ua.generate(r,i),s=new t(i);return o.map(s.read,s)}function ha(e){if(![].concat(e).every((e=>Da.string.isString(e)&&!Da.string.isEmpty(e))))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){e.sync=function(e,t){ha(e);const n=ga(e,Aa.default,t);return Da.array.flatten(n)},e.stream=function(e,t){ha(e);const n=ga(e,pa.default,t);return Da.stream.merge(n)},e.generateTasks=function(e,t){ha(e);const n=ca.transform([].concat(e)),r=new fa.default(t);return ua.generate(n,r)},e.isDynamicPattern=function(e,t){ha(e);const n=new fa.default(t);return Da.pattern.isDynamicPattern(e,n)},e.escapePath=function(e){return ha(e),Da.path.escape(e)}}(da||(da={}));var ma=da,va={},ba={get exports(){return va},set exports(e){va=e}},ya={};const{promisify:wa}=u,Ca=o;async function Ea(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return(await wa(Ca[e])(n))[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}function Fa(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return Ca[e](n)[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}ya.isFile=Ea.bind(null,"stat","isFile"),ya.isDirectory=Ea.bind(null,"stat","isDirectory"),ya.isSymlink=Ea.bind(null,"lstat","isSymbolicLink"),ya.isFileSync=Fa.bind(null,"statSync","isFile"),ya.isDirectorySync=Fa.bind(null,"statSync","isDirectory"),ya.isSymlinkSync=Fa.bind(null,"lstatSync","isSymbolicLink");const ka=s,_a=ya,Ba=e=>e.length>1?`{${e.join(",")}}`:e[0],Pa=(e,t)=>{const n="!"===e[0]?e.slice(1):e;return ka.isAbsolute(n)?n:ka.join(t,n)},xa=(e,t)=>{if(t.files&&!Array.isArray(t.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof t.files}\``);if(t.extensions&&!Array.isArray(t.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof t.extensions}\``);return t.files&&t.extensions?t.files.map((n=>{return ka.posix.join(e,(r=n,i=t.extensions,ka.extname(r)?`**/${r}`:`**/${r}.${Ba(i)}`));var r,i})):t.files?t.files.map((t=>ka.posix.join(e,`**/${t}`))):t.extensions?[ka.posix.join(e,`**/*.${Ba(t.extensions)}`)]:[ka.posix.join(e,"**")]};function Sa(e){return Array.isArray(e)?e:[e]}ba.exports=async(e,t)=>{if("string"!=typeof(t={cwd:process.cwd(),...t}).cwd)throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);const n=await Promise.all([].concat(e).map((async e=>await _a.isDirectory(Pa(e,t.cwd))?xa(e,t):e)));return[].concat.apply([],n)},va.sync=(e,t)=>{if("string"!=typeof(t={cwd:process.cwd(),...t}).cwd)throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);const n=[].concat(e).map((e=>_a.isDirectorySync(Pa(e,t.cwd))?xa(e,t):e));return[].concat.apply([],n)};const Ta=/^\s+$/,Oa=/(?:[^\\]|^)\\$/,Ia=/^\\!/,Ma=/^\\#/,Ra=/\r?\n/g,La=/^\.*\/|^\.+$/;let Na="node-ignore";"undefined"!=typeof Symbol&&(Na=Symbol.for("node-ignore"));const Ha=Na,ja=/([0-z])-([0-z])/g,Qa=()=>!1,za=[[/\\?\s+$/,e=>0===e.indexOf("\\")?" ":""],[/\\\s/g,()=>" "],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,n)=>t+6t+n.replace(/\\\*/g,"[^\\/]*")],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,n,r,i)=>"\\"===t?`\\[${n}${(e=>{const{length:t}=e;return e.slice(0,t-t%2)})(r)}${i}`:"]"===i&&r.length%2==0?`[${(e=>e.replace(ja,((e,t,n)=>t.charCodeAt(0)<=n.charCodeAt(0)?e:"")))(n)}${r}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>(t?`${t}[^/]+`:"[^/]*")+"(?=$|\\/$)"]],Ua=Object.create(null),Ga=e=>"string"==typeof e;class Ya{constructor(e,t,n,r){this.origin=e,this.pattern=t,this.negative=n,this.regex=r}}const Xa=(e,t)=>{throw new t(e)},Za=(e,t,n)=>Ga(e)?e?!Za.isNotRelative(e)||n(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):n("path must not be empty",TypeError):n(`path must be a string, but got \`${t}\``,TypeError),qa=e=>La.test(e);Za.isNotRelative=qa,Za.convert=e=>e;class Wa{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:n=!1}={}){var r;r=Ha,Object.defineProperty(this,r,{value:true}),this._rules=[],this._ignoreCase=t,this._allowRelativePaths=n,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[Ha])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&Ga(e)&&!Ta.test(e)&&!Oa.test(e)&&0!==e.indexOf("#"))(e)){const t=((e,t)=>{const n=e;let r=!1;0===e.indexOf("!")&&(r=!0,e=e.substr(1));const i=((e,t)=>{let n=Ua[e];return n||(n=za.reduce(((t,n)=>t.replace(n[0],n[1].bind(e))),e),Ua[e]=n),t?new RegExp(n,"i"):new RegExp(n)})(e=e.replace(Ia,"!").replace(Ma,"#"),t);return new Ya(n,e,r,i)})(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,Sa(Ga(e)?(e=>e.split(Ra))(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,t){let n=!1,r=!1;return this._rules.forEach((i=>{const{negative:o}=i;r===o&&n!==r||o&&!n&&!r&&!t||i.regex.test(e)&&(n=!o,r=o)})),{ignored:n,unignored:r}}_test(e,t,n,r){const i=e&&Za.convert(e);return Za(i,e,this._allowRelativePaths?Qa:Xa),this._t(i,t,n,r)}_t(e,t,n,r){if(e in t)return t[e];if(r||(r=e.split("/")),r.pop(),!r.length)return t[e]=this._testOne(e,n);const i=this._t(r.join("/")+"/",t,n,r);return t[e]=i.ignored?i:this._testOne(e,n)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return Sa(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const Ja=e=>new Wa(e);Ja.isPathValid=e=>Za(e&&Za.convert(e),e,Qa),Ja.default=Ja;var Ka=Ja;if("undefined"!=typeof process&&(process.env&&process.env.IGNORE_TEST_WIN32||"win32"===process.platform)){const e=e=>/^\\\\\?\\/.test(e)||/["<>|\u0000-\u001F]+/u.test(e)?e:e.replace(/\\/g,"/");Za.convert=e;const t=/^[a-z]:\//i;Za.isNotRelative=e=>t.test(e)||qa(e)}function Va(e){const t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}const $a=e=>e instanceof URL?l.fileURLToPath(e):e,eu=e=>"!"===e[0],tu={ignore:["**/node_modules","**/flow-typed","**/coverage","**/.git"],absolute:!0,dot:!0},nu=(e,t)=>{const n=e.flatMap((e=>((e,t)=>{const n=Va(s.relative(t,s.dirname(e.filePath)));return e.content.split(/\r?\n/).filter((e=>e&&!e.startsWith("#"))).map((e=>((e,t)=>eu(e)?"!"+s.posix.join(t,e.slice(1)):s.posix.join(t,e))(e,n)))})(e,t))),r=Ka().add(n);return e=>(e=((e,t)=>{if(t=Va(t),s.isAbsolute(e)){if(Va(e).startsWith(t))return s.relative(t,e);throw new Error(`Path ${e} is not in cwd ${t}`)}return e})(e=$a(e),t),!!e&&r.ignores(Va(e)))},ru=e=>((e=>{if(e.some((e=>"string"!=typeof e)))throw new TypeError("Patterns must be a string or an array of strings")})(e=[...new Set([e].flat())]),e),iu=(e={})=>((e=>{if(!e.cwd)return;let t;try{t=o.statSync(e.cwd)}catch{return}if(!t.isDirectory())throw new Error("The `cwd` option must be a path to a directory")})(e={ignore:[],expandDirectories:!0,...e,cwd:$a(e.cwd)}),e),ou=async t=>{const n=(e=>{const{ignoreFiles:t,gitignore:n}=e,r=t?ru(t):[];return n&&r.push("**/.gitignore"),r})(t);return su(n.length>0&&await(async(t,n)=>{const{cwd:r}=((t={})=>({cwd:$a(t.cwd)||e.cwd()}))(n),i=await ma(t,{cwd:r,...tu}),s=await Promise.all(i.map((async e=>({filePath:e,content:await o.promises.readFile(e,"utf8")}))));return nu(s,r)})(n,{cwd:t.cwd}))},su=e=>{const t=new Set;return n=>{const r=n.path||n,i=s.normalize(r),o=t.has(i)||e&&e(r);return t.add(i),!o}},au=async(e,t)=>{const n=((e,t)=>{const n=[];for(;e.length>0;){const r=e.findIndex((e=>eu(e)));if(-1===r){n.push({patterns:e,options:t});break}const i=e[r].slice(1);for(const e of n)e.options.ignore.push(i);0!==r&&n.push({patterns:e.slice(0,r),options:{...t,ignore:[...t.ignore,i]}}),e=e.slice(r+1)}return n})(e,t),{cwd:r,expandDirectories:i}=t;if(!i)return n;const o=((e,t)=>({...t?{cwd:t}:{},...Array.isArray(e)?{files:e}:e}))(i,r),s=r?{cwd:r}:void 0;return Promise.all(n.map((async e=>{let{patterns:t,options:n}=e;return[t,n.ignore]=await Promise.all([va(t,o),va(n.ignore,s)]),{patterns:t,options:n}})))},uu=(cu=async(e,t)=>{const[n,r]=await Promise.all([au(e,t),ou(t)]);return((e,t)=>e.flat().filter((e=>t(e))))(await Promise.all(n.map((e=>ma(e.patterns,e.options)))),r)},async(e,t)=>cu(ru(e),iu(t)));var cu;const lu=(e,t)=>((e,t)=>e.some((e=>ma.isDynamicPattern(e,t))))(ru(e),iu(t)),pu=u.promisify(D.tmpName),Au=["md","mdown","markdown","markdn"];var fu;!function(e){e[e.File=0]="File",e[e.StandardIO=1]="StandardIO",e[e.Null=2]="Null"}(fu||(fu={}));class Du{constructor(e){this.type=fu.File,this.path=e}get absolutePath(){return s.resolve(this.path)}get absoluteFileScheme(){return k.pathToFileURL(this.absolutePath).toString()}convert(e,t){switch(e){case void 0:return Du.initialize(this.convertName(t),(e=>e.type=this.type));case!1:return Du.initialize(this.path,(e=>e.type=fu.Null));case"-":return Du.initialize("-",(e=>e.type=fu.StandardIO))}return this.inputDir?Du.initialize(this.convertName({...t,basePath:s.join(e,this.relativePath(this.inputDir))})):Du.initialize(this.convertName({...t,extension:void 0,basePath:e}))}async load(){return this.buffer=this.buffer||await o.promises.readFile(this.path),this.buffer}relativePath(e=process.cwd()){return s.relative(e,this.absolutePath)}async save(){switch(this.type){case fu.File:await this.saveToFile();break;case fu.StandardIO:process.stdout.write(this.buffer)}}async saveTmpFile(e={}){let n=await pu({postfix:e.extension});return e.home&&(n=s.join(t.homedir(),s.basename(n))),await this.saveToFile(n),{cleanup:async()=>{try{await this.cleanup(n)}catch(e){}},path:n}}cleanup(e){return o.promises.unlink(e)}convertName(e={}){const{basePath:t,extension:n,page:r}={basePath:this.path,...e};let i=t;if(void 0!==n&&(i=s.join(s.dirname(t),`${s.basename(t,s.extname(t))}.${n}`)),void 0!==r){const e=s.extname(i),t=r.toString().padStart(3,"0");i=s.join(s.dirname(i),`${s.basename(i,e)}.${t}${e}`)}return i}async saveToFile(e=this.path){const t=s.dirname(s.resolve(e));s.dirname(t)!==t&&await o.promises.mkdir(t,{recursive:!0}),await o.promises.writeFile(e,this.buffer)}static async findPath(e,...t){const n=new Set,r=[],i=[];for(const e of t){try{const t=await o.promises.stat(e);if(t.isFile()){n.add(s.resolve(e));continue}if(t.isDirectory()){i.push(s.resolve(e));continue}}catch(e){}r.push(e.split(s.sep).join("/"))}const a={absolute:!0,ignore:["**/node_modules"],...e};(await uu(r,a)).forEach((e=>n.add(e)));for(const e of i)(await uu(".",{cwd:e,...a})).forEach((e=>n.add(e)));return[...n.values()].map((e=>s.normalize(e)))}static async find(...e){return(await this.findPath({expandDirectories:{extensions:[],files:Au.map((e=>`*.${e}`))}},...e)).map((e=>new Du(e)))}static async findDir(e){const t=await this.find(e);return t.forEach((t=>t.inputDir=s.resolve(e))),t}static async stdin(){if(this.stdinBuffer=this.stdinBuffer||await Dt.buffer(),0!==this.stdinBuffer.length)return this.initialize("-",(e=>{e.buffer=this.stdinBuffer,e.type=fu.StandardIO}))}static initialize(e,t){const n=new this(e);return null==t||t(n),n}}var du={},gu=Object.prototype.hasOwnProperty;function hu(e,t){return Array.isArray(e)?function(e,t){for(var n,r="",i="",o=Array.isArray(t),s=0;s]/;function yu(e){var t=""+e,n=bu.exec(t);if(!n)return e;var r,i,o,s="";for(r=n.index,i=0;r")+"",n+="",i&&(n=n+""),p&&(n=(n=(n+="")+du.escape(null==(t=p)?"":t)+"")+'",u&&(n=n+'")),e&&(n=(n=n+'")+'"),s&&(n=(n=n+'")+'"),c&&c.length>1&&(n=n+'"),A&&(n=(n=n+'")+'"),u&&(n=n+'"),n+='',n+='',n+='',n+='',n=(n+='')+'",n=(n+='",n=(n+="",n+="",n+=null==(t=a)?"":t,f&&(n=(n+="