"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 O(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 T)return"GITHUB_ACTIONS"in T?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((e=>e in T))||"codeship"===T.CI_NAME?1:a;if("TEAMCITY_VERSION"in T)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(T.TEAMCITY_VERSION)?1:0;if("truecolor"===T.COLORTERM)return 3;if("xterm-kitty"===T.TERM)return 3;if("TERM_PROGRAM"in T){const e=Number.parseInt((T.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(T.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(T.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(T.TERM)||"COLORTERM"in T?1:a}(n,{streamIsTTY:n&&n.isTTY,...r}))&&{level:i,hasBasic:!0,has256:i>=2,has16m:i>=3};var i}O("no-color")||O("no-colors")||O("color=false")||O("color=never")?M=0:(O("color")||O("colors")||O("color=true")||O("color=always"))&&(M=1);const R={stdout:I({isTTY:n.isatty(1)}),stderr:I({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);function Y(e){return(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,Y.prototype),t})(e)}Object.setPrototypeOf(Y.prototype,Function.prototype);for(const[e,t]of Object.entries(S))G[e]={get(){const n=W(this,J(t.open,t.close,this[Q]),this[z]);return Object.defineProperty(this,e,{value:n}),n}};G.visible={get(){const e=W(this,this[Q],!0);return Object.defineProperty(this,"visible",{value:e}),e}};const X=(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?X("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(X(e,U[t],"color",...n),S.color.close,this[Q]);return W(this,r,this[z])}}},G["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...n){const r=J(X(e,U[t],"bgColor",...n),S.bgColor.close,this[Q]);return W(this,r,this[z])}}};const Z=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}},W=(e,t,n)=>{const r=(...e)=>V(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,Z),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(Y.prototype,G);const K=Y();function $(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")}(),"")}Y({level:H?H.level:0});var ee="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function te(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}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={exports:{}};!function(e){var t={};function n(e){return e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}re.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 ie=te(re.exports),oe=te((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 se(e,t={}){if("string"!=typeof e||0===e.length)return 0;if(t={ambiguousIsNarrow:!0,...t},0===(e=$(e)).length)return 0;e=e.replace(oe()," ");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(ie.eastAsianWidth(t)){case"F":case"W":r+=2;break;case"A":r+=n;break;default:r+=1}}return r}const ae=(e=0)=>t=>`[${t+e}m`,ue=(e=0)=>t=>`[${38+e};5;${t}m`,ce=(e=0)=>(t,n,r)=>`[${38+e};2;${t};${n};${r}m`,le={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(le.modifier),Object.keys(le.color),Object.keys(le.bgColor);const pe=function(){const e=new Map;for(const[t,n]of Object.entries(le)){for(const[t,r]of Object.entries(n))le[t]={open:`[${r[0]}m`,close:`[${r[1]}m`},n[t]=le[t],e.set(r[0],r[1]);Object.defineProperty(le,t,{value:n,enumerable:!1})}return Object.defineProperty(le,"codes",{value:e,enumerable:!1}),le.color.close="",le.bgColor.close="",le.color.ansi=ae(),le.color.ansi256=ue(),le.color.ansi16m=ce(),le.bgColor.ansi=ae(10),le.bgColor.ansi256=ue(10),le.bgColor.ansi16m=ce(10),Object.defineProperties(le,{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=>le.rgbToAnsi256(...le.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)=>le.ansi256ToAnsi(le.rgbToAnsi256(e,t,n)),enumerable:!1},hexToAnsi:{value:e=>le.ansi256ToAnsi(le.hexToAnsi256(e)),enumerable:!1}}),le}(),Ae=new Set(["","›"]),fe="]8;;",De=e=>`${Ae.values().next().value}[${e}m`,de=e=>`${Ae.values().next().value}${fe}${e}`,ge=(e,t,n)=>{const r=[...t];let i=!1,o=!1,s=se($(e[e.length-1]));for(const[t,a]of r.entries()){const u=se(a);s+u<=n?e[e.length-1]+=a:(e.push(a),s=0),Ae.has(a)&&(i=!0,o=r.slice(t+1).join("").startsWith(fe)),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())},he=i.terminalWidth()||80,me=(e,t,n)=>{const r=$(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=>se(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=se(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?ge(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&&!(se(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,Ae.has(t)){const{groups:t}=new RegExp(`(?:\\[(?\\d+)m|\\${fe}(?.*))`).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=pe.codes.get(Number(r));"\n"===u[e+1]?(i&&(o+=de("")),r&&n&&(o+=De(n))):"\n"===t&&(r&&n&&(o+=De(r)),i&&(o+=de(i)))}return o})(e,t,undefined))).join("\n")}(t,he-r);return`${e} ${i.split("\n").join(`\n${" ".repeat(r)}`)}`};let ve=!1;function be(e){ve=e}function ye(e,t={}){ve||console.warn(me(K.bgCyan.black("[ INFO ]"),e,t))}function we(e,t={}){ve||console.warn(me(K.bgYellow.black("[ WARN ]"),e,t))}function Ce(e,t={}){console.error(me(K.bgRed.white("[ ERROR ]"),e,t))}var Ee={};const Fe={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"},ke=(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})(Fe);Ee.from=e=>{if("number"!=typeof e)throw new TypeError("Expected a number");return Fe[e]},Ee.to=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");if(ke[e])return Number(ke[e])},Ee.all=new Proxy(ke,{get(e,t){const n=e[t];if(n)return Number(n)}});const _e=u.promisify(c.execFile),Be={spawn:!0},Pe="en-US";async function xe(e,t){return(await async function(e,t){const n=await _e(e,t,{encoding:"utf8"});return n.stdout=n.stdout.trim(),n}(e,t)).stdout}function Se(e=process.env){return e.LC_ALL||e.LC_MESSAGES||e.LANG||e.LANGUAGE}function Oe(e){return e&&e.replace(/[.:].*/,"")}async function Te(){return xe("locale",["-a"])}const Me=new Map;async function Ie(e=Be){if(Me.has(e.spawn))return Me.get(e.spawn);let t;try{const n=Se();t=n||!1===e.spawn?Oe(n):"win32"===process.platform?await async function(){const e=await xe("wmic",["os","get","locale"]),t=Number.parseInt(e.replace("Locale",""),16);return Ee.from(t)}():"darwin"===process.platform?await async function(){const e=await Promise.all([xe("defaults",["read","-globalDomain","AppleLocale"]),Te()]);return function(e,t=""){return t.includes(e)?e:Pe}(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 Se(t)}(await xe("locale")))}()}catch{}const n=(t||Pe).replace(/_/,"-");return Me.set(e.spawn,n),n}class Re{#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 Le(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 Re;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 Ne extends Error{constructor(e){super(),this.value=e}}const He=async(e,t)=>t(await e),je=async e=>{const t=await Promise.all(e);if(!0===t[1])throw new Ne(t[0]);return!1},Qe={directory:"isDirectory",file:"isFile"},ze=(e,t)=>t[Qe[e]](),Ue=e=>e instanceof URL?l.fileURLToPath(e):e;async function Ge(t,{cwd:n=e.cwd(),type:r="file",allowSymlinks:i=!0,concurrency:a,preserveOrder:u}={}){!function(e){if(!Object.hasOwnProperty.call(Qe,e))throw new Error(`Invalid type specified: ${e}`)}(r),n=Ue(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=Le(n),o=[...e].map((e=>[e,i(He,e,t)])),s=Le(r?1:Number.POSITIVE_INFINITY);try{await Promise.all(o.map((e=>s(je,e))))}catch(e){if(e instanceof Ne)return e.value;throw e}}(t,(async e=>{try{const t=await c(s.resolve(n,e));return ze(r,t)}catch{return!1}}),{concurrency:a,preserveOrder:u})}const Ye=Symbol("findUpStop");async function Xe(e,t={}){const n=await async function(e,t={}){let n=s.resolve(((r=t.cwd)instanceof URL?l.fileURLToPath(r):r)||"");var r;const{root:i}=s.parse(n),o=s.resolve(n,t.stopAt||i),a=t.limit||Number.POSITIVE_INFINITY,u=[e].flat(),c=async t=>{if("function"!=typeof e)return Ge(u,t);const n=await e(t.cwd);return"string"==typeof n?Ge([n],t):n},p=[];for(;;){const e=await c({...t,cwd:n});if(e===Ye)break;if(e&&p.push(s.resolve(n,e)),n===o||p.length>=a)break;n=s.dirname(n)}return p}(e,{...t,limit:1});return n[0]}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 Ze(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),We=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,{[We]: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[We]?await r[We]():r,n)break;return n||Ze("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 Xe("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 Ke=Symbol();function $e(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[Ke]=a}))}const et=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 tt({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=et(e);return t?{marpCLIKeywords:t}:{}},title:e=>"string"==typeof e?{marpCLITitle:e}:{},url:e=>{try{e&&new l.URL(e)}catch(t){return we(`Specified canonical URL is ignored since invalid URL: ${e}`),{}}return{marpCLIURL:e}}})}const nt="data-marp-cli-pdf-outline",rt=Symbol();function it(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(nt,t),a.push({key:t,level:e.markup.length})}e.marpit[rt]=o}))}const ot=(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},st=new Map;st.clear(),st.set("none",{backward:{both:void 0,incoming:void 0,outgoing:void 0},forward:{both:void 0,incoming:void 0,outgoing:void 0}});const at=e=>{if("object"!=typeof e)return!1;const t=e;return"string"==typeof t.name&&(void 0===t.duration||"string"==typeof t.duration)},ut=Symbol(),ct=/^marp-(?:(?:outgoing|incoming)-)?transition-(?:backward-)?(.+)$/,lt={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 pt(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(at(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(at(s)){lt[s.name]&&(r.set(s.name,lt[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(ct);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[ut]=o,!0}))}const{stdin:At}=process;async function ft(){let e="";if(At.isTTY)return e;At.setEncoding("utf8");for await(const t of At)e+=t;return e}ft.buffer=async()=>{const e=[];let t=0;if(At.isTTY)return Buffer.concat([]);for await(const n of At)e.push(n),t+=n.length;return Buffer.concat(e,t)};const Dt=A.PassThrough,dt=Array.prototype.slice;function gt(e,t){if(Array.isArray(e))for(let n=0,r=e.length;n[].concat(e,t)),[])},vt.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 bt={};Object.defineProperty(bt,"__esModule",{value:!0}),bt.isEnoentCodeError=void 0,bt.isEnoentCodeError=function(e){return"ENOENT"===e.code};var yt={};Object.defineProperty(yt,"__esModule",{value:!0}),yt.createDirentFromStats=void 0,yt.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 wt={};Object.defineProperty(wt,"__esModule",{value:!0}),wt.removeLeadingDotSegment=wt.escape=wt.makeAbsolute=wt.unixify=void 0;const Ct=s,Et=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;wt.unixify=function(e){return e.replace(/\\/g,"/")},wt.makeAbsolute=function(e,t){return Ct.resolve(e,t)},wt.escape=function(e){return e.replace(Et,"\\$2")},wt.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){const t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(2)}return e};var Ft={},kt={"{":"}","(":")","[":"]"},_t=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=kt[a];if(u){var c=e.indexOf(u,t);-1!==c&&(t=c+1)}if("!"===e[t])return!0}else t++}return!1},Bt=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&&Lt.isInvalidBrace(r),o=!0===e.invalid&&!0===t.escapeInvalid,s="";if(e.value)return(i||o)&&Lt.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 Ht=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))},jt=(e,t,n)=>{if(!1===Ht(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===Ht(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(jt.cache.hasOwnProperty(i))return jt.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=zt(s<0?Math.abs(s):1,Math.abs(o),u,r),o=u.a=0),s>=0&&(c=zt(o,s,u,r)),u.negatives=l,u.positives=c,u.result=function(e,t,n){let r=Ut(e,t,"-",!1)||[],i=Ut(t,e,"",!1)||[],o=Ut(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})`),jt.cache[i]=u,u.result};function Qt(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+Zt(i.count),a=t+1)}return s}function Ut(e,t,n,r,i){let o=[];for(let i of e){let{string:e}=i;r||Yt(t,"string",e)||o.push(n+e),r&&Yt(t,"string",e)&&o.push(n+e)}return o}function Gt(e,t){return e>t?1:t>e?-1:0}function Yt(e,t,n){return e.some((e=>e[t]===n))}function Xt(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function qt(e,t){return e-e%Math.pow(10,t)}function Zt(e){let[t=0,n=""]=e;return n||t>1?`{${t+(n?","+n:"")}}`:""}function Jt(e){return/^-?(0+)\d/.test(e)}function Wt(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}}`}}jt.cache={},jt.clearCache=()=>jt.cache={}; /*! * fill-range * * Copyright (c) 2014-present, Jon Schlinkert. * Licensed under the MIT License. */ const Vt=u,Kt=jt,$t=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),en=e=>"number"==typeof e||"string"==typeof e&&""!==e,tn=e=>Number.isInteger(+e),nn=e=>{let t=`${e}`,n=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++n];);return n>0},rn=(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},on=(e,t)=>{let n="-"===e[0]?"-":"";for(n&&(e=e.slice(1),t--);e.length{if(n)return Kt(e,t,{wrap:!1,...r});let i=String.fromCharCode(e);return e===t?i:`[${i}-${String.fromCharCode(t)}]`},an=(e,t,n)=>{if(Array.isArray(e)){let t=!0===n.wrap,r=n.capture?"":"?:";return t?`(${r}${e.join("|")})`:e.join("|")}return Kt(e,t,n)},un=(...e)=>new RangeError("Invalid range arguments: "+Vt.inspect(...e)),cn=(e,t,n)=>{if(!0===n.strictRanges)throw un([e,t]);return[]},ln=(e,t,n,r={})=>{if(null==t&&en(e))return[e];if(!en(e)||!en(t))return cn(e,t,r);if("function"==typeof n)return ln(e,t,1,{transform:n});if($t(n))return ln(e,t,0,n);let i={...r};return!0===i.capture&&(i.wrap=!0),n=n||i.step||1,tn(n)?tn(e)&&tn(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 un([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=nn(a)||nn(u)||nn(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 sn(on(e,p),on(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(rn(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):an(d,null,{wrap:!1,...r}):d})(e,t,n,i):((e,t,n=1,r={})=>{if(!tn(e)&&e.length>1||!tn(t)&&t.length>1)return cn(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 sn(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?an(l,null,{wrap:!1,options:r}):l})(e,t,Math.max(Math.abs(n),1),i):null==n||$t(n)?ln(e,t,1,n):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(n,i)},pn=ln,An=Rt;const fn=ln,Dn=Nt,dn=Rt,gn=(e="",t="",n=!1)=>{let r=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return n?dn.flatten(t).map((e=>`{${e}}`)):t;for(let i of e)if(Array.isArray(i))for(let e of i)r.push(gn(e,t,n));else for(let e of t)!0===n&&"string"==typeof e&&(e=`{${e}}`),r.push(Array.isArray(e)?gn(i,e,n):i+e);return dn.flatten(r)};const hn=Nt,{MAX_LENGTH:mn,CHAR_BACKSLASH:vn,CHAR_BACKTICK:bn,CHAR_COMMA:yn,CHAR_DOT:wn,CHAR_LEFT_PARENTHESES:Cn,CHAR_RIGHT_PARENTHESES:En,CHAR_LEFT_CURLY_BRACE:Fn,CHAR_RIGHT_CURLY_BRACE:kn,CHAR_LEFT_SQUARE_BRACKET:_n,CHAR_RIGHT_SQUARE_BRACKET:Bn,CHAR_DOUBLE_QUOTE:Pn,CHAR_SINGLE_QUOTE:xn,CHAR_NO_BREAK_SPACE:Sn,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 Tn=Nt,Mn=(e,t={})=>{let n=(e,r={})=>{let i=An.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=An.reduce(e.nodes),r=pn(...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)},In=(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(gn(s.pop(),Dn(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void s.push(gn(s.pop(),["{}"]));if(e.nodes&&e.ranges>0){let r=dn.reduce(e.nodes);if(dn.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=fn(...r,t);return 0===i.length&&(i=Dn(e,t)),s.push(gn(s.pop(),i)),void(e.nodes=[])}let a=dn.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(mn,n.maxLength):mn;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:hn(a)}]}D({type:"comma",value:i}),a.commas++}else if(i===wn&&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},Ln=(e,t={})=>{let n=[];if(Array.isArray(e))for(let r of e){let e=Ln.create(r,t);Array.isArray(e)?n.push(...e):n.push(e)}else n=[].concat(Ln.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(n=[...new Set(n)]),n};Ln.parse=(e,t={})=>Rn(e,t),Ln.stringify=(e,t={})=>Tn("string"==typeof e?Ln.parse(e,t):e,t),Ln.compile=(e,t={})=>("string"==typeof e&&(e=Ln.parse(e,t)),Mn(e,t)),Ln.expand=(e,t={})=>{"string"==typeof e&&(e=Ln.parse(e,t));let n=In(e,t);return!0===t.noempty&&(n=n.filter(Boolean)),!0===t.nodupes&&(n=[...new Set(n)]),n},Ln.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?Ln.compile(e,t):Ln.expand(e,t);var Nn=Ln,Hn={};const jn=s,Qn="\\\\/",zn=`[^${Qn}]`,Un="\\.",Gn="\\/",Yn="[^/]",Xn=`(?:${Gn}|$)`,qn=`(?:^|${Gn})`,Zn=`${Un}{1,2}${Xn}`,Jn={DOT_LITERAL:Un,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:Gn,ONE_CHAR:"(?=.)",QMARK:Yn,END_ANCHOR:Xn,DOTS_SLASH:Zn,NO_DOT:`(?!${Un})`,NO_DOTS:`(?!${qn}${Zn})`,NO_DOT_SLASH:`(?!${Un}{0,1}${Xn})`,NO_DOTS_SLASH:`(?!${Zn})`,QMARK_NO_DOT:`[^.${Gn}]`,STAR:`${Yn}*?`,START_ANCHOR:qn},Wn={...Jn,SLASH_LITERAL:`[${Qn}]`,QMARK:zn,STAR:`${zn}*?`,DOTS_SLASH:`${Un}{1,2}(?:[${Qn}]|$)`,NO_DOT:`(?!${Un})`,NO_DOTS:`(?!(?:^|[${Qn}])${Un}{1,2}(?:[${Qn}]|$))`,NO_DOT_SLASH:`(?!${Un}{0,1}(?:[${Qn}]|$))`,NO_DOTS_SLASH:`(?!${Un}{1,2}(?:[${Qn}]|$))`,QMARK_NO_DOT:`[^.${Qn}]`,START_ANCHOR:`(?:^|[${Qn}])`,END_ANCHOR:`(?:[${Qn}]|$)`};var Vn={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:jn.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?Wn:Jn};!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}=Vn;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}}(Hn);const Kn=Hn,{CHAR_ASTERISK:$n,CHAR_AT:er,CHAR_BACKWARD_SLASH:tr,CHAR_COMMA:nr,CHAR_DOT:rr,CHAR_EXCLAMATION_MARK:ir,CHAR_FORWARD_SLASH:or,CHAR_LEFT_CURLY_BRACE:sr,CHAR_LEFT_PARENTHESES:ar,CHAR_LEFT_SQUARE_BRACKET:ur,CHAR_PLUS:cr,CHAR_QUESTION_MARK:lr,CHAR_RIGHT_CURLY_BRACE:pr,CHAR_RIGHT_PARENTHESES:Ar,CHAR_RIGHT_SQUARE_BRACKET:fr}=Vn,Dr=e=>e===or||e===tr,dr=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};const gr=Vn,hr=Hn,{MAX_LENGTH:mr,POSIX_REGEX_SOURCE:vr,REGEX_NON_SPECIAL_CHARS:br,REGEX_SPECIAL_CHARS_BACKREF:yr,REPLACEMENTS:wr}=gr,Cr=(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=>hr.escapeRegex(e))).join("..")}return n},Er=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,Fr=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=wr[e]||e;const n={...t},r="number"==typeof n.maxLength?Math.min(mr,n.maxLength):mr;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=hr.isWindows(t),c=gr.globChars(u),l=gr.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=hr.removePrefix(e,_),i=e.length;const B=[],P=[],x=[];let S,O=o;const T=()=>_.index===i-1,M=_.peek=(t=1)=>e[_.index+t],I=_.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(;"!"===M()&&("("!==M(2)||"?"===M(3));)I(),_.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"===O.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,-O.output.length),O.type="star",O.value="*",O.output=k,_.output+=O.output)}if(B.length&&"paren"!==e.type&&(B[B.length-1].inner+=e.value),(e.value||e.output)&&N(e),O&&"text"===O.type&&"text"===e.type)return O.value+=e.value,void(O.output=(O.output||"")+e.value);e.prev=O,s.push(e),O=e},U=(e,t)=>{const r={...l[t],conditions:1,inner:""};r.prev=O,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:I(),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||T()||/^\)+$/.test(R()))&&(i=e.close=`)$))${o}`),e.inner.includes("*")&&(r=R())&&/^\.[^\\/.]+$/.test(r)){const n=Fr(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(yr,((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=hr.wrapOutput(i,_,t),_)}for(;!T();){if(S=I(),"\0"===S)continue;if("\\"===S){const e=M();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=I():S+=I(),0===_.brackets){z({type:"text",value:S});continue}}if(_.brackets>0&&("]"!==S||"["===O.value||"[^"===O.value)){if(!1!==n.posix&&":"===S){const e=O.value.slice(1);if(e.includes("[")&&(O.posix=!0,e.includes(":"))){const e=O.value.lastIndexOf("["),t=O.value.slice(0,e),n=O.value.slice(e+2),r=vr[n];if(r){O.value=t+r,_.backtrack=!0,I(),o.output||1!==s.indexOf(O)||(o.output=D);continue}}}("["===S&&":"!==M()||"-"===S&&"]"===M())&&(S=`\\${S}`),"]"!==S||"["!==O.value&&"[^"!==O.value||(S=`\\${S}`),!0===n.posix&&"!"===S&&"["===O.value&&(S="^"),O.value+=S,N({value:S});continue}if(1===_.quotes&&'"'!==S){S=hr.escapeRegex(S),O.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(Er("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(Er("closing","]"));S=`\\${S}`}z({type:"bracket",value:S});continue}if("]"===S){if(!0===n.nobracket||O&&"bracket"===O.type&&1===O.value.length){z({type:"text",value:S,output:`\\${S}`});continue}if(0===_.brackets){if(!0===n.strictBrackets)throw new SyntaxError(Er("opening","["));z({type:"text",value:S,output:`\\${S}`});continue}Q("brackets");const e=O.value.slice(1);if(!0===O.posix||"^"!==e[0]||e.includes("/")||(S=`/${S}`),O.value+=S,N({value:S}),!1===n.literalBrackets||hr.hasRegexChars(e))continue;const t=hr.escapeRegex(O.value);if(_.output=_.output.slice(0,-O.value.length),!0===n.literalBrackets){_.output+=t,O.value=t;continue}O.value=`(${a}${t}|${O.value})`,_.output+=O.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=Cr(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"===O.type&&_.index===_.start+1){_.start=_.index+1,_.consumed="",_.output="",s.pop(),O=o;continue}z({type:"slash",value:S,output:f});continue}if("."===S){if(_.braces>0&&"dot"===O.type){"."===O.value&&(O.output=p);const e=P[P.length-1];O.type="dots",O.output+=S,O.value+=S,e.dots=!0;continue}if(_.braces+_.parens===0&&"bos"!==O.type&&"slash"!==O.type){z({type:"text",value:S,output:p});continue}z({type:"dot",value:S,output:p});continue}if("?"===S){if((!O||"("!==O.value)&&!0!==n.noextglob&&"("===M()&&"?"!==M(2)){U("qmark",S);continue}if(O&&"paren"===O.type){const e=M();let t=S;if("<"===e&&!hr.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===O.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(R()))&&(t=`\\${S}`),z({type:"text",value:S,output:t});continue}if(!0!==n.dot&&("slash"===O.type||"bos"===O.type)){z({type:"qmark",value:S,output:b});continue}z({type:"qmark",value:S,output:v});continue}if("!"===S){if(!0!==n.noextglob&&"("===M()&&("?"!==M(2)||!/[!=<:]/.test(M(3)))){U("negate",S);continue}if(!0!==n.nonegate&&0===_.index){H();continue}}if("+"===S){if(!0!==n.noextglob&&"("===M()&&"?"!==M(2)){U("plus",S);continue}if(O&&"("===O.value||!1===n.regex){z({type:"plus",value:S,output:A});continue}if(O&&("bracket"===O.type||"paren"===O.type||"brace"===O.type)||_.parens>0){z({type:"plus",value:S});continue}z({type:"plus",value:A});continue}if("@"===S){if(!0!==n.noextglob&&"("===M()&&"?"!==M(2)){z({type:"at",extglob:!0,value:S,output:""});continue}z({type:"text",value:S});continue}if("*"!==S){"$"!==S&&"^"!==S||(S=`\\${S}`);const e=br.exec(R());e&&(S+=e[0],_.index+=e[0].length),z({type:"text",value:S});continue}if(O&&("globstar"===O.type||!0===O.star)){O.type="star",O.star=!0,O.value+=S,O.output=k,_.backtrack=!0,_.globstar=!0,L(S);continue}let t=R();if(!0!==n.noextglob&&/^\([^?]/.test(t)){U("star",S);continue}if("star"===O.type){if(!0===n.noglobstar){L(S);continue}const r=O.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&&T()){O.type="globstar",O.value+=S,O.output=C(n),_.output=O.output,_.globstar=!0,L(S);continue}if("slash"===r.type&&"bos"!==r.prev.type&&!s&&T()){_.output=_.output.slice(0,-(r.output+O.output).length),r.output=`(?:${r.output}`,O.type="globstar",O.output=C(n)+(n.strictSlashes?")":"|$)"),O.value+=S,_.globstar=!0,_.output+=r.output+O.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+O.output).length),r.output=`(?:${r.output}`,O.type="globstar",O.output=`${C(n)}${f}|${f}${e})`,O.value+=S,_.output+=r.output+O.output,_.globstar=!0,L(S+I()),z({type:"slash",value:"/",output:""});continue}if("bos"===r.type&&"/"===t[0]){O.type="globstar",O.value+=S,O.output=`(?:^|${f}|${C(n)}${f})`,_.output=O.output,_.globstar=!0,L(S+I()),z({type:"slash",value:"/",output:""});continue}_.output=_.output.slice(0,-O.output.length),O.type="globstar",O.output=C(n),O.value+=S,_.output+=O.output,_.globstar=!0,L(S);continue}const r={type:"star",value:S,output:k};!0!==n.bash?!O||"bracket"!==O.type&&"paren"!==O.type||!0!==n.regex?(_.index!==_.start&&"slash"!==O.type&&"dot"!==O.type||("dot"===O.type?(_.output+=h,O.output+=h):!0===n.dot?(_.output+=m,O.output+=m):(_.output+=E,O.output+=E),"*"!==M()&&(_.output+=D,O.output+=D)),z(r)):(r.output=S,z(r)):(r.output=".*?","bos"!==O.type&&"slash"!==O.type||(r.output=E+r.output),z(r))}for(;_.brackets>0;){if(!0===n.strictBrackets)throw new SyntaxError(Er("closing","]"));_.output=hr.escapeLast(_.output,"["),Q("brackets")}for(;_.parens>0;){if(!0===n.strictBrackets)throw new SyntaxError(Er("closing",")"));_.output=hr.escapeLast(_.output,"("),Q("parens")}for(;_.braces>0;){if(!0===n.strictBrackets)throw new SyntaxError(Er("closing","}"));_.output=hr.escapeLast(_.output,"{"),Q("braces")}if(!0===n.strictSlashes||"star"!==O.type&&"bracket"!==O.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 _};Fr.fastpaths=(e,t)=>{const n={...t},r="number"==typeof n.maxLength?Math.min(mr,n.maxLength):mr,i=e.length;if(i>r)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${r}`);e=wr[e]||e;const o=hr.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}=gr.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=hr.removePrefix(e,{negated:!1,prefix:""});let w=b(y);return w&&!0!==n.strictSlashes&&(w+=`${a}?`),w};const kr=s,_r=(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&&Dr(B.charCodeAt(B.length-1))&&(B=B.slice(0,-1)),!0===n.unescape&&(x&&(x=Kn.removeBackslashes(x)),B&&!0===b&&(B=Kn.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,Dr(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=>Sr(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=Pr.isWindows(t),a=r?Sr.compileRe(e,t):Sr.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=Sr(o.ignore,e,n)}const l=(n,r=!1)=>{const{isMatch:i,match:l,output:p}=Sr.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};Sr.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?Pr.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?Sr.matchBase(e,t,n,i):t.exec(u)),{isMatch:Boolean(a),match:a,output:u}},Sr.matchBase=(e,t,n,r=Pr.isWindows(n))=>(t instanceof RegExp?t:Sr.makeRe(t,n)).test(kr.basename(e)),Sr.isMatch=(e,t,n)=>Sr(t,n)(e),Sr.parse=(e,t)=>Array.isArray(e)?e.map((e=>Sr.parse(e,t))):Br(e,{...t,fastpaths:!1}),Sr.scan=(e,t)=>_r(e,t),Sr.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=Sr.toRegex(a,t);return!0===r&&(u.state=e),u},Sr.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=Br.fastpaths(e,t)),i.output||(i=Br(e,t)),Sr.compileRe(i,t,n,r)},Sr.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/$^/}},Sr.constants=xr;const Or=u,Tr=Nn,Mr=Sr,Ir=Hn,Rr=e=>""===e||"./"===e,Lr=(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};Lr.match=Lr,Lr.matcher=(e,t)=>Mr(e,t),Lr.isMatch=(e,t,n)=>Mr(t,n)(e),Lr.any=Lr.isMatch,Lr.not=(e,t,n={})=>{t=[].concat(t).map(String);let r=new Set,i=[],o=new Set(Lr(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]},Lr.contains=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${Or.inspect(e)}"`);if(Array.isArray(t))return t.some((t=>Lr.contains(e,t,n)));if("string"==typeof t){if(Rr(e)||Rr(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return Lr.isMatch(e,t,{...n,contains:!0})},Lr.matchKeys=(e,t,n)=>{if(!Ir.isObject(e))throw new TypeError("Expected the first argument to be an object");let r=Lr(Object.keys(e),t,n),i={};for(let t of r)i[t]=e[t];return i},Lr.some=(e,t,n)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=Mr(String(e),n);if(r.some((e=>t(e))))return!0}return!1},Lr.every=(e,t,n)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=Mr(String(e),n);if(!r.every((e=>t(e))))return!1}return!0},Lr.all=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${Or.inspect(e)}"`);return[].concat(t).every((t=>Mr(t,n)(e)))},Lr.capture=(e,t,n)=>{let r=Ir.isWindows(n),i=Mr.makeRe(String(e),{...n,capture:!0}).exec(r?Ir.toPosixSlashes(t):t);if(i)return i.slice(1).map((e=>void 0===e?"":e))},Lr.makeRe=(...e)=>Mr.makeRe(...e),Lr.scan=(...e)=>Mr.scan(...e),Lr.parse=(e,t)=>{let n=[];for(let r of[].concat(e||[]))for(let e of Tr(String(r),t))n.push(Mr.parse(e,t));return n},Lr.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!/\{.*\}/.test(e)?[e]:Tr(e,t)},Lr.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return Lr.braces(e,{...t,expand:!0})};var Nr=Lr;Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.matchAny=Ft.convertPatternsToRe=Ft.makeRe=Ft.getPatternParts=Ft.expandBraceExpansion=Ft.expandPatternsWithBraceExpansion=Ft.isAffectDepthOfReadingPattern=Ft.endsWithSlashGlobStar=Ft.hasGlobStar=Ft.getBaseDirectory=Ft.isPatternRelatedToParentDirectory=Ft.getPatternsOutsideCurrentDirectory=Ft.getPatternsInsideCurrentDirectory=Ft.getPositivePatterns=Ft.getNegativePatterns=Ft.isPositivePattern=Ft.isNegativePattern=Ft.convertToNegativePattern=Ft.convertToPositivePattern=Ft.isDynamicPattern=Ft.isStaticPattern=void 0;const Hr=s,jr=Nr,Qr="\\",zr=/[*?]|^!/,Ur=/\[[^[]*]/,Gr=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,Yr=/[!*+?@]\([^(]*\)/,Xr=/,|\.\./;function qr(e,t={}){return!Zr(e,t)}function Zr(e,t={}){return!!(""!==e&&(!1===t.caseSensitiveMatch||e.includes(Qr)||zr.test(e)||Ur.test(e)||Gr.test(e)||!1!==t.extglob&&Yr.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 Xr.test(r)}(e)))}function Jr(e){return e.startsWith("!")&&"("!==e[1]}function Wr(e){return!Jr(e)}function Vr(e){return e.startsWith("..")||e.startsWith("./..")}function Kr(e){return e.endsWith("/**")}function $r(e){return jr.braces(e,{expand:!0,nodupes:!0})}function ei(e,t){return jr.makeRe(e,t)}Ft.isStaticPattern=qr,Ft.isDynamicPattern=Zr,Ft.convertToPositivePattern=function(e){return Jr(e)?e.slice(1):e},Ft.convertToNegativePattern=function(e){return"!"+e},Ft.isNegativePattern=Jr,Ft.isPositivePattern=Wr,Ft.getNegativePatterns=function(e){return e.filter(Jr)},Ft.getPositivePatterns=function(e){return e.filter(Wr)},Ft.getPatternsInsideCurrentDirectory=function(e){return e.filter((e=>!Vr(e)))},Ft.getPatternsOutsideCurrentDirectory=function(e){return e.filter(Vr)},Ft.isPatternRelatedToParentDirectory=Vr,Ft.getBaseDirectory=function(e){return function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&St&&e.indexOf("/")<0&&(e=e.replace(Ot,"/")),Tt.test(e)&&(e+="/"),e+="a";do{e=xt(e)}while(Pt(e)||Mt.test(e));return e.replace(It,"$1")}(e,{flipBackslashes:!1})},Ft.hasGlobStar=function(e){return e.includes("**")},Ft.endsWithSlashGlobStar=Kr,Ft.isAffectDepthOfReadingPattern=function(e){const t=Hr.basename(e);return Kr(e)||qr(t)},Ft.expandPatternsWithBraceExpansion=function(e){return e.reduce(((e,t)=>e.concat($r(t))),[])},Ft.expandBraceExpansion=$r,Ft.getPatternParts=function(e,t){let{parts:n}=jr.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},Ft.makeRe=ei,Ft.convertPatternsToRe=function(e,t){return e.map((e=>ei(e,t)))},Ft.matchAny=function(e,t){return t.some((t=>t.test(e)))};var ti={};Object.defineProperty(ti,"__esModule",{value:!0}),ti.merge=void 0;const ni=function(){const e=[],t=dt.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")))}ti.merge=function(e){const t=ni(e);return e.forEach((e=>{e.once("error",(e=>t.emit("error",e)))})),t.once("close",(()=>ri(e))),t.once("end",(()=>ri(e))),t};var ii={};Object.defineProperty(ii,"__esModule",{value:!0}),ii.isEmpty=ii.isString=void 0,ii.isString=function(e){return"string"==typeof e},ii.isEmpty=function(e){return""===e},Object.defineProperty(mt,"__esModule",{value:!0}),mt.string=mt.stream=mt.pattern=mt.path=mt.fs=mt.errno=mt.array=void 0;const oi=vt;mt.array=oi;const si=bt;mt.errno=si;const ai=yt;mt.fs=ai;const ui=wt;mt.path=ui;const ci=Ft;mt.pattern=ci;const li=ti;mt.stream=li;const pi=ii;mt.string=pi,Object.defineProperty(ht,"__esModule",{value:!0}),ht.convertPatternGroupToTask=ht.convertPatternGroupsToTasks=ht.groupPatternsByBaseDirectory=ht.getNegativePatternsAsPositive=ht.getPositivePatterns=ht.convertPatternsToTasks=ht.generate=void 0;const Ai=mt;function fi(e,t,n){const r=[],i=Ai.pattern.getPatternsOutsideCurrentDirectory(e),o=Ai.pattern.getPatternsInsideCurrentDirectory(e),s=gi(i),a=gi(o);return r.push(...hi(s,t,n)),"."in a?r.push(mi(".",o,t,n)):r.push(...hi(a,t,n)),r}function Di(e){return Ai.pattern.getPositivePatterns(e)}function di(e,t){return Ai.pattern.getNegativePatterns(e).concat(t).map(Ai.pattern.convertToPositivePattern)}function gi(e){return e.reduce(((e,t)=>{const n=Ai.pattern.getBaseDirectory(t);return n in e?e[n].push(t):e[n]=[t],e}),{})}function hi(e,t,n){return Object.keys(e).map((r=>mi(r,e[r],t,n)))}function mi(e,t,n,r){return{dynamic:r,positive:t,negative:n,base:e,patterns:[].concat(t,n.map(Ai.pattern.convertToNegativePattern))}}ht.generate=function(e,t){const n=Di(e),r=di(e,t.ignore),i=n.filter((e=>Ai.pattern.isStaticPattern(e,t))),o=n.filter((e=>Ai.pattern.isDynamicPattern(e,t))),s=fi(i,r,!1),a=fi(o,r,!0);return s.concat(a)},ht.convertPatternsToTasks=fi,ht.getPositivePatterns=Di,ht.getNegativePatternsAsPositive=di,ht.groupPatternsByBaseDirectory=gi,ht.convertPatternGroupsToTasks=hi,ht.convertPatternGroupToTask=mi;var vi={};Object.defineProperty(vi,"__esModule",{value:!0}),vi.removeDuplicateSlashes=vi.transform=void 0;const bi=/(?!^)\/{2,}/g;function yi(e){return e.replace(bi,"/")}vi.transform=function(e){return e.map((e=>yi(e)))},vi.removeDuplicateSlashes=yi;var wi={},Ci={},Ei={},Fi={},ki={},_i={},Bi={},Pi={},xi={};function Si(e,t){e(t)}function Oi(e,t){e(null,t)}Object.defineProperty(xi,"__esModule",{value:!0}),xi.read=void 0,xi.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 Si(n,e):void Oi(n,i);t.markSymbolicLink&&(r.isSymbolicLink=()=>!0),Oi(n,r)})):Oi(n,i):Si(n,r)}))};var Ti={};Object.defineProperty(Ti,"__esModule",{value:!0}),Ti.read=void 0,Ti.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 Mi={},Ii={};!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)}}(Ii),Object.defineProperty(Mi,"__esModule",{value:!0});const Ri=Ii;Mi.default=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=Ri.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(Pi,"__esModule",{value:!0}),Pi.statSync=Pi.stat=Pi.Settings=void 0;const Li=xi,Ni=Ti,Hi=Mi;function ji(e={}){return e instanceof Hi.default?e:new Hi.default(e)}/*! queue-microtask. MIT License. Feross Aboukhadijeh */let Qi;Pi.Settings=Hi.default,Pi.stat=function(e,t,n){"function"!=typeof t?Li.read(e,ji(t),n):Li.read(e,ji(),t)},Pi.statSync=function(e,t){const n=ji(t);return Ni.read(e,n)};const zi="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:ee):e=>(Qi||(Qi=Promise.resolve())).then(e).catch((e=>setTimeout((()=>{throw e}),0)))/*! run-parallel. MIT License. Feross Aboukhadijeh */;var Ui={};Object.defineProperty(Ui,"__esModule",{value:!0}),Ui.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const Gi=process.versions.node.split(".");if(void 0===Gi[0]||void 0===Gi[1])throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);const Yi=Number.parseInt(Gi[0],10),Xi=Number.parseInt(Gi[1],10),qi=Yi>10,Zi=10===Yi&&Xi>=10;Ui.IS_SUPPORT_READDIR_WITH_FILE_TYPES=qi||Zi;var Ji={},Wi={};Object.defineProperty(Wi,"__esModule",{value:!0}),Wi.createDirentFromStats=void 0;class Vi{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)}}Wi.createDirentFromStats=function(e,t){return new Vi(e,t)},Object.defineProperty(Ji,"__esModule",{value:!0}),Ji.fs=void 0;const Ki=Wi;Ji.fs=Ki;var $i={};Object.defineProperty($i,"__esModule",{value:!0}),$i.joinPathSegments=void 0,$i.joinPathSegments=function(e,t,n){return e.endsWith(n)?e+t:e+n+t},Object.defineProperty(Bi,"__esModule",{value:!0}),Bi.readdir=Bi.readdirWithFileTypes=Bi.read=void 0;const eo=Pi,to=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},no=Ui,ro=Ji,io=$i;function oo(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:io.joinPathSegments(e,n.name,t.pathSegmentSeparator)})));if(!t.followSymbolicLinks)return void uo(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=ro.fs.createDirentFromStats(e.name,i),n(null,e)})):n(null,e)}}(e,t)));to(s,((e,t)=>{null===e?uo(n,t):ao(n,e)}))}))}function so(e,t,n){t.fs.readdir(e,((r,i)=>{if(null!==r)return void ao(n,r);const o=i.map((n=>{const r=io.joinPathSegments(e,n,t.pathSegmentSeparator);return e=>{eo.stat(r,t.fsStatSettings,((i,o)=>{if(null!==i)return void e(i);const s={name:n,path:r,dirent:ro.fs.createDirentFromStats(n,o)};t.stats&&(s.stats=o),e(null,s)}))}}));to(o,((e,t)=>{null===e?uo(n,t):ao(n,e)}))}))}function ao(e,t){e(t)}function uo(e,t){e(null,t)}Bi.read=function(e,t,n){t.stats||!no.IS_SUPPORT_READDIR_WITH_FILE_TYPES?so(e,t,n):oo(e,t,n)},Bi.readdirWithFileTypes=oo,Bi.readdir=so;var co={};Object.defineProperty(co,"__esModule",{value:!0}),co.readdir=co.readdirWithFileTypes=co.read=void 0;const lo=Pi,po=Ui,Ao=Ji,fo=$i;function Do(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map((n=>{const r={dirent:n,name:n.name,path:fo.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(r.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(r.path);r.dirent=Ao.fs.createDirentFromStats(r.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return r}))}function go(e,t){return t.fs.readdirSync(e).map((n=>{const r=fo.joinPathSegments(e,n,t.pathSegmentSeparator),i=lo.statSync(r,t.fsStatSettings),o={name:n,path:r,dirent:Ao.fs.createDirentFromStats(n,i)};return t.stats&&(o.stats=i),o}))}co.read=function(e,t){return!t.stats&&po.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Do(e,t):go(e,t)},co.readdirWithFileTypes=Do,co.readdir=go;var ho={},mo={};!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)}}(mo),Object.defineProperty(ho,"__esModule",{value:!0});const vo=s,bo=Pi,yo=mo;ho.default=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=yo.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,vo.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new bo.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}},Object.defineProperty(_i,"__esModule",{value:!0}),_i.Settings=_i.scandirSync=_i.scandir=void 0;const wo=Bi,Co=co,Eo=ho;function Fo(e={}){return e instanceof Eo.default?e:new Eo.default(e)}_i.Settings=Eo.default,_i.scandir=function(e,t,n){"function"!=typeof t?wo.read(e,Fo(t),n):wo.read(e,Fo(),t)},_i.scandirSync=function(e,t){const n=Fo(t);return Co.read(e,n)};var ko={exports:{}};function _o(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,i,o,s=(i=new(r=Po),o=i,{get:function(){var e=i;return e.next?i=e.next:(i=new r,o=i),e.next=null,e},release:function(e){o.next=e,o=e}}),a=null,u=null,c=0,l=null,p={push:function(n,r){var i=s.get();i.context=e,i.release=A,i.value=n,i.callback=r||Bo,i.errorHandler=l,c===p.concurrency||p.paused?u?(u.next=i,u=i):(a=i,u=i,p.saturated()):(c++,t.call(e,i.value,i.worked))},drain:Bo,saturated:Bo,pause:function(){p.paused=!0},paused:!1,concurrency:n,running:function(){return c},resume:function(){if(p.paused){p.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&&Lo.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=Lo.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),Lo.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&Lo.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}ki.default=Ho,Object.defineProperty(Fi,"__esModule",{value:!0});const jo=ki;Fi.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new jo.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 Qo={};Object.defineProperty(Qo,"__esModule",{value:!0});const zo=A,Uo=ki;Qo.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new Uo.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 Go={},Yo={};Object.defineProperty(Yo,"__esModule",{value:!0});const Xo=_i,qo=So,Zo=Oo;class Jo extends Zo.default{constructor(){super(...arguments),this._scandir=Xo.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(qo.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const n=e.path;void 0!==t&&(e.path=qo.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),qo.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&qo.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}Yo.default=Jo,Object.defineProperty(Go,"__esModule",{value:!0});const Wo=Yo;Go.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new Wo.default(this._root,this._settings)}read(){return this._reader.read()}};var Vo={};Object.defineProperty(Vo,"__esModule",{value:!0});const Ko=s,$o=_i;Vo.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,Ko.sep),this.fsScandirSettings=new $o.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(Ei,"__esModule",{value:!0}),Ei.Settings=Ei.walkStream=Ei.walkSync=Ei.walk=void 0;const es=Fi,ts=Qo,ns=Go,rs=Vo;function is(e={}){return e instanceof rs.default?e:new rs.default(e)}Ei.Settings=rs.default,Ei.walk=function(e,t,n){"function"!=typeof t?new es.default(e,is(t)).read(n):new es.default(e,is()).read(t)},Ei.walkSync=function(e,t){const n=is(t);return new ns.default(e,n).read()},Ei.walkStream=function(e,t){const n=is(t);return new ts.default(e,n).read()};var os={};Object.defineProperty(os,"__esModule",{value:!0});const ss=s,as=Pi,us=mt;os.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 ss.resolve(this._settings.cwd,e)}_makeEntry(e,t){const n={name:t,path:t,dirent:us.fs.createDirentFromStats(t,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!us.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};var cs={};Object.defineProperty(cs,"__esModule",{value:!0});const ls=A,ps=Pi,As=Ei,fs=os;class Ds extends fs.default{constructor(){super(...arguments),this._walkStream=As.walkStream,this._stat=ps.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const n=e.map(this._getFullEntryPath,this),r=new ls.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)))}))}}cs.default=Ds,Object.defineProperty(Ci,"__esModule",{value:!0});const ds=Ei,gs=os,hs=cs;class ms extends gs.default{constructor(){super(...arguments),this._walkAsync=ds.walk,this._readerStream=new hs.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)))}))}}Ci.default=ms;var vs={},bs={},ys={},ws={};Object.defineProperty(ws,"__esModule",{value:!0});const Cs=mt;ws.default=class{constructor(e,t,n){this._patterns=e,this._settings=t,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){const e=Cs.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 Cs.pattern.getPatternParts(e,this._micromatchOptions).map((e=>Cs.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:Cs.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e}))}_splitSegmentsIntoSections(e){return Cs.array.splitWhen(e,(e=>e.dynamic&&Cs.pattern.hasGlobStar(e.pattern)))}},Object.defineProperty(ys,"__esModule",{value:!0});const Es=ws;class Fs extends Es.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}}ys.default=Fs,Object.defineProperty(bs,"__esModule",{value:!0});const ks=mt,_s=ys;bs.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 _s.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(ks.pattern.isAffectDepthOfReadingPattern);return ks.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=ks.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!ks.pattern.matchAny(e,t)}};var Bs={};Object.defineProperty(Bs,"__esModule",{value:!0});const Ps=mt;Bs.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const n=Ps.pattern.convertPatternsToRe(e,this._micromatchOptions),r=Ps.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=Ps.path.makeAbsolute(this._settings.cwd,e);return Ps.pattern.matchAny(n,t)}_isMatchToPatterns(e,t,n){const r=Ps.path.removeLeadingDotSegment(e),i=Ps.pattern.matchAny(r,t);return!i&&n?Ps.pattern.matchAny(r+"/",t):i}};var xs={};Object.defineProperty(xs,"__esModule",{value:!0});const Ss=mt;xs.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return Ss.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};var Os={};Object.defineProperty(Os,"__esModule",{value:!0});const Ts=mt;Os.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=Ts.path.makeAbsolute(this._settings.cwd,t),t=Ts.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}},Object.defineProperty(vs,"__esModule",{value:!0});const Ms=s,Is=bs,Rs=Bs,Ls=xs,Ns=Os;vs.default=class{constructor(e){this._settings=e,this.errorFilter=new Ls.default(this._settings),this.entryFilter=new Rs.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new Is.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new Ns.default(this._settings)}_getRootDirectory(e){return Ms.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(wi,"__esModule",{value:!0});const Hs=Ci,js=vs;class Qs extends js.default{constructor(){super(...arguments),this._reader=new Hs.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)}}wi.default=Qs;var zs={};Object.defineProperty(zs,"__esModule",{value:!0});const Us=A,Gs=cs,Ys=vs;class Xs extends Ys.default{constructor(){super(...arguments),this._reader=new Gs.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),r=this.api(t,e,n),i=new Us.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=Xs;var qs={},Zs={};Object.defineProperty(Zs,"__esModule",{value:!0});const Js=Pi,Ws=Ei,Vs=os;class Ks extends Vs.default{constructor(){super(...arguments),this._walkSync=Ws.walkSync,this._statSync=Js.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)}}Zs.default=Ks,Object.defineProperty(qs,"__esModule",{value:!0});const $s=Zs,ea=vs;class ta extends ea.default{constructor(){super(...arguments),this._reader=new $s.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)}}qs.default=ta;var na={};!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)}}}(na);const ra=ht,ia=vi,oa=wi,sa=zs,aa=qs,ua=na,ca=mt;async function la(e,t){Aa(e);const n=pa(e,oa.default,t),r=await Promise.all(n);return ca.array.flatten(r)}function pa(e,t,n){const r=ia.transform([].concat(e)),i=new ua.default(n),o=ra.generate(r,i),s=new t(i);return o.map(s.read,s)}function Aa(e){if(![].concat(e).every((e=>ca.string.isString(e)&&!ca.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){Aa(e);const n=pa(e,aa.default,t);return ca.array.flatten(n)},e.stream=function(e,t){Aa(e);const n=pa(e,sa.default,t);return ca.stream.merge(n)},e.generateTasks=function(e,t){Aa(e);const n=ia.transform([].concat(e)),r=new ua.default(t);return ra.generate(n,r)},e.isDynamicPattern=function(e,t){Aa(e);const n=new ua.default(t);return ca.pattern.isDynamicPattern(e,n)},e.escapePath=function(e){return Aa(e),ca.path.escape(e)}}(la||(la={}));var fa=te(la),Da={exports:{}},da={};const{promisify:ga}=u,ha=o;async function ma(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return(await ga(ha[e])(n))[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}function va(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return ha[e](n)[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}da.isFile=ma.bind(null,"stat","isFile"),da.isDirectory=ma.bind(null,"stat","isDirectory"),da.isSymlink=ma.bind(null,"lstat","isSymbolicLink"),da.isFileSync=va.bind(null,"statSync","isFile"),da.isDirectorySync=va.bind(null,"statSync","isDirectory"),da.isSymlinkSync=va.bind(null,"lstatSync","isSymbolicLink");const ba=s,ya=da,wa=e=>e.length>1?`{${e.join(",")}}`:e[0],Ca=(e,t)=>{const n="!"===e[0]?e.slice(1):e;return ba.isAbsolute(n)?n:ba.join(t,n)},Ea=(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 ba.posix.join(e,(r=n,i=t.extensions,ba.extname(r)?`**/${r}`:`**/${r}.${wa(i)}`));var r,i})):t.files?t.files.map((t=>ba.posix.join(e,`**/${t}`))):t.extensions?[ba.posix.join(e,`**/*.${wa(t.extensions)}`)]:[ba.posix.join(e,"**")]};Da.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 ya.isDirectory(Ca(e,t.cwd))?Ea(e,t):e)));return[].concat.apply([],n)},Da.exports.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=>ya.isDirectorySync(Ca(e,t.cwd))?Ea(e,t):e));return[].concat.apply([],n)};var Fa=te(Da.exports);function ka(e){return Array.isArray(e)?e:[e]}const _a=/^\s+$/,Ba=/(?:[^\\]|^)\\$/,Pa=/^\\!/,xa=/^\\#/,Sa=/\r?\n/g,Oa=/^\.*\/|^\.+$/;let Ta="node-ignore";"undefined"!=typeof Symbol&&(Ta=Symbol.for("node-ignore"));const Ma=Ta,Ia=/([0-z])-([0-z])/g,Ra=()=>!1,La=[[/\\?\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(Ia,((e,t,n)=>t.charCodeAt(0)<=n.charCodeAt(0)?e:"")))(n)}${r}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>(t?`${t}[^/]+`:"[^/]*")+"(?=$|\\/$)"]],Na=Object.create(null),Ha=e=>"string"==typeof e;class ja{constructor(e,t,n,r){this.origin=e,this.pattern=t,this.negative=n,this.regex=r}}const Qa=(e,t)=>{throw new t(e)},za=(e,t,n)=>Ha(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),Ua=e=>Oa.test(e);za.isNotRelative=Ua,za.convert=e=>e;class Ga{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:n=!1}={}){var r;r=Ma,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[Ma])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&Ha(e)&&!_a.test(e)&&!Ba.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=Na[e];return n||(n=La.reduce(((t,n)=>t.replace(n[0],n[1].bind(e))),e),Na[e]=n),t?new RegExp(n,"i"):new RegExp(n)})(e=e.replace(Pa,"!").replace(xa,"#"),t);return new ja(n,e,r,i)})(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,ka(Ha(e)?(e=>e.split(Sa))(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?Ra:Qa),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 ka(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const Ya=e=>new Ga(e);Ya.isPathValid=e=>za(e&&za.convert(e),e,Ra),Ya.default=Ya;var Xa=Ya;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)||Ua(e)}var qa=te(Xa);function Za(e){const t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}const Ja=e=>e instanceof URL?l.fileURLToPath(e):e,Wa=e=>"!"===e[0],Va={ignore:["**/node_modules","**/flow-typed","**/coverage","**/.git"],absolute:!0,dot:!0},Ka=(e,t)=>{const n=e.flatMap((e=>((e,t)=>{const n=Za(s.relative(t,s.dirname(e.filePath)));return e.content.split(/\r?\n/).filter((e=>e&&!e.startsWith("#"))).map((e=>((e,t)=>Wa(e)?"!"+s.posix.join(t,e.slice(1)):s.posix.join(t,e))(e,n)))})(e,t))),r=qa().add(n);return e=>(e=((e,t)=>{if(t=Za(t),s.isAbsolute(e)){if(Za(e).startsWith(t))return s.relative(t,e);throw new Error(`Path ${e} is not in cwd ${t}`)}return e})(e=Ja(e),t),!!e&&r.ignores(Za(e)))},$a=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),eu=(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:Ja(e.cwd)}),e),tu=async t=>{const n=(e=>{const{ignoreFiles:t,gitignore:n}=e,r=t?$a(t):[];return n&&r.push("**/.gitignore"),r})(t);return nu(n.length>0&&await(async(t,n)=>{const{cwd:r,suppressErrors:i}=((t={})=>({cwd:Ja(t.cwd)||e.cwd(),suppressErrors:Boolean(t.suppressErrors)}))(n),s=await fa(t,{cwd:r,suppressErrors:i,...Va}),a=await Promise.all(s.map((async e=>({filePath:e,content:await o.promises.readFile(e,"utf8")}))));return Ka(a,r)})(n,t))},nu=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}},ru=async(e,t)=>{const n=((e,t)=>{const n=[];for(;e.length>0;){const r=e.findIndex((e=>Wa(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([Fa(t,o),Fa(n.ignore,s)]),{patterns:t,options:n}})))},iu=(ou=async(e,t)=>{const[n,r]=await Promise.all([ru(e,t),tu(t)]);return((e,t)=>e.flat().filter((e=>t(e))))(await Promise.all(n.map((e=>fa(e.patterns,e.options)))),r)},async(e,t)=>ou($a(e),eu(t)));var ou;const su=(e,t)=>((e,t)=>e.some((e=>fa.isDynamicPattern(e,t))))($a(e),eu(t)),au=u.promisify(D.tmpName),uu=["md","mdown","markdown","markdn"];var cu;!function(e){e[e.File=0]="File",e[e.StandardIO=1]="StandardIO",e[e.Null=2]="Null"}(cu||(cu={}));class lu{constructor(e){this.type=cu.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 lu.initialize(this.convertName(t),(e=>e.type=this.type));case!1:return lu.initialize(this.path,(e=>e.type=cu.Null));case"-":return lu.initialize("-",(e=>e.type=cu.StandardIO))}return this.inputDir?lu.initialize(this.convertName({...t,basePath:s.join(e,this.relativePath(this.inputDir))})):lu.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 cu.File:await this.saveToFile();break;case cu.StandardIO:process.stdout.write(this.buffer)}}async saveTmpFile(e={}){let n=await au({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 iu(r,a)).forEach((e=>n.add(e)));for(const e of i)(await iu(".",{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:uu.map((e=>`*.${e}`))}},...e)).map((e=>new lu(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 ft.buffer(),0!==this.stdinBuffer.length)return this.initialize("-",(e=>{e.buffer=this.stdinBuffer,e.type=cu.StandardIO}))}static initialize(e,t){const n=new this(e);return null==t||t(n),n}}var pu={},Au=Object.prototype.hasOwnProperty;function fu(e,t){return Array.isArray(e)?function(e,t){for(var n,r="",i="",o=Array.isArray(t),s=0;s]/;function hu(e){var t=""+e,n=gu.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+="")+pu.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+="