@react-email/preview-server 4.1.1 → 4.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +4 -4
  3. package/.next/build-manifest.json +2 -2
  4. package/.next/next-minimal-server.js.nft.json +1 -1
  5. package/.next/next-server.js.nft.json +1 -1
  6. package/.next/prerender-manifest.json +3 -3
  7. package/.next/server/app/_not-found/page.js +1 -1
  8. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  9. package/.next/server/app/page.js +1 -1
  10. package/.next/server/app/page.js.nft.json +1 -1
  11. package/.next/server/app/page_client-reference-manifest.js +1 -1
  12. package/.next/server/app/preview/[...slug]/page.js +16 -16
  13. package/.next/server/app/preview/[...slug]/page.js.nft.json +1 -1
  14. package/.next/server/app/preview/[...slug]/page_client-reference-manifest.js +1 -1
  15. package/.next/server/chunks/{161.js → 254.js} +1 -1
  16. package/.next/server/pages/500.html +1 -1
  17. package/.next/server/server-reference-manifest.js +1 -1
  18. package/.next/server/server-reference-manifest.json +1 -1
  19. package/.next/static/chunks/{483-fd8ad4ef179f4f6e.js → 483-c76320839aba32cc.js} +1 -1
  20. package/.next/static/chunks/app/layout-78fcd7716b488065.js +1 -0
  21. package/.next/static/chunks/app/preview/[...slug]/page-7fb6c9848dc9e8b0.js +1 -0
  22. package/.next/trace +27 -27
  23. package/CHANGELOG.md +6 -0
  24. package/package.json +2 -2
  25. package/src/utils/__snapshots__/get-email-component.spec.ts.snap +4 -4
  26. package/src/utils/esbuild/renderring-utilities-exporter.ts +7 -6
  27. package/.next/static/chunks/app/layout-8dda0c80b5cdbeb7.js +0 -1
  28. package/.next/static/chunks/app/preview/[...slug]/page-e54371fcb72010fe.js +0 -1
  29. /package/.next/static/{9kTcwkEeDkXsMQ7fDAu2v → w2GPuRfiK3aIRkrNCFTvo}/_buildManifest.js +0 -0
  30. /package/.next/static/{9kTcwkEeDkXsMQ7fDAu2v → w2GPuRfiK3aIRkrNCFTvo}/_ssgManifest.js +0 -0
@@ -2,9 +2,9 @@
2
2
  `);else{let e=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(e+=this._getIndent()),r=r.replace(/\n(?!$)/g,`
3
3
  ${" ".repeat(e)}`)}}}else r=n?`/*${e.value}*/`:`//${e.value}`;if(this._endsWithDiv&&this._space(),this.tokenMap){let{_printSemicolonBeforeNextToken:t,_printSemicolonBeforeNextNode:n}=this;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1,this.source("start",e.loc),this._append(r,i),this._printSemicolonBeforeNextNode=n,this._printSemicolonBeforeNextToken=t}else this.source("start",e.loc),this._append(r,i);i||n||this.newline(1,!0),a&&3!==t&&this.newline(1)}_printComments(e,t,r,n,i=0,a){let s=r.loc,o=t.length,l=!!s,u=l?s.start.line:0,f=l?s.end.line:0,y=0,b=0,w=this._noLineTerminator?function(){}:this.newline.bind(this);for(let s=0;s<o;s++){let v=t[s],k=this._shouldPrintComment(v,a);if(2===k){l=!1;break}if(l&&v.loc&&1===k){let t=v.loc.start.line,r=v.loc.end.line;if(0===e){let e=0;0===s?this._buf.hasContent()&&("CommentLine"===v.type||t!==r)&&(e=b=1):e=t-y,y=r,w(e),this._printComment(v,1),s+1===o&&(w(Math.max(u-y,b)),y=u)}else if(1===e){let e=t-(0===s?u:y);y=r,w(e),this._printComment(v,1),s+1===o&&(w(Math.min(1,f-y)),y=f)}else{let e=t-(0===s?f-i:y);y=r,w(e),this._printComment(v,1)}}else{if(l=!1,1!==k)continue;if(1===o){let t=v.loc?v.loc.start.line===v.loc.end.line:!g.test(v.value),i=t&&!d(r)&&!p(n)&&!h(n)&&!m(r);0===e?this._printComment(v,i&&"ObjectExpression"!==r.type||t&&c(n,{body:r})?1:0):i&&2===e?this._printComment(v,1):this._printComment(v,0)}else 1!==e||"ObjectExpression"===r.type&&r.properties.length>1||"ClassBody"===r.type||"TSInterfaceBody"===r.type?this._printComment(v,0):this._printComment(v,0===s?2:3*(s===o-1))}}2===e&&l&&y&&(this._lastCommentLine=y)}}function x(e,t){this.token(",",!1,e),t||this.space()}Object.assign(k.prototype,o),(0,l.addDeprecatedGenerators)(k),t.default=k},4191:(e,t,r)=>{"use strict";r.d(t,{X:()=>i});var n=r(66078);let i=(e,t)=>{let[r,i]=(0,n.getLineAndColumnFromOffset)(e.range[0],t);return{line:r,column:i}}},4455:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sequence=t.generate=t.compile=t.parse=void 0;var n=r(89740);Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return n.parse}});var i=r(74066);Object.defineProperty(t,"compile",{enumerable:!0,get:function(){return i.compile}}),Object.defineProperty(t,"generate",{enumerable:!0,get:function(){return i.generate}}),t.default=function(e){return(0,i.compile)((0,n.parse)(e))},t.sequence=function(e){return(0,i.generate)((0,n.parse)(e))}},4604:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentPlaceholder=function(){this.tokenChar(63)},t.ArrayPattern=t.ArrayExpression=function(e){let t=e.elements,r=t.length;this.tokenChar(91);let n=this.enterDelimited();for(let e=0;e<t.length;e++){let n=t[e];n?(e>0&&this.space(),this.print(n),(e<r-1||this.shouldPrintTrailingComma("]"))&&this.token(",",!1,e)):this.token(",",!1,e)}n(),this.tokenChar(93)},t.BigIntLiteral=function(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.word(t);this.word(e.value+"n")},t.BooleanLiteral=function(e){this.word(e.value?"true":"false")},t.Identifier=function(e){var t;this.sourceIdentifierName((null==(t=e.loc)?void 0:t.identifierName)||e.name),this.word(this.tokenMap?this._getRawIdentifier(e):e.name)},t.NullLiteral=function(){this.word("null")},t.NumericLiteral=function(e){let t=this.getPossibleRaw(e),r=this.format.jsescOption,n=e.value,a=n+"";r.numbers?this.number(i(n,r),n):null==t?this.number(a,n):this.format.minified?this.number(t.length<a.length?t:a,n):this.number(t,n)},t.ObjectPattern=t.ObjectExpression=function(e){let t=e.properties;if(this.tokenChar(123),t.length){let e=this.enterDelimited();this.space(),this.printList(t,this.shouldPrintTrailingComma("}"),!0,!0),this.space(),e()}this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)},t.ObjectMethod=function(e){this.printJoin(e.decorators),this._methodHead(e),this.space(),this.print(e.body)},t.ObjectProperty=function(e){if(this.printJoin(e.decorators),e.computed)this.tokenChar(91),this.print(e.key),this.tokenChar(93);else{if(a(e.value)&&s(e.key)&&e.key.name===e.value.left.name)return void this.print(e.value);if(this.print(e.key),e.shorthand&&s(e.key)&&s(e.value)&&e.key.name===e.value.name)return}this.tokenChar(58),this.space(),this.print(e.value)},t.PipelineBareFunction=function(e){this.print(e.callee)},t.PipelinePrimaryTopicReference=function(){this.tokenChar(35)},t.PipelineTopicExpression=function(e){this.print(e.expression)},t.RecordExpression=function(e){let t,r,n=e.properties;if("bar"===this.format.recordAndTupleSyntaxType)t="{|",r="|}";else if("hash"!==this.format.recordAndTupleSyntaxType&&null!=this.format.recordAndTupleSyntaxType)throw Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);else t="#{",r="}";this.token(t),n.length&&(this.space(),this.printList(n,this.shouldPrintTrailingComma(r),!0,!0),this.space()),this.token(r)},t.RegExpLiteral=function(e){this.word(`/${e.pattern}/${e.flags}`)},t.SpreadElement=t.RestElement=function(e){this.token("..."),this.print(e.argument)},t.StringLiteral=function(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.token(t);let r=i(e.value,this.format.jsescOption);this.token(r)},t.TopicReference=function(){let{topicToken:e}=this.format;if(u.has(e))this.token(e);else{let t=JSON.stringify(e),r=Array.from(u,e=>JSON.stringify(e));throw Error(`The "topicToken" generator option must be one of ${r.join(", ")} (${t} received instead).`)}},t.TupleExpression=function(e){let t,r,n=e.elements,i=n.length;if("bar"===this.format.recordAndTupleSyntaxType)t="[|",r="|]";else if("hash"===this.format.recordAndTupleSyntaxType)t="#[",r="]";else throw Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);this.token(t);for(let e=0;e<n.length;e++){let t=n[e];t&&(e>0&&this.space(),this.print(t),(e<i-1||this.shouldPrintTrailingComma(r))&&this.token(",",!1,e))}this.token(r)},t._getRawIdentifier=function(e){if(e===o)return l;o=e;let{name:t}=e,r=this.tokenMap.find(e,e=>e.value===t);return l=r?this._originalCode.slice(r.start,r.end):e.name};var n=r(40838),i=r(54781);let{isAssignmentPattern:a,isIdentifier:s}=n,o=null,l="",u=new Set(["^^","@@","^","%","#"])},4984:e=>{"use strict";e.exports=require("readline")},5365:(e,t)=>{"use strict";function r(e,t){let r=0n,n=0n;for(let[i,a]of t)e&i&&(r|=i,n|=a);return e&~r|n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"remapBitfield",{enumerable:!0,get:function(){return r}})},5805:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getKey=h,t._getPattern=m,t.get=function(e,t=!0){!0===t&&(t=this.context);let r=e.split(".");return 1===r.length?h.call(this,e,t):m.call(this,r,t)},t.getAllNextSiblings=function(){let e=this.key,t=this.getSibling(++e),r=[];for(;t.node;)r.push(t),t=this.getSibling(++e);return r},t.getAllPrevSiblings=function(){let e=this.key,t=this.getSibling(--e),r=[];for(;t.node;)r.push(t),t=this.getSibling(--e);return r},t.getAssignmentIdentifiers=function(){return i(this.node)},t.getBindingIdentifierPaths=function(e=!1,t=!1){let r=[this],n=Object.create(null);for(;r.length;){let i=r.shift();if(!i||!i.node)continue;let s=a.keys[i.node.type];if(i.isIdentifier()){e?(n[i.node.name]=n[i.node.name]||[]).push(i):n[i.node.name]=i;continue}if(i.isExportDeclaration()){let e=i.get("declaration");e.isDeclaration()&&r.push(e);continue}if(t){if(i.isFunctionDeclaration()){r.push(i.get("id"));continue}if(i.isFunctionExpression())continue}if(s)for(let e=0;e<s.length;e++){let t=s[e],n=i.get(t);Array.isArray(n)?r.push(...n):n.node&&r.push(n)}}return n},t.getBindingIdentifiers=function(e){return a(this.node,e)},t.getCompletionRecords=function(){return p(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map(e=>e.path)},t.getNextSibling=function(){return this.getSibling(this.key+1)},t.getOpposite=function(){return"left"===this.key?this.getSibling("right"):"right"===this.key?this.getSibling("left"):null},t.getOuterBindingIdentifierPaths=function(e=!1){return this.getBindingIdentifierPaths(e,!0)},t.getOuterBindingIdentifiers=function(e){return s(this.node,e)},t.getPrevSibling=function(){return this.getSibling(this.key-1)},t.getSibling=function(e){return n.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)};var n=r(13133);let{getAssignmentIdentifiers:i,getBindingIdentifiers:a,getOuterBindingIdentifiers:s,numericLiteral:o,unaryExpression:l}=r(40838);function u(e,t,r){return e&&t.push(...p(e,r)),t}function c(e,t){e.forEach(e=>{e.path.isBreakStatement({label:null})&&(t?e.path.replaceWith(l("void",o(0))):e.path.remove())})}function d(e,t){let r=[];if(t.canHaveBreak){let n=[];for(let i=0;i<e.length;i++){let a=e[i],s=Object.assign({},t,{inCaseClause:!1});a.isBlockStatement()&&(t.inCaseClause||t.shouldPopulateBreak)?s.shouldPopulateBreak=!0:s.shouldPopulateBreak=!1;let o=p(a,s);if(o.length>0&&o.every(e=>1===e.type)){n.length>0&&o.every(e=>e.path.isBreakStatement({label:null}))?(n.forEach(e=>{e.type=1}),r.push(...n),n.some(e=>e.path.isDeclaration())&&(r.push(...o),c(o,!0)),c(o,!1)):(r.push(...o),t.shouldPopulateBreak||c(o,!0));break}if(i===e.length-1)r.push(...o);else{n=[];for(let e=0;e<o.length;e++){let t=o[e];1===t.type&&r.push(t),0===t.type&&n.push(t)}}}}else if(e.length)for(let n=e.length-1;n>=0;n--){let i=p(e[n],t);if(i.length>1||1===i.length&&!i[0].path.isVariableDeclaration()){r.push(...i);break}}return r}function p(e,t){let r=[];if(e.isIfStatement())r=u(e.get("consequent"),r,t),r=u(e.get("alternate"),r,t);else if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement())return u(e.get("body"),r,t);else if(e.isProgram()||e.isBlockStatement())return d(e.get("body"),t);else if(e.isFunction())return p(e.get("body"),t);else if(e.isTryStatement())r=u(e.get("block"),r,t),r=u(e.get("handler"),r,t);else{if(e.isCatchClause())return u(e.get("body"),r,t);if(e.isSwitchStatement())return function(e,t,r){let n=[];for(let i=0;i<e.length;i++){let a=p(e[i],r),s=[],o=[];for(let e of a)0===e.type&&s.push(e),1===e.type&&o.push(e);s.length&&(n=s),t.push(...o)}return t.push(...n),t}(e.get("cases"),r,t);if(e.isSwitchCase())return d(e.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});e.isBreakStatement()?r.push({type:1,path:e}):r.push({type:0,path:e})}return r}function h(e,t){let r=this.node,i=r[e];return Array.isArray(i)?i.map((a,s)=>n.default.get({listKey:e,parentPath:this,parent:r,container:i,key:s}).setContext(t)):n.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}function m(e,t){let r=this;for(let n of e)r="."===n?r.parentPath:Array.isArray(r)?r[n]:r.get(n,t);return r}},5945:(e,t,r)=>{"use strict";Object.defineProperty(t,"A",{enumerable:!0,get:function(){return n.registerServerReference}});let n=r(24800)},6174:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(62503)),i=r(65433);function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=i.ROOT,r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e);var r,n=t.prototype;return n.toString=function(){var e=this.reduce(function(e,t){return e.push(String(t)),e},[]).join(",");return this.trailingComma?e+",":e},n.error=function(e,t){return this._error?this._error(e,t):Error(e)},r=[{key:"errorGenerator",set:function(e){this._error=e}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(n.default),e.exports=t.default},6311:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){let r=Array.from(t),i=new Map,a=new Map,s=new Set,o=[];for(let t=0;t<r.length;t++){let l=r[t];if(l&&!o.includes(l)){if((0,n.isAnyTypeAnnotation)(l))return[l];if((0,n.isFlowBaseAnnotation)(l)){a.set(l.type,l);continue}if((0,n.isUnionTypeAnnotation)(l)){s.has(l.types)||(r.push(...l.types),s.add(l.types));continue}if((0,n.isGenericTypeAnnotation)(l)){let t=function e(t){return(0,n.isIdentifier)(t)?t.name:`${t.id.name}.${e(t.qualification)}`}(l.id);if(i.has(t)){let r=i.get(t);r.typeParameters?l.typeParameters&&(r.typeParameters.params.push(...l.typeParameters.params),r.typeParameters.params=e(r.typeParameters.params)):r=l.typeParameters}else i.set(t,l);continue}o.push(l)}}for(let[,e]of a)o.push(e);for(let[,e]of i)o.push(e);return o};var n=r(48390)},6645:e=>{"use strict";let t=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,a=new Map([["n","\n"],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function s(e){let t="u"===e[0],r="{"===e[1];return t&&!r&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&r?String.fromCodePoint(parseInt(e.slice(2,-1),16)):a.get(e)||e}function o(e,t){let r={};for(let e of t)for(let t of e.styles)r[t[0]]=e.inverse?null:t.slice(1);let n=e;for(let[e,t]of Object.entries(r))if(Array.isArray(t)){if(!(e in n))throw Error(`Unknown Chalk style: ${e}`);n=t.length>0?n[e](...t):n[e]}return n}e.exports=(e,a)=>{let l=[],u=[],c=[];if(a.replace(t,(t,a,d,p,h,m)=>{if(a)c.push(s(a));else if(p){let t=c.join("");c=[],u.push(0===l.length?t:o(e,l)(t)),l.push({inverse:d,styles:function(e){let t;r.lastIndex=0;let a=[];for(;null!==(t=r.exec(e));){let e=t[1];if(t[2]){let r=function(e,t){let r,a=[];for(let o of t.trim().split(/\s*,\s*/g)){let t=Number(o);if(Number.isNaN(t))if(r=o.match(n))a.push(r[2].replace(i,(e,t,r)=>t?s(t):r));else throw Error(`Invalid Chalk template style argument: ${o} (in style '${e}')`);else a.push(t)}return a}(e,t[2]);a.push([e].concat(r))}else a.push([e])}return a}(p)})}else if(h){if(0===l.length)throw Error("Found extraneous } in Chalk template literal");u.push(o(e,l)(c.join(""))),c=[],l.pop()}else c.push(m)}),u.push(c.join("")),l.length>0)throw Error(`Chalk template literal is missing ${l.length} closing bracket${1===l.length?"":"s"} (\`}\`)`);return u.join("")}},6947:(e,t)=>{"use strict";function r(e,t){return void 0===e?t:Array.isArray(e)?e:[...new Set(t.filter(t=>!1!==e&&!1!==e[t]).concat(Object.keys(e).filter(t=>!1!==e[t])))]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},6969:(e,t,r)=>{var n=r(71045),i=Object.prototype.hasOwnProperty,a="undefined"!=typeof Map;function s(){this._array=[],this._set=a?new Map:Object.create(null)}s.fromArray=function(e,t){for(var r=new s,n=0,i=e.length;n<i;n++)r.add(e[n],t);return r},s.prototype.size=function(){return a?this._set.size:Object.getOwnPropertyNames(this._set).length},s.prototype.add=function(e,t){var r=a?e:n.toSetString(e),s=a?this.has(e):i.call(this._set,r),o=this._array.length;(!s||t)&&this._array.push(e),s||(a?this._set.set(e,o):this._set[r]=o)},s.prototype.has=function(e){if(a)return this._set.has(e);var t=n.toSetString(e);return i.call(this._set,t)},s.prototype.indexOf=function(e){if(a){var t=this._set.get(e);if(t>=0)return t}else{var r=n.toSetString(e);if(i.call(this._set,r))return this._set[r]}throw Error('"'+e+'" is not in the set.')},s.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error("No element indexed by "+e)},s.prototype.toArray=function(){return this._array.slice()},t.C=s},7380:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var i=r(36257),a=n(r(64073)),s=r(31736);function o(e,t){return(0,a.default)(e,t)}t.getOuterHTML=o,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map(function(e){return o(e,t)}).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&(t.type===s.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:""}},7410:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._guessExecutionStatusRelativeTo=function(e){return function e(t,r,n){let a,s={this:p(t),target:p(r)};if(s.target.node!==s.this.node)return function(t,r,n){let i,a=n.get(t.node);if(a){if(i=a.get(r.node))return i===m?"unknown":i}else n.set(t.node,a=new Map);a.set(r.node,m);let s=function(t,r,n){let i;if(!r.isFunctionDeclaration())return"before"===e(t,r,n)?"before":"unknown";if(r.parentPath.isExportDeclaration())return"unknown";let a=r.scope.getBinding(r.node.id.name);if(!a.references)return"before";for(let s of a.referencePaths){if(s.find(e=>e.node===r.node))continue;if("callee"!==s.key||!s.parentPath.isCallExpression())return"unknown";let a=e(t,s,n);if(i&&i!==a)return"unknown";i=a}return i}(t,r,n);return a.set(r.node,s),s}(t,s.target,n);let o={target:r.getAncestry(),this:t.getAncestry()};if(o.target.includes(t))return"after";if(o.this.includes(r))return"before";let l={target:0,this:0};for(;!a&&l.this<o.this.length;){let e=o.this[l.this];l.target=o.target.indexOf(e),l.target>=0?a=e:l.this++}if(!a)throw Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(h(o.this,l.this-1)||h(o.target,l.target-1))return"unknown";let u={this:o.this[l.this-1],target:o.target[l.target-1]};if(u.target.listKey&&u.this.listKey&&u.target.container===u.this.container)return u.target.key>u.this.key?"before":"after";let c=i[a.type],d={this:c.indexOf(u.this.parentKey),target:c.indexOf(u.target.parentKey)};return d.target>d.this?"before":"after"}(this,e,new Map)},t._resolve=f,t.canHaveVariableDeclarationOrExpression=function(){return("init"===this.key||"left"===this.key)&&this.parentPath.isFor()},t.canSwapBetweenExpressionAndStatement=function(e){return"body"===this.key&&!!this.parentPath.isArrowFunctionExpression()&&(this.isExpression()?a(e):!!this.isBlockStatement()&&s(e))},t.getSource=function(){let e=this.node;if(e.end){let t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""},t.isCompletionRecord=function(e){let t=this,r=!0;do{let{type:n,container:i}=t;if(!r&&(t.isFunction()||"StaticBlock"===n))return!!e;if(r=!1,Array.isArray(i)&&t.key!==i.length-1)return!1}while((t=t.parentPath)&&!t.isProgram()&&!t.isDoExpression());return!0},t.isConstantExpression=function(){if(this.isIdentifier()){let e=this.scope.getBinding(this.node.name);return!!e&&e.constant}if(this.isLiteral())return!this.isRegExpLiteral()&&(!this.isTemplateLiteral()||this.get("expressions").every(e=>e.isConstantExpression()));if(this.isUnaryExpression())return"void"===this.node.operator&&this.get("argument").isConstantExpression();if(this.isBinaryExpression()){let{operator:e}=this.node;return"in"!==e&&"instanceof"!==e&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return this.isMemberExpression()?!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0}):!!this.isCallExpression()&&1===this.node.arguments.length&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral()},t.isInStrictMode=function(){return!!(this.isProgram()?this:this.parentPath).find(e=>{let t;if(e.isProgram({sourceType:"module"})||e.isClass())return!0;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement())return!1;if(e.isFunction())t=e.node.body;else{if(!e.isProgram())return!1;t=e.node}for(let e of t.directives)if("use strict"===e.value.value)return!0})},t.isNodeType=function(e){return c(this.type,e)},t.isStatementOrBlock=function(){return!(this.parentPath.isLabeledStatement()||a(this.container))&&n.includes(this.key)},t.isStatic=function(){return this.scope.isStatic(this.node)},t.matchesPattern=function(e,t){return d(this.node,e,t)},t.referencesImport=function(e,t){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===t||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?u(this.node.property,{value:t}):this.node.property.name===t)){let t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return!1}let r=this.scope.getBinding(this.node.name);if(!r||"module"!==r.kind)return!1;let n=r.path,i=n.parentPath;return!!i.isImportDeclaration()&&i.node.source.value===e&&(!t||!!(n.isImportDefaultSpecifier()&&"default"===t||n.isImportNamespaceSpecifier()&&"*"===t||n.isImportSpecifier()&&o(n.node.imported,{name:t})))},t.resolve=function(e,t){return f.call(this,e,t)||this},t.willIMaybeExecuteBefore=function(e){return"after"!==this._guessExecutionStatusRelativeTo(e)};let{STATEMENT_OR_BLOCK_KEYS:n,VISITOR_KEYS:i,isBlockStatement:a,isExpression:s,isIdentifier:o,isLiteral:l,isStringLiteral:u,isType:c,matchesPattern:d}=r(40838);function p(e){return e.isProgram()?e:(e.parentPath.scope.getFunctionParent()||e.parentPath.scope.getProgramParent()).path}function h(e,t){for(let r=0;r<t;r++){let t=e[r];if(function(e,t){switch(e){case"LogicalExpression":case"AssignmentPattern":return"right"===t;case"ConditionalExpression":case"IfStatement":return"consequent"===t||"alternate"===t;case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return"body"===t;case"ForStatement":return"body"===t||"update"===t;case"SwitchStatement":return"cases"===t;case"TryStatement":return"handler"===t;case"OptionalMemberExpression":return"property"===t;case"OptionalCallExpression":return"arguments"===t;default:return!1}}(t.parent.type,t.parentKey))return!0}return!1}t.has=function(e){var t;let r=null==(t=this.node)?void 0:t[e];return r&&Array.isArray(r)?!!r.length:!!r},t.is=t.has,t.isnt=function(e){return!this.has(e)},t.equals=function(e,t){return this.node[e]===t};let m=Symbol();function f(e,t){var r;if(!(null!=(r=t)&&r.includes(this))){if((t=t||[]).push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(e,t)}else if(this.isReferencedIdentifier()){let r=this.scope.getBinding(this.node.name);if(!r||!r.constant||"module"===r.kind)return;if(r.path!==this){let n=r.path.resolve(e,t);if(this.find(e=>e.node===n.node))return;return n}}else if(this.isTypeCastExpression())return this.get("expression").resolve(e,t);else if(e&&this.isMemberExpression()){let r=this.toComputedKey();if(!l(r))return;let n=r.value,i=this.get("object").resolve(e,t);if(i.isObjectExpression())for(let r of i.get("properties")){if(!r.isProperty())continue;let i=r.get("key"),a=r.isnt("computed")&&i.isIdentifier({name:n});if(a=a||i.isLiteral({value:n}))return r.get("value").resolve(e,t)}else if(i.isArrayExpression()&&!isNaN(+n)){let r=i.get("elements")[n];if(r)return r.resolve(e,t)}}}}},7480:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenMap=void 0;let{traverseFast:n,VISITOR_KEYS:i}=r(40838);class a{constructor(e,t,r){this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=t,this._source=r,n(e,e=>{let t=this._getTokensIndexesOfNode(e);t.length>0&&this._nodesToTokenIndexes.set(e,t)}),this._tokensCache=null}has(e){return this._nodesToTokenIndexes.has(e)}getIndexes(e){return this._nodesToTokenIndexes.get(e)}find(e,t){let r=this._nodesToTokenIndexes.get(e);if(r)for(let e=0;e<r.length;e++){let n=r[e],i=this._tokens[n];if(t(i,n))return i}return null}findLastIndex(e,t){let r=this._nodesToTokenIndexes.get(e);if(r)for(let e=r.length-1;e>=0;e--){let n=r[e];if(t(this._tokens[n],n))return n}return -1}findMatching(e,t,r=0){let n=this._nodesToTokenIndexes.get(e);if(n){let i=0,a=r;if(a>1){let n=this._nodesOccurrencesCountCache.get(e);n&&n.test===t&&n.count<a&&(i=n.i+1,r-=n.count+1)}for(;i<n.length;i++){let s=this._tokens[n[i]];if(this.matchesOriginal(s,t)){if(0===r)return a>0&&this._nodesOccurrencesCountCache.set(e,{test:t,count:a,i}),s;r--}}}return null}matchesOriginal(e,t){return e.end-e.start===t.length&&(null!=e.value?e.value===t:this._source.startsWith(t,e.start))}startMatches(e,t){let r=this._nodesToTokenIndexes.get(e);if(!r)return!1;let n=this._tokens[r[0]];return n.start===e.start&&this.matchesOriginal(n,t)}endMatches(e,t){let r=this._nodesToTokenIndexes.get(e);if(!r)return!1;let n=this._tokens[r[r.length-1]];return n.end===e.end&&this.matchesOriginal(n,t)}_getTokensIndexesOfNode(e){if(null==e.start||null==e.end)return[];let{first:t,last:r}=this._findTokensOfNode(e,0,this._tokens.length-1),n=t,a=function*(e){if("TemplateLiteral"===e.type){yield e.quasis[0];for(let t=1;t<e.quasis.length;t++)yield e.expressions[t-1],yield e.quasis[t];return}for(let t of i[e.type]){let r=e[t];r&&(Array.isArray(r)?yield*r:yield r)}}(e);("ExportNamedDeclaration"===e.type||"ExportDefaultDeclaration"===e.type)&&e.declaration&&"ClassDeclaration"===e.declaration.type&&a.next();let s=[];for(let e of a){if(null==e||null==e.start||null==e.end)continue;let t=this._findTokensOfNode(e,n,r),i=t.first;for(let e=n;e<i;e++)s.push(e);n=t.last+1}for(let e=n;e<=r;e++)s.push(e);return s}_findTokensOfNode(e,t,r){let n=this._tokensCache.get(e);if(n)return n;let i=this._findFirstTokenOfNode(e.start,t,r),a=this._findLastTokenOfNode(e.end,i,r);return this._tokensCache.set(e,{first:i,last:a}),{first:i,last:a}}_findFirstTokenOfNode(e,t,r){for(;t<=r;){let n=r+t>>1;if(e<this._tokens[n].start)r=n-1;else{if(!(e>this._tokens[n].start))return n;t=n+1}}return t}_findLastTokenOfNode(e,t,r){for(;t<=r;){let n=r+t>>1;if(e<this._tokens[n].end)r=n-1;else{if(!(e>this._tokens[n].end))return n;t=n+1}}return r}}t.TokenMap=a},7498:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=function(e){this.print(e.left),this.space(),"in"===e.operator||"instanceof"===e.operator?this.word(e.operator):(this.token(e.operator),this._endsWithDiv="/"===e.operator),this.space(),this.print(e.right)},t.AssignmentPattern=function(e){this.print(e.left),("Identifier"===e.left.type||u(e.left))&&(e.left.optional&&this.tokenChar(63),this.print(e.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(e.right)},t.AwaitExpression=function(e){this.word("await"),e.argument&&(this.space(),this.printTerminatorless(e.argument))},t.BindExpression=function(e){this.print(e.object),this.token("::"),this.print(e.callee)},t.CallExpression=function(e){this.print(e.callee),this.print(e.typeArguments),this.print(e.typeParameters),this.tokenChar(40);let t=this.enterDelimited();this.printList(e.arguments,this.shouldPrintTrailingComma(")")),t(),this.rightParens(e)},t.ConditionalExpression=function(e){this.print(e.test),this.space(),this.tokenChar(63),this.space(),this.print(e.consequent),this.space(),this.tokenChar(58),this.space(),this.print(e.alternate)},t.Decorator=function(e){this.tokenChar(64),this.print(e.expression),this.newline()},t.DoExpression=function(e){e.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(e.body)},t.EmptyStatement=function(){this.semicolon(!0)},t.ExpressionStatement=function(e){this.tokenContext|=i.TokenContext.expressionStatement,this.print(e.expression),this.semicolon()},t.Import=function(){this.word("import")},t.MemberExpression=function(e){if(this.print(e.object),!e.computed&&o(e.property))throw TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;if(s(e.property)&&"number"==typeof e.property.value&&(t=!0),t){let t=this.enterDelimited();this.tokenChar(91),this.print(e.property),this.tokenChar(93),t()}else this.tokenChar(46),this.print(e.property)},t.MetaProperty=function(e){this.print(e.meta),this.tokenChar(46),this.print(e.property)},t.ModuleExpression=function(e){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:t}=e;(t.body.length||t.directives.length)&&this.newline(),this.print(t),this.dedent(),this.rightBrace(e)},t.NewExpression=function(e,t){if(this.word("new"),this.space(),this.print(e.callee),this.format.minified&&0===e.arguments.length&&!e.optional&&!a(t,{callee:e})&&!o(t)&&!l(t)||(this.print(e.typeArguments),this.print(e.typeParameters),e.optional&&this.token("?."),0===e.arguments.length&&this.tokenMap&&!this.tokenMap.endMatches(e,")")))return;this.tokenChar(40);let r=this.enterDelimited();this.printList(e.arguments,this.shouldPrintTrailingComma(")")),r(),this.rightParens(e)},t.OptionalCallExpression=function(e){this.print(e.callee),this.print(e.typeParameters),e.optional&&this.token("?."),this.print(e.typeArguments),this.tokenChar(40);let t=this.enterDelimited();this.printList(e.arguments),t(),this.rightParens(e)},t.OptionalMemberExpression=function(e){let{computed:t}=e,{optional:r,property:n}=e;if(this.print(e.object),!t&&o(n))throw TypeError("Got a MemberExpression for MemberExpression property");s(n)&&"number"==typeof n.value&&(t=!0),r&&this.token("?."),t?(this.tokenChar(91),this.print(n),this.tokenChar(93)):(r||this.tokenChar(46),this.print(n))},t.ParenthesizedExpression=function(e){this.tokenChar(40);let t=this.enterDelimited();this.print(e.expression),t(),this.rightParens(e)},t.PrivateName=function(e){this.tokenChar(35),this.print(e.id)},t.SequenceExpression=function(e){this.printList(e.expressions)},t.Super=function(){this.word("super")},t.ThisExpression=function(){this.word("this")},t.UnaryExpression=function(e){let{operator:t}=e;"void"===t||"delete"===t||"typeof"===t||"throw"===t?(this.word(t),this.space()):this.token(t),this.print(e.argument)},t.UpdateExpression=function(e){e.prefix?(this.token(e.operator),this.print(e.argument)):(this.print(e.argument,!0),this.token(e.operator))},t.V8IntrinsicIdentifier=function(e){this.tokenChar(37),this.word(e.name)},t.YieldExpression=function(e){this.word("yield",!0),e.delegate?(this.tokenChar(42),e.argument&&(this.space(),this.print(e.argument))):e.argument&&(this.space(),this.printTerminatorless(e.argument))},t._shouldPrintDecoratorsBeforeExport=function(e){return"boolean"==typeof this.format.decoratorsBeforeExport?this.format.decoratorsBeforeExport:"number"==typeof e.start&&e.start===e.declaration.start};var n=r(40838),i=r(49055);let{isCallExpression:a,isLiteral:s,isMemberExpression:o,isNewExpression:l,isPattern:u}=n},7970:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.ELEMENT_NODE=1]="ELEMENT_NODE",e[e.TEXT_NODE=3]="TEXT_NODE",e[e.COMMENT_NODE=8]="COMMENT_NODE"}(r||(r={})),t.default=r},8152:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.DocumentPosition=t.removeSubsets=void 0;var n,i=r(36257);function a(e,t){var r=[],a=[];if(e===t)return 0;for(var s=(0,i.hasChildren)(e)?e:e.parent;s;)r.unshift(s),s=s.parent;for(s=(0,i.hasChildren)(t)?t:t.parent;s;)a.unshift(s),s=s.parent;for(var o=Math.min(r.length,a.length),l=0;l<o&&r[l]===a[l];)l++;if(0===l)return n.DISCONNECTED;var u=r[l-1],c=u.children,d=r[l],p=a[l];return c.indexOf(d)>c.indexOf(p)?u===t?n.FOLLOWING|n.CONTAINED_BY:n.FOLLOWING:u===e?n.PRECEDING|n.CONTAINS:n.PRECEDING}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0){e.splice(t,1);continue}for(var n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e},function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(n=t.DocumentPosition||(t.DocumentPosition={})),t.compareDocumentPosition=a,t.uniqueSort=function(e){return(e=e.filter(function(e,t,r){return!r.includes(e,t+1)})).sort(function(e,t){var r=a(e,t);return r&n.PRECEDING?-1:r&n.FOLLOWING?1:0}),e}},8481:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isKeyword=function(e){return n.has(e)},t.isReservedWord=s,t.isStrictBindOnlyReservedWord=l,t.isStrictBindReservedWord=function(e,t){return o(e,t)||l(e)},t.isStrictReservedWord=o;let r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},n=new Set(r.keyword),i=new Set(r.strict),a=new Set(r.strictBind);function s(e,t){return t&&"await"===e||"enum"===e}function o(e,t){return s(e,t)||i.has(e)}function l(e){return a.has(e)}},8605:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=a(r(12337)),i=a(r(46540));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){var t,r;let a=n.default.className();return a.value=e,(0,i.default)(null!=(r=null==a||null==(t=a.raws)?void 0:t.value)?r:a.value)}},9144:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n="",i=e){if(r.has(i))return;r.add(i);let{internal:a,trace:s}=function(e,t){let r,{stackTraceLimit:n,prepareStackTrace:i}=Error;if(Error.stackTraceLimit=4,Error.prepareStackTrace=function(e,t){r=t},Error().stack,Error.stackTraceLimit=n,Error.prepareStackTrace=i,!r)return{internal:!1,trace:""};let a=r.slice(1+e,1+e+t);return{internal:/[\\/]@babel[\\/]/.test(a[1].getFileName()),trace:a.map(e=>` at ${e}`).join("\n")}}(1,2);a||console.warn(`${n}\`${e}\` has been deprecated, please migrate to \`${t}\`
4
4
  ${s}`)};let r=new Set},9970:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.attributeRules=void 0;var i=n(r(81832)),a=/[-[\]{}()*+?.,\\^$|#\s]/g;function s(e){return e.replace(a,"\\$&")}var o=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function l(e,t){return"boolean"==typeof e.ignoreCase?e.ignoreCase:"quirks"===e.ignoreCase?!!t.quirksMode:!t.xmlMode&&o.has(e.name)}t.attributeRules={equals:function(e,t,r){var n=r.adapter,i=t.name,a=t.value;return l(t,r)?(a=a.toLowerCase(),function(t){var r=n.getAttributeValue(t,i);return null!=r&&r.length===a.length&&r.toLowerCase()===a&&e(t)}):function(t){return n.getAttributeValue(t,i)===a&&e(t)}},hyphen:function(e,t,r){var n=r.adapter,i=t.name,a=t.value,s=a.length;return l(t,r)?(a=a.toLowerCase(),function(t){var r=n.getAttributeValue(t,i);return null!=r&&(r.length===s||"-"===r.charAt(s))&&r.substr(0,s).toLowerCase()===a&&e(t)}):function(t){var r=n.getAttributeValue(t,i);return null!=r&&(r.length===s||"-"===r.charAt(s))&&r.substr(0,s)===a&&e(t)}},element:function(e,t,r){var n=r.adapter,a=t.name,o=t.value;if(/\s/.test(o))return i.default.falseFunc;var u=new RegExp("(?:^|\\s)".concat(s(o),"(?:$|\\s)"),l(t,r)?"i":"");return function(t){var r=n.getAttributeValue(t,a);return null!=r&&r.length>=o.length&&u.test(r)&&e(t)}},exists:function(e,t,r){var n=t.name,i=r.adapter;return function(t){return i.hasAttrib(t,n)&&e(t)}},start:function(e,t,r){var n=r.adapter,a=t.name,s=t.value,o=s.length;return 0===o?i.default.falseFunc:l(t,r)?(s=s.toLowerCase(),function(t){var r=n.getAttributeValue(t,a);return null!=r&&r.length>=o&&r.substr(0,o).toLowerCase()===s&&e(t)}):function(t){var r;return!!(null==(r=n.getAttributeValue(t,a))?void 0:r.startsWith(s))&&e(t)}},end:function(e,t,r){var n=r.adapter,a=t.name,s=t.value,o=-s.length;return 0===o?i.default.falseFunc:l(t,r)?(s=s.toLowerCase(),function(t){var r;return(null==(r=n.getAttributeValue(t,a))?void 0:r.substr(o).toLowerCase())===s&&e(t)}):function(t){var r;return!!(null==(r=n.getAttributeValue(t,a))?void 0:r.endsWith(s))&&e(t)}},any:function(e,t,r){var n=r.adapter,a=t.name,o=t.value;if(""===o)return i.default.falseFunc;if(l(t,r)){var u=RegExp(s(o),"i");return function(t){var r=n.getAttributeValue(t,a);return null!=r&&r.length>=o.length&&u.test(r)&&e(t)}}return function(t){var r;return!!(null==(r=n.getAttributeValue(t,a))?void 0:r.includes(o))&&e(t)}},not:function(e,t,r){var n=r.adapter,i=t.name,a=t.value;return""===a?function(t){return!!n.getAttributeValue(t,i)&&e(t)}:l(t,r)?(a=a.toLowerCase(),function(t){var r=n.getAttributeValue(t,i);return(null==r||r.length!==a.length||r.toLowerCase()!==a)&&e(t)}):function(t){return n.getAttributeValue(t,i)!==a&&e(t)}}}},10110:function(e,t){(function(e){"use strict";class t{constructor(){this._indexes={__proto__:null},this.array=[]}}function r(e,t){return e._indexes[t]}e.SetArray=t,e.get=r,e.pop=function(e){let{array:t,_indexes:r}=e;0!==t.length&&(r[t.pop()]=void 0)},e.put=function(e,t){let n=r(e,t);if(void 0!==n)return n;let{array:i,_indexes:a}=e,s=i.push(t);return a[t]=s-1},e.remove=function(e,t){let n=r(e,t);if(void 0===n)return;let{array:i,_indexes:a}=e;for(let e=n+1;e<i.length;e++){let t=i[e];i[e-1]=t,a[t]--}a[t]=void 0,i.pop()},Object.defineProperty(e,"__esModule",{value:!0})})(t)},10135:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.defineProperties,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&h(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&h(e,r,t[r]);return e},f=(e,t)=>a(e,o(t)),y=(e,t)=>{var r={};for(var n in e)d.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))0>t.indexOf(n)&&p.call(e,n)&&(r[n]=e[n]);return r},g=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))d.call(e,a)||a===r||i(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable});return e},b={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(b,{Img:()=>k}),e.exports=g(i({},"__esModule",{value:!0}),b);var w=((e,t,r)=>(r=null!=e?n(c(e)):{},g(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(64949)),v=r(82348),k=w.forwardRef((e,t)=>{var{alt:r,src:n,width:i,height:a,style:s}=e,o=y(e,["alt","src","width","height","style"]);return(0,v.jsx)("img",f(m({},o),{alt:r,height:a,ref:t,src:n,style:m({display:"block",outline:"none",border:"none",textDecoration:"none"},s),width:i}))});k.displayName="Img"},10235:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=(0,i.default)(e);return 1===t.length?t[0]:(0,n.unionTypeAnnotation)(t)};var n=r(95285),i=r(6311)},10721:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getCompatibilityStatsForEntry:()=>i});let n=/#(?<noteNumber>\d+)/g,i=(e,t)=>{let r={status:"success",perEmailClient:{}};for(let i of t){let t=e.stats[i];if(t){let a={status:"success",perPlatform:{}};for(let[s,o]of Object.entries(t)){let t=o[o.length-1];if(void 0===t)throw Error("Cannot load in status because there are none recorded for this platform/email client",{cause:{latestStatus:t,statusPerVersion:o,platform:s,emailClient:i,supportEntry:e}});let l=t[Object.keys(t)[0]];if(!l.startsWith("u"))if(l.startsWith("a")){let t=[];for(let r of(n.lastIndex=0,l.matchAll(n)))if(r.groups?.noteNumber){let{noteNumber:n}=r.groups,i=e.notes_by_num?.[Number.parseInt(n)];i&&t.push(i)}"success"===a.status&&(a.status="warning"),"success"===r.status&&(r.status="warning"),a.perPlatform[s]={status:"warning",notes:1===t.length?t[0]:t.map(e=>`- ${e}`).join("\n")}}else l.startsWith("y")?a.perPlatform[s]={status:"success"}:l.startsWith("n")&&("error"!==a.status&&(a.status="error"),"error"!==r.status&&(r.status="error"),a.perPlatform[s]={status:"error"})}r.perEmailClient[i]=a}}return r}},10835:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={}){for(let r of t.preserveComments?i:a)null!=e[r]&&(e[r]=void 0);for(let t of Object.keys(e))"_"===t[0]&&null!=e[t]&&(e[t]=void 0);for(let t of Object.getOwnPropertySymbols(e))e[t]=null};var n=r(54836);let i=["tokens","start","end","loc","raw","rawValue"],a=[...n.COMMENT_KEYS,"comments",...i]},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11188:(e,t,r)=>{"use strict";r.d(t,{E:()=>f});var n=r(64949),i=r(82348),a=Object.defineProperty,s=Object.defineProperties,o=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,d=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))u.call(t,r)&&d(e,r,t[r]);if(l)for(var r of l(t))c.call(t,r)&&d(e,r,t[r]);return e},h=(e,t)=>s(e,o(t)),m=(e,t)=>{var r={};for(var n in e)u.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&l)for(var n of l(e))0>t.indexOf(n)&&c.call(e,n)&&(r[n]=e[n]);return r},f=n.forwardRef((e,t)=>{var{children:r,lang:n="en",dir:a="ltr"}=e,s=m(e,["children","lang","dir"]);return(0,i.jsx)("html",h(p({},s),{dir:a,lang:n,ref:t,children:r}))});f.displayName="Html"},11257:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t="body"){let r=(0,n.default)(e[t],e);return e[t]=r,r};var n=r(57e3)},11300:(e,t)=>{"use strict";function r(){this.space()}Object.defineProperty(t,"__esModule",{value:!0}),t.JSXAttribute=function(e){this.print(e.name),e.value&&(this.tokenChar(61),this.print(e.value))},t.JSXClosingElement=function(e){this.tokenChar(60),this.tokenChar(47),this.print(e.name),this.tokenChar(62)},t.JSXClosingFragment=function(){this.token("</"),this.tokenChar(62)},t.JSXElement=function(e){let t=e.openingElement;if(this.print(t),!t.selfClosing){for(let t of(this.indent(),e.children))this.print(t);this.dedent(),this.print(e.closingElement)}},t.JSXEmptyExpression=function(){this.printInnerComments()},t.JSXExpressionContainer=function(e){this.tokenChar(123),this.print(e.expression),this.rightBrace(e)},t.JSXFragment=function(e){for(let t of(this.print(e.openingFragment),this.indent(),e.children))this.print(t);this.dedent(),this.print(e.closingFragment)},t.JSXIdentifier=function(e){this.word(e.name)},t.JSXMemberExpression=function(e){this.print(e.object),this.tokenChar(46),this.print(e.property)},t.JSXNamespacedName=function(e){this.print(e.namespace),this.tokenChar(58),this.print(e.name)},t.JSXOpeningElement=function(e){this.tokenChar(60),this.print(e.name),e.typeArguments&&this.print(e.typeArguments),this.print(e.typeParameters),e.attributes.length>0&&(this.space(),this.printJoin(e.attributes,void 0,void 0,r)),e.selfClosing&&(this.space(),this.tokenChar(47)),this.tokenChar(62)},t.JSXOpeningFragment=function(){this.tokenChar(60),this.tokenChar(62)},t.JSXSpreadAttribute=function(e){this.tokenChar(123),this.token("..."),this.print(e.argument),this.rightBrace(e)},t.JSXSpreadChild=function(e){this.tokenChar(123),this.token("..."),this.print(e.expression),this.rightBrace(e)},t.JSXText=function(e){let t=this.getPossibleRaw(e);void 0!==t?this.token(t,!0):this.token(e.value,!0)}},11403:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){let i;if(!(0,n.isMemberExpression)(e))return!1;let a=Array.isArray(t)?t:t.split("."),s=[];for(i=e;(0,n.isMemberExpression)(i);i=i.object)s.push(i.property);if(s.push(i),s.length<a.length||!r&&s.length>a.length)return!1;for(let e=0,t=s.length-1;e<a.length;e++,t--){let r,i=s[t];if((0,n.isIdentifier)(i))r=i.name;else if((0,n.isStringLiteral)(i))r=i.value;else{if(!(0,n.isThisExpression)(i))return!1;r="this"}if(a[e]!==r)return!1}return!0};var n=r(48390)},12337:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(95217)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(n,s,o):n[s]=e[s]}return n.default=e,r&&r.set(e,n),n}(r(63884));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}var s=function(e){return new n.default(e)};Object.assign(s,i),delete s.__esModule,t.default=s,e.exports=t.default},12412:e=>{"use strict";e.exports=require("assert")},12816:(e,t,r)=>{"use strict";r.d(t,{P:()=>v});var n=r(5945);r(84183);var i=r(73024),a=r.n(i),s=r(76760),o=r.n(s),l=r(51474),u=r.n(l),c=r(36602),d=r.n(c),p=r(81523),h=r.n(p),m=r(71188),f=r(64731),y=r(42827),g=r(20570),b=r(72495);let w=new Map,v=async(e,t=!1)=>{let r;if(t&&w.delete(e),w.has(e))return w.get(e);let n=performance.now(),i=o().basename(e);m.Hf||m.m4||(r=h()({text:`Rendering email template ${i}
5
- `,prefixText:" "}).start(),(0,g.registerSpinnerAutostopping)(r));let s=await (0,f.getEmailComponent)(e);if("error"in s)return r?.stopAndPersist({symbol:d().error,text:`Failed while rendering ${i}`}),{error:s.error};let{emailComponent:l,createElement:c,render:p,sourceMapToOriginalFile:b}=s,v=l.PreviewProps||{};try{let t=await p(c(l,v),{pretty:!0}),s=await p(c(l,v),{plainText:!0}),o=await a().promises.readFile(e,"utf-8"),h=performance.now()-n,m=`${h.toFixed(0)}ms`;m=h<=450?u().green(m):h<=1e3?u().yellow(m):u().red(m),r?.stopAndPersist({symbol:d().success,text:`Successfully rendered ${i} in ${m}`});let f={markup:t.replaceAll("\0",""),plainText:s,reactMarkup:o};return w.set(e,f),f}catch(t){return r?.stopAndPersist({symbol:d().error,text:`Failed while rendering ${i}`}),{error:(0,y.improveErrorWithSourceMap)(t,e,b)}}};(0,b.D)([v]),(0,n.A)(v,"7f0fdbb231786054d730ee5f04dcc7334523e25b86",null)},12942:(e,t,r)=>{"use strict";r.r(t);var n=r(76760),i=r.n(n),a=r(97699);test("getEmailsDirectoryMetadata on demo emails",async()=>{let e=i().resolve(__dirname,"../../../../apps/demo/emails");expect(await (0,a.getEmailsDirectoryMetadata)(e)).toEqual({absolutePath:e,directoryName:"emails",relativePath:"",emailFilenames:[],subDirectories:[{absolutePath:`${e}/magic-links`,directoryName:"magic-links",relativePath:"magic-links",emailFilenames:["aws-verify-email","linear-login-code","notion-magic-link","plaid-verify-identity","raycast-magic-link","slack-confirm"],subDirectories:[]},{absolutePath:`${e}/newsletters`,directoryName:"newsletters",relativePath:"newsletters",emailFilenames:["codepen-challengers","google-play-policy-update","stack-overflow-tips"],subDirectories:[]},{absolutePath:`${e}/notifications`,directoryName:"notifications",relativePath:"notifications",emailFilenames:["github-access-token","papermark-year-in-review","vercel-invite-user","yelp-recent-login"],subDirectories:[]},{absolutePath:`${e}/receipts`,directoryName:"receipts",relativePath:"receipts",emailFilenames:["apple-receipt","nike-receipt"],subDirectories:[]},{absolutePath:`${e}/reset-password`,directoryName:"reset-password",relativePath:"reset-password",emailFilenames:["dropbox-reset-password","twitch-reset-password"],subDirectories:[]},{absolutePath:`${e}/reviews`,directoryName:"reviews",relativePath:"reviews",emailFilenames:["airbnb-review","amazon-review"],subDirectories:[]},{absolutePath:`${e}/welcome`,directoryName:"welcome",relativePath:"welcome",emailFilenames:["koala-welcome","netlify-welcome","stripe-welcome"],subDirectories:[]}]})})},13123:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r{constructor({identifier:e,scope:t,path:r,kind:n}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=e,this.scope=t,this.path=r,this.kind=n,("var"===n||"hoisted"===n)&&function(e){let t=!e.isVariableDeclarator()||e.node.init;for(let{parentPath:r,key:n}=e;r&&!r.isFunctionParent();{parentPath:r,key:n}=r)if("left"===n&&r.isForXStatement()||t&&"body"===n&&r.isLoop())return!0;return!1}(r)&&this.reassign(r),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(e){this.constant=!1,this.constantViolations.includes(e)||this.constantViolations.push(e)}reference(e){this.referencePaths.includes(e)||(this.referenced=!0,this.references++,this.referencePaths.push(e))}dereference(){this.references--,this.referenced=!!this.references}}t.default=r},13133:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SHOULD_STOP=t.SHOULD_SKIP=t.REMOVED=void 0;var n=r(89886),i=r(75292),a=r(41093),s=r(85962),o=r(40838),l=r(72063),u=r(94610),c=r(65252),d=r(27365),p=r(54341),h=r(73255),m=r(82105),f=r(7410),y=r(43278),g=r(40305),b=r(94737),w=r(5805),v=r(25291),k=r(68965);let{validate:x}=o,S=i("babel");t.REMOVED=1,t.SHOULD_STOP=2,t.SHOULD_SKIP=4;let E=t.default=class e{constructor(e,t){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this.parent=t,this.hub=e,this.data=null,this.context=null,this.scope=null}get removed(){return(1&this._traverseFlags)>0}set removed(e){e?this._traverseFlags|=1:this._traverseFlags&=-2}get shouldStop(){return(2&this._traverseFlags)>0}set shouldStop(e){e?this._traverseFlags|=2:this._traverseFlags&=-3}get shouldSkip(){return(4&this._traverseFlags)>0}set shouldSkip(e){e?this._traverseFlags|=4:this._traverseFlags&=-5}static get({hub:t,parentPath:r,parent:n,container:i,listKey:a,key:s}){if(!t&&r&&(t=r.hub),!n)throw Error("To get a node path the parent needs to exist");let o=i[s],u=l.getOrCreateCachedPaths(t,n),c=u.get(o);return!c&&(c=new e(t,n),o&&u.set(o,c)),y.setup.call(c,r,i,a,s),c}getScope(e){return this.isScope()?new s.default(this):e}setData(e,t){return null==this.data&&(this.data=Object.create(null)),this.data[e]=t}getData(e,t){null==this.data&&(this.data=Object.create(null));let r=this.data[e];return void 0===r&&void 0!==t&&(r=this.data[e]=t),r}hasNode(){return null!=this.node}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,a.default)(this.node,e,this.scope,t,this)}set(e,t){x(this.node,e,t),this.node[e]=t}getPathLocation(){let e=[],t=this;do{let r=t.key;t.inList&&(r=`${t.listKey}[${r}]`),e.unshift(r)}while(t=t.parentPath);return e.join(".")}debug(e){S.enabled&&S(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){e||(this.listKey=null)}get parentKey(){return this.listKey||this.key}},T={findParent:c.findParent,find:c.find,getFunctionParent:c.getFunctionParent,getStatementParent:c.getStatementParent,getEarliestCommonAncestorFrom:c.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:c.getDeepestCommonAncestorFrom,getAncestry:c.getAncestry,isAncestor:c.isAncestor,isDescendant:c.isDescendant,inType:c.inType,getTypeAnnotation:d.getTypeAnnotation,isBaseType:d.isBaseType,couldBeBaseType:d.couldBeBaseType,baseTypeStrictlyMatches:d.baseTypeStrictlyMatches,isGenericType:d.isGenericType,replaceWithMultiple:p.replaceWithMultiple,replaceWithSourceString:p.replaceWithSourceString,replaceWith:p.replaceWith,replaceExpressionWithStatements:p.replaceExpressionWithStatements,replaceInline:p.replaceInline,evaluateTruthy:h.evaluateTruthy,evaluate:h.evaluate,toComputedKey:m.toComputedKey,ensureBlock:m.ensureBlock,unwrapFunctionEnvironment:m.unwrapFunctionEnvironment,arrowFunctionToExpression:m.arrowFunctionToExpression,splitExportDeclaration:m.splitExportDeclaration,ensureFunctionName:m.ensureFunctionName,matchesPattern:f.matchesPattern,isStatic:f.isStatic,isNodeType:f.isNodeType,canHaveVariableDeclarationOrExpression:f.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:f.canSwapBetweenExpressionAndStatement,isCompletionRecord:f.isCompletionRecord,isStatementOrBlock:f.isStatementOrBlock,referencesImport:f.referencesImport,getSource:f.getSource,willIMaybeExecuteBefore:f.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:f._guessExecutionStatusRelativeTo,resolve:f.resolve,isConstantExpression:f.isConstantExpression,isInStrictMode:f.isInStrictMode,isDenylisted:y.isDenylisted,visit:y.visit,skip:y.skip,skipKey:y.skipKey,stop:y.stop,setContext:y.setContext,requeue:y.requeue,requeueComputedKeyAndDecorators:y.requeueComputedKeyAndDecorators,remove:g.remove,insertBefore:b.insertBefore,insertAfter:b.insertAfter,unshiftContainer:b.unshiftContainer,pushContainer:b.pushContainer,getOpposite:w.getOpposite,getCompletionRecords:w.getCompletionRecords,getSibling:w.getSibling,getPrevSibling:w.getPrevSibling,getNextSibling:w.getNextSibling,getAllNextSiblings:w.getAllNextSiblings,getAllPrevSiblings:w.getAllPrevSiblings,get:w.get,getAssignmentIdentifiers:w.getAssignmentIdentifiers,getBindingIdentifiers:w.getBindingIdentifiers,getOuterBindingIdentifiers:w.getOuterBindingIdentifiers,getBindingIdentifierPaths:w.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:w.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:v.shareCommentsWithSiblings,addComment:v.addComment,addComments:v.addComments};for(let e of(Object.assign(E.prototype,T),E.prototype.arrowFunctionToShadowed=m[String("arrowFunctionToShadowed")],Object.assign(E.prototype,{has:f[String("has")],is:f[String("is")],isnt:f[String("isnt")],equals:f[String("equals")],hoist:b[String("hoist")],updateSiblingKeys:b.updateSiblingKeys,call:y.call,isBlacklisted:y[String("isBlacklisted")],setScope:y.setScope,resync:y.resync,popContext:y.popContext,pushContext:y.pushContext,setup:y.setup,setKey:y.setKey}),E.prototype._guessExecutionStatusRelativeToDifferentFunctions=f._guessExecutionStatusRelativeTo,E.prototype._guessExecutionStatusRelativeToDifferentFunctions=f._guessExecutionStatusRelativeTo,Object.assign(E.prototype,{_getTypeAnnotation:d._getTypeAnnotation,_replaceWith:p._replaceWith,_resolve:f._resolve,_call:y._call,_resyncParent:y._resyncParent,_resyncKey:y._resyncKey,_resyncList:y._resyncList,_resyncRemoved:y._resyncRemoved,_getQueueContexts:y._getQueueContexts,_removeFromScope:g._removeFromScope,_callRemovalHooks:g._callRemovalHooks,_remove:g._remove,_markRemoved:g._markRemoved,_assertUnremoved:g._assertUnremoved,_containerInsert:b._containerInsert,_containerInsertBefore:b._containerInsertBefore,_containerInsertAfter:b._containerInsertAfter,_verifyNodeList:b._verifyNodeList,_getKey:w._getKey,_getPattern:w._getPattern}),o.TYPES)){let t=`is${e}`,r=o[t];E.prototype[t]=function(e){return r(this.node,e)},E.prototype[`assert${e}`]=function(t){if(!r(this.node,t))throw TypeError(`Expected node path of type ${e}`)}}for(let e of(Object.assign(E.prototype,k),Object.keys(n)))"_"!==e[0]&&(o.TYPES.includes(e)||o.TYPES.push(e))},13398:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},13849:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return function e(t){var r;let a=(null!=(r=null==t?void 0:t.presets)?r:[n.default]).slice().reverse().flatMap(t=>e(t instanceof Function?t():t)),s={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:e})=>({DEFAULT:"#3b82f67f",...e("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},o=Object.keys(s).filter(e=>(0,i.flagEnabled)(t,e)).map(e=>s[e]);return[t,...o,...a]}}});let n=function(e){return e&&e.__esModule?e:{default:e}}(r(2609)),i=r(21341)},14086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(40838),i=r(2872),a=r(25282),s=r(43278);let{getAssignmentIdentifiers:o}=n,l={ReferencedIdentifier({node:e},t){e.name===t.oldName&&(e.name=t.newName)},Scope(e,t){!e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)&&(e.skip(),e.isMethod()&&(e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():s.requeueComputedKeyAndDecorators.call(e)))},ObjectProperty({node:e,scope:t},r){let{name:n}=e.key;if(e.shorthand&&(n===r.oldName||n===r.newName)&&t.getBindingIdentifier(n)===r.binding.identifier){var i;e.shorthand=!1,null!=(i=e.extra)&&i.shorthand&&(e.extra.shorthand=!1)}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;let r=e.isAssignmentExpression()?o(e.node):e.getOuterBindingIdentifiers();for(let e in r)e===t.oldName&&(r[e].name=t.newName)}};class u{constructor(e,t,r){this.newName=r,this.oldName=t,this.binding=e}maybeConvertFromExportDeclaration(e){let t=e.parentPath;if(t.isExportDeclaration()){if(t.isExportDefaultDeclaration()){let{declaration:e}=t.node;if(n.isDeclaration(e)&&!e.id)return}t.isExportAllDeclaration()||t.splitExportDeclaration()}}maybeConvertFromClassFunctionDeclaration(e){return e}maybeConvertFromClassFunctionExpression(e){return e}rename(){let{binding:e,oldName:t,newName:r}=this,{scope:s,path:o}=e,u=o.find(e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression());u&&u.getOuterBindingIdentifiers()[t]===e.identifier&&this.maybeConvertFromExportDeclaration(u);let c=arguments[0]||s.block,d={discriminant:!0};n.isMethod(c)&&(c.computed&&(d.key=!0),n.isObjectMethod(c)||(d.decorators=!0)),(0,i.traverseNode)(c,(0,a.explode)(l),s,this,s.path,d),arguments[0]||(s.removeOwnBinding(t),s.bindings[r]=e,this.binding.identifier.name=r),u&&(this.maybeConvertFromClassFunctionDeclaration(o),this.maybeConvertFromClassFunctionExpression(o))}}t.default=u},14296:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=(0,r(73747).default)("React.Component")},14597:(e,t,r)=>{"use strict";r.d(t,{j:()=>d});var n=r(5945);r(84183);var i=r(73024),a=r.n(i),s=r(76760),o=r.n(s),l=r(64949),u=r(71188),c=r(72495);let d=(0,l.cache)(async e=>{if([".tsx",".jsx",".ts",".js"].includes(o().extname(e)))return o().join(u.Z8,e);let t=o().join(u.Z8,e);if(a().existsSync(`${t}.tsx`))return`${t}.tsx`;if(a().existsSync(`${t}.jsx`))return`${t}.jsx`;if(a().existsSync(`${t}.ts`))return`${t}.ts`;if(a().existsSync(`${t}.js`))return`${t}.js`;throw Error(`Could not find your email file based on the slug (${e}) by guessing the file extension. Tried .tsx, .jsx, .ts and .js.
5
+ `,prefixText:" "}).start(),(0,g.registerSpinnerAutostopping)(r));let s=await (0,f.getEmailComponent)(e);if("error"in s)return r?.stopAndPersist({symbol:d().error,text:`Failed while rendering ${i}`}),{error:s.error};let{emailComponent:l,createElement:c,render:p,sourceMapToOriginalFile:b}=s,v=l.PreviewProps||{};try{let t=await p(c(l,v),{pretty:!0}),s=await p(c(l,v),{plainText:!0}),o=await a().promises.readFile(e,"utf-8"),h=performance.now()-n,m=`${h.toFixed(0)}ms`;m=h<=450?u().green(m):h<=1e3?u().yellow(m):u().red(m),r?.stopAndPersist({symbol:d().success,text:`Successfully rendered ${i} in ${m}`});let f={markup:t.replaceAll("\0",""),plainText:s,reactMarkup:o};return w.set(e,f),f}catch(t){return r?.stopAndPersist({symbol:d().error,text:`Failed while rendering ${i}`}),{error:(0,y.improveErrorWithSourceMap)(t,e,b)}}};(0,b.D)([v]),(0,n.A)(v,"7faeacb0877bee032a521badb4a1d1990c409797d3",null)},12942:(e,t,r)=>{"use strict";r.r(t);var n=r(76760),i=r.n(n),a=r(97699);test("getEmailsDirectoryMetadata on demo emails",async()=>{let e=i().resolve(__dirname,"../../../../apps/demo/emails");expect(await (0,a.getEmailsDirectoryMetadata)(e)).toEqual({absolutePath:e,directoryName:"emails",relativePath:"",emailFilenames:[],subDirectories:[{absolutePath:`${e}/magic-links`,directoryName:"magic-links",relativePath:"magic-links",emailFilenames:["aws-verify-email","linear-login-code","notion-magic-link","plaid-verify-identity","raycast-magic-link","slack-confirm"],subDirectories:[]},{absolutePath:`${e}/newsletters`,directoryName:"newsletters",relativePath:"newsletters",emailFilenames:["codepen-challengers","google-play-policy-update","stack-overflow-tips"],subDirectories:[]},{absolutePath:`${e}/notifications`,directoryName:"notifications",relativePath:"notifications",emailFilenames:["github-access-token","papermark-year-in-review","vercel-invite-user","yelp-recent-login"],subDirectories:[]},{absolutePath:`${e}/receipts`,directoryName:"receipts",relativePath:"receipts",emailFilenames:["apple-receipt","nike-receipt"],subDirectories:[]},{absolutePath:`${e}/reset-password`,directoryName:"reset-password",relativePath:"reset-password",emailFilenames:["dropbox-reset-password","twitch-reset-password"],subDirectories:[]},{absolutePath:`${e}/reviews`,directoryName:"reviews",relativePath:"reviews",emailFilenames:["airbnb-review","amazon-review"],subDirectories:[]},{absolutePath:`${e}/welcome`,directoryName:"welcome",relativePath:"welcome",emailFilenames:["koala-welcome","netlify-welcome","stripe-welcome"],subDirectories:[]}]})})},13123:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r{constructor({identifier:e,scope:t,path:r,kind:n}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=e,this.scope=t,this.path=r,this.kind=n,("var"===n||"hoisted"===n)&&function(e){let t=!e.isVariableDeclarator()||e.node.init;for(let{parentPath:r,key:n}=e;r&&!r.isFunctionParent();{parentPath:r,key:n}=r)if("left"===n&&r.isForXStatement()||t&&"body"===n&&r.isLoop())return!0;return!1}(r)&&this.reassign(r),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(e){this.constant=!1,this.constantViolations.includes(e)||this.constantViolations.push(e)}reference(e){this.referencePaths.includes(e)||(this.referenced=!0,this.references++,this.referencePaths.push(e))}dereference(){this.references--,this.referenced=!!this.references}}t.default=r},13133:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SHOULD_STOP=t.SHOULD_SKIP=t.REMOVED=void 0;var n=r(89886),i=r(75292),a=r(41093),s=r(85962),o=r(40838),l=r(72063),u=r(94610),c=r(65252),d=r(27365),p=r(54341),h=r(73255),m=r(82105),f=r(7410),y=r(43278),g=r(40305),b=r(94737),w=r(5805),v=r(25291),k=r(68965);let{validate:x}=o,S=i("babel");t.REMOVED=1,t.SHOULD_STOP=2,t.SHOULD_SKIP=4;let E=t.default=class e{constructor(e,t){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this.parent=t,this.hub=e,this.data=null,this.context=null,this.scope=null}get removed(){return(1&this._traverseFlags)>0}set removed(e){e?this._traverseFlags|=1:this._traverseFlags&=-2}get shouldStop(){return(2&this._traverseFlags)>0}set shouldStop(e){e?this._traverseFlags|=2:this._traverseFlags&=-3}get shouldSkip(){return(4&this._traverseFlags)>0}set shouldSkip(e){e?this._traverseFlags|=4:this._traverseFlags&=-5}static get({hub:t,parentPath:r,parent:n,container:i,listKey:a,key:s}){if(!t&&r&&(t=r.hub),!n)throw Error("To get a node path the parent needs to exist");let o=i[s],u=l.getOrCreateCachedPaths(t,n),c=u.get(o);return!c&&(c=new e(t,n),o&&u.set(o,c)),y.setup.call(c,r,i,a,s),c}getScope(e){return this.isScope()?new s.default(this):e}setData(e,t){return null==this.data&&(this.data=Object.create(null)),this.data[e]=t}getData(e,t){null==this.data&&(this.data=Object.create(null));let r=this.data[e];return void 0===r&&void 0!==t&&(r=this.data[e]=t),r}hasNode(){return null!=this.node}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,a.default)(this.node,e,this.scope,t,this)}set(e,t){x(this.node,e,t),this.node[e]=t}getPathLocation(){let e=[],t=this;do{let r=t.key;t.inList&&(r=`${t.listKey}[${r}]`),e.unshift(r)}while(t=t.parentPath);return e.join(".")}debug(e){S.enabled&&S(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){e||(this.listKey=null)}get parentKey(){return this.listKey||this.key}},T={findParent:c.findParent,find:c.find,getFunctionParent:c.getFunctionParent,getStatementParent:c.getStatementParent,getEarliestCommonAncestorFrom:c.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:c.getDeepestCommonAncestorFrom,getAncestry:c.getAncestry,isAncestor:c.isAncestor,isDescendant:c.isDescendant,inType:c.inType,getTypeAnnotation:d.getTypeAnnotation,isBaseType:d.isBaseType,couldBeBaseType:d.couldBeBaseType,baseTypeStrictlyMatches:d.baseTypeStrictlyMatches,isGenericType:d.isGenericType,replaceWithMultiple:p.replaceWithMultiple,replaceWithSourceString:p.replaceWithSourceString,replaceWith:p.replaceWith,replaceExpressionWithStatements:p.replaceExpressionWithStatements,replaceInline:p.replaceInline,evaluateTruthy:h.evaluateTruthy,evaluate:h.evaluate,toComputedKey:m.toComputedKey,ensureBlock:m.ensureBlock,unwrapFunctionEnvironment:m.unwrapFunctionEnvironment,arrowFunctionToExpression:m.arrowFunctionToExpression,splitExportDeclaration:m.splitExportDeclaration,ensureFunctionName:m.ensureFunctionName,matchesPattern:f.matchesPattern,isStatic:f.isStatic,isNodeType:f.isNodeType,canHaveVariableDeclarationOrExpression:f.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:f.canSwapBetweenExpressionAndStatement,isCompletionRecord:f.isCompletionRecord,isStatementOrBlock:f.isStatementOrBlock,referencesImport:f.referencesImport,getSource:f.getSource,willIMaybeExecuteBefore:f.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:f._guessExecutionStatusRelativeTo,resolve:f.resolve,isConstantExpression:f.isConstantExpression,isInStrictMode:f.isInStrictMode,isDenylisted:y.isDenylisted,visit:y.visit,skip:y.skip,skipKey:y.skipKey,stop:y.stop,setContext:y.setContext,requeue:y.requeue,requeueComputedKeyAndDecorators:y.requeueComputedKeyAndDecorators,remove:g.remove,insertBefore:b.insertBefore,insertAfter:b.insertAfter,unshiftContainer:b.unshiftContainer,pushContainer:b.pushContainer,getOpposite:w.getOpposite,getCompletionRecords:w.getCompletionRecords,getSibling:w.getSibling,getPrevSibling:w.getPrevSibling,getNextSibling:w.getNextSibling,getAllNextSiblings:w.getAllNextSiblings,getAllPrevSiblings:w.getAllPrevSiblings,get:w.get,getAssignmentIdentifiers:w.getAssignmentIdentifiers,getBindingIdentifiers:w.getBindingIdentifiers,getOuterBindingIdentifiers:w.getOuterBindingIdentifiers,getBindingIdentifierPaths:w.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:w.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:v.shareCommentsWithSiblings,addComment:v.addComment,addComments:v.addComments};for(let e of(Object.assign(E.prototype,T),E.prototype.arrowFunctionToShadowed=m[String("arrowFunctionToShadowed")],Object.assign(E.prototype,{has:f[String("has")],is:f[String("is")],isnt:f[String("isnt")],equals:f[String("equals")],hoist:b[String("hoist")],updateSiblingKeys:b.updateSiblingKeys,call:y.call,isBlacklisted:y[String("isBlacklisted")],setScope:y.setScope,resync:y.resync,popContext:y.popContext,pushContext:y.pushContext,setup:y.setup,setKey:y.setKey}),E.prototype._guessExecutionStatusRelativeToDifferentFunctions=f._guessExecutionStatusRelativeTo,E.prototype._guessExecutionStatusRelativeToDifferentFunctions=f._guessExecutionStatusRelativeTo,Object.assign(E.prototype,{_getTypeAnnotation:d._getTypeAnnotation,_replaceWith:p._replaceWith,_resolve:f._resolve,_call:y._call,_resyncParent:y._resyncParent,_resyncKey:y._resyncKey,_resyncList:y._resyncList,_resyncRemoved:y._resyncRemoved,_getQueueContexts:y._getQueueContexts,_removeFromScope:g._removeFromScope,_callRemovalHooks:g._callRemovalHooks,_remove:g._remove,_markRemoved:g._markRemoved,_assertUnremoved:g._assertUnremoved,_containerInsert:b._containerInsert,_containerInsertBefore:b._containerInsertBefore,_containerInsertAfter:b._containerInsertAfter,_verifyNodeList:b._verifyNodeList,_getKey:w._getKey,_getPattern:w._getPattern}),o.TYPES)){let t=`is${e}`,r=o[t];E.prototype[t]=function(e){return r(this.node,e)},E.prototype[`assert${e}`]=function(t){if(!r(this.node,t))throw TypeError(`Expected node path of type ${e}`)}}for(let e of(Object.assign(E.prototype,k),Object.keys(n)))"_"!==e[0]&&(o.TYPES.includes(e)||o.TYPES.push(e))},13398:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},13849:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return function e(t){var r;let a=(null!=(r=null==t?void 0:t.presets)?r:[n.default]).slice().reverse().flatMap(t=>e(t instanceof Function?t():t)),s={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:e})=>({DEFAULT:"#3b82f67f",...e("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},o=Object.keys(s).filter(e=>(0,i.flagEnabled)(t,e)).map(e=>s[e]);return[t,...o,...a]}}});let n=function(e){return e&&e.__esModule?e:{default:e}}(r(2609)),i=r(21341)},14086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(40838),i=r(2872),a=r(25282),s=r(43278);let{getAssignmentIdentifiers:o}=n,l={ReferencedIdentifier({node:e},t){e.name===t.oldName&&(e.name=t.newName)},Scope(e,t){!e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)&&(e.skip(),e.isMethod()&&(e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():s.requeueComputedKeyAndDecorators.call(e)))},ObjectProperty({node:e,scope:t},r){let{name:n}=e.key;if(e.shorthand&&(n===r.oldName||n===r.newName)&&t.getBindingIdentifier(n)===r.binding.identifier){var i;e.shorthand=!1,null!=(i=e.extra)&&i.shorthand&&(e.extra.shorthand=!1)}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;let r=e.isAssignmentExpression()?o(e.node):e.getOuterBindingIdentifiers();for(let e in r)e===t.oldName&&(r[e].name=t.newName)}};class u{constructor(e,t,r){this.newName=r,this.oldName=t,this.binding=e}maybeConvertFromExportDeclaration(e){let t=e.parentPath;if(t.isExportDeclaration()){if(t.isExportDefaultDeclaration()){let{declaration:e}=t.node;if(n.isDeclaration(e)&&!e.id)return}t.isExportAllDeclaration()||t.splitExportDeclaration()}}maybeConvertFromClassFunctionDeclaration(e){return e}maybeConvertFromClassFunctionExpression(e){return e}rename(){let{binding:e,oldName:t,newName:r}=this,{scope:s,path:o}=e,u=o.find(e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression());u&&u.getOuterBindingIdentifiers()[t]===e.identifier&&this.maybeConvertFromExportDeclaration(u);let c=arguments[0]||s.block,d={discriminant:!0};n.isMethod(c)&&(c.computed&&(d.key=!0),n.isObjectMethod(c)||(d.decorators=!0)),(0,i.traverseNode)(c,(0,a.explode)(l),s,this,s.path,d),arguments[0]||(s.removeOwnBinding(t),s.bindings[r]=e,this.binding.identifier.name=r),u&&(this.maybeConvertFromClassFunctionDeclaration(o),this.maybeConvertFromClassFunctionExpression(o))}}t.default=u},14296:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=(0,r(73747).default)("React.Component")},14597:(e,t,r)=>{"use strict";r.d(t,{j:()=>d});var n=r(5945);r(84183);var i=r(73024),a=r.n(i),s=r(76760),o=r.n(s),l=r(64949),u=r(71188),c=r(72495);let d=(0,l.cache)(async e=>{if([".tsx",".jsx",".ts",".js"].includes(o().extname(e)))return o().join(u.Z8,e);let t=o().join(u.Z8,e);if(a().existsSync(`${t}.tsx`))return`${t}.tsx`;if(a().existsSync(`${t}.jsx`))return`${t}.jsx`;if(a().existsSync(`${t}.ts`))return`${t}.ts`;if(a().existsSync(`${t}.js`))return`${t}.js`;throw Error(`Could not find your email file based on the slug (${e}) by guessing the file extension. Tried .tsx, .jsx, .ts and .js.
6
6
 
7
- This is most likely not an issue with the preview server. It most likely is that the email doesn't exist.`)});(0,c.D)([d]),(0,n.A)(d,"7fdd0aa11d27911881f072d73afc58a9ee0edf3535",null)},14690:(e,t,r)=>{"use strict";e.exports=E,E.ReadableState=S,r(94735).EventEmitter;var n,i,a,s,o,l=function(e,t){return e.listeners(t).length},u=r(77130),c=r(79428).Buffer,d=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},p=r(28354);i=p&&p.debuglog?p.debuglog("stream"):function(){};var h=r(2471),m=r(41658),f=r(97209).getHighWaterMark,y=r(18107).F,g=y.ERR_INVALID_ARG_TYPE,b=y.ERR_STREAM_PUSH_AFTER_EOF,w=y.ERR_METHOD_NOT_IMPLEMENTED,v=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(62993)(E,u);var k=m.errorOrDestroy,x=["error","close","destroy","pause","resume"];function S(e,t,i){n=n||r(71184),e=e||{},"boolean"!=typeof i&&(i=t instanceof n),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=f(this,e,"readableHighWaterMark",i),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(a||(a=r(31095).I),this.decoder=new a(e.encoding),this.encoding=e.encoding)}function E(e){if(n=n||r(71184),!(this instanceof E))return new E(e);var t=this instanceof n;this._readableState=new S(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function T(e,t,r,n,a){i("readableAddChunk",t);var s,o,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(i("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?C(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,P(e)))}}(e,l);else if(a||(o=function(e,t){var r;return c.isBuffer(t)||t instanceof d||"string"==typeof t||void 0===t||e.objectMode||(r=new g("chunk",["string","Buffer","Uint8Array"],t)),r}(l,t)),o)k(e,o);else if(l.objectMode||t&&t.length>0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===c.prototype||(s=t,t=c.from(s)),n)l.endEmitted?k(e,new v):_(e,l,t,!0);else if(l.ended)k(e,new b);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!r?(t=l.decoder.write(t),l.objectMode||0!==t.length?_(e,l,t,!1):D(e,l)):_(e,l,t,!1)}else n||(l.reading=!1,D(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function _(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&C(e)),D(e,t)}function A(e,t){var r;if(e<=0||0===t.length&&t.ended)return 0;if(t.objectMode)return 1;if(e!=e)if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length;return(e>t.highWaterMark&&((r=e)>=0x40000000?r=0x40000000:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),t.highWaterMark=r),e<=t.length)?e:t.ended?t.length:(t.needReadable=!0,0)}function C(e){var t=e._readableState;i("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(i("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(P,e))}function P(e){var t=e._readableState;i("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,R(e)}function D(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(I,e,t))}function I(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(i("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function O(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function N(e){i("readable nexttick read 0"),e.read(0)}function L(e,t){i("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),R(e),t.flowing&&!t.reading&&e.read(0)}function R(e){var t=e._readableState;for(i("flow",t.flowing);t.flowing&&null!==e.read(););}function M(e,t){var r;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r)}function F(e){var t=e._readableState;i("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(B,t,e))}function B(e,t){if(i("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function j(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),E.prototype.destroy=m.destroy,E.prototype._undestroy=m.undestroy,E.prototype._destroy=function(e,t){t(e)},E.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=c.from(e,t),t=""),r=!0),T(this,e,t,!1,r)},E.prototype.unshift=function(e){return T(this,e,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(e){a||(a=r(31095).I);var t=new a(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=t.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this},E.prototype.read=function(e){i("read",e),e=parseInt(e,10);var t,r=this._readableState,n=e;if(0!==e&&(r.emittedReadable=!1),0===e&&r.needReadable&&((0!==r.highWaterMark?r.length>=r.highWaterMark:r.length>0)||r.ended))return i("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?F(this):C(this),null;if(0===(e=A(e,r))&&r.ended)return 0===r.length&&F(this),null;var a=r.needReadable;return i("need readable",a),(0===r.length||r.length-e<r.highWaterMark)&&i("length less than watermark",a=!0),r.ended||r.reading?i("reading or ended",a=!1):a&&(i("do read"),r.reading=!0,r.sync=!0,0===r.length&&(r.needReadable=!0),this._read(r.highWaterMark),r.sync=!1,r.reading||(e=A(n,r))),null===(t=e>0?M(e,r):null)?(r.needReadable=r.length<=r.highWaterMark,e=0):(r.length-=e,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),n!==e&&r.ended&&F(this)),null!==t&&this.emit("data",t),t},E.prototype._read=function(e){k(this,new w("_read()"))},E.prototype.pipe=function(e,t){var r,n=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,i("pipe count=%d opts=%j",a.pipesCount,t);var s=t&&!1===t.end||e===process.stdout||e===process.stderr?f:o;function o(){i("onend"),e.end()}a.endEmitted?process.nextTick(s):n.once("end",s),e.on("unpipe",function t(r,s){i("onunpipe"),r===n&&s&&!1===s.hasUnpiped&&(s.hasUnpiped=!0,i("cleanup"),e.removeListener("close",h),e.removeListener("finish",m),e.removeListener("drain",u),e.removeListener("error",p),e.removeListener("unpipe",t),n.removeListener("end",o),n.removeListener("end",f),n.removeListener("data",d),c=!0,a.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u())});var u=(r=n,function(){var e=r._readableState;i("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&l(r,"data")&&(e.flowing=!0,R(r))});e.on("drain",u);var c=!1;function d(t){i("ondata");var r=e.write(t);i("dest.write",r),!1===r&&((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==j(a.pipes,e))&&!c&&(i("false write response, pause",a.awaitDrain),a.awaitDrain++),n.pause())}function p(t){i("onerror",t),f(),e.removeListener("error",p),0===l(e,"error")&&k(e,t)}function h(){e.removeListener("finish",m),f()}function m(){i("onfinish"),e.removeListener("close",h),f()}function f(){i("unpipe"),n.unpipe(e)}return n.on("data",d),!function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",p),e.once("close",h),e.once("finish",m),e.emit("pipe",n),a.flowing||(i("pipe resume"),n.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var s=j(t.pipes,e);return -1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},E.prototype.on=function(e,t){var r=u.prototype.on.call(this,e,t),n=this._readableState;return"data"===e?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"!==e||n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,i("on readable",n.length,n.reading),n.length?C(this):n.reading||process.nextTick(N,this)),r},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(e,t){var r=u.prototype.removeListener.call(this,e,t);return"readable"===e&&process.nextTick(O,this),r},E.prototype.removeAllListeners=function(e){var t=u.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&process.nextTick(O,this),t},E.prototype.resume=function(){var e,t,r=this._readableState;return r.flowing||(i("resume"),r.flowing=!r.readableListening,e=this,(t=r).resumeScheduled||(t.resumeScheduled=!0,process.nextTick(L,e,t))),r.paused=!1,this},E.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var a in e.on("end",function(){if(i("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(a){if(i("wrapped data"),r.decoder&&(a=r.decoder.write(a)),!r.objectMode||null!=a)(r.objectMode||a&&a.length)&&(t.push(a)||(n=!0,e.pause()))}),e)void 0===this[a]&&"function"==typeof e[a]&&(this[a]=function(t){return function(){return e[t].apply(e,arguments)}}(a));for(var s=0;s<x.length;s++)e.on(x[s],this.emit.bind(this,x[s]));return this._read=function(t){i("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(E.prototype[Symbol.asyncIterator]=function(){return void 0===s&&(s=r(90493)),s(this)}),Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(E.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(E.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),E._fromList=M,Object.defineProperty(E.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(E.from=function(e,t){return void 0===o&&(o=r(23082)),o(E,e,t)})},14698:(e,t,r)=>{"use strict";function n(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!1,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!1,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}r.r(t),r.d(t,{EmailMarkdown:()=>en,camelToKebabCase:()=>J,parseCssInJsToInlineCss:()=>Q,parseMarkdownToJSX:()=>er});let i=n(),a=/[&<>"']/,s=RegExp(a.source,"g"),o=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,l=RegExp(o.source,"g"),u={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},c=e=>u[e];function d(e,t){if(t){if(a.test(e))return e.replace(s,c)}else if(o.test(e))return e.replace(l,c);return e}let p=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(e){return e.replace(p,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")}let m=/(^|[^\[])\^/g;function f(e,t){e="string"==typeof e?e:e.source,t=t||"";let r={replace:(t,n)=>(n=(n="object"==typeof n&&"source"in n?n.source:n).replace(m,"$1"),e=e.replace(t,n),r),getRegex:()=>new RegExp(e,t)};return r}let y=/[^\w:]/g,g=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function b(e,t,r){if(e){let e;try{e=decodeURIComponent(h(r)).replace(y,"").toLowerCase()}catch(e){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!g.test(r)&&(r=function(e,t){w[" "+e]||(v.test(e)?w[" "+e]=e+"/":w[" "+e]=T(e,"/",!0));let r=-1===(e=w[" "+e]).indexOf(":");return"//"===t.substring(0,2)?r?t:e.replace(k,"$1")+t:"/"!==t.charAt(0)?e+t:r?t:e.replace(x,"$1")+t}(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch(e){return null}return r}let w={},v=/^[^:]+:\/*[^/]*$/,k=/^([^:]+:)[\s\S]*$/,x=/^([^:]+:\/*[^/]*)[\s\S]*$/,S={exec:()=>null};function E(e,t){let r=e.replace(/\|/g,(e,t,r)=>{let n=!1,i=t;for(;--i>=0&&"\\"===r[i];)n=!n;return n?"|":" |"}).split(/ \|/),n=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(/\\\|/g,"|");return r}function T(e,t,r){let n=e.length;if(0===n)return"";let i=0;for(;i<n;){let a=e.charAt(n-i-1);if(a!==t||r)if(a!==t&&r)i++;else break;else i++}return e.slice(0,n-i)}function _(e,t,r,n){let i=t.href,a=t.title?d(t.title):null,s=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){n.state.inLink=!0;let e={type:"link",raw:r,href:i,title:a,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,e}return{type:"image",raw:r,href:i,title:a,text:d(s)}}class A{options;rules;lexer;constructor(e){this.options=e||i}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:T(e,"\n")}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],r=function(e,t){let r=e.match(/^(\s+)(?:```)/);if(null===r)return t;let n=r[1];return t.split("\n").map(e=>{let t=e.match(/^\s+/);if(null===t)return e;let[r]=t;return r.length>=n.length?e.slice(n.length):e}).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){let t=T(e,"#");this.options.pedantic?e=t.trim():(!t||/ $/.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=t[0].replace(/^ *>[ \t]?/gm,""),r=this.lexer.state.top;this.lexer.state.top=!0;let n=this.lexer.blockTokens(e);return this.lexer.state.top=r,{type:"blockquote",raw:t[0],tokens:n,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r=t[1].trim(),n=r.length>1,i={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let a=RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`),s="",o="",l=!1;for(;e;){let r,n=!1;if(!(t=a.exec(e))||this.rules.block.hr.test(e))break;s=t[0],e=e.substring(s.length);let u=t[2].split("\n",1)[0].replace(/^\t+/,e=>" ".repeat(3*e.length)),c=e.split("\n",1)[0],d=0;this.options.pedantic?(d=2,o=u.trimLeft()):(d=(d=t[2].search(/[^ ]/))>4?1:d,o=u.slice(d),d+=t[1].length);let p=!1;if(!u&&/^ *$/.test(c)&&(s+=c+"\n",e=e.substring(c.length+1),n=!0),!n){let t=RegExp(`^ {0,${Math.min(3,d-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),r=RegExp(`^ {0,${Math.min(3,d-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),n=RegExp(`^ {0,${Math.min(3,d-1)}}(?:\`\`\`|~~~)`),i=RegExp(`^ {0,${Math.min(3,d-1)}}#`);for(;e;){let a=e.split("\n",1)[0];if(c=a,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),n.test(c)||i.test(c)||t.test(c)||r.test(e))break;if(c.search(/[^ ]/)>=d||!c.trim())o+="\n"+c.slice(d);else{if(p||u.search(/[^ ]/)>=4||n.test(u)||i.test(u)||r.test(u))break;o+="\n"+c}p||c.trim()||(p=!0),s+=a+"\n",e=e.substring(a.length+1),u=c.slice(d)}}!i.loose&&(l?i.loose=!0:/\n *\n *$/.test(s)&&(l=!0));let h=null;this.options.gfm&&(h=/^\[[ xX]\] /.exec(o))&&(r="[ ] "!==h[0],o=o.replace(/^\[[ xX]\] +/,"")),i.items.push({type:"list_item",raw:s,task:!!h,checked:r,loose:!1,text:o,tokens:[]}),i.raw+=s}i.items[i.items.length-1].raw=s.trimRight(),i.items[i.items.length-1].text=o.trimRight(),i.raw=i.raw.trimRight();for(let e=0;e<i.items.length;e++)if(this.lexer.state.top=!1,i.items[e].tokens=this.lexer.blockTokens(i.items[e].text,[]),!i.loose){let t=i.items[e].tokens.filter(e=>"space"===e.type);i.loose=t.length>0&&t.some(e=>/\n.*\n/.test(e.raw))}if(i.loose)for(let e=0;e<i.items.length;e++)i.items[e].loose=!0;return i}}html(e){let t=this.rules.block.html.exec(e);if(t){let e={type:"html",block:!0,raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};if(this.options.sanitize){let r=this.options.sanitizer?this.options.sanitizer(t[0]):d(t[0]);e.type="paragraph",e.text=r,e.tokens=this.lexer.inline(r)}return e}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(/\s+/g," "),r=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:r,title:n}}}table(e){let t=this.rules.block.table.exec(e);if(t){let e={type:"table",raw:t[0],header:E(t[1]).map(e=>({text:e,tokens:[]})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(e.header.length===e.align.length){let t,r,n,i,a=e.align.length;for(t=0;t<a;t++){let r=e.align[t];r&&(/^ *-+: *$/.test(r)?e.align[t]="right":/^ *:-+: *$/.test(r)?e.align[t]="center":/^ *:-+ *$/.test(r)?e.align[t]="left":e.align[t]=null)}for(t=0,a=e.rows.length;t<a;t++)e.rows[t]=E(e.rows[t],e.header.length).map(e=>({text:e,tokens:[]}));for(r=0,a=e.header.length;r<a;r++)e.header[r].tokens=this.lexer.inline(e.header[r].text);for(r=0,a=e.rows.length;r<a;r++)for(n=0,i=e.rows[r];n<i.length;n++)i[n].tokens=this.lexer.inline(i[n].text);return e}}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:d(t[1])}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):d(t[0]):t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;let t=T(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(")"))return -1;let r=0;for(let n=0;n<e.length;n++)if("\\"===e[n])n++;else if("("===e[n])r++;else if(e[n]===t[1]&&--r<0)return n;return -1}(t[2],"()");if(e>-1){let r=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,r).trim(),t[3]=""}}let r=t[2],n="";if(this.options.pedantic){let e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);e&&(r=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return r=r.trim(),/^</.test(r)&&(r=this.options.pedantic&&!/>$/.test(e)?r.slice(1):r.slice(1,-1)),_(t,{href:r?r.replace(this.rules.inline._escapes,"$1"):r,title:n?n.replace(this.rules.inline._escapes,"$1"):n},t[0],this.lexer)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let e=(r[2]||r[1]).replace(/\s+/g," ");if(!(e=t[e.toLowerCase()])){let e=r[0].charAt(0);return{type:"text",raw:e,text:e}}return _(r,e,r[0],this.lexer)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrong.lDelim.exec(e);if(!(!n||n[3]&&r.match(/[\p{L}\p{N}]/u))&&(!(n[1]||n[2])||!r||this.rules.inline.punctuation.exec(r))){let r=[...n[0]].length-1,i,a,s=r,o=0,l="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+r);null!=(n=l.exec(t));){if(!(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6]))continue;if(a=[...i].length,n[3]||n[4]){s+=a;continue}if((n[5]||n[6])&&r%3&&!((r+a)%3)){o+=a;continue}if((s-=a)>0)continue;a=Math.min(a,a+s+o);let t=[...e].slice(0,r+n.index+a+1).join("");if(Math.min(r,a)%2){let e=t.slice(1,-1);return{type:"em",raw:t,text:e,tokens:this.lexer.inlineTokens(e)}}let l=t.slice(2,-2);return{type:"strong",raw:t,text:l,tokens:this.lexer.inlineTokens(l)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," "),r=/[^ ]/.test(e),n=/^ /.test(e)&&/ $/.test(e);return r&&n&&(e=e.substring(1,e.length-1)),e=d(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e,t){let r=this.rules.inline.autolink.exec(e);if(r){let e,n;return n="@"===r[2]?"mailto:"+(e=d(this.options.mangle?t(r[1]):r[1])):e=d(r[1]),{type:"link",raw:r[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let r;if(r=this.rules.inline.url.exec(e)){let e,n;if("@"===r[2])n="mailto:"+(e=d(this.options.mangle?t(r[0]):r[0]));else{let t;do t=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])[0];while(t!==r[0]);e=d(r[0]),n="www."===r[1]?"http://"+r[0]:r[0]}return{type:"link",raw:r[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t){let r=this.rules.inline.text.exec(e);if(r){let e;return e=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):d(r[0]):r[0]:d(this.options.smartypants?t(r[0]):r[0]),{type:"text",raw:r[0],text:e}}}}let C={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:S,lheading:/^((?:(?!^bull ).|\n(?!\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};C._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,C._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,C.def=f(C.def).replace("label",C._label).replace("title",C._title).getRegex(),C.bullet=/(?:[*+-]|\d{1,9}[.)])/,C.listItemStart=f(/^( *)(bull) */).replace("bull",C.bullet).getRegex(),C.list=f(C.list).replace(/bull/g,C.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+C.def.source+")").getRegex(),C._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",C._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,C.html=f(C.html,"i").replace("comment",C._comment).replace("tag",C._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),C.lheading=f(C.lheading).replace(/bull/g,C.bullet).getRegex(),C.paragraph=f(C._paragraph).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C._tag).getRegex(),C.blockquote=f(C.blockquote).replace("paragraph",C.paragraph).getRegex(),C.normal={...C},C.gfm={...C.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},C.gfm.table=f(C.gfm.table).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C._tag).getRegex(),C.gfm.paragraph=f(C._paragraph).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",C.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C._tag).getRegex(),C.pedantic={...C.normal,html:f("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",C._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:S,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:f(C.normal._paragraph).replace("hr",C.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",C.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};let P={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:S,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:S,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^((?![*_])[\spunctuation])/};function D(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function I(e){let t="";for(let r=0;r<e.length;r++)t+="&#"+(Math.random()>.5?"x"+e.charCodeAt(r).toString(16):e.charCodeAt(r).toString())+";";return t}P._punctuation="\\p{P}$+<=>`^|~",P.punctuation=f(P.punctuation,"u").replace(/punctuation/g,P._punctuation).getRegex(),P.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,P.anyPunctuation=/\\[punct]/g,P._escapes=/\\([punct])/g,P._comment=f(C._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),P.emStrong.lDelim=f(P.emStrong.lDelim,"u").replace(/punct/g,P._punctuation).getRegex(),P.emStrong.rDelimAst=f(P.emStrong.rDelimAst,"gu").replace(/punct/g,P._punctuation).getRegex(),P.emStrong.rDelimUnd=f(P.emStrong.rDelimUnd,"gu").replace(/punct/g,P._punctuation).getRegex(),P.anyPunctuation=f(P.anyPunctuation,"gu").replace(/punct/g,P._punctuation).getRegex(),P._escapes=f(P._escapes,"gu").replace(/punct/g,P._punctuation).getRegex(),P._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,P._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,P.autolink=f(P.autolink).replace("scheme",P._scheme).replace("email",P._email).getRegex(),P._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,P.tag=f(P.tag).replace("comment",P._comment).replace("attribute",P._attribute).getRegex(),P._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,P._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,P._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,P.link=f(P.link).replace("label",P._label).replace("href",P._href).replace("title",P._title).getRegex(),P.reflink=f(P.reflink).replace("label",P._label).replace("ref",C._label).getRegex(),P.nolink=f(P.nolink).replace("ref",C._label).getRegex(),P.reflinkSearch=f(P.reflinkSearch,"g").replace("reflink",P.reflink).replace("nolink",P.nolink).getRegex(),P.normal={...P},P.pedantic={...P.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:f(/^!?\[(label)\]\((.*?)\)/).replace("label",P._label).getRegex(),reflink:f(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",P._label).getRegex()},P.gfm={...P.normal,escape:f(P.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},P.gfm.url=f(P.gfm.url,"i").replace("email",P.gfm._extended_email).getRegex(),P.breaks={...P.gfm,br:f(P.br).replace("{2,}","*").getRegex(),text:f(P.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()};class O{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||i,this.options.tokenizer=this.options.tokenizer||new A,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={block:C.normal,inline:P.normal};this.options.pedantic?(t.block=C.pedantic,t.inline=P.pedantic):this.options.gfm&&(t.block=C.gfm,this.options.breaks?t.inline=P.breaks:t.inline=P.gfm),this.tokenizer.rules=t}static get rules(){return{block:C,inline:P}}static lex(e,t){return new O(t).lex(e)}static lexInline(e,t){return new O(t).inlineTokens(e)}lex(e){let t;for(e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}blockTokens(e,t=[]){let r,n,i,a;for(e=this.options.pedantic?e.replace(/\t/g," ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,(e,t,r)=>t+" ".repeat(r.length));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length),1===r.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);continue}if((r=this.tokenizer.fences(e))||(r=this.tokenizer.heading(e))||(r=this.tokenizer.hr(e))||(r=this.tokenizer.blockquote(e))||(r=this.tokenizer.list(e))||(r=this.tokenizer.html(e))){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+r.raw,n.text+="\n"+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if((r=this.tokenizer.table(e))||(r=this.tokenizer.lheading(e))){e=e.substring(r.raw.length),t.push(r);continue}if(i=e,this.options.extensions&&this.options.extensions.startBlock){let t,r=1/0,n=e.slice(1);this.options.extensions.startBlock.forEach(e=>{"number"==typeof(t=e.call({lexer:this},n))&&t>=0&&(r=Math.min(r,t))}),r<1/0&&r>=0&&(i=e.substring(0,r+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){n=t[t.length-1],a&&"paragraph"===n.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r),a=i.length!==e.length,e=e.substring(r.raw.length);continue}if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===n.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let r,n,i,a,s,o,l=e;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(l));)e.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,a.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(s||(o=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.escape(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.tag(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(r=this.tokenizer.link(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if((r=this.tokenizer.emStrong(e,l,o))||(r=this.tokenizer.codespan(e))||(r=this.tokenizer.br(e))||(r=this.tokenizer.del(e))||(r=this.tokenizer.autolink(e,I))||!this.state.inLink&&(r=this.tokenizer.url(e,I))){e=e.substring(r.raw.length),t.push(r);continue}if(i=e,this.options.extensions&&this.options.extensions.startInline){let t,r=1/0,n=e.slice(1);this.options.extensions.startInline.forEach(e=>{"number"==typeof(t=e.call({lexer:this},n))&&t>=0&&(r=Math.min(r,t))}),r<1/0&&r>=0&&(i=e.substring(0,r+1))}if(r=this.tokenizer.inlineText(i,D)){e=e.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(o=r.raw.slice(-1)),s=!0,(n=t[t.length-1])&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return t}}class N{options;constructor(e){this.options=e||i}code(e,t,r){let n=(t||"").match(/^\S*/)?.[0];if(this.options.highlight){let t=this.options.highlight(e,n);null!=t&&t!==e&&(r=!0,e=t)}return(e=e.replace(/\n$/,"")+"\n",n)?'<pre><code class="'+this.options.langPrefix+d(n)+'">'+(r?e:d(e,!0))+"</code></pre>\n":"<pre><code>"+(r?e:d(e,!0))+"</code></pre>\n"}blockquote(e){return`<blockquote>
7
+ This is most likely not an issue with the preview server. It most likely is that the email doesn't exist.`)});(0,c.D)([d]),(0,n.A)(d,"7f9f9f48dc719ef04aa5e7cd20595d44d0c7550797",null)},14690:(e,t,r)=>{"use strict";e.exports=E,E.ReadableState=S,r(94735).EventEmitter;var n,i,a,s,o,l=function(e,t){return e.listeners(t).length},u=r(77130),c=r(79428).Buffer,d=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},p=r(28354);i=p&&p.debuglog?p.debuglog("stream"):function(){};var h=r(2471),m=r(41658),f=r(97209).getHighWaterMark,y=r(18107).F,g=y.ERR_INVALID_ARG_TYPE,b=y.ERR_STREAM_PUSH_AFTER_EOF,w=y.ERR_METHOD_NOT_IMPLEMENTED,v=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(62993)(E,u);var k=m.errorOrDestroy,x=["error","close","destroy","pause","resume"];function S(e,t,i){n=n||r(71184),e=e||{},"boolean"!=typeof i&&(i=t instanceof n),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=f(this,e,"readableHighWaterMark",i),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(a||(a=r(31095).I),this.decoder=new a(e.encoding),this.encoding=e.encoding)}function E(e){if(n=n||r(71184),!(this instanceof E))return new E(e);var t=this instanceof n;this._readableState=new S(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function T(e,t,r,n,a){i("readableAddChunk",t);var s,o,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(i("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?C(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,P(e)))}}(e,l);else if(a||(o=function(e,t){var r;return c.isBuffer(t)||t instanceof d||"string"==typeof t||void 0===t||e.objectMode||(r=new g("chunk",["string","Buffer","Uint8Array"],t)),r}(l,t)),o)k(e,o);else if(l.objectMode||t&&t.length>0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===c.prototype||(s=t,t=c.from(s)),n)l.endEmitted?k(e,new v):_(e,l,t,!0);else if(l.ended)k(e,new b);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!r?(t=l.decoder.write(t),l.objectMode||0!==t.length?_(e,l,t,!1):D(e,l)):_(e,l,t,!1)}else n||(l.reading=!1,D(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function _(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&C(e)),D(e,t)}function A(e,t){var r;if(e<=0||0===t.length&&t.ended)return 0;if(t.objectMode)return 1;if(e!=e)if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length;return(e>t.highWaterMark&&((r=e)>=0x40000000?r=0x40000000:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),t.highWaterMark=r),e<=t.length)?e:t.ended?t.length:(t.needReadable=!0,0)}function C(e){var t=e._readableState;i("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(i("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(P,e))}function P(e){var t=e._readableState;i("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,R(e)}function D(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(I,e,t))}function I(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(i("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function O(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function N(e){i("readable nexttick read 0"),e.read(0)}function L(e,t){i("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),R(e),t.flowing&&!t.reading&&e.read(0)}function R(e){var t=e._readableState;for(i("flow",t.flowing);t.flowing&&null!==e.read(););}function M(e,t){var r;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r)}function F(e){var t=e._readableState;i("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(B,t,e))}function B(e,t){if(i("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function j(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),E.prototype.destroy=m.destroy,E.prototype._undestroy=m.undestroy,E.prototype._destroy=function(e,t){t(e)},E.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=c.from(e,t),t=""),r=!0),T(this,e,t,!1,r)},E.prototype.unshift=function(e){return T(this,e,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(e){a||(a=r(31095).I);var t=new a(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=t.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this},E.prototype.read=function(e){i("read",e),e=parseInt(e,10);var t,r=this._readableState,n=e;if(0!==e&&(r.emittedReadable=!1),0===e&&r.needReadable&&((0!==r.highWaterMark?r.length>=r.highWaterMark:r.length>0)||r.ended))return i("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?F(this):C(this),null;if(0===(e=A(e,r))&&r.ended)return 0===r.length&&F(this),null;var a=r.needReadable;return i("need readable",a),(0===r.length||r.length-e<r.highWaterMark)&&i("length less than watermark",a=!0),r.ended||r.reading?i("reading or ended",a=!1):a&&(i("do read"),r.reading=!0,r.sync=!0,0===r.length&&(r.needReadable=!0),this._read(r.highWaterMark),r.sync=!1,r.reading||(e=A(n,r))),null===(t=e>0?M(e,r):null)?(r.needReadable=r.length<=r.highWaterMark,e=0):(r.length-=e,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),n!==e&&r.ended&&F(this)),null!==t&&this.emit("data",t),t},E.prototype._read=function(e){k(this,new w("_read()"))},E.prototype.pipe=function(e,t){var r,n=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,i("pipe count=%d opts=%j",a.pipesCount,t);var s=t&&!1===t.end||e===process.stdout||e===process.stderr?f:o;function o(){i("onend"),e.end()}a.endEmitted?process.nextTick(s):n.once("end",s),e.on("unpipe",function t(r,s){i("onunpipe"),r===n&&s&&!1===s.hasUnpiped&&(s.hasUnpiped=!0,i("cleanup"),e.removeListener("close",h),e.removeListener("finish",m),e.removeListener("drain",u),e.removeListener("error",p),e.removeListener("unpipe",t),n.removeListener("end",o),n.removeListener("end",f),n.removeListener("data",d),c=!0,a.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u())});var u=(r=n,function(){var e=r._readableState;i("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&l(r,"data")&&(e.flowing=!0,R(r))});e.on("drain",u);var c=!1;function d(t){i("ondata");var r=e.write(t);i("dest.write",r),!1===r&&((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==j(a.pipes,e))&&!c&&(i("false write response, pause",a.awaitDrain),a.awaitDrain++),n.pause())}function p(t){i("onerror",t),f(),e.removeListener("error",p),0===l(e,"error")&&k(e,t)}function h(){e.removeListener("finish",m),f()}function m(){i("onfinish"),e.removeListener("close",h),f()}function f(){i("unpipe"),n.unpipe(e)}return n.on("data",d),!function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",p),e.once("close",h),e.once("finish",m),e.emit("pipe",n),a.flowing||(i("pipe resume"),n.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var s=j(t.pipes,e);return -1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},E.prototype.on=function(e,t){var r=u.prototype.on.call(this,e,t),n=this._readableState;return"data"===e?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"!==e||n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,i("on readable",n.length,n.reading),n.length?C(this):n.reading||process.nextTick(N,this)),r},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(e,t){var r=u.prototype.removeListener.call(this,e,t);return"readable"===e&&process.nextTick(O,this),r},E.prototype.removeAllListeners=function(e){var t=u.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&process.nextTick(O,this),t},E.prototype.resume=function(){var e,t,r=this._readableState;return r.flowing||(i("resume"),r.flowing=!r.readableListening,e=this,(t=r).resumeScheduled||(t.resumeScheduled=!0,process.nextTick(L,e,t))),r.paused=!1,this},E.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var a in e.on("end",function(){if(i("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(a){if(i("wrapped data"),r.decoder&&(a=r.decoder.write(a)),!r.objectMode||null!=a)(r.objectMode||a&&a.length)&&(t.push(a)||(n=!0,e.pause()))}),e)void 0===this[a]&&"function"==typeof e[a]&&(this[a]=function(t){return function(){return e[t].apply(e,arguments)}}(a));for(var s=0;s<x.length;s++)e.on(x[s],this.emit.bind(this,x[s]));return this._read=function(t){i("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(E.prototype[Symbol.asyncIterator]=function(){return void 0===s&&(s=r(90493)),s(this)}),Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(E.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(E.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),E._fromList=M,Object.defineProperty(E.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(E.from=function(e,t){return void 0===o&&(o=r(23082)),o(E,e,t)})},14698:(e,t,r)=>{"use strict";function n(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!1,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!1,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}r.r(t),r.d(t,{EmailMarkdown:()=>en,camelToKebabCase:()=>J,parseCssInJsToInlineCss:()=>Q,parseMarkdownToJSX:()=>er});let i=n(),a=/[&<>"']/,s=RegExp(a.source,"g"),o=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,l=RegExp(o.source,"g"),u={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},c=e=>u[e];function d(e,t){if(t){if(a.test(e))return e.replace(s,c)}else if(o.test(e))return e.replace(l,c);return e}let p=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(e){return e.replace(p,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")}let m=/(^|[^\[])\^/g;function f(e,t){e="string"==typeof e?e:e.source,t=t||"";let r={replace:(t,n)=>(n=(n="object"==typeof n&&"source"in n?n.source:n).replace(m,"$1"),e=e.replace(t,n),r),getRegex:()=>new RegExp(e,t)};return r}let y=/[^\w:]/g,g=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function b(e,t,r){if(e){let e;try{e=decodeURIComponent(h(r)).replace(y,"").toLowerCase()}catch(e){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!g.test(r)&&(r=function(e,t){w[" "+e]||(v.test(e)?w[" "+e]=e+"/":w[" "+e]=T(e,"/",!0));let r=-1===(e=w[" "+e]).indexOf(":");return"//"===t.substring(0,2)?r?t:e.replace(k,"$1")+t:"/"!==t.charAt(0)?e+t:r?t:e.replace(x,"$1")+t}(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch(e){return null}return r}let w={},v=/^[^:]+:\/*[^/]*$/,k=/^([^:]+:)[\s\S]*$/,x=/^([^:]+:\/*[^/]*)[\s\S]*$/,S={exec:()=>null};function E(e,t){let r=e.replace(/\|/g,(e,t,r)=>{let n=!1,i=t;for(;--i>=0&&"\\"===r[i];)n=!n;return n?"|":" |"}).split(/ \|/),n=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(/\\\|/g,"|");return r}function T(e,t,r){let n=e.length;if(0===n)return"";let i=0;for(;i<n;){let a=e.charAt(n-i-1);if(a!==t||r)if(a!==t&&r)i++;else break;else i++}return e.slice(0,n-i)}function _(e,t,r,n){let i=t.href,a=t.title?d(t.title):null,s=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){n.state.inLink=!0;let e={type:"link",raw:r,href:i,title:a,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,e}return{type:"image",raw:r,href:i,title:a,text:d(s)}}class A{options;rules;lexer;constructor(e){this.options=e||i}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:T(e,"\n")}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],r=function(e,t){let r=e.match(/^(\s+)(?:```)/);if(null===r)return t;let n=r[1];return t.split("\n").map(e=>{let t=e.match(/^\s+/);if(null===t)return e;let[r]=t;return r.length>=n.length?e.slice(n.length):e}).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){let t=T(e,"#");this.options.pedantic?e=t.trim():(!t||/ $/.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=t[0].replace(/^ *>[ \t]?/gm,""),r=this.lexer.state.top;this.lexer.state.top=!0;let n=this.lexer.blockTokens(e);return this.lexer.state.top=r,{type:"blockquote",raw:t[0],tokens:n,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r=t[1].trim(),n=r.length>1,i={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let a=RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`),s="",o="",l=!1;for(;e;){let r,n=!1;if(!(t=a.exec(e))||this.rules.block.hr.test(e))break;s=t[0],e=e.substring(s.length);let u=t[2].split("\n",1)[0].replace(/^\t+/,e=>" ".repeat(3*e.length)),c=e.split("\n",1)[0],d=0;this.options.pedantic?(d=2,o=u.trimLeft()):(d=(d=t[2].search(/[^ ]/))>4?1:d,o=u.slice(d),d+=t[1].length);let p=!1;if(!u&&/^ *$/.test(c)&&(s+=c+"\n",e=e.substring(c.length+1),n=!0),!n){let t=RegExp(`^ {0,${Math.min(3,d-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),r=RegExp(`^ {0,${Math.min(3,d-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),n=RegExp(`^ {0,${Math.min(3,d-1)}}(?:\`\`\`|~~~)`),i=RegExp(`^ {0,${Math.min(3,d-1)}}#`);for(;e;){let a=e.split("\n",1)[0];if(c=a,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),n.test(c)||i.test(c)||t.test(c)||r.test(e))break;if(c.search(/[^ ]/)>=d||!c.trim())o+="\n"+c.slice(d);else{if(p||u.search(/[^ ]/)>=4||n.test(u)||i.test(u)||r.test(u))break;o+="\n"+c}p||c.trim()||(p=!0),s+=a+"\n",e=e.substring(a.length+1),u=c.slice(d)}}!i.loose&&(l?i.loose=!0:/\n *\n *$/.test(s)&&(l=!0));let h=null;this.options.gfm&&(h=/^\[[ xX]\] /.exec(o))&&(r="[ ] "!==h[0],o=o.replace(/^\[[ xX]\] +/,"")),i.items.push({type:"list_item",raw:s,task:!!h,checked:r,loose:!1,text:o,tokens:[]}),i.raw+=s}i.items[i.items.length-1].raw=s.trimRight(),i.items[i.items.length-1].text=o.trimRight(),i.raw=i.raw.trimRight();for(let e=0;e<i.items.length;e++)if(this.lexer.state.top=!1,i.items[e].tokens=this.lexer.blockTokens(i.items[e].text,[]),!i.loose){let t=i.items[e].tokens.filter(e=>"space"===e.type);i.loose=t.length>0&&t.some(e=>/\n.*\n/.test(e.raw))}if(i.loose)for(let e=0;e<i.items.length;e++)i.items[e].loose=!0;return i}}html(e){let t=this.rules.block.html.exec(e);if(t){let e={type:"html",block:!0,raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};if(this.options.sanitize){let r=this.options.sanitizer?this.options.sanitizer(t[0]):d(t[0]);e.type="paragraph",e.text=r,e.tokens=this.lexer.inline(r)}return e}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(/\s+/g," "),r=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:r,title:n}}}table(e){let t=this.rules.block.table.exec(e);if(t){let e={type:"table",raw:t[0],header:E(t[1]).map(e=>({text:e,tokens:[]})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(e.header.length===e.align.length){let t,r,n,i,a=e.align.length;for(t=0;t<a;t++){let r=e.align[t];r&&(/^ *-+: *$/.test(r)?e.align[t]="right":/^ *:-+: *$/.test(r)?e.align[t]="center":/^ *:-+ *$/.test(r)?e.align[t]="left":e.align[t]=null)}for(t=0,a=e.rows.length;t<a;t++)e.rows[t]=E(e.rows[t],e.header.length).map(e=>({text:e,tokens:[]}));for(r=0,a=e.header.length;r<a;r++)e.header[r].tokens=this.lexer.inline(e.header[r].text);for(r=0,a=e.rows.length;r<a;r++)for(n=0,i=e.rows[r];n<i.length;n++)i[n].tokens=this.lexer.inline(i[n].text);return e}}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:d(t[1])}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):d(t[0]):t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;let t=T(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(")"))return -1;let r=0;for(let n=0;n<e.length;n++)if("\\"===e[n])n++;else if("("===e[n])r++;else if(e[n]===t[1]&&--r<0)return n;return -1}(t[2],"()");if(e>-1){let r=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,r).trim(),t[3]=""}}let r=t[2],n="";if(this.options.pedantic){let e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);e&&(r=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return r=r.trim(),/^</.test(r)&&(r=this.options.pedantic&&!/>$/.test(e)?r.slice(1):r.slice(1,-1)),_(t,{href:r?r.replace(this.rules.inline._escapes,"$1"):r,title:n?n.replace(this.rules.inline._escapes,"$1"):n},t[0],this.lexer)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let e=(r[2]||r[1]).replace(/\s+/g," ");if(!(e=t[e.toLowerCase()])){let e=r[0].charAt(0);return{type:"text",raw:e,text:e}}return _(r,e,r[0],this.lexer)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrong.lDelim.exec(e);if(!(!n||n[3]&&r.match(/[\p{L}\p{N}]/u))&&(!(n[1]||n[2])||!r||this.rules.inline.punctuation.exec(r))){let r=[...n[0]].length-1,i,a,s=r,o=0,l="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+r);null!=(n=l.exec(t));){if(!(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6]))continue;if(a=[...i].length,n[3]||n[4]){s+=a;continue}if((n[5]||n[6])&&r%3&&!((r+a)%3)){o+=a;continue}if((s-=a)>0)continue;a=Math.min(a,a+s+o);let t=[...e].slice(0,r+n.index+a+1).join("");if(Math.min(r,a)%2){let e=t.slice(1,-1);return{type:"em",raw:t,text:e,tokens:this.lexer.inlineTokens(e)}}let l=t.slice(2,-2);return{type:"strong",raw:t,text:l,tokens:this.lexer.inlineTokens(l)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," "),r=/[^ ]/.test(e),n=/^ /.test(e)&&/ $/.test(e);return r&&n&&(e=e.substring(1,e.length-1)),e=d(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e,t){let r=this.rules.inline.autolink.exec(e);if(r){let e,n;return n="@"===r[2]?"mailto:"+(e=d(this.options.mangle?t(r[1]):r[1])):e=d(r[1]),{type:"link",raw:r[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let r;if(r=this.rules.inline.url.exec(e)){let e,n;if("@"===r[2])n="mailto:"+(e=d(this.options.mangle?t(r[0]):r[0]));else{let t;do t=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])[0];while(t!==r[0]);e=d(r[0]),n="www."===r[1]?"http://"+r[0]:r[0]}return{type:"link",raw:r[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t){let r=this.rules.inline.text.exec(e);if(r){let e;return e=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):d(r[0]):r[0]:d(this.options.smartypants?t(r[0]):r[0]),{type:"text",raw:r[0],text:e}}}}let C={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:S,lheading:/^((?:(?!^bull ).|\n(?!\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};C._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,C._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,C.def=f(C.def).replace("label",C._label).replace("title",C._title).getRegex(),C.bullet=/(?:[*+-]|\d{1,9}[.)])/,C.listItemStart=f(/^( *)(bull) */).replace("bull",C.bullet).getRegex(),C.list=f(C.list).replace(/bull/g,C.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+C.def.source+")").getRegex(),C._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",C._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,C.html=f(C.html,"i").replace("comment",C._comment).replace("tag",C._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),C.lheading=f(C.lheading).replace(/bull/g,C.bullet).getRegex(),C.paragraph=f(C._paragraph).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C._tag).getRegex(),C.blockquote=f(C.blockquote).replace("paragraph",C.paragraph).getRegex(),C.normal={...C},C.gfm={...C.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},C.gfm.table=f(C.gfm.table).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C._tag).getRegex(),C.gfm.paragraph=f(C._paragraph).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",C.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C._tag).getRegex(),C.pedantic={...C.normal,html:f("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",C._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:S,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:f(C.normal._paragraph).replace("hr",C.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",C.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};let P={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:S,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:S,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^((?![*_])[\spunctuation])/};function D(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function I(e){let t="";for(let r=0;r<e.length;r++)t+="&#"+(Math.random()>.5?"x"+e.charCodeAt(r).toString(16):e.charCodeAt(r).toString())+";";return t}P._punctuation="\\p{P}$+<=>`^|~",P.punctuation=f(P.punctuation,"u").replace(/punctuation/g,P._punctuation).getRegex(),P.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,P.anyPunctuation=/\\[punct]/g,P._escapes=/\\([punct])/g,P._comment=f(C._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),P.emStrong.lDelim=f(P.emStrong.lDelim,"u").replace(/punct/g,P._punctuation).getRegex(),P.emStrong.rDelimAst=f(P.emStrong.rDelimAst,"gu").replace(/punct/g,P._punctuation).getRegex(),P.emStrong.rDelimUnd=f(P.emStrong.rDelimUnd,"gu").replace(/punct/g,P._punctuation).getRegex(),P.anyPunctuation=f(P.anyPunctuation,"gu").replace(/punct/g,P._punctuation).getRegex(),P._escapes=f(P._escapes,"gu").replace(/punct/g,P._punctuation).getRegex(),P._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,P._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,P.autolink=f(P.autolink).replace("scheme",P._scheme).replace("email",P._email).getRegex(),P._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,P.tag=f(P.tag).replace("comment",P._comment).replace("attribute",P._attribute).getRegex(),P._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,P._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,P._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,P.link=f(P.link).replace("label",P._label).replace("href",P._href).replace("title",P._title).getRegex(),P.reflink=f(P.reflink).replace("label",P._label).replace("ref",C._label).getRegex(),P.nolink=f(P.nolink).replace("ref",C._label).getRegex(),P.reflinkSearch=f(P.reflinkSearch,"g").replace("reflink",P.reflink).replace("nolink",P.nolink).getRegex(),P.normal={...P},P.pedantic={...P.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:f(/^!?\[(label)\]\((.*?)\)/).replace("label",P._label).getRegex(),reflink:f(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",P._label).getRegex()},P.gfm={...P.normal,escape:f(P.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},P.gfm.url=f(P.gfm.url,"i").replace("email",P.gfm._extended_email).getRegex(),P.breaks={...P.gfm,br:f(P.br).replace("{2,}","*").getRegex(),text:f(P.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()};class O{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||i,this.options.tokenizer=this.options.tokenizer||new A,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={block:C.normal,inline:P.normal};this.options.pedantic?(t.block=C.pedantic,t.inline=P.pedantic):this.options.gfm&&(t.block=C.gfm,this.options.breaks?t.inline=P.breaks:t.inline=P.gfm),this.tokenizer.rules=t}static get rules(){return{block:C,inline:P}}static lex(e,t){return new O(t).lex(e)}static lexInline(e,t){return new O(t).inlineTokens(e)}lex(e){let t;for(e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}blockTokens(e,t=[]){let r,n,i,a;for(e=this.options.pedantic?e.replace(/\t/g," ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,(e,t,r)=>t+" ".repeat(r.length));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length),1===r.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);continue}if((r=this.tokenizer.fences(e))||(r=this.tokenizer.heading(e))||(r=this.tokenizer.hr(e))||(r=this.tokenizer.blockquote(e))||(r=this.tokenizer.list(e))||(r=this.tokenizer.html(e))){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+r.raw,n.text+="\n"+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if((r=this.tokenizer.table(e))||(r=this.tokenizer.lheading(e))){e=e.substring(r.raw.length),t.push(r);continue}if(i=e,this.options.extensions&&this.options.extensions.startBlock){let t,r=1/0,n=e.slice(1);this.options.extensions.startBlock.forEach(e=>{"number"==typeof(t=e.call({lexer:this},n))&&t>=0&&(r=Math.min(r,t))}),r<1/0&&r>=0&&(i=e.substring(0,r+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){n=t[t.length-1],a&&"paragraph"===n.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r),a=i.length!==e.length,e=e.substring(r.raw.length);continue}if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===n.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let r,n,i,a,s,o,l=e;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(l));)e.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,a.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(s||(o=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.escape(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.tag(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(r=this.tokenizer.link(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if((r=this.tokenizer.emStrong(e,l,o))||(r=this.tokenizer.codespan(e))||(r=this.tokenizer.br(e))||(r=this.tokenizer.del(e))||(r=this.tokenizer.autolink(e,I))||!this.state.inLink&&(r=this.tokenizer.url(e,I))){e=e.substring(r.raw.length),t.push(r);continue}if(i=e,this.options.extensions&&this.options.extensions.startInline){let t,r=1/0,n=e.slice(1);this.options.extensions.startInline.forEach(e=>{"number"==typeof(t=e.call({lexer:this},n))&&t>=0&&(r=Math.min(r,t))}),r<1/0&&r>=0&&(i=e.substring(0,r+1))}if(r=this.tokenizer.inlineText(i,D)){e=e.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(o=r.raw.slice(-1)),s=!0,(n=t[t.length-1])&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return t}}class N{options;constructor(e){this.options=e||i}code(e,t,r){let n=(t||"").match(/^\S*/)?.[0];if(this.options.highlight){let t=this.options.highlight(e,n);null!=t&&t!==e&&(r=!0,e=t)}return(e=e.replace(/\n$/,"")+"\n",n)?'<pre><code class="'+this.options.langPrefix+d(n)+'">'+(r?e:d(e,!0))+"</code></pre>\n":"<pre><code>"+(r?e:d(e,!0))+"</code></pre>\n"}blockquote(e){return`<blockquote>
8
8
  ${e}</blockquote>
9
9
  `}html(e,t){return e}heading(e,t,r,n){if(this.options.headerIds){let i=this.options.headerPrefix+n.slug(r);return`<h${t} id="${i}">${e}</h${t}>
10
10
  `}return`<h${t}>${e}</h${t}>
@@ -27,9 +27,9 @@ ${r}</table>
27
27
  `),r.tablecell=(e,r)=>{let n=r.header?"th":"td";return(r.align?`<${n} align="${r.align}"${""!==Q(t.td)?` style="${Q(t.td)}"`:""}>`:`<${n}${""!==Q(t.td)?` style="${Q(t.td)}"`:""}>`)+e+`</${n}>
28
28
  `},r.tablerow=e=>`<tr${""!==Q(t.tr)?` style="${Q(t.tr)}"`:""}>
29
29
  ${e}</tr>
30
- `,r},et=class{renderer;constructor({customStyles:e}){this.renderer=ee({customStyles:e})}parse(e){return U.parse(e,{renderer:this.renderer})}},er=({markdown:e,customStyles:t})=>new et({customStyles:t}).parse(e),en=({markdown:e,markdownCustomStyles:t,markdownContainerStyles:r})=>{let n=er({markdown:e,customStyles:t});return $.createElement("div",{style:r,dangerouslySetInnerHTML:{__html:n}})}},14736:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=n(r(7970));function a(e){return e&&e.nodeType===i.default.ELEMENT_NODE}function s(e,t){return a(e)?e.getAttribute(t):void 0}function o(e){return e&&e.childNodes}function l(e){return e?e.parentNode:null}t.default={isTag:a,getAttributeValue:s,getName:function(e){return(e&&e.rawTagName||"").toLowerCase()},getChildren:o,getParent:l,getText:function(e){return e.text},removeSubsets:function(e){let t,r,n,i=e.length;for(;--i>-1;){for(t=r=e[i],e[i]=null,n=!0;r;){if(e.indexOf(r)>-1){n=!1,e.splice(i,1);break}r=l(r)}n&&(e[i]=t)}return e},existsOne:function e(t,r){return r.some(r=>!!a(r)&&(t(r)||e(t,o(r))))},getSiblings:function(e){let t=l(e);return t?o(t):[]},hasAttrib:function(e,t){return void 0!==s(e,t)},findOne:function e(t,r){let n=null;for(let i=0,a=null==r?void 0:r.length;i<a&&!n;i++){let a=r[i];if(t(a))n=a;else{let r=o(a);r&&r.length>0&&(n=e(t,r))}}return n},findAll:function e(t,r){let n=[];for(let i=0,s=r.length;i<s;i++){if(!a(r[i]))continue;t(r[i])&&n.push(r[i]);let s=o(r[i]);s&&(n=n.concat(e(t,s)))}return n}}},14814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return!!t&&((0,i.default)(t.type,e)?void 0===r||(0,n.default)(t,r):!r&&"Placeholder"===t.type&&e in s.FLIPPED_ALIAS_KEYS&&(0,a.default)(t.expectedNode,e))};var n=r(99194),i=r(83622),a=r(59673),s=r(29863)},15340:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!e)return;let s=n.NODE_FIELDS[e.type];if(!s)return;let o=s[t];i(e,t,r,o),a(e,t,r)},t.validateChild=a,t.validateField=i,t.validateInternal=function(e,t,r,i,a){if(null!=e&&e.validate&&(!e.optional||null!=i)&&(e.validate(t,r,i),a)){var s;let e=i.type;if(null!=e)null==(s=n.NODE_PARENT_VALIDATIONS[e])||s.call(n.NODE_PARENT_VALIDATIONS,t,r,i)}};var n=r(29863);function i(e,t,r,n){null!=n&&n.validate&&(n.optional&&null==r||n.validate(e,t,r))}function a(e,t,r){var i;let a=null==r?void 0:r.type;null!=a&&(null==(i=n.NODE_PARENT_VALIDATIONS[a])||i.call(n.NODE_PARENT_VALIDATIONS,e,t,r))}},15412:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(23391)),i=r(65433);function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=i.TAG,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t}(n.default),e.exports=t.default},16252:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertAccessor=function(e,t){a("Accessor",e,t)},t.assertAnyTypeAnnotation=function(e,t){a("AnyTypeAnnotation",e,t)},t.assertArgumentPlaceholder=function(e,t){a("ArgumentPlaceholder",e,t)},t.assertArrayExpression=function(e,t){a("ArrayExpression",e,t)},t.assertArrayPattern=function(e,t){a("ArrayPattern",e,t)},t.assertArrayTypeAnnotation=function(e,t){a("ArrayTypeAnnotation",e,t)},t.assertArrowFunctionExpression=function(e,t){a("ArrowFunctionExpression",e,t)},t.assertAssignmentExpression=function(e,t){a("AssignmentExpression",e,t)},t.assertAssignmentPattern=function(e,t){a("AssignmentPattern",e,t)},t.assertAwaitExpression=function(e,t){a("AwaitExpression",e,t)},t.assertBigIntLiteral=function(e,t){a("BigIntLiteral",e,t)},t.assertBinary=function(e,t){a("Binary",e,t)},t.assertBinaryExpression=function(e,t){a("BinaryExpression",e,t)},t.assertBindExpression=function(e,t){a("BindExpression",e,t)},t.assertBlock=function(e,t){a("Block",e,t)},t.assertBlockParent=function(e,t){a("BlockParent",e,t)},t.assertBlockStatement=function(e,t){a("BlockStatement",e,t)},t.assertBooleanLiteral=function(e,t){a("BooleanLiteral",e,t)},t.assertBooleanLiteralTypeAnnotation=function(e,t){a("BooleanLiteralTypeAnnotation",e,t)},t.assertBooleanTypeAnnotation=function(e,t){a("BooleanTypeAnnotation",e,t)},t.assertBreakStatement=function(e,t){a("BreakStatement",e,t)},t.assertCallExpression=function(e,t){a("CallExpression",e,t)},t.assertCatchClause=function(e,t){a("CatchClause",e,t)},t.assertClass=function(e,t){a("Class",e,t)},t.assertClassAccessorProperty=function(e,t){a("ClassAccessorProperty",e,t)},t.assertClassBody=function(e,t){a("ClassBody",e,t)},t.assertClassDeclaration=function(e,t){a("ClassDeclaration",e,t)},t.assertClassExpression=function(e,t){a("ClassExpression",e,t)},t.assertClassImplements=function(e,t){a("ClassImplements",e,t)},t.assertClassMethod=function(e,t){a("ClassMethod",e,t)},t.assertClassPrivateMethod=function(e,t){a("ClassPrivateMethod",e,t)},t.assertClassPrivateProperty=function(e,t){a("ClassPrivateProperty",e,t)},t.assertClassProperty=function(e,t){a("ClassProperty",e,t)},t.assertCompletionStatement=function(e,t){a("CompletionStatement",e,t)},t.assertConditional=function(e,t){a("Conditional",e,t)},t.assertConditionalExpression=function(e,t){a("ConditionalExpression",e,t)},t.assertContinueStatement=function(e,t){a("ContinueStatement",e,t)},t.assertDebuggerStatement=function(e,t){a("DebuggerStatement",e,t)},t.assertDecimalLiteral=function(e,t){a("DecimalLiteral",e,t)},t.assertDeclaration=function(e,t){a("Declaration",e,t)},t.assertDeclareClass=function(e,t){a("DeclareClass",e,t)},t.assertDeclareExportAllDeclaration=function(e,t){a("DeclareExportAllDeclaration",e,t)},t.assertDeclareExportDeclaration=function(e,t){a("DeclareExportDeclaration",e,t)},t.assertDeclareFunction=function(e,t){a("DeclareFunction",e,t)},t.assertDeclareInterface=function(e,t){a("DeclareInterface",e,t)},t.assertDeclareModule=function(e,t){a("DeclareModule",e,t)},t.assertDeclareModuleExports=function(e,t){a("DeclareModuleExports",e,t)},t.assertDeclareOpaqueType=function(e,t){a("DeclareOpaqueType",e,t)},t.assertDeclareTypeAlias=function(e,t){a("DeclareTypeAlias",e,t)},t.assertDeclareVariable=function(e,t){a("DeclareVariable",e,t)},t.assertDeclaredPredicate=function(e,t){a("DeclaredPredicate",e,t)},t.assertDecorator=function(e,t){a("Decorator",e,t)},t.assertDirective=function(e,t){a("Directive",e,t)},t.assertDirectiveLiteral=function(e,t){a("DirectiveLiteral",e,t)},t.assertDoExpression=function(e,t){a("DoExpression",e,t)},t.assertDoWhileStatement=function(e,t){a("DoWhileStatement",e,t)},t.assertEmptyStatement=function(e,t){a("EmptyStatement",e,t)},t.assertEmptyTypeAnnotation=function(e,t){a("EmptyTypeAnnotation",e,t)},t.assertEnumBody=function(e,t){a("EnumBody",e,t)},t.assertEnumBooleanBody=function(e,t){a("EnumBooleanBody",e,t)},t.assertEnumBooleanMember=function(e,t){a("EnumBooleanMember",e,t)},t.assertEnumDeclaration=function(e,t){a("EnumDeclaration",e,t)},t.assertEnumDefaultedMember=function(e,t){a("EnumDefaultedMember",e,t)},t.assertEnumMember=function(e,t){a("EnumMember",e,t)},t.assertEnumNumberBody=function(e,t){a("EnumNumberBody",e,t)},t.assertEnumNumberMember=function(e,t){a("EnumNumberMember",e,t)},t.assertEnumStringBody=function(e,t){a("EnumStringBody",e,t)},t.assertEnumStringMember=function(e,t){a("EnumStringMember",e,t)},t.assertEnumSymbolBody=function(e,t){a("EnumSymbolBody",e,t)},t.assertExistsTypeAnnotation=function(e,t){a("ExistsTypeAnnotation",e,t)},t.assertExportAllDeclaration=function(e,t){a("ExportAllDeclaration",e,t)},t.assertExportDeclaration=function(e,t){a("ExportDeclaration",e,t)},t.assertExportDefaultDeclaration=function(e,t){a("ExportDefaultDeclaration",e,t)},t.assertExportDefaultSpecifier=function(e,t){a("ExportDefaultSpecifier",e,t)},t.assertExportNamedDeclaration=function(e,t){a("ExportNamedDeclaration",e,t)},t.assertExportNamespaceSpecifier=function(e,t){a("ExportNamespaceSpecifier",e,t)},t.assertExportSpecifier=function(e,t){a("ExportSpecifier",e,t)},t.assertExpression=function(e,t){a("Expression",e,t)},t.assertExpressionStatement=function(e,t){a("ExpressionStatement",e,t)},t.assertExpressionWrapper=function(e,t){a("ExpressionWrapper",e,t)},t.assertFile=function(e,t){a("File",e,t)},t.assertFlow=function(e,t){a("Flow",e,t)},t.assertFlowBaseAnnotation=function(e,t){a("FlowBaseAnnotation",e,t)},t.assertFlowDeclaration=function(e,t){a("FlowDeclaration",e,t)},t.assertFlowPredicate=function(e,t){a("FlowPredicate",e,t)},t.assertFlowType=function(e,t){a("FlowType",e,t)},t.assertFor=function(e,t){a("For",e,t)},t.assertForInStatement=function(e,t){a("ForInStatement",e,t)},t.assertForOfStatement=function(e,t){a("ForOfStatement",e,t)},t.assertForStatement=function(e,t){a("ForStatement",e,t)},t.assertForXStatement=function(e,t){a("ForXStatement",e,t)},t.assertFunction=function(e,t){a("Function",e,t)},t.assertFunctionDeclaration=function(e,t){a("FunctionDeclaration",e,t)},t.assertFunctionExpression=function(e,t){a("FunctionExpression",e,t)},t.assertFunctionParent=function(e,t){a("FunctionParent",e,t)},t.assertFunctionTypeAnnotation=function(e,t){a("FunctionTypeAnnotation",e,t)},t.assertFunctionTypeParam=function(e,t){a("FunctionTypeParam",e,t)},t.assertGenericTypeAnnotation=function(e,t){a("GenericTypeAnnotation",e,t)},t.assertIdentifier=function(e,t){a("Identifier",e,t)},t.assertIfStatement=function(e,t){a("IfStatement",e,t)},t.assertImmutable=function(e,t){a("Immutable",e,t)},t.assertImport=function(e,t){a("Import",e,t)},t.assertImportAttribute=function(e,t){a("ImportAttribute",e,t)},t.assertImportDeclaration=function(e,t){a("ImportDeclaration",e,t)},t.assertImportDefaultSpecifier=function(e,t){a("ImportDefaultSpecifier",e,t)},t.assertImportExpression=function(e,t){a("ImportExpression",e,t)},t.assertImportNamespaceSpecifier=function(e,t){a("ImportNamespaceSpecifier",e,t)},t.assertImportOrExportDeclaration=function(e,t){a("ImportOrExportDeclaration",e,t)},t.assertImportSpecifier=function(e,t){a("ImportSpecifier",e,t)},t.assertIndexedAccessType=function(e,t){a("IndexedAccessType",e,t)},t.assertInferredPredicate=function(e,t){a("InferredPredicate",e,t)},t.assertInterfaceDeclaration=function(e,t){a("InterfaceDeclaration",e,t)},t.assertInterfaceExtends=function(e,t){a("InterfaceExtends",e,t)},t.assertInterfaceTypeAnnotation=function(e,t){a("InterfaceTypeAnnotation",e,t)},t.assertInterpreterDirective=function(e,t){a("InterpreterDirective",e,t)},t.assertIntersectionTypeAnnotation=function(e,t){a("IntersectionTypeAnnotation",e,t)},t.assertJSX=function(e,t){a("JSX",e,t)},t.assertJSXAttribute=function(e,t){a("JSXAttribute",e,t)},t.assertJSXClosingElement=function(e,t){a("JSXClosingElement",e,t)},t.assertJSXClosingFragment=function(e,t){a("JSXClosingFragment",e,t)},t.assertJSXElement=function(e,t){a("JSXElement",e,t)},t.assertJSXEmptyExpression=function(e,t){a("JSXEmptyExpression",e,t)},t.assertJSXExpressionContainer=function(e,t){a("JSXExpressionContainer",e,t)},t.assertJSXFragment=function(e,t){a("JSXFragment",e,t)},t.assertJSXIdentifier=function(e,t){a("JSXIdentifier",e,t)},t.assertJSXMemberExpression=function(e,t){a("JSXMemberExpression",e,t)},t.assertJSXNamespacedName=function(e,t){a("JSXNamespacedName",e,t)},t.assertJSXOpeningElement=function(e,t){a("JSXOpeningElement",e,t)},t.assertJSXOpeningFragment=function(e,t){a("JSXOpeningFragment",e,t)},t.assertJSXSpreadAttribute=function(e,t){a("JSXSpreadAttribute",e,t)},t.assertJSXSpreadChild=function(e,t){a("JSXSpreadChild",e,t)},t.assertJSXText=function(e,t){a("JSXText",e,t)},t.assertLVal=function(e,t){a("LVal",e,t)},t.assertLabeledStatement=function(e,t){a("LabeledStatement",e,t)},t.assertLiteral=function(e,t){a("Literal",e,t)},t.assertLogicalExpression=function(e,t){a("LogicalExpression",e,t)},t.assertLoop=function(e,t){a("Loop",e,t)},t.assertMemberExpression=function(e,t){a("MemberExpression",e,t)},t.assertMetaProperty=function(e,t){a("MetaProperty",e,t)},t.assertMethod=function(e,t){a("Method",e,t)},t.assertMiscellaneous=function(e,t){a("Miscellaneous",e,t)},t.assertMixedTypeAnnotation=function(e,t){a("MixedTypeAnnotation",e,t)},t.assertModuleDeclaration=function(e,t){(0,i.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),a("ModuleDeclaration",e,t)},t.assertModuleExpression=function(e,t){a("ModuleExpression",e,t)},t.assertModuleSpecifier=function(e,t){a("ModuleSpecifier",e,t)},t.assertNewExpression=function(e,t){a("NewExpression",e,t)},t.assertNoop=function(e,t){a("Noop",e,t)},t.assertNullLiteral=function(e,t){a("NullLiteral",e,t)},t.assertNullLiteralTypeAnnotation=function(e,t){a("NullLiteralTypeAnnotation",e,t)},t.assertNullableTypeAnnotation=function(e,t){a("NullableTypeAnnotation",e,t)},t.assertNumberLiteral=function(e,t){(0,i.default)("assertNumberLiteral","assertNumericLiteral"),a("NumberLiteral",e,t)},t.assertNumberLiteralTypeAnnotation=function(e,t){a("NumberLiteralTypeAnnotation",e,t)},t.assertNumberTypeAnnotation=function(e,t){a("NumberTypeAnnotation",e,t)},t.assertNumericLiteral=function(e,t){a("NumericLiteral",e,t)},t.assertObjectExpression=function(e,t){a("ObjectExpression",e,t)},t.assertObjectMember=function(e,t){a("ObjectMember",e,t)},t.assertObjectMethod=function(e,t){a("ObjectMethod",e,t)},t.assertObjectPattern=function(e,t){a("ObjectPattern",e,t)},t.assertObjectProperty=function(e,t){a("ObjectProperty",e,t)},t.assertObjectTypeAnnotation=function(e,t){a("ObjectTypeAnnotation",e,t)},t.assertObjectTypeCallProperty=function(e,t){a("ObjectTypeCallProperty",e,t)},t.assertObjectTypeIndexer=function(e,t){a("ObjectTypeIndexer",e,t)},t.assertObjectTypeInternalSlot=function(e,t){a("ObjectTypeInternalSlot",e,t)},t.assertObjectTypeProperty=function(e,t){a("ObjectTypeProperty",e,t)},t.assertObjectTypeSpreadProperty=function(e,t){a("ObjectTypeSpreadProperty",e,t)},t.assertOpaqueType=function(e,t){a("OpaqueType",e,t)},t.assertOptionalCallExpression=function(e,t){a("OptionalCallExpression",e,t)},t.assertOptionalIndexedAccessType=function(e,t){a("OptionalIndexedAccessType",e,t)},t.assertOptionalMemberExpression=function(e,t){a("OptionalMemberExpression",e,t)},t.assertParenthesizedExpression=function(e,t){a("ParenthesizedExpression",e,t)},t.assertPattern=function(e,t){a("Pattern",e,t)},t.assertPatternLike=function(e,t){a("PatternLike",e,t)},t.assertPipelineBareFunction=function(e,t){a("PipelineBareFunction",e,t)},t.assertPipelinePrimaryTopicReference=function(e,t){a("PipelinePrimaryTopicReference",e,t)},t.assertPipelineTopicExpression=function(e,t){a("PipelineTopicExpression",e,t)},t.assertPlaceholder=function(e,t){a("Placeholder",e,t)},t.assertPrivate=function(e,t){a("Private",e,t)},t.assertPrivateName=function(e,t){a("PrivateName",e,t)},t.assertProgram=function(e,t){a("Program",e,t)},t.assertProperty=function(e,t){a("Property",e,t)},t.assertPureish=function(e,t){a("Pureish",e,t)},t.assertQualifiedTypeIdentifier=function(e,t){a("QualifiedTypeIdentifier",e,t)},t.assertRecordExpression=function(e,t){a("RecordExpression",e,t)},t.assertRegExpLiteral=function(e,t){a("RegExpLiteral",e,t)},t.assertRegexLiteral=function(e,t){(0,i.default)("assertRegexLiteral","assertRegExpLiteral"),a("RegexLiteral",e,t)},t.assertRestElement=function(e,t){a("RestElement",e,t)},t.assertRestProperty=function(e,t){(0,i.default)("assertRestProperty","assertRestElement"),a("RestProperty",e,t)},t.assertReturnStatement=function(e,t){a("ReturnStatement",e,t)},t.assertScopable=function(e,t){a("Scopable",e,t)},t.assertSequenceExpression=function(e,t){a("SequenceExpression",e,t)},t.assertSpreadElement=function(e,t){a("SpreadElement",e,t)},t.assertSpreadProperty=function(e,t){(0,i.default)("assertSpreadProperty","assertSpreadElement"),a("SpreadProperty",e,t)},t.assertStandardized=function(e,t){a("Standardized",e,t)},t.assertStatement=function(e,t){a("Statement",e,t)},t.assertStaticBlock=function(e,t){a("StaticBlock",e,t)},t.assertStringLiteral=function(e,t){a("StringLiteral",e,t)},t.assertStringLiteralTypeAnnotation=function(e,t){a("StringLiteralTypeAnnotation",e,t)},t.assertStringTypeAnnotation=function(e,t){a("StringTypeAnnotation",e,t)},t.assertSuper=function(e,t){a("Super",e,t)},t.assertSwitchCase=function(e,t){a("SwitchCase",e,t)},t.assertSwitchStatement=function(e,t){a("SwitchStatement",e,t)},t.assertSymbolTypeAnnotation=function(e,t){a("SymbolTypeAnnotation",e,t)},t.assertTSAnyKeyword=function(e,t){a("TSAnyKeyword",e,t)},t.assertTSArrayType=function(e,t){a("TSArrayType",e,t)},t.assertTSAsExpression=function(e,t){a("TSAsExpression",e,t)},t.assertTSBaseType=function(e,t){a("TSBaseType",e,t)},t.assertTSBigIntKeyword=function(e,t){a("TSBigIntKeyword",e,t)},t.assertTSBooleanKeyword=function(e,t){a("TSBooleanKeyword",e,t)},t.assertTSCallSignatureDeclaration=function(e,t){a("TSCallSignatureDeclaration",e,t)},t.assertTSConditionalType=function(e,t){a("TSConditionalType",e,t)},t.assertTSConstructSignatureDeclaration=function(e,t){a("TSConstructSignatureDeclaration",e,t)},t.assertTSConstructorType=function(e,t){a("TSConstructorType",e,t)},t.assertTSDeclareFunction=function(e,t){a("TSDeclareFunction",e,t)},t.assertTSDeclareMethod=function(e,t){a("TSDeclareMethod",e,t)},t.assertTSEntityName=function(e,t){a("TSEntityName",e,t)},t.assertTSEnumBody=function(e,t){a("TSEnumBody",e,t)},t.assertTSEnumDeclaration=function(e,t){a("TSEnumDeclaration",e,t)},t.assertTSEnumMember=function(e,t){a("TSEnumMember",e,t)},t.assertTSExportAssignment=function(e,t){a("TSExportAssignment",e,t)},t.assertTSExpressionWithTypeArguments=function(e,t){a("TSExpressionWithTypeArguments",e,t)},t.assertTSExternalModuleReference=function(e,t){a("TSExternalModuleReference",e,t)},t.assertTSFunctionType=function(e,t){a("TSFunctionType",e,t)},t.assertTSImportEqualsDeclaration=function(e,t){a("TSImportEqualsDeclaration",e,t)},t.assertTSImportType=function(e,t){a("TSImportType",e,t)},t.assertTSIndexSignature=function(e,t){a("TSIndexSignature",e,t)},t.assertTSIndexedAccessType=function(e,t){a("TSIndexedAccessType",e,t)},t.assertTSInferType=function(e,t){a("TSInferType",e,t)},t.assertTSInstantiationExpression=function(e,t){a("TSInstantiationExpression",e,t)},t.assertTSInterfaceBody=function(e,t){a("TSInterfaceBody",e,t)},t.assertTSInterfaceDeclaration=function(e,t){a("TSInterfaceDeclaration",e,t)},t.assertTSIntersectionType=function(e,t){a("TSIntersectionType",e,t)},t.assertTSIntrinsicKeyword=function(e,t){a("TSIntrinsicKeyword",e,t)},t.assertTSLiteralType=function(e,t){a("TSLiteralType",e,t)},t.assertTSMappedType=function(e,t){a("TSMappedType",e,t)},t.assertTSMethodSignature=function(e,t){a("TSMethodSignature",e,t)},t.assertTSModuleBlock=function(e,t){a("TSModuleBlock",e,t)},t.assertTSModuleDeclaration=function(e,t){a("TSModuleDeclaration",e,t)},t.assertTSNamedTupleMember=function(e,t){a("TSNamedTupleMember",e,t)},t.assertTSNamespaceExportDeclaration=function(e,t){a("TSNamespaceExportDeclaration",e,t)},t.assertTSNeverKeyword=function(e,t){a("TSNeverKeyword",e,t)},t.assertTSNonNullExpression=function(e,t){a("TSNonNullExpression",e,t)},t.assertTSNullKeyword=function(e,t){a("TSNullKeyword",e,t)},t.assertTSNumberKeyword=function(e,t){a("TSNumberKeyword",e,t)},t.assertTSObjectKeyword=function(e,t){a("TSObjectKeyword",e,t)},t.assertTSOptionalType=function(e,t){a("TSOptionalType",e,t)},t.assertTSParameterProperty=function(e,t){a("TSParameterProperty",e,t)},t.assertTSParenthesizedType=function(e,t){a("TSParenthesizedType",e,t)},t.assertTSPropertySignature=function(e,t){a("TSPropertySignature",e,t)},t.assertTSQualifiedName=function(e,t){a("TSQualifiedName",e,t)},t.assertTSRestType=function(e,t){a("TSRestType",e,t)},t.assertTSSatisfiesExpression=function(e,t){a("TSSatisfiesExpression",e,t)},t.assertTSStringKeyword=function(e,t){a("TSStringKeyword",e,t)},t.assertTSSymbolKeyword=function(e,t){a("TSSymbolKeyword",e,t)},t.assertTSTemplateLiteralType=function(e,t){a("TSTemplateLiteralType",e,t)},t.assertTSThisType=function(e,t){a("TSThisType",e,t)},t.assertTSTupleType=function(e,t){a("TSTupleType",e,t)},t.assertTSType=function(e,t){a("TSType",e,t)},t.assertTSTypeAliasDeclaration=function(e,t){a("TSTypeAliasDeclaration",e,t)},t.assertTSTypeAnnotation=function(e,t){a("TSTypeAnnotation",e,t)},t.assertTSTypeAssertion=function(e,t){a("TSTypeAssertion",e,t)},t.assertTSTypeElement=function(e,t){a("TSTypeElement",e,t)},t.assertTSTypeLiteral=function(e,t){a("TSTypeLiteral",e,t)},t.assertTSTypeOperator=function(e,t){a("TSTypeOperator",e,t)},t.assertTSTypeParameter=function(e,t){a("TSTypeParameter",e,t)},t.assertTSTypeParameterDeclaration=function(e,t){a("TSTypeParameterDeclaration",e,t)},t.assertTSTypeParameterInstantiation=function(e,t){a("TSTypeParameterInstantiation",e,t)},t.assertTSTypePredicate=function(e,t){a("TSTypePredicate",e,t)},t.assertTSTypeQuery=function(e,t){a("TSTypeQuery",e,t)},t.assertTSTypeReference=function(e,t){a("TSTypeReference",e,t)},t.assertTSUndefinedKeyword=function(e,t){a("TSUndefinedKeyword",e,t)},t.assertTSUnionType=function(e,t){a("TSUnionType",e,t)},t.assertTSUnknownKeyword=function(e,t){a("TSUnknownKeyword",e,t)},t.assertTSVoidKeyword=function(e,t){a("TSVoidKeyword",e,t)},t.assertTaggedTemplateExpression=function(e,t){a("TaggedTemplateExpression",e,t)},t.assertTemplateElement=function(e,t){a("TemplateElement",e,t)},t.assertTemplateLiteral=function(e,t){a("TemplateLiteral",e,t)},t.assertTerminatorless=function(e,t){a("Terminatorless",e,t)},t.assertThisExpression=function(e,t){a("ThisExpression",e,t)},t.assertThisTypeAnnotation=function(e,t){a("ThisTypeAnnotation",e,t)},t.assertThrowStatement=function(e,t){a("ThrowStatement",e,t)},t.assertTopicReference=function(e,t){a("TopicReference",e,t)},t.assertTryStatement=function(e,t){a("TryStatement",e,t)},t.assertTupleExpression=function(e,t){a("TupleExpression",e,t)},t.assertTupleTypeAnnotation=function(e,t){a("TupleTypeAnnotation",e,t)},t.assertTypeAlias=function(e,t){a("TypeAlias",e,t)},t.assertTypeAnnotation=function(e,t){a("TypeAnnotation",e,t)},t.assertTypeCastExpression=function(e,t){a("TypeCastExpression",e,t)},t.assertTypeParameter=function(e,t){a("TypeParameter",e,t)},t.assertTypeParameterDeclaration=function(e,t){a("TypeParameterDeclaration",e,t)},t.assertTypeParameterInstantiation=function(e,t){a("TypeParameterInstantiation",e,t)},t.assertTypeScript=function(e,t){a("TypeScript",e,t)},t.assertTypeofTypeAnnotation=function(e,t){a("TypeofTypeAnnotation",e,t)},t.assertUnaryExpression=function(e,t){a("UnaryExpression",e,t)},t.assertUnaryLike=function(e,t){a("UnaryLike",e,t)},t.assertUnionTypeAnnotation=function(e,t){a("UnionTypeAnnotation",e,t)},t.assertUpdateExpression=function(e,t){a("UpdateExpression",e,t)},t.assertUserWhitespacable=function(e,t){a("UserWhitespacable",e,t)},t.assertV8IntrinsicIdentifier=function(e,t){a("V8IntrinsicIdentifier",e,t)},t.assertVariableDeclaration=function(e,t){a("VariableDeclaration",e,t)},t.assertVariableDeclarator=function(e,t){a("VariableDeclarator",e,t)},t.assertVariance=function(e,t){a("Variance",e,t)},t.assertVoidTypeAnnotation=function(e,t){a("VoidTypeAnnotation",e,t)},t.assertWhile=function(e,t){a("While",e,t)},t.assertWhileStatement=function(e,t){a("WhileStatement",e,t)},t.assertWithStatement=function(e,t){a("WithStatement",e,t)},t.assertYieldExpression=function(e,t){a("YieldExpression",e,t)};var n=r(14814),i=r(9144);function a(e,t,r){if(!(0,n.default)(e,t,r))throw Error(`Expected type "${e}" with option ${JSON.stringify(r)}, but instead got "${t.type}".`)}},16257:(e,t,r)=>{"use strict";r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{"7f0fdbb231786054d730ee5f04dcc7334523e25b86":()=>l.P,"7f54fe3247b8aee819da0d20beabadc0a17d5becb4":()=>a.B,"7f9b778420bd23d4c6f551bce5c23f4e58d0529570":()=>s.m,"7fbc43968c8d354e3604fb701880a533772dbaa2c5":()=>i.P,"7fdd0aa11d27911881f072d73afc58a9ee0edf3535":()=>o.j});var i=r(65753),a=r(27615),s=r(52160),o=r(14597),l=r(12816),u=e([i]);i=(u.then?(await u)():u)[0],n()}catch(e){n(e)}})},16268:(e,t,r)=>{"use strict";r.r(t),r.d(t,{tabTransition:()=>n});let n={type:"spring",stiffness:2e3,damping:80,mass:1}},16684:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hooks=void 0,t.hooks=[function(e,t){if("test"===e.key&&(t.isWhile()||t.isSwitchCase())||"declaration"===e.key&&t.isExportDeclaration()||"body"===e.key&&t.isLabeledStatement()||"declarations"===e.listKey&&t.isVariableDeclaration()&&1===t.node.declarations.length||"expression"===e.key&&t.isExpressionStatement())return t.remove(),!0},function(e,t){if(t.isSequenceExpression()&&1===t.node.expressions.length)return t.replaceWith(t.node.expressions[0]),!0},function(e,t){if(t.isBinary())return"left"===e.key?t.replaceWith(t.node.right):t.replaceWith(t.node.left),!0},function(e,t){if(t.isIfStatement()&&"consequent"===e.key||"body"===e.key&&(t.isLoop()||t.isArrowFunctionExpression()))return e.replaceWith({type:"BlockStatement",body:[]}),!0}]},16830:(e,t,r)=>{"use strict";function n(e){var t=this;this.next=null,this.entry=null,this.finish=function(){var r,n=t,i=e,a=n.entry;for(n.entry=null;a;){var s=a.callback;i.pendingcb--,s(void 0),a=a.next}i.corkedRequestsFree.next=n}}e.exports=E,E.WritableState=S;var i,a,s={deprecate:r(33224)},o=r(77130),l=r(79428).Buffer,u=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},c=r(41658),d=r(97209).getHighWaterMark,p=r(18107).F,h=p.ERR_INVALID_ARG_TYPE,m=p.ERR_METHOD_NOT_IMPLEMENTED,f=p.ERR_MULTIPLE_CALLBACK,y=p.ERR_STREAM_CANNOT_PIPE,g=p.ERR_STREAM_DESTROYED,b=p.ERR_STREAM_NULL_VALUES,w=p.ERR_STREAM_WRITE_AFTER_END,v=p.ERR_UNKNOWN_ENCODING,k=c.errorOrDestroy;function x(){}function S(e,t,a){i=i||r(71184),e=e||{},"boolean"!=typeof a&&(a=t instanceof i),this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=d(this,e,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if("function"!=typeof i)throw new f;if(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t)--r.pendingcb,n?(process.nextTick(i,t),process.nextTick(D,e,r),e._writableState.errorEmitted=!0,k(e,t)):(i(t),e._writableState.errorEmitted=!0,k(e,t),D(e,r));else{var a=C(r)||e.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||A(e,r),n?process.nextTick(_,e,r,a,i):_(e,r,a,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}r(62993)(E,o),S.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t};try{Object.defineProperty(S.prototype,"buffer",{get:s.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}function E(e){var t=this instanceof(i=i||r(71184));if(!t&&!a.call(E,this))return new E(e);this._writableState=new S(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),o.call(this)}function T(e,t,r,n,i,a,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("write")):r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function _(e,t,r,n){var i,a;r||(i=e,0===(a=t).length&&a.needDrain&&(a.needDrain=!1,i.emit("drain"))),t.pendingcb--,n(),D(e,t)}function A(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=Array(t.bufferedRequestCount),a=t.corkedRequestsFree;a.entry=r;for(var s=0,o=!0;r;)i[s]=r,r.isBuf||(o=!1),r=r.next,s+=1;i.allBuffers=o,T(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new n(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,c=r.callback,d=t.objectMode?1:l.length;if(T(e,t,!1,d,l,u,c),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function C(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function P(e,t){e._final(function(r){t.pendingcb--,r&&k(e,r),t.prefinished=!0,e.emit("prefinish"),D(e,t)})}function D(e,t){var r=C(t);if(r&&(t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,process.nextTick(P,e,t))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(a=Function.prototype[Symbol.hasInstance],Object.defineProperty(E,Symbol.hasInstance,{value:function(e){return!!a.call(this,e)||this===E&&e&&e._writableState instanceof S}})):a=function(e){return e instanceof this},E.prototype.pipe=function(){k(this,new y)},E.prototype.write=function(e,t,r){var n,i,a,s,o,c,d,p=this._writableState,m=!1,f=!p.objectMode&&(n=e,l.isBuffer(n)||n instanceof u);return(f&&!l.isBuffer(e)&&(i=e,e=l.from(i)),"function"==typeof t&&(r=t,t=null),f?t="buffer":t||(t=p.defaultEncoding),"function"!=typeof r&&(r=x),p.ending)?(a=r,k(this,s=new w),process.nextTick(a,s)):(f||(o=e,c=r,null===o?d=new b:"string"==typeof o||p.objectMode||(d=new h("chunk",["string","Buffer"],o)),!d||(k(this,d),process.nextTick(c,d),0)))&&(p.pendingcb++,m=function(e,t,r,n,i,a){if(!r){var s,o,u=(s=n,o=i,t.objectMode||!1===t.decodeStrings||"string"!=typeof s||(s=l.from(s,o)),s);n!==u&&(r=!0,i="buffer",n=u)}var c=t.objectMode?1:n.length;t.length+=c;var d=t.length<t.highWaterMark;if(d||(t.needDrain=!0),t.writing||t.corked){var p=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},p?p.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else T(e,t,!1,c,n,i,a);return d}(this,p,f,e,t,r)),m},E.prototype.cork=function(){this._writableState.corked++},E.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||A(this,e))},E.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new v(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(e,t,r){r(new m("_write()"))},E.prototype._writev=null,E.prototype.end=function(e,t,r){var n,i,a,s=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),s.corked&&(s.corked=1,this.uncork()),s.ending||(n=this,i=s,a=r,i.ending=!0,D(n,i),a&&(i.finished?process.nextTick(a):n.once("finish",a)),i.ended=!0,n.writable=!1),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),E.prototype.destroy=c.destroy,E.prototype._undestroy=c.undestroy,E.prototype._destroy=function(e,t){t(e)}},16849:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=!0,r=!1){return l(e,t,r,new Map)};var n=r(29863),i=r(48390);let{hasOwn:a}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function s(e,t,r,n){return e&&"string"==typeof e.type?l(e,t,r,n):e}function o(e,t,r,n){return Array.isArray(e)?e.map(e=>s(e,t,r,n)):s(e,t,r,n)}function l(e,t=!0,r=!1,s){if(!e)return e;let{type:c}=e,d={type:e.type};if((0,i.isIdentifier)(e))d.name=e.name,a(e,"optional")&&"boolean"==typeof e.optional&&(d.optional=e.optional),a(e,"typeAnnotation")&&(d.typeAnnotation=t?o(e.typeAnnotation,!0,r,s):e.typeAnnotation),a(e,"decorators")&&(d.decorators=t?o(e.decorators,!0,r,s):e.decorators);else if(a(n.NODE_FIELDS,c))for(let l of Object.keys(n.NODE_FIELDS[c]))a(e,l)&&(t?d[l]=(0,i.isFile)(e)&&"comments"===l?u(e.comments,t,r,s):o(e[l],!0,r,s):d[l]=e[l]);else throw Error(`Unknown node type: "${c}"`);return a(e,"loc")&&(r?d.loc=null:d.loc=e.loc),a(e,"leadingComments")&&(d.leadingComments=u(e.leadingComments,t,r,s)),a(e,"innerComments")&&(d.innerComments=u(e.innerComments,t,r,s)),a(e,"trailingComments")&&(d.trailingComments=u(e.trailingComments,t,r,s)),a(e,"extra")&&(d.extra=Object.assign({},e.extra)),d}function u(e,t,r,n){return e&&t?e.map(e=>{let t=n.get(e);if(t)return t;let{type:i,value:a,loc:s}=e,o={type:i,value:a,loc:s};return r&&(o.loc=null),n.set(e,o),o}):e}},17161:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(39904),i=r(28373),a=r(86021),s=r(41720),o=r(64073),l=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(s);function u(e,t,r=()=>void 0){if(void 0===e){let e=function(...r){return t(e,...r)};return e}return e>=0?function(...n){return t(u(e-1,t,r),...n)}:r}function c(e,t){let r=0,n=e.length;for(;r<n&&e[r]===t;)++r;for(;n>r&&e[n-1]===t;)--n;return r>0||n<e.length?e.substring(r,n):e}function d(e,t){let r=new Map;for(let n=e.length;n-- >0;){let i=e[n],a=t(i);r.set(a,r.has(a)?l.default(i,r.get(a),{arrayMerge:p}):i)}return[...r.values()].reverse()}let p=(e,t,r)=>[...t];function h(e,t){for(let r of t){if(!e)return;e=e[r]}return e}function m(e,t="a",r=26){let n=[];do n.push((e-=1)%r),e=e/r|0;while(e>0);let i=t.charCodeAt(0);return n.reverse().map(e=>String.fromCharCode(i+e)).join("")}let f=["I","X","C","M"],y=["V","L","D"];function g(e){return[...e+""].map(e=>+e).reverse().map((e,t)=>e%5<4?(e<5?"":y[t])+f[t].repeat(e%5):f[t]+(e<5?y[t]:f[t+1])).reverse().join("")}class b{constructor(e,t){this.lines=[],this.nextLineWords=[],this.maxLineLength=t||e.wordwrap||Number.MAX_VALUE,this.nextLineAvailableChars=this.maxLineLength,this.wrapCharacters=h(e,["longWordSplit","wrapCharacters"])||[],this.forceWrapOnLimit=h(e,["longWordSplit","forceWrapOnLimit"])||!1,this.stashedSpace=!1,this.wordBreakOpportunity=!1}pushWord(e,t=!1){this.nextLineAvailableChars<=0&&!t&&this.startNewLine();let r=0===this.nextLineWords.length,n=e.length+ +!r;if(n<=this.nextLineAvailableChars||t)this.nextLineWords.push(e),this.nextLineAvailableChars-=n;else{let[t,...n]=this.splitLongWord(e);for(let e of(r||this.startNewLine(),this.nextLineWords.push(t),this.nextLineAvailableChars-=t.length,n))this.startNewLine(),this.nextLineWords.push(e),this.nextLineAvailableChars-=e.length}}popWord(){let e=this.nextLineWords.pop();if(void 0!==e){let t=0===this.nextLineWords.length,r=e.length+ +!t;this.nextLineAvailableChars+=r}return e}concatWord(e,t=!1){if(this.wordBreakOpportunity&&e.length>this.nextLineAvailableChars)this.pushWord(e,t),this.wordBreakOpportunity=!1;else{let r=this.popWord();this.pushWord(r?r.concat(e):e,t)}}startNewLine(e=1){this.lines.push(this.nextLineWords),e>1&&this.lines.push(...Array.from({length:e-1},()=>[])),this.nextLineWords=[],this.nextLineAvailableChars=this.maxLineLength}isEmpty(){return 0===this.lines.length&&0===this.nextLineWords.length}clear(){this.lines.length=0,this.nextLineWords.length=0,this.nextLineAvailableChars=this.maxLineLength}toString(){return[...this.lines,this.nextLineWords].map(e=>e.join(" ")).join("\n")}splitLongWord(e){let t=[],r=0;for(;e.length>this.maxLineLength;){let n=e.substring(0,this.maxLineLength),i=e.substring(this.maxLineLength),a=n.lastIndexOf(this.wrapCharacters[r]);if(a>-1)e=n.substring(a+1)+i,t.push(n.substring(0,a+1));else if(++r<this.wrapCharacters.length)e=n+i;else{if(this.forceWrapOnLimit){if(t.push(n),(e=i).length>this.maxLineLength)continue}else e=n+i;break}}return t.push(e),t}}class w{constructor(e=null){this.next=e}getRoot(){return this.next?this.next:this}}class v extends w{constructor(e,t=null,r=1,n){super(t),this.leadingLineBreaks=r,this.inlineTextBuilder=new b(e,n),this.rawText="",this.stashedLineBreaks=0,this.isPre=t&&t.isPre,this.isNoWrap=t&&t.isNoWrap}}class k extends v{constructor(e,t=null,{interRowLineBreaks:r=1,leadingLineBreaks:n=2,maxLineLength:i,maxPrefixLength:a=0,prefixAlign:s="left"}={}){super(e,t,n,i),this.maxPrefixLength=a,this.prefixAlign=s,this.interRowLineBreaks=r}}class x extends v{constructor(e,t=null,{leadingLineBreaks:r=1,maxLineLength:n,prefix:i=""}={}){super(e,t,r,n),this.prefix=i}}class S extends w{constructor(e=null){super(e),this.rows=[],this.isPre=e&&e.isPre,this.isNoWrap=e&&e.isNoWrap}}class E extends w{constructor(e=null){super(e),this.cells=[],this.isPre=e&&e.isPre,this.isNoWrap=e&&e.isNoWrap}}class T extends w{constructor(e,t=null,r){super(t),this.inlineTextBuilder=new b(e,r),this.rawText="",this.stashedLineBreaks=0,this.isPre=t&&t.isPre,this.isNoWrap=t&&t.isNoWrap}}class _ extends w{constructor(e=null,t){super(e),this.transform=t}}class A{constructor(e){this.whitespaceChars=e.preserveNewlines?e.whitespaceCharacters.replace(/\n/g,""):e.whitespaceCharacters;let t=[...this.whitespaceChars].map(e=>"\\u"+e.charCodeAt(0).toString(16).padStart(4,"0")).join("");if(this.leadingWhitespaceRe=RegExp(`^[${t}]`),this.trailingWhitespaceRe=RegExp(`[${t}]$`),this.allWhitespaceOrEmptyRe=RegExp(`^[${t}]*$`),this.newlineOrNonWhitespaceRe=RegExp(`(\\n|[^\\n${t}])`,"g"),this.newlineOrNonNewlineStringRe=RegExp(`(\\n|[^\\n]+)`,"g"),e.preserveNewlines){let e=RegExp(`\\n|[^\\n${t}]+`,"gm");this.shrinkWrapAdd=function(t,r,n=e=>e,i=!1){if(!t)return;let a=r.stashedSpace,s=!1,o=e.exec(t);if(o)for(s=!0,"\n"===o[0]?r.startNewLine():a||this.testLeadingWhitespace(t)?r.pushWord(n(o[0]),i):r.concatWord(n(o[0]),i);null!==(o=e.exec(t));)"\n"===o[0]?r.startNewLine():r.pushWord(n(o[0]),i);r.stashedSpace=a&&!s||this.testTrailingWhitespace(t)}}else{let e=RegExp(`[^${t}]+`,"g");this.shrinkWrapAdd=function(t,r,n=e=>e,i=!1){if(!t)return;let a=r.stashedSpace,s=!1,o=e.exec(t);if(o)for(s=!0,a||this.testLeadingWhitespace(t)?r.pushWord(n(o[0]),i):r.concatWord(n(o[0]),i);null!==(o=e.exec(t));)r.pushWord(n(o[0]),i);r.stashedSpace=a&&!s||this.testTrailingWhitespace(t)}}}addLiteral(e,t,r=!0){if(!e)return;let n=t.stashedSpace,i=!1,a=this.newlineOrNonNewlineStringRe.exec(e);if(a)for(i=!0,"\n"===a[0]?t.startNewLine():n?t.pushWord(a[0],r):t.concatWord(a[0],r);null!==(a=this.newlineOrNonNewlineStringRe.exec(e));)"\n"===a[0]?t.startNewLine():t.pushWord(a[0],r);t.stashedSpace=n&&!i}testLeadingWhitespace(e){return this.leadingWhitespaceRe.test(e)}testTrailingWhitespace(e){return this.trailingWhitespaceRe.test(e)}testContainsWords(e){return!this.allWhitespaceOrEmptyRe.test(e)}countNewlinesNoWords(e){let t;this.newlineOrNonWhitespaceRe.lastIndex=0;let r=0;for(;null!==(t=this.newlineOrNonWhitespaceRe.exec(e));)if("\n"!==t[0])return 0;else r++;return r}}class C{constructor(e,t,r){this.options=e,this.picker=t,this.metadata=r,this.whitespaceProcessor=new A(e),this._stackItem=new v(e),this._wordTransformer=void 0}pushWordTransform(e){this._wordTransformer=new _(this._wordTransformer,e)}popWordTransform(){if(!this._wordTransformer)return;let e=this._wordTransformer.transform;return this._wordTransformer=this._wordTransformer.next,e}startNoWrap(){this._stackItem.isNoWrap=!0}stopNoWrap(){this._stackItem.isNoWrap=!1}_getCombinedWordTransformer(){let e=this._wordTransformer?e=>(function e(t,r){return r?e(r.transform(t),r.next):t})(e,this._wordTransformer):void 0,t=this.options.encodeCharacters;return e?t?r=>t(e(r)):e:t}_popStackItem(){let e=this._stackItem;return this._stackItem=e.next,e}addLineBreak(){(this._stackItem instanceof v||this._stackItem instanceof x||this._stackItem instanceof T)&&(this._stackItem.isPre?this._stackItem.rawText+="\n":this._stackItem.inlineTextBuilder.startNewLine())}addWordBreakOpportunity(){(this._stackItem instanceof v||this._stackItem instanceof x||this._stackItem instanceof T)&&(this._stackItem.inlineTextBuilder.wordBreakOpportunity=!0)}addInline(e,{noWordTransform:t=!1}={}){if(this._stackItem instanceof v||this._stackItem instanceof x||this._stackItem instanceof T){if(this._stackItem.isPre){this._stackItem.rawText+=e;return}if(0!==e.length&&(!this._stackItem.stashedLineBreaks||this.whitespaceProcessor.testContainsWords(e))){if(this.options.preserveNewlines){let t=this.whitespaceProcessor.countNewlinesNoWords(e);if(t>0)return void this._stackItem.inlineTextBuilder.startNewLine(t)}this._stackItem.stashedLineBreaks&&this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks),this.whitespaceProcessor.shrinkWrapAdd(e,this._stackItem.inlineTextBuilder,t?void 0:this._getCombinedWordTransformer(),this._stackItem.isNoWrap),this._stackItem.stashedLineBreaks=0}}}addLiteral(e){if((this._stackItem instanceof v||this._stackItem instanceof x||this._stackItem instanceof T)&&0!==e.length){if(this._stackItem.isPre){this._stackItem.rawText+=e;return}this._stackItem.stashedLineBreaks&&this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks),this.whitespaceProcessor.addLiteral(e,this._stackItem.inlineTextBuilder,this._stackItem.isNoWrap),this._stackItem.stashedLineBreaks=0}}openBlock({leadingLineBreaks:e=1,reservedLineLength:t=0,isPre:r=!1}={}){let n=Math.max(20,this._stackItem.inlineTextBuilder.maxLineLength-t);this._stackItem=new v(this.options,this._stackItem,e,n),r&&(this._stackItem.isPre=!0)}closeBlock({trailingLineBreaks:e=1,blockTransform:t}={}){let r=this._popStackItem(),n=t?t(P(r)):P(r);D(this._stackItem,n,r.leadingLineBreaks,Math.max(r.stashedLineBreaks,e))}openList({maxPrefixLength:e=0,prefixAlign:t="left",interRowLineBreaks:r=1,leadingLineBreaks:n=2}={}){this._stackItem=new k(this.options,this._stackItem,{interRowLineBreaks:r,leadingLineBreaks:n,maxLineLength:this._stackItem.inlineTextBuilder.maxLineLength,maxPrefixLength:e,prefixAlign:t})}openListItem({prefix:e=""}={}){if(!(this._stackItem instanceof k))throw Error("Can't add a list item to something that is not a list! Check the formatter.");let t=this._stackItem,r=Math.max(e.length,t.maxPrefixLength),n=Math.max(20,t.inlineTextBuilder.maxLineLength-r);this._stackItem=new x(this.options,t,{prefix:e,maxLineLength:n,leadingLineBreaks:t.interRowLineBreaks})}closeListItem(){let e=this._popStackItem(),t=e.next,r=Math.max(e.prefix.length,t.maxPrefixLength),n="\n"+" ".repeat(r),i=("right"===t.prefixAlign?e.prefix.padStart(r):e.prefix.padEnd(r))+P(e).replace(/\n/g,n);D(t,i,e.leadingLineBreaks,Math.max(e.stashedLineBreaks,t.interRowLineBreaks))}closeList({trailingLineBreaks:e=2}={}){let t=this._popStackItem(),r=P(t);r&&D(this._stackItem,r,t.leadingLineBreaks,e)}openTable(){this._stackItem=new S(this._stackItem)}openTableRow(){if(!(this._stackItem instanceof S))throw Error("Can't add a table row to something that is not a table! Check the formatter.");this._stackItem=new E(this._stackItem)}openTableCell({maxColumnWidth:e}={}){if(!(this._stackItem instanceof E))throw Error("Can't add a table cell to something that is not a table row! Check the formatter.");this._stackItem=new T(this.options,this._stackItem,e)}closeTableCell({colspan:e=1,rowspan:t=1}={}){let r=this._popStackItem(),n=c(P(r),"\n");r.next.cells.push({colspan:e,rowspan:t,text:n})}closeTableRow(){let e=this._popStackItem();e.next.rows.push(e.cells)}closeTable({tableToString:e,leadingLineBreaks:t=2,trailingLineBreaks:r=2}){let n=e(this._popStackItem().rows);n&&D(this._stackItem,n,t,r)}toString(){return P(this._stackItem.getRoot())}}function P(e){if(!(e instanceof v||e instanceof x||e instanceof T))throw Error("Only blocks, list items and table cells can be requested for text contents.");return e.inlineTextBuilder.isEmpty()?e.rawText:e.rawText+e.inlineTextBuilder.toString()}function D(e,t,r,n){if(!(e instanceof v||e instanceof x||e instanceof T))throw Error("Only blocks, list items and table cells can contain text.");let i=P(e),a=Math.max(e.stashedLineBreaks,r);e.inlineTextBuilder.clear(),i?e.rawText=i+"\n".repeat(a)+t:(e.rawText=t,e.leadingLineBreaks=a),e.stashedLineBreaks=n}function I(e,t,r){if(!t)return;let n=r.options;for(let i of(t.length>n.limits.maxChildNodes&&(t=t.slice(0,n.limits.maxChildNodes)).push({data:n.limits.ellipsis,type:"text"}),t))switch(i.type){case"text":r.addInline(i.data);break;case"tag":{let t=r.picker.pick1(i);(0,n.formatters[t.format])(i,e,r,t.options||{})}}}function O(e){let t=e.attribs&&e.attribs.length?" "+Object.entries(e.attribs).map(([e,t])=>""===t?e:`${e}=${t.replace(/"/g,"&quot;")}`).join(" "):"";return`<${e.name}${t}>`}function N(e){return`</${e.name}>`}var L=Object.freeze({__proto__:null,block:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),t(e.children,r),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},blockHtml:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),r.startNoWrap(),r.addLiteral(o.render(e,{decodeEntities:r.options.decodeEntities})),r.stopNoWrap(),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},blockString:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),r.addLiteral(n.string||""),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},blockTag:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),r.startNoWrap(),r.addLiteral(O(e)),r.stopNoWrap(),t(e.children,r),r.startNoWrap(),r.addLiteral(N(e)),r.stopNoWrap(),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},inline:function(e,t,r,n){t(e.children,r)},inlineHtml:function(e,t,r,n){r.startNoWrap(),r.addLiteral(o.render(e,{decodeEntities:r.options.decodeEntities})),r.stopNoWrap()},inlineString:function(e,t,r,n){r.addLiteral(n.string||"")},inlineSurround:function(e,t,r,n){r.addLiteral(n.prefix||""),t(e.children,r),r.addLiteral(n.suffix||"")},inlineTag:function(e,t,r,n){r.startNoWrap(),r.addLiteral(O(e)),r.stopNoWrap(),t(e.children,r),r.startNoWrap(),r.addLiteral(N(e)),r.stopNoWrap()},skip:function(e,t,r,n){}});function R(e,t){return e[t]||(e[t]=[]),e[t]}function M(e,t){return void 0===e[t]&&(e[t]=0===t?0:1+M(e,t-1)),e[t]}function F(e,t,r,n){e[t+r]=Math.max(M(e,t+r),M(e,t)+n)}function B(e,t){return t?("string"==typeof t[0]?t[0]:"[")+e+("string"==typeof t[1]?t[1]:"]"):e}function j(e,t,r,n,i){let a="function"==typeof t?t(e,n,i):e;return"/"===a[0]&&r?function(e,t){let r=e.length;for(;r>0&&"/"===e[r-1];)--r;return r<e.length?e.substring(0,r):e}(r,0)+a:a}function U(e,t,r,n,i){let a="li"===h(e,["parent","name"]),s=0,o=(e.children||[]).filter(e=>"text"!==e.type||!/^\s*$/.test(e.data)).map(function(e){if("li"!==e.name)return{node:e,prefix:""};let t=a?i().trimStart():i();return t.length>s&&(s=t.length),{node:e,prefix:t}});if(o.length){for(let{node:e,prefix:i}of(r.openList({interRowLineBreaks:1,leadingLineBreaks:a?1:n.leadingLineBreaks||2,maxPrefixLength:s,prefixAlign:"left"}),o))r.openListItem({prefix:i}),t([e],r),r.closeListItem();r.closeList({trailingLineBreaks:a?1:n.trailingLineBreaks||2})}}function $(e,t,r,n){function i(e){let i=+h(e,["attribs","colspan"])||1,a=+h(e,["attribs","rowspan"])||1;r.openTableCell({maxColumnWidth:n.maxColumnWidth}),t(e.children,r),r.closeTableCell({colspan:i,rowspan:a})}r.openTable(),e.children.forEach(function e(t){if("tag"!==t.type)return;let a=!1!==n.uppercaseHeaderCells?e=>{r.pushWordTransform(e=>e.toUpperCase()),i(e),r.popWordTransform()}:i;switch(t.name){case"thead":case"tbody":case"tfoot":case"center":t.children.forEach(e);return;case"tr":for(let e of(r.openTableRow(),t.children))if("tag"===e.type)switch(e.name){case"th":a(e);break;case"td":i(e)}r.closeTableRow()}}),r.closeTable({tableToString:e=>(function(e,t,r){let n=[],i=0,a=e.length,s=[0];for(let r=0;r<a;r++){let a=R(n,r),u=e[r],c=0;for(let e=0;e<u.length;e++){let i=u[e];c=function(e,t=0){for(;e[t];)t++;return t}(a,c);var o=r,l=c;for(let e=0;e<i.rowspan;e++){let t=R(n,o+e);for(let e=0;e<i.colspan;e++)t[l+e]=i}c+=i.colspan,i.lines=i.text.split("\n");let d=i.lines.length;F(s,r,i.rowspan,d+t)}i=a.length>i?a.length:i}!function(e,t){for(let r=0;r<t;r++){let t=R(e,r);for(let n=0;n<r;n++){let i=R(e,n);if(t[n]||i[r]){let e=t[n];t[n]=i[r],i[r]=e}}}}(n,a>i?a:i);let u=[],c=[0];for(let e=0;e<i;e++){let t,i=0,o=Math.min(a,n[e].length);for(;i<o;)if(t=n[e][i]){if(!t.rendered){let n=0;for(let r=0;r<t.lines.length;r++){let a=t.lines[r],o=s[i]+r;u[o]=(u[o]||"").padEnd(c[e])+a,n=a.length>n?a.length:n}F(c,e,t.colspan,n+r),t.rendered=!0}i+=t.rowspan}else{let e=s[i];u[e]=u[e]||"",i++}}return u.join("\n")})(e,n.rowSpacing??0,n.colSpacing??3),leadingLineBreaks:n.leadingLineBreaks,trailingLineBreaks:n.trailingLineBreaks})}var q=Object.freeze({__proto__:null,anchor:function(e,t,r,n){let i=function(){if(n.ignoreHref||!e.attribs||!e.attribs.href)return"";let t=e.attribs.href.replace(/^mailto:/,"");return n.noAnchorUrl&&"#"===t[0]?"":t=j(t,n.pathRewrite,n.baseUrl,r.metadata,e)}();if(i){let a="";r.pushWordTransform(e=>(e&&(a+=e),e)),t(e.children,r),r.popWordTransform(),n.hideLinkHrefIfSameAsText&&i===a||r.addInline(a?" "+B(i,n.linkBrackets):i,{noWordTransform:!0})}else t(e.children,r)},blockquote:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2,reservedLineLength:2}),t(e.children,r),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2,blockTransform:e=>(!1!==n.trimEmptyLines?c(e,"\n"):e).split("\n").map(e=>"> "+e).join("\n")})},dataTable:$,heading:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),!1!==n.uppercase?(r.pushWordTransform(e=>e.toUpperCase()),t(e.children,r),r.popWordTransform()):t(e.children,r),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},horizontalLine:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),r.addInline("-".repeat(n.length||r.options.wordwrap||40)),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},image:function(e,t,r,n){let i=e.attribs||{},a=i.alt?i.alt:"",s=i.src?j(i.src,n.pathRewrite,n.baseUrl,r.metadata,e):"",o=s?a?a+" "+B(s,n.linkBrackets):B(s,n.linkBrackets):a;r.addInline(o,{noWordTransform:!0})},lineBreak:function(e,t,r,n){r.addLineBreak()},orderedList:function(e,t,r,n){let i=Number(e.attribs.start||"1"),a=function(e="1"){switch(e){case"a":return e=>m(e,"a");case"A":return e=>m(e,"A");case"i":return e=>g(e).toLowerCase();case"I":return e=>g(e);default:return e=>e.toString()}}(e.attribs.type);return U(e,t,r,n,()=>" "+a(i++)+". ")},paragraph:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),t(e.children,r),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},pre:function(e,t,r,n){r.openBlock({isPre:!0,leadingLineBreaks:n.leadingLineBreaks||2}),t(e.children,r),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},table:function(e,t,r,n){var i,a,s,o;return!function(e,t){if(!0===t)return!0;if(!e)return!1;let{classes:r,ids:n}=function(e){let t=[],r=[];for(let n of e)n.startsWith(".")?t.push(n.substring(1)):n.startsWith("#")&&r.push(n.substring(1));return{classes:t,ids:r}}(t),i=(e.class||"").split(" "),a=(e.id||"").split(" ");return i.some(e=>r.includes(e))||a.some(e=>n.includes(e))}(e.attribs,r.options.tables)?(i=e,a=t,s=r,o=n,void(s.openBlock({leadingLineBreaks:o.leadingLineBreaks}),a(i.children,s),s.closeBlock({trailingLineBreaks:o.trailingLineBreaks}))):$(e,t,r,n)},unorderedList:function(e,t,r,n){let i=n.itemPrefix||" * ";return U(e,t,r,n,()=>i)},wbr:function(e,t,r,n){r.addWordBreakOpportunity()}});let z={baseElements:{selectors:["body"],orderBy:"selectors",returnDomByDefault:!0},decodeEntities:!0,encodeCharacters:{},formatters:{},limits:{ellipsis:"...",maxBaseElements:void 0,maxChildNodes:void 0,maxDepth:void 0,maxInputLength:0x1000000},longWordSplit:{forceWrapOnLimit:!1,wrapCharacters:[]},preserveNewlines:!1,selectors:[{selector:"*",format:"inline"},{selector:"a",format:"anchor",options:{baseUrl:null,hideLinkHrefIfSameAsText:!1,ignoreHref:!1,linkBrackets:["[","]"],noAnchorUrl:!0}},{selector:"article",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"aside",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"blockquote",format:"blockquote",options:{leadingLineBreaks:2,trailingLineBreaks:2,trimEmptyLines:!0}},{selector:"br",format:"lineBreak"},{selector:"div",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"footer",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"form",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"h1",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h2",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h3",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h4",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"h5",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"h6",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"header",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"hr",format:"horizontalLine",options:{leadingLineBreaks:2,length:void 0,trailingLineBreaks:2}},{selector:"img",format:"image",options:{baseUrl:null,linkBrackets:["[","]"]}},{selector:"main",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"nav",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"ol",format:"orderedList",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"p",format:"paragraph",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"pre",format:"pre",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"section",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"table",format:"table",options:{colSpacing:3,leadingLineBreaks:2,maxColumnWidth:60,rowSpacing:0,trailingLineBreaks:2,uppercaseHeaderCells:!0}},{selector:"ul",format:"unorderedList",options:{itemPrefix:" * ",leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"wbr",format:"wbr"}],tables:[],whitespaceCharacters:" \r\n\f​",wordwrap:80},V=(e,t,r)=>[...e,...t],H=(e,t,r)=>[...t],G=(e,t,r)=>e.some(e=>"object"==typeof e)?V(e,t):H(e,t);function W(e={}){return(e=l.default(z,e,{arrayMerge:H,customMerge:e=>"selectors"===e?G:void 0})).formatters=Object.assign({},L,q,e.formatters),e.selectors=d(e.selectors,e=>e.selector),function(e){if(e.tags){let t=Object.entries(e.tags).map(([e,t])=>({...t,selector:e||"*"}));e.selectors.push(...t),e.selectors=d(e.selectors,e=>e.selector)}function t(e,t,r){let n=t.pop();for(let r of t){let t=e[r];t||(t={},e[r]=t),e=t}e[n]=r}if(e.baseElement){let r=e.baseElement;t(e,["baseElements","selectors"],Array.isArray(r)?r:[r])}for(let r of(void 0!==e.returnDomByDefault&&t(e,["baseElements","returnDomByDefault"],e.returnDomByDefault),e.selectors))"anchor"===r.format&&h(r,["options","noLinkBrackets"])&&t(r,["options","linkBrackets"],!1)}(e),function(e={}){let t=e.selectors.filter(e=>!e.format);if(t.length)throw Error("Following selectors have no specified format: "+t.map(e=>`\`${e.selector}\``).join(", "));let r=new a.DecisionTree(e.selectors.map(e=>[e.selector,e])).build(n.hp2Builder);"function"!=typeof e.encodeCharacters&&(e.encodeCharacters=function(e){if(!e||0===Object.keys(e).length)return;let t=Object.entries(e).filter(([,e])=>!1!==e),r=RegExp(t.map(([e])=>`(${[...e][0].replace(/[\s\S]/g,e=>"\\u"+e.charCodeAt().toString(16).padStart(4,"0"))})`).join("|"),"g"),n=t.map(([,e])=>e),i=(e,...t)=>n[t.findIndex(e=>e)];return e=>e.replace(r,i)}(e.encodeCharacters));let s=new a.DecisionTree(e.baseElements.selectors.map((e,t)=>[e,t+1])).build(n.hp2Builder);function o(t){var r=t,n=e,i=s;let a=[];return u(n.limits.maxDepth,function(e,t){for(let r of t=t.slice(0,n.limits.maxChildNodes)){if("tag"!==r.type)continue;let t=i.pick1(r);if(t>0?a.push({selectorIndex:t,element:r}):r.children&&e(r.children),a.length>=n.limits.maxBaseElements)return}})(r),"occurrence"!==n.baseElements.orderBy&&a.sort((e,t)=>e.selectorIndex-t.selectorIndex),n.baseElements.returnDomByDefault&&0===a.length?r:a.map(e=>e.element)}let l=u(e.limits.maxDepth,I,function(t,r){r.addInline(e.limits.ellipsis||"")});return function(t,n){var a=t,s=n,u=e,c=r,d=o,p=l;let h=u.limits.maxInputLength;h&&a&&a.length>h&&(console.warn(`Input length ${a.length} is above allowed limit of ${h}. Truncating without ellipsis.`),a=a.substring(0,h));let m=d(i.parseDocument(a,{decodeEntities:u.decodeEntities}).children),f=new C(u,c,s);return p(m,f),f.toString()}}(e)}function K(e,t={},r){return W(t)(e,r)}t.compile=W,t.convert=K,t.htmlToText=K},17528:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(62503)),i=r(65433);function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=i.PSEUDO,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t.prototype.toString=function(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")},t}(n.default),e.exports=t.default},18107:e=>{"use strict";let t={};function r(e,r,n){n||(n=Error);class i extends n{constructor(e,t,n){super("string"==typeof r?r:r(e,t,n))}}i.prototype.name=n.name,i.prototype.code=e,t[e]=i}function n(e,t){if(!Array.isArray(e))return`of ${t} ${String(e)}`;{let r=e.length;return(e=e.map(e=>String(e)),r>2)?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:2===r?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}}r("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(e,t,r){var i,a,s,o;let l,u;if("string"==typeof t&&(i="not ",t.substr(0,i.length)===i)?(l="must not be",t=t.replace(/^not /,"")):l="must be",a=" argument",(void 0===s||s>e.length)&&(s=e.length),e.substring(s-a.length,s)===a)u=`The ${e} ${l} ${n(t,"type")}`;else{let r=("number"!=typeof o&&(o=0),o+1>e.length||-1===e.indexOf(".",o))?"argument":"property";u=`The "${e}" ${r} ${l} ${n(t,"type")}`}return u+`. Received type ${typeof r}`},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.F=t},18139:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){let l=new WeakMap,u=new WeakMap,c=r||(0,n.validate)(null);return Object.assign((r,...s)=>{if("string"==typeof r){if(s.length>1)throw Error("Unexpected extra params.");return o((0,i.default)(t,r,(0,n.merge)(c,(0,n.validate)(s[0]))))}if(Array.isArray(r)){let e=l.get(r);return e||(e=(0,a.default)(t,r,c),l.set(r,e)),o(e(s))}if("object"==typeof r&&r){if(s.length>0)throw Error("Unexpected extra params.");return e(t,(0,n.merge)(c,(0,n.validate)(r)))}throw Error(`Unexpected template param ${typeof r}`)},{ast:(e,...r)=>{if("string"==typeof e){if(r.length>1)throw Error("Unexpected extra params.");return(0,i.default)(t,e,(0,n.merge)((0,n.merge)(c,(0,n.validate)(r[0])),s))()}if(Array.isArray(e)){let i=u.get(e);return i||(i=(0,a.default)(t,e,(0,n.merge)(c,s)),u.set(e,i)),i(r)()}throw Error(`Unexpected template param ${typeof e}`)}})};var n=r(23050),i=r(24019),a=r(1407);let s=(0,n.validate)({placeholderPattern:!1});function o(e){let t="";try{throw Error()}catch(e){e.stack&&(t=e.stack.split("\n").slice(3).join("\n"))}return r=>{try{return e(r)}catch(e){throw e.stack+=`
30
+ `,r},et=class{renderer;constructor({customStyles:e}){this.renderer=ee({customStyles:e})}parse(e){return U.parse(e,{renderer:this.renderer})}},er=({markdown:e,customStyles:t})=>new et({customStyles:t}).parse(e),en=({markdown:e,markdownCustomStyles:t,markdownContainerStyles:r})=>{let n=er({markdown:e,customStyles:t});return $.createElement("div",{style:r,dangerouslySetInnerHTML:{__html:n}})}},14736:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=n(r(7970));function a(e){return e&&e.nodeType===i.default.ELEMENT_NODE}function s(e,t){return a(e)?e.getAttribute(t):void 0}function o(e){return e&&e.childNodes}function l(e){return e?e.parentNode:null}t.default={isTag:a,getAttributeValue:s,getName:function(e){return(e&&e.rawTagName||"").toLowerCase()},getChildren:o,getParent:l,getText:function(e){return e.text},removeSubsets:function(e){let t,r,n,i=e.length;for(;--i>-1;){for(t=r=e[i],e[i]=null,n=!0;r;){if(e.indexOf(r)>-1){n=!1,e.splice(i,1);break}r=l(r)}n&&(e[i]=t)}return e},existsOne:function e(t,r){return r.some(r=>!!a(r)&&(t(r)||e(t,o(r))))},getSiblings:function(e){let t=l(e);return t?o(t):[]},hasAttrib:function(e,t){return void 0!==s(e,t)},findOne:function e(t,r){let n=null;for(let i=0,a=null==r?void 0:r.length;i<a&&!n;i++){let a=r[i];if(t(a))n=a;else{let r=o(a);r&&r.length>0&&(n=e(t,r))}}return n},findAll:function e(t,r){let n=[];for(let i=0,s=r.length;i<s;i++){if(!a(r[i]))continue;t(r[i])&&n.push(r[i]);let s=o(r[i]);s&&(n=n.concat(e(t,s)))}return n}}},14814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return!!t&&((0,i.default)(t.type,e)?void 0===r||(0,n.default)(t,r):!r&&"Placeholder"===t.type&&e in s.FLIPPED_ALIAS_KEYS&&(0,a.default)(t.expectedNode,e))};var n=r(99194),i=r(83622),a=r(59673),s=r(29863)},15340:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!e)return;let s=n.NODE_FIELDS[e.type];if(!s)return;let o=s[t];i(e,t,r,o),a(e,t,r)},t.validateChild=a,t.validateField=i,t.validateInternal=function(e,t,r,i,a){if(null!=e&&e.validate&&(!e.optional||null!=i)&&(e.validate(t,r,i),a)){var s;let e=i.type;if(null!=e)null==(s=n.NODE_PARENT_VALIDATIONS[e])||s.call(n.NODE_PARENT_VALIDATIONS,t,r,i)}};var n=r(29863);function i(e,t,r,n){null!=n&&n.validate&&(n.optional&&null==r||n.validate(e,t,r))}function a(e,t,r){var i;let a=null==r?void 0:r.type;null!=a&&(null==(i=n.NODE_PARENT_VALIDATIONS[a])||i.call(n.NODE_PARENT_VALIDATIONS,e,t,r))}},15412:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(23391)),i=r(65433);function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=i.TAG,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t}(n.default),e.exports=t.default},16252:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertAccessor=function(e,t){a("Accessor",e,t)},t.assertAnyTypeAnnotation=function(e,t){a("AnyTypeAnnotation",e,t)},t.assertArgumentPlaceholder=function(e,t){a("ArgumentPlaceholder",e,t)},t.assertArrayExpression=function(e,t){a("ArrayExpression",e,t)},t.assertArrayPattern=function(e,t){a("ArrayPattern",e,t)},t.assertArrayTypeAnnotation=function(e,t){a("ArrayTypeAnnotation",e,t)},t.assertArrowFunctionExpression=function(e,t){a("ArrowFunctionExpression",e,t)},t.assertAssignmentExpression=function(e,t){a("AssignmentExpression",e,t)},t.assertAssignmentPattern=function(e,t){a("AssignmentPattern",e,t)},t.assertAwaitExpression=function(e,t){a("AwaitExpression",e,t)},t.assertBigIntLiteral=function(e,t){a("BigIntLiteral",e,t)},t.assertBinary=function(e,t){a("Binary",e,t)},t.assertBinaryExpression=function(e,t){a("BinaryExpression",e,t)},t.assertBindExpression=function(e,t){a("BindExpression",e,t)},t.assertBlock=function(e,t){a("Block",e,t)},t.assertBlockParent=function(e,t){a("BlockParent",e,t)},t.assertBlockStatement=function(e,t){a("BlockStatement",e,t)},t.assertBooleanLiteral=function(e,t){a("BooleanLiteral",e,t)},t.assertBooleanLiteralTypeAnnotation=function(e,t){a("BooleanLiteralTypeAnnotation",e,t)},t.assertBooleanTypeAnnotation=function(e,t){a("BooleanTypeAnnotation",e,t)},t.assertBreakStatement=function(e,t){a("BreakStatement",e,t)},t.assertCallExpression=function(e,t){a("CallExpression",e,t)},t.assertCatchClause=function(e,t){a("CatchClause",e,t)},t.assertClass=function(e,t){a("Class",e,t)},t.assertClassAccessorProperty=function(e,t){a("ClassAccessorProperty",e,t)},t.assertClassBody=function(e,t){a("ClassBody",e,t)},t.assertClassDeclaration=function(e,t){a("ClassDeclaration",e,t)},t.assertClassExpression=function(e,t){a("ClassExpression",e,t)},t.assertClassImplements=function(e,t){a("ClassImplements",e,t)},t.assertClassMethod=function(e,t){a("ClassMethod",e,t)},t.assertClassPrivateMethod=function(e,t){a("ClassPrivateMethod",e,t)},t.assertClassPrivateProperty=function(e,t){a("ClassPrivateProperty",e,t)},t.assertClassProperty=function(e,t){a("ClassProperty",e,t)},t.assertCompletionStatement=function(e,t){a("CompletionStatement",e,t)},t.assertConditional=function(e,t){a("Conditional",e,t)},t.assertConditionalExpression=function(e,t){a("ConditionalExpression",e,t)},t.assertContinueStatement=function(e,t){a("ContinueStatement",e,t)},t.assertDebuggerStatement=function(e,t){a("DebuggerStatement",e,t)},t.assertDecimalLiteral=function(e,t){a("DecimalLiteral",e,t)},t.assertDeclaration=function(e,t){a("Declaration",e,t)},t.assertDeclareClass=function(e,t){a("DeclareClass",e,t)},t.assertDeclareExportAllDeclaration=function(e,t){a("DeclareExportAllDeclaration",e,t)},t.assertDeclareExportDeclaration=function(e,t){a("DeclareExportDeclaration",e,t)},t.assertDeclareFunction=function(e,t){a("DeclareFunction",e,t)},t.assertDeclareInterface=function(e,t){a("DeclareInterface",e,t)},t.assertDeclareModule=function(e,t){a("DeclareModule",e,t)},t.assertDeclareModuleExports=function(e,t){a("DeclareModuleExports",e,t)},t.assertDeclareOpaqueType=function(e,t){a("DeclareOpaqueType",e,t)},t.assertDeclareTypeAlias=function(e,t){a("DeclareTypeAlias",e,t)},t.assertDeclareVariable=function(e,t){a("DeclareVariable",e,t)},t.assertDeclaredPredicate=function(e,t){a("DeclaredPredicate",e,t)},t.assertDecorator=function(e,t){a("Decorator",e,t)},t.assertDirective=function(e,t){a("Directive",e,t)},t.assertDirectiveLiteral=function(e,t){a("DirectiveLiteral",e,t)},t.assertDoExpression=function(e,t){a("DoExpression",e,t)},t.assertDoWhileStatement=function(e,t){a("DoWhileStatement",e,t)},t.assertEmptyStatement=function(e,t){a("EmptyStatement",e,t)},t.assertEmptyTypeAnnotation=function(e,t){a("EmptyTypeAnnotation",e,t)},t.assertEnumBody=function(e,t){a("EnumBody",e,t)},t.assertEnumBooleanBody=function(e,t){a("EnumBooleanBody",e,t)},t.assertEnumBooleanMember=function(e,t){a("EnumBooleanMember",e,t)},t.assertEnumDeclaration=function(e,t){a("EnumDeclaration",e,t)},t.assertEnumDefaultedMember=function(e,t){a("EnumDefaultedMember",e,t)},t.assertEnumMember=function(e,t){a("EnumMember",e,t)},t.assertEnumNumberBody=function(e,t){a("EnumNumberBody",e,t)},t.assertEnumNumberMember=function(e,t){a("EnumNumberMember",e,t)},t.assertEnumStringBody=function(e,t){a("EnumStringBody",e,t)},t.assertEnumStringMember=function(e,t){a("EnumStringMember",e,t)},t.assertEnumSymbolBody=function(e,t){a("EnumSymbolBody",e,t)},t.assertExistsTypeAnnotation=function(e,t){a("ExistsTypeAnnotation",e,t)},t.assertExportAllDeclaration=function(e,t){a("ExportAllDeclaration",e,t)},t.assertExportDeclaration=function(e,t){a("ExportDeclaration",e,t)},t.assertExportDefaultDeclaration=function(e,t){a("ExportDefaultDeclaration",e,t)},t.assertExportDefaultSpecifier=function(e,t){a("ExportDefaultSpecifier",e,t)},t.assertExportNamedDeclaration=function(e,t){a("ExportNamedDeclaration",e,t)},t.assertExportNamespaceSpecifier=function(e,t){a("ExportNamespaceSpecifier",e,t)},t.assertExportSpecifier=function(e,t){a("ExportSpecifier",e,t)},t.assertExpression=function(e,t){a("Expression",e,t)},t.assertExpressionStatement=function(e,t){a("ExpressionStatement",e,t)},t.assertExpressionWrapper=function(e,t){a("ExpressionWrapper",e,t)},t.assertFile=function(e,t){a("File",e,t)},t.assertFlow=function(e,t){a("Flow",e,t)},t.assertFlowBaseAnnotation=function(e,t){a("FlowBaseAnnotation",e,t)},t.assertFlowDeclaration=function(e,t){a("FlowDeclaration",e,t)},t.assertFlowPredicate=function(e,t){a("FlowPredicate",e,t)},t.assertFlowType=function(e,t){a("FlowType",e,t)},t.assertFor=function(e,t){a("For",e,t)},t.assertForInStatement=function(e,t){a("ForInStatement",e,t)},t.assertForOfStatement=function(e,t){a("ForOfStatement",e,t)},t.assertForStatement=function(e,t){a("ForStatement",e,t)},t.assertForXStatement=function(e,t){a("ForXStatement",e,t)},t.assertFunction=function(e,t){a("Function",e,t)},t.assertFunctionDeclaration=function(e,t){a("FunctionDeclaration",e,t)},t.assertFunctionExpression=function(e,t){a("FunctionExpression",e,t)},t.assertFunctionParent=function(e,t){a("FunctionParent",e,t)},t.assertFunctionTypeAnnotation=function(e,t){a("FunctionTypeAnnotation",e,t)},t.assertFunctionTypeParam=function(e,t){a("FunctionTypeParam",e,t)},t.assertGenericTypeAnnotation=function(e,t){a("GenericTypeAnnotation",e,t)},t.assertIdentifier=function(e,t){a("Identifier",e,t)},t.assertIfStatement=function(e,t){a("IfStatement",e,t)},t.assertImmutable=function(e,t){a("Immutable",e,t)},t.assertImport=function(e,t){a("Import",e,t)},t.assertImportAttribute=function(e,t){a("ImportAttribute",e,t)},t.assertImportDeclaration=function(e,t){a("ImportDeclaration",e,t)},t.assertImportDefaultSpecifier=function(e,t){a("ImportDefaultSpecifier",e,t)},t.assertImportExpression=function(e,t){a("ImportExpression",e,t)},t.assertImportNamespaceSpecifier=function(e,t){a("ImportNamespaceSpecifier",e,t)},t.assertImportOrExportDeclaration=function(e,t){a("ImportOrExportDeclaration",e,t)},t.assertImportSpecifier=function(e,t){a("ImportSpecifier",e,t)},t.assertIndexedAccessType=function(e,t){a("IndexedAccessType",e,t)},t.assertInferredPredicate=function(e,t){a("InferredPredicate",e,t)},t.assertInterfaceDeclaration=function(e,t){a("InterfaceDeclaration",e,t)},t.assertInterfaceExtends=function(e,t){a("InterfaceExtends",e,t)},t.assertInterfaceTypeAnnotation=function(e,t){a("InterfaceTypeAnnotation",e,t)},t.assertInterpreterDirective=function(e,t){a("InterpreterDirective",e,t)},t.assertIntersectionTypeAnnotation=function(e,t){a("IntersectionTypeAnnotation",e,t)},t.assertJSX=function(e,t){a("JSX",e,t)},t.assertJSXAttribute=function(e,t){a("JSXAttribute",e,t)},t.assertJSXClosingElement=function(e,t){a("JSXClosingElement",e,t)},t.assertJSXClosingFragment=function(e,t){a("JSXClosingFragment",e,t)},t.assertJSXElement=function(e,t){a("JSXElement",e,t)},t.assertJSXEmptyExpression=function(e,t){a("JSXEmptyExpression",e,t)},t.assertJSXExpressionContainer=function(e,t){a("JSXExpressionContainer",e,t)},t.assertJSXFragment=function(e,t){a("JSXFragment",e,t)},t.assertJSXIdentifier=function(e,t){a("JSXIdentifier",e,t)},t.assertJSXMemberExpression=function(e,t){a("JSXMemberExpression",e,t)},t.assertJSXNamespacedName=function(e,t){a("JSXNamespacedName",e,t)},t.assertJSXOpeningElement=function(e,t){a("JSXOpeningElement",e,t)},t.assertJSXOpeningFragment=function(e,t){a("JSXOpeningFragment",e,t)},t.assertJSXSpreadAttribute=function(e,t){a("JSXSpreadAttribute",e,t)},t.assertJSXSpreadChild=function(e,t){a("JSXSpreadChild",e,t)},t.assertJSXText=function(e,t){a("JSXText",e,t)},t.assertLVal=function(e,t){a("LVal",e,t)},t.assertLabeledStatement=function(e,t){a("LabeledStatement",e,t)},t.assertLiteral=function(e,t){a("Literal",e,t)},t.assertLogicalExpression=function(e,t){a("LogicalExpression",e,t)},t.assertLoop=function(e,t){a("Loop",e,t)},t.assertMemberExpression=function(e,t){a("MemberExpression",e,t)},t.assertMetaProperty=function(e,t){a("MetaProperty",e,t)},t.assertMethod=function(e,t){a("Method",e,t)},t.assertMiscellaneous=function(e,t){a("Miscellaneous",e,t)},t.assertMixedTypeAnnotation=function(e,t){a("MixedTypeAnnotation",e,t)},t.assertModuleDeclaration=function(e,t){(0,i.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),a("ModuleDeclaration",e,t)},t.assertModuleExpression=function(e,t){a("ModuleExpression",e,t)},t.assertModuleSpecifier=function(e,t){a("ModuleSpecifier",e,t)},t.assertNewExpression=function(e,t){a("NewExpression",e,t)},t.assertNoop=function(e,t){a("Noop",e,t)},t.assertNullLiteral=function(e,t){a("NullLiteral",e,t)},t.assertNullLiteralTypeAnnotation=function(e,t){a("NullLiteralTypeAnnotation",e,t)},t.assertNullableTypeAnnotation=function(e,t){a("NullableTypeAnnotation",e,t)},t.assertNumberLiteral=function(e,t){(0,i.default)("assertNumberLiteral","assertNumericLiteral"),a("NumberLiteral",e,t)},t.assertNumberLiteralTypeAnnotation=function(e,t){a("NumberLiteralTypeAnnotation",e,t)},t.assertNumberTypeAnnotation=function(e,t){a("NumberTypeAnnotation",e,t)},t.assertNumericLiteral=function(e,t){a("NumericLiteral",e,t)},t.assertObjectExpression=function(e,t){a("ObjectExpression",e,t)},t.assertObjectMember=function(e,t){a("ObjectMember",e,t)},t.assertObjectMethod=function(e,t){a("ObjectMethod",e,t)},t.assertObjectPattern=function(e,t){a("ObjectPattern",e,t)},t.assertObjectProperty=function(e,t){a("ObjectProperty",e,t)},t.assertObjectTypeAnnotation=function(e,t){a("ObjectTypeAnnotation",e,t)},t.assertObjectTypeCallProperty=function(e,t){a("ObjectTypeCallProperty",e,t)},t.assertObjectTypeIndexer=function(e,t){a("ObjectTypeIndexer",e,t)},t.assertObjectTypeInternalSlot=function(e,t){a("ObjectTypeInternalSlot",e,t)},t.assertObjectTypeProperty=function(e,t){a("ObjectTypeProperty",e,t)},t.assertObjectTypeSpreadProperty=function(e,t){a("ObjectTypeSpreadProperty",e,t)},t.assertOpaqueType=function(e,t){a("OpaqueType",e,t)},t.assertOptionalCallExpression=function(e,t){a("OptionalCallExpression",e,t)},t.assertOptionalIndexedAccessType=function(e,t){a("OptionalIndexedAccessType",e,t)},t.assertOptionalMemberExpression=function(e,t){a("OptionalMemberExpression",e,t)},t.assertParenthesizedExpression=function(e,t){a("ParenthesizedExpression",e,t)},t.assertPattern=function(e,t){a("Pattern",e,t)},t.assertPatternLike=function(e,t){a("PatternLike",e,t)},t.assertPipelineBareFunction=function(e,t){a("PipelineBareFunction",e,t)},t.assertPipelinePrimaryTopicReference=function(e,t){a("PipelinePrimaryTopicReference",e,t)},t.assertPipelineTopicExpression=function(e,t){a("PipelineTopicExpression",e,t)},t.assertPlaceholder=function(e,t){a("Placeholder",e,t)},t.assertPrivate=function(e,t){a("Private",e,t)},t.assertPrivateName=function(e,t){a("PrivateName",e,t)},t.assertProgram=function(e,t){a("Program",e,t)},t.assertProperty=function(e,t){a("Property",e,t)},t.assertPureish=function(e,t){a("Pureish",e,t)},t.assertQualifiedTypeIdentifier=function(e,t){a("QualifiedTypeIdentifier",e,t)},t.assertRecordExpression=function(e,t){a("RecordExpression",e,t)},t.assertRegExpLiteral=function(e,t){a("RegExpLiteral",e,t)},t.assertRegexLiteral=function(e,t){(0,i.default)("assertRegexLiteral","assertRegExpLiteral"),a("RegexLiteral",e,t)},t.assertRestElement=function(e,t){a("RestElement",e,t)},t.assertRestProperty=function(e,t){(0,i.default)("assertRestProperty","assertRestElement"),a("RestProperty",e,t)},t.assertReturnStatement=function(e,t){a("ReturnStatement",e,t)},t.assertScopable=function(e,t){a("Scopable",e,t)},t.assertSequenceExpression=function(e,t){a("SequenceExpression",e,t)},t.assertSpreadElement=function(e,t){a("SpreadElement",e,t)},t.assertSpreadProperty=function(e,t){(0,i.default)("assertSpreadProperty","assertSpreadElement"),a("SpreadProperty",e,t)},t.assertStandardized=function(e,t){a("Standardized",e,t)},t.assertStatement=function(e,t){a("Statement",e,t)},t.assertStaticBlock=function(e,t){a("StaticBlock",e,t)},t.assertStringLiteral=function(e,t){a("StringLiteral",e,t)},t.assertStringLiteralTypeAnnotation=function(e,t){a("StringLiteralTypeAnnotation",e,t)},t.assertStringTypeAnnotation=function(e,t){a("StringTypeAnnotation",e,t)},t.assertSuper=function(e,t){a("Super",e,t)},t.assertSwitchCase=function(e,t){a("SwitchCase",e,t)},t.assertSwitchStatement=function(e,t){a("SwitchStatement",e,t)},t.assertSymbolTypeAnnotation=function(e,t){a("SymbolTypeAnnotation",e,t)},t.assertTSAnyKeyword=function(e,t){a("TSAnyKeyword",e,t)},t.assertTSArrayType=function(e,t){a("TSArrayType",e,t)},t.assertTSAsExpression=function(e,t){a("TSAsExpression",e,t)},t.assertTSBaseType=function(e,t){a("TSBaseType",e,t)},t.assertTSBigIntKeyword=function(e,t){a("TSBigIntKeyword",e,t)},t.assertTSBooleanKeyword=function(e,t){a("TSBooleanKeyword",e,t)},t.assertTSCallSignatureDeclaration=function(e,t){a("TSCallSignatureDeclaration",e,t)},t.assertTSConditionalType=function(e,t){a("TSConditionalType",e,t)},t.assertTSConstructSignatureDeclaration=function(e,t){a("TSConstructSignatureDeclaration",e,t)},t.assertTSConstructorType=function(e,t){a("TSConstructorType",e,t)},t.assertTSDeclareFunction=function(e,t){a("TSDeclareFunction",e,t)},t.assertTSDeclareMethod=function(e,t){a("TSDeclareMethod",e,t)},t.assertTSEntityName=function(e,t){a("TSEntityName",e,t)},t.assertTSEnumBody=function(e,t){a("TSEnumBody",e,t)},t.assertTSEnumDeclaration=function(e,t){a("TSEnumDeclaration",e,t)},t.assertTSEnumMember=function(e,t){a("TSEnumMember",e,t)},t.assertTSExportAssignment=function(e,t){a("TSExportAssignment",e,t)},t.assertTSExpressionWithTypeArguments=function(e,t){a("TSExpressionWithTypeArguments",e,t)},t.assertTSExternalModuleReference=function(e,t){a("TSExternalModuleReference",e,t)},t.assertTSFunctionType=function(e,t){a("TSFunctionType",e,t)},t.assertTSImportEqualsDeclaration=function(e,t){a("TSImportEqualsDeclaration",e,t)},t.assertTSImportType=function(e,t){a("TSImportType",e,t)},t.assertTSIndexSignature=function(e,t){a("TSIndexSignature",e,t)},t.assertTSIndexedAccessType=function(e,t){a("TSIndexedAccessType",e,t)},t.assertTSInferType=function(e,t){a("TSInferType",e,t)},t.assertTSInstantiationExpression=function(e,t){a("TSInstantiationExpression",e,t)},t.assertTSInterfaceBody=function(e,t){a("TSInterfaceBody",e,t)},t.assertTSInterfaceDeclaration=function(e,t){a("TSInterfaceDeclaration",e,t)},t.assertTSIntersectionType=function(e,t){a("TSIntersectionType",e,t)},t.assertTSIntrinsicKeyword=function(e,t){a("TSIntrinsicKeyword",e,t)},t.assertTSLiteralType=function(e,t){a("TSLiteralType",e,t)},t.assertTSMappedType=function(e,t){a("TSMappedType",e,t)},t.assertTSMethodSignature=function(e,t){a("TSMethodSignature",e,t)},t.assertTSModuleBlock=function(e,t){a("TSModuleBlock",e,t)},t.assertTSModuleDeclaration=function(e,t){a("TSModuleDeclaration",e,t)},t.assertTSNamedTupleMember=function(e,t){a("TSNamedTupleMember",e,t)},t.assertTSNamespaceExportDeclaration=function(e,t){a("TSNamespaceExportDeclaration",e,t)},t.assertTSNeverKeyword=function(e,t){a("TSNeverKeyword",e,t)},t.assertTSNonNullExpression=function(e,t){a("TSNonNullExpression",e,t)},t.assertTSNullKeyword=function(e,t){a("TSNullKeyword",e,t)},t.assertTSNumberKeyword=function(e,t){a("TSNumberKeyword",e,t)},t.assertTSObjectKeyword=function(e,t){a("TSObjectKeyword",e,t)},t.assertTSOptionalType=function(e,t){a("TSOptionalType",e,t)},t.assertTSParameterProperty=function(e,t){a("TSParameterProperty",e,t)},t.assertTSParenthesizedType=function(e,t){a("TSParenthesizedType",e,t)},t.assertTSPropertySignature=function(e,t){a("TSPropertySignature",e,t)},t.assertTSQualifiedName=function(e,t){a("TSQualifiedName",e,t)},t.assertTSRestType=function(e,t){a("TSRestType",e,t)},t.assertTSSatisfiesExpression=function(e,t){a("TSSatisfiesExpression",e,t)},t.assertTSStringKeyword=function(e,t){a("TSStringKeyword",e,t)},t.assertTSSymbolKeyword=function(e,t){a("TSSymbolKeyword",e,t)},t.assertTSTemplateLiteralType=function(e,t){a("TSTemplateLiteralType",e,t)},t.assertTSThisType=function(e,t){a("TSThisType",e,t)},t.assertTSTupleType=function(e,t){a("TSTupleType",e,t)},t.assertTSType=function(e,t){a("TSType",e,t)},t.assertTSTypeAliasDeclaration=function(e,t){a("TSTypeAliasDeclaration",e,t)},t.assertTSTypeAnnotation=function(e,t){a("TSTypeAnnotation",e,t)},t.assertTSTypeAssertion=function(e,t){a("TSTypeAssertion",e,t)},t.assertTSTypeElement=function(e,t){a("TSTypeElement",e,t)},t.assertTSTypeLiteral=function(e,t){a("TSTypeLiteral",e,t)},t.assertTSTypeOperator=function(e,t){a("TSTypeOperator",e,t)},t.assertTSTypeParameter=function(e,t){a("TSTypeParameter",e,t)},t.assertTSTypeParameterDeclaration=function(e,t){a("TSTypeParameterDeclaration",e,t)},t.assertTSTypeParameterInstantiation=function(e,t){a("TSTypeParameterInstantiation",e,t)},t.assertTSTypePredicate=function(e,t){a("TSTypePredicate",e,t)},t.assertTSTypeQuery=function(e,t){a("TSTypeQuery",e,t)},t.assertTSTypeReference=function(e,t){a("TSTypeReference",e,t)},t.assertTSUndefinedKeyword=function(e,t){a("TSUndefinedKeyword",e,t)},t.assertTSUnionType=function(e,t){a("TSUnionType",e,t)},t.assertTSUnknownKeyword=function(e,t){a("TSUnknownKeyword",e,t)},t.assertTSVoidKeyword=function(e,t){a("TSVoidKeyword",e,t)},t.assertTaggedTemplateExpression=function(e,t){a("TaggedTemplateExpression",e,t)},t.assertTemplateElement=function(e,t){a("TemplateElement",e,t)},t.assertTemplateLiteral=function(e,t){a("TemplateLiteral",e,t)},t.assertTerminatorless=function(e,t){a("Terminatorless",e,t)},t.assertThisExpression=function(e,t){a("ThisExpression",e,t)},t.assertThisTypeAnnotation=function(e,t){a("ThisTypeAnnotation",e,t)},t.assertThrowStatement=function(e,t){a("ThrowStatement",e,t)},t.assertTopicReference=function(e,t){a("TopicReference",e,t)},t.assertTryStatement=function(e,t){a("TryStatement",e,t)},t.assertTupleExpression=function(e,t){a("TupleExpression",e,t)},t.assertTupleTypeAnnotation=function(e,t){a("TupleTypeAnnotation",e,t)},t.assertTypeAlias=function(e,t){a("TypeAlias",e,t)},t.assertTypeAnnotation=function(e,t){a("TypeAnnotation",e,t)},t.assertTypeCastExpression=function(e,t){a("TypeCastExpression",e,t)},t.assertTypeParameter=function(e,t){a("TypeParameter",e,t)},t.assertTypeParameterDeclaration=function(e,t){a("TypeParameterDeclaration",e,t)},t.assertTypeParameterInstantiation=function(e,t){a("TypeParameterInstantiation",e,t)},t.assertTypeScript=function(e,t){a("TypeScript",e,t)},t.assertTypeofTypeAnnotation=function(e,t){a("TypeofTypeAnnotation",e,t)},t.assertUnaryExpression=function(e,t){a("UnaryExpression",e,t)},t.assertUnaryLike=function(e,t){a("UnaryLike",e,t)},t.assertUnionTypeAnnotation=function(e,t){a("UnionTypeAnnotation",e,t)},t.assertUpdateExpression=function(e,t){a("UpdateExpression",e,t)},t.assertUserWhitespacable=function(e,t){a("UserWhitespacable",e,t)},t.assertV8IntrinsicIdentifier=function(e,t){a("V8IntrinsicIdentifier",e,t)},t.assertVariableDeclaration=function(e,t){a("VariableDeclaration",e,t)},t.assertVariableDeclarator=function(e,t){a("VariableDeclarator",e,t)},t.assertVariance=function(e,t){a("Variance",e,t)},t.assertVoidTypeAnnotation=function(e,t){a("VoidTypeAnnotation",e,t)},t.assertWhile=function(e,t){a("While",e,t)},t.assertWhileStatement=function(e,t){a("WhileStatement",e,t)},t.assertWithStatement=function(e,t){a("WithStatement",e,t)},t.assertYieldExpression=function(e,t){a("YieldExpression",e,t)};var n=r(14814),i=r(9144);function a(e,t,r){if(!(0,n.default)(e,t,r))throw Error(`Expected type "${e}" with option ${JSON.stringify(r)}, but instead got "${t.type}".`)}},16268:(e,t,r)=>{"use strict";r.r(t),r.d(t,{tabTransition:()=>n});let n={type:"spring",stiffness:2e3,damping:80,mass:1}},16684:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hooks=void 0,t.hooks=[function(e,t){if("test"===e.key&&(t.isWhile()||t.isSwitchCase())||"declaration"===e.key&&t.isExportDeclaration()||"body"===e.key&&t.isLabeledStatement()||"declarations"===e.listKey&&t.isVariableDeclaration()&&1===t.node.declarations.length||"expression"===e.key&&t.isExpressionStatement())return t.remove(),!0},function(e,t){if(t.isSequenceExpression()&&1===t.node.expressions.length)return t.replaceWith(t.node.expressions[0]),!0},function(e,t){if(t.isBinary())return"left"===e.key?t.replaceWith(t.node.right):t.replaceWith(t.node.left),!0},function(e,t){if(t.isIfStatement()&&"consequent"===e.key||"body"===e.key&&(t.isLoop()||t.isArrowFunctionExpression()))return e.replaceWith({type:"BlockStatement",body:[]}),!0}]},16830:(e,t,r)=>{"use strict";function n(e){var t=this;this.next=null,this.entry=null,this.finish=function(){var r,n=t,i=e,a=n.entry;for(n.entry=null;a;){var s=a.callback;i.pendingcb--,s(void 0),a=a.next}i.corkedRequestsFree.next=n}}e.exports=E,E.WritableState=S;var i,a,s={deprecate:r(33224)},o=r(77130),l=r(79428).Buffer,u=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},c=r(41658),d=r(97209).getHighWaterMark,p=r(18107).F,h=p.ERR_INVALID_ARG_TYPE,m=p.ERR_METHOD_NOT_IMPLEMENTED,f=p.ERR_MULTIPLE_CALLBACK,y=p.ERR_STREAM_CANNOT_PIPE,g=p.ERR_STREAM_DESTROYED,b=p.ERR_STREAM_NULL_VALUES,w=p.ERR_STREAM_WRITE_AFTER_END,v=p.ERR_UNKNOWN_ENCODING,k=c.errorOrDestroy;function x(){}function S(e,t,a){i=i||r(71184),e=e||{},"boolean"!=typeof a&&(a=t instanceof i),this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=d(this,e,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if("function"!=typeof i)throw new f;if(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t)--r.pendingcb,n?(process.nextTick(i,t),process.nextTick(D,e,r),e._writableState.errorEmitted=!0,k(e,t)):(i(t),e._writableState.errorEmitted=!0,k(e,t),D(e,r));else{var a=C(r)||e.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||A(e,r),n?process.nextTick(_,e,r,a,i):_(e,r,a,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}r(62993)(E,o),S.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t};try{Object.defineProperty(S.prototype,"buffer",{get:s.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}function E(e){var t=this instanceof(i=i||r(71184));if(!t&&!a.call(E,this))return new E(e);this._writableState=new S(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),o.call(this)}function T(e,t,r,n,i,a,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("write")):r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function _(e,t,r,n){var i,a;r||(i=e,0===(a=t).length&&a.needDrain&&(a.needDrain=!1,i.emit("drain"))),t.pendingcb--,n(),D(e,t)}function A(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=Array(t.bufferedRequestCount),a=t.corkedRequestsFree;a.entry=r;for(var s=0,o=!0;r;)i[s]=r,r.isBuf||(o=!1),r=r.next,s+=1;i.allBuffers=o,T(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new n(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,c=r.callback,d=t.objectMode?1:l.length;if(T(e,t,!1,d,l,u,c),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function C(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function P(e,t){e._final(function(r){t.pendingcb--,r&&k(e,r),t.prefinished=!0,e.emit("prefinish"),D(e,t)})}function D(e,t){var r=C(t);if(r&&(t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,process.nextTick(P,e,t))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(a=Function.prototype[Symbol.hasInstance],Object.defineProperty(E,Symbol.hasInstance,{value:function(e){return!!a.call(this,e)||this===E&&e&&e._writableState instanceof S}})):a=function(e){return e instanceof this},E.prototype.pipe=function(){k(this,new y)},E.prototype.write=function(e,t,r){var n,i,a,s,o,c,d,p=this._writableState,m=!1,f=!p.objectMode&&(n=e,l.isBuffer(n)||n instanceof u);return(f&&!l.isBuffer(e)&&(i=e,e=l.from(i)),"function"==typeof t&&(r=t,t=null),f?t="buffer":t||(t=p.defaultEncoding),"function"!=typeof r&&(r=x),p.ending)?(a=r,k(this,s=new w),process.nextTick(a,s)):(f||(o=e,c=r,null===o?d=new b:"string"==typeof o||p.objectMode||(d=new h("chunk",["string","Buffer"],o)),!d||(k(this,d),process.nextTick(c,d),0)))&&(p.pendingcb++,m=function(e,t,r,n,i,a){if(!r){var s,o,u=(s=n,o=i,t.objectMode||!1===t.decodeStrings||"string"!=typeof s||(s=l.from(s,o)),s);n!==u&&(r=!0,i="buffer",n=u)}var c=t.objectMode?1:n.length;t.length+=c;var d=t.length<t.highWaterMark;if(d||(t.needDrain=!0),t.writing||t.corked){var p=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},p?p.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else T(e,t,!1,c,n,i,a);return d}(this,p,f,e,t,r)),m},E.prototype.cork=function(){this._writableState.corked++},E.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||A(this,e))},E.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new v(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(e,t,r){r(new m("_write()"))},E.prototype._writev=null,E.prototype.end=function(e,t,r){var n,i,a,s=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),s.corked&&(s.corked=1,this.uncork()),s.ending||(n=this,i=s,a=r,i.ending=!0,D(n,i),a&&(i.finished?process.nextTick(a):n.once("finish",a)),i.ended=!0,n.writable=!1),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),E.prototype.destroy=c.destroy,E.prototype._undestroy=c.undestroy,E.prototype._destroy=function(e,t){t(e)}},16849:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=!0,r=!1){return l(e,t,r,new Map)};var n=r(29863),i=r(48390);let{hasOwn:a}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function s(e,t,r,n){return e&&"string"==typeof e.type?l(e,t,r,n):e}function o(e,t,r,n){return Array.isArray(e)?e.map(e=>s(e,t,r,n)):s(e,t,r,n)}function l(e,t=!0,r=!1,s){if(!e)return e;let{type:c}=e,d={type:e.type};if((0,i.isIdentifier)(e))d.name=e.name,a(e,"optional")&&"boolean"==typeof e.optional&&(d.optional=e.optional),a(e,"typeAnnotation")&&(d.typeAnnotation=t?o(e.typeAnnotation,!0,r,s):e.typeAnnotation),a(e,"decorators")&&(d.decorators=t?o(e.decorators,!0,r,s):e.decorators);else if(a(n.NODE_FIELDS,c))for(let l of Object.keys(n.NODE_FIELDS[c]))a(e,l)&&(t?d[l]=(0,i.isFile)(e)&&"comments"===l?u(e.comments,t,r,s):o(e[l],!0,r,s):d[l]=e[l]);else throw Error(`Unknown node type: "${c}"`);return a(e,"loc")&&(r?d.loc=null:d.loc=e.loc),a(e,"leadingComments")&&(d.leadingComments=u(e.leadingComments,t,r,s)),a(e,"innerComments")&&(d.innerComments=u(e.innerComments,t,r,s)),a(e,"trailingComments")&&(d.trailingComments=u(e.trailingComments,t,r,s)),a(e,"extra")&&(d.extra=Object.assign({},e.extra)),d}function u(e,t,r,n){return e&&t?e.map(e=>{let t=n.get(e);if(t)return t;let{type:i,value:a,loc:s}=e,o={type:i,value:a,loc:s};return r&&(o.loc=null),n.set(e,o),o}):e}},17161:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(39904),i=r(28373),a=r(86021),s=r(41720),o=r(64073),l=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(s);function u(e,t,r=()=>void 0){if(void 0===e){let e=function(...r){return t(e,...r)};return e}return e>=0?function(...n){return t(u(e-1,t,r),...n)}:r}function c(e,t){let r=0,n=e.length;for(;r<n&&e[r]===t;)++r;for(;n>r&&e[n-1]===t;)--n;return r>0||n<e.length?e.substring(r,n):e}function d(e,t){let r=new Map;for(let n=e.length;n-- >0;){let i=e[n],a=t(i);r.set(a,r.has(a)?l.default(i,r.get(a),{arrayMerge:p}):i)}return[...r.values()].reverse()}let p=(e,t,r)=>[...t];function h(e,t){for(let r of t){if(!e)return;e=e[r]}return e}function m(e,t="a",r=26){let n=[];do n.push((e-=1)%r),e=e/r|0;while(e>0);let i=t.charCodeAt(0);return n.reverse().map(e=>String.fromCharCode(i+e)).join("")}let f=["I","X","C","M"],y=["V","L","D"];function g(e){return[...e+""].map(e=>+e).reverse().map((e,t)=>e%5<4?(e<5?"":y[t])+f[t].repeat(e%5):f[t]+(e<5?y[t]:f[t+1])).reverse().join("")}class b{constructor(e,t){this.lines=[],this.nextLineWords=[],this.maxLineLength=t||e.wordwrap||Number.MAX_VALUE,this.nextLineAvailableChars=this.maxLineLength,this.wrapCharacters=h(e,["longWordSplit","wrapCharacters"])||[],this.forceWrapOnLimit=h(e,["longWordSplit","forceWrapOnLimit"])||!1,this.stashedSpace=!1,this.wordBreakOpportunity=!1}pushWord(e,t=!1){this.nextLineAvailableChars<=0&&!t&&this.startNewLine();let r=0===this.nextLineWords.length,n=e.length+ +!r;if(n<=this.nextLineAvailableChars||t)this.nextLineWords.push(e),this.nextLineAvailableChars-=n;else{let[t,...n]=this.splitLongWord(e);for(let e of(r||this.startNewLine(),this.nextLineWords.push(t),this.nextLineAvailableChars-=t.length,n))this.startNewLine(),this.nextLineWords.push(e),this.nextLineAvailableChars-=e.length}}popWord(){let e=this.nextLineWords.pop();if(void 0!==e){let t=0===this.nextLineWords.length,r=e.length+ +!t;this.nextLineAvailableChars+=r}return e}concatWord(e,t=!1){if(this.wordBreakOpportunity&&e.length>this.nextLineAvailableChars)this.pushWord(e,t),this.wordBreakOpportunity=!1;else{let r=this.popWord();this.pushWord(r?r.concat(e):e,t)}}startNewLine(e=1){this.lines.push(this.nextLineWords),e>1&&this.lines.push(...Array.from({length:e-1},()=>[])),this.nextLineWords=[],this.nextLineAvailableChars=this.maxLineLength}isEmpty(){return 0===this.lines.length&&0===this.nextLineWords.length}clear(){this.lines.length=0,this.nextLineWords.length=0,this.nextLineAvailableChars=this.maxLineLength}toString(){return[...this.lines,this.nextLineWords].map(e=>e.join(" ")).join("\n")}splitLongWord(e){let t=[],r=0;for(;e.length>this.maxLineLength;){let n=e.substring(0,this.maxLineLength),i=e.substring(this.maxLineLength),a=n.lastIndexOf(this.wrapCharacters[r]);if(a>-1)e=n.substring(a+1)+i,t.push(n.substring(0,a+1));else if(++r<this.wrapCharacters.length)e=n+i;else{if(this.forceWrapOnLimit){if(t.push(n),(e=i).length>this.maxLineLength)continue}else e=n+i;break}}return t.push(e),t}}class w{constructor(e=null){this.next=e}getRoot(){return this.next?this.next:this}}class v extends w{constructor(e,t=null,r=1,n){super(t),this.leadingLineBreaks=r,this.inlineTextBuilder=new b(e,n),this.rawText="",this.stashedLineBreaks=0,this.isPre=t&&t.isPre,this.isNoWrap=t&&t.isNoWrap}}class k extends v{constructor(e,t=null,{interRowLineBreaks:r=1,leadingLineBreaks:n=2,maxLineLength:i,maxPrefixLength:a=0,prefixAlign:s="left"}={}){super(e,t,n,i),this.maxPrefixLength=a,this.prefixAlign=s,this.interRowLineBreaks=r}}class x extends v{constructor(e,t=null,{leadingLineBreaks:r=1,maxLineLength:n,prefix:i=""}={}){super(e,t,r,n),this.prefix=i}}class S extends w{constructor(e=null){super(e),this.rows=[],this.isPre=e&&e.isPre,this.isNoWrap=e&&e.isNoWrap}}class E extends w{constructor(e=null){super(e),this.cells=[],this.isPre=e&&e.isPre,this.isNoWrap=e&&e.isNoWrap}}class T extends w{constructor(e,t=null,r){super(t),this.inlineTextBuilder=new b(e,r),this.rawText="",this.stashedLineBreaks=0,this.isPre=t&&t.isPre,this.isNoWrap=t&&t.isNoWrap}}class _ extends w{constructor(e=null,t){super(e),this.transform=t}}class A{constructor(e){this.whitespaceChars=e.preserveNewlines?e.whitespaceCharacters.replace(/\n/g,""):e.whitespaceCharacters;let t=[...this.whitespaceChars].map(e=>"\\u"+e.charCodeAt(0).toString(16).padStart(4,"0")).join("");if(this.leadingWhitespaceRe=RegExp(`^[${t}]`),this.trailingWhitespaceRe=RegExp(`[${t}]$`),this.allWhitespaceOrEmptyRe=RegExp(`^[${t}]*$`),this.newlineOrNonWhitespaceRe=RegExp(`(\\n|[^\\n${t}])`,"g"),this.newlineOrNonNewlineStringRe=RegExp(`(\\n|[^\\n]+)`,"g"),e.preserveNewlines){let e=RegExp(`\\n|[^\\n${t}]+`,"gm");this.shrinkWrapAdd=function(t,r,n=e=>e,i=!1){if(!t)return;let a=r.stashedSpace,s=!1,o=e.exec(t);if(o)for(s=!0,"\n"===o[0]?r.startNewLine():a||this.testLeadingWhitespace(t)?r.pushWord(n(o[0]),i):r.concatWord(n(o[0]),i);null!==(o=e.exec(t));)"\n"===o[0]?r.startNewLine():r.pushWord(n(o[0]),i);r.stashedSpace=a&&!s||this.testTrailingWhitespace(t)}}else{let e=RegExp(`[^${t}]+`,"g");this.shrinkWrapAdd=function(t,r,n=e=>e,i=!1){if(!t)return;let a=r.stashedSpace,s=!1,o=e.exec(t);if(o)for(s=!0,a||this.testLeadingWhitespace(t)?r.pushWord(n(o[0]),i):r.concatWord(n(o[0]),i);null!==(o=e.exec(t));)r.pushWord(n(o[0]),i);r.stashedSpace=a&&!s||this.testTrailingWhitespace(t)}}}addLiteral(e,t,r=!0){if(!e)return;let n=t.stashedSpace,i=!1,a=this.newlineOrNonNewlineStringRe.exec(e);if(a)for(i=!0,"\n"===a[0]?t.startNewLine():n?t.pushWord(a[0],r):t.concatWord(a[0],r);null!==(a=this.newlineOrNonNewlineStringRe.exec(e));)"\n"===a[0]?t.startNewLine():t.pushWord(a[0],r);t.stashedSpace=n&&!i}testLeadingWhitespace(e){return this.leadingWhitespaceRe.test(e)}testTrailingWhitespace(e){return this.trailingWhitespaceRe.test(e)}testContainsWords(e){return!this.allWhitespaceOrEmptyRe.test(e)}countNewlinesNoWords(e){let t;this.newlineOrNonWhitespaceRe.lastIndex=0;let r=0;for(;null!==(t=this.newlineOrNonWhitespaceRe.exec(e));)if("\n"!==t[0])return 0;else r++;return r}}class C{constructor(e,t,r){this.options=e,this.picker=t,this.metadata=r,this.whitespaceProcessor=new A(e),this._stackItem=new v(e),this._wordTransformer=void 0}pushWordTransform(e){this._wordTransformer=new _(this._wordTransformer,e)}popWordTransform(){if(!this._wordTransformer)return;let e=this._wordTransformer.transform;return this._wordTransformer=this._wordTransformer.next,e}startNoWrap(){this._stackItem.isNoWrap=!0}stopNoWrap(){this._stackItem.isNoWrap=!1}_getCombinedWordTransformer(){let e=this._wordTransformer?e=>(function e(t,r){return r?e(r.transform(t),r.next):t})(e,this._wordTransformer):void 0,t=this.options.encodeCharacters;return e?t?r=>t(e(r)):e:t}_popStackItem(){let e=this._stackItem;return this._stackItem=e.next,e}addLineBreak(){(this._stackItem instanceof v||this._stackItem instanceof x||this._stackItem instanceof T)&&(this._stackItem.isPre?this._stackItem.rawText+="\n":this._stackItem.inlineTextBuilder.startNewLine())}addWordBreakOpportunity(){(this._stackItem instanceof v||this._stackItem instanceof x||this._stackItem instanceof T)&&(this._stackItem.inlineTextBuilder.wordBreakOpportunity=!0)}addInline(e,{noWordTransform:t=!1}={}){if(this._stackItem instanceof v||this._stackItem instanceof x||this._stackItem instanceof T){if(this._stackItem.isPre){this._stackItem.rawText+=e;return}if(0!==e.length&&(!this._stackItem.stashedLineBreaks||this.whitespaceProcessor.testContainsWords(e))){if(this.options.preserveNewlines){let t=this.whitespaceProcessor.countNewlinesNoWords(e);if(t>0)return void this._stackItem.inlineTextBuilder.startNewLine(t)}this._stackItem.stashedLineBreaks&&this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks),this.whitespaceProcessor.shrinkWrapAdd(e,this._stackItem.inlineTextBuilder,t?void 0:this._getCombinedWordTransformer(),this._stackItem.isNoWrap),this._stackItem.stashedLineBreaks=0}}}addLiteral(e){if((this._stackItem instanceof v||this._stackItem instanceof x||this._stackItem instanceof T)&&0!==e.length){if(this._stackItem.isPre){this._stackItem.rawText+=e;return}this._stackItem.stashedLineBreaks&&this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks),this.whitespaceProcessor.addLiteral(e,this._stackItem.inlineTextBuilder,this._stackItem.isNoWrap),this._stackItem.stashedLineBreaks=0}}openBlock({leadingLineBreaks:e=1,reservedLineLength:t=0,isPre:r=!1}={}){let n=Math.max(20,this._stackItem.inlineTextBuilder.maxLineLength-t);this._stackItem=new v(this.options,this._stackItem,e,n),r&&(this._stackItem.isPre=!0)}closeBlock({trailingLineBreaks:e=1,blockTransform:t}={}){let r=this._popStackItem(),n=t?t(P(r)):P(r);D(this._stackItem,n,r.leadingLineBreaks,Math.max(r.stashedLineBreaks,e))}openList({maxPrefixLength:e=0,prefixAlign:t="left",interRowLineBreaks:r=1,leadingLineBreaks:n=2}={}){this._stackItem=new k(this.options,this._stackItem,{interRowLineBreaks:r,leadingLineBreaks:n,maxLineLength:this._stackItem.inlineTextBuilder.maxLineLength,maxPrefixLength:e,prefixAlign:t})}openListItem({prefix:e=""}={}){if(!(this._stackItem instanceof k))throw Error("Can't add a list item to something that is not a list! Check the formatter.");let t=this._stackItem,r=Math.max(e.length,t.maxPrefixLength),n=Math.max(20,t.inlineTextBuilder.maxLineLength-r);this._stackItem=new x(this.options,t,{prefix:e,maxLineLength:n,leadingLineBreaks:t.interRowLineBreaks})}closeListItem(){let e=this._popStackItem(),t=e.next,r=Math.max(e.prefix.length,t.maxPrefixLength),n="\n"+" ".repeat(r),i=("right"===t.prefixAlign?e.prefix.padStart(r):e.prefix.padEnd(r))+P(e).replace(/\n/g,n);D(t,i,e.leadingLineBreaks,Math.max(e.stashedLineBreaks,t.interRowLineBreaks))}closeList({trailingLineBreaks:e=2}={}){let t=this._popStackItem(),r=P(t);r&&D(this._stackItem,r,t.leadingLineBreaks,e)}openTable(){this._stackItem=new S(this._stackItem)}openTableRow(){if(!(this._stackItem instanceof S))throw Error("Can't add a table row to something that is not a table! Check the formatter.");this._stackItem=new E(this._stackItem)}openTableCell({maxColumnWidth:e}={}){if(!(this._stackItem instanceof E))throw Error("Can't add a table cell to something that is not a table row! Check the formatter.");this._stackItem=new T(this.options,this._stackItem,e)}closeTableCell({colspan:e=1,rowspan:t=1}={}){let r=this._popStackItem(),n=c(P(r),"\n");r.next.cells.push({colspan:e,rowspan:t,text:n})}closeTableRow(){let e=this._popStackItem();e.next.rows.push(e.cells)}closeTable({tableToString:e,leadingLineBreaks:t=2,trailingLineBreaks:r=2}){let n=e(this._popStackItem().rows);n&&D(this._stackItem,n,t,r)}toString(){return P(this._stackItem.getRoot())}}function P(e){if(!(e instanceof v||e instanceof x||e instanceof T))throw Error("Only blocks, list items and table cells can be requested for text contents.");return e.inlineTextBuilder.isEmpty()?e.rawText:e.rawText+e.inlineTextBuilder.toString()}function D(e,t,r,n){if(!(e instanceof v||e instanceof x||e instanceof T))throw Error("Only blocks, list items and table cells can contain text.");let i=P(e),a=Math.max(e.stashedLineBreaks,r);e.inlineTextBuilder.clear(),i?e.rawText=i+"\n".repeat(a)+t:(e.rawText=t,e.leadingLineBreaks=a),e.stashedLineBreaks=n}function I(e,t,r){if(!t)return;let n=r.options;for(let i of(t.length>n.limits.maxChildNodes&&(t=t.slice(0,n.limits.maxChildNodes)).push({data:n.limits.ellipsis,type:"text"}),t))switch(i.type){case"text":r.addInline(i.data);break;case"tag":{let t=r.picker.pick1(i);(0,n.formatters[t.format])(i,e,r,t.options||{})}}}function O(e){let t=e.attribs&&e.attribs.length?" "+Object.entries(e.attribs).map(([e,t])=>""===t?e:`${e}=${t.replace(/"/g,"&quot;")}`).join(" "):"";return`<${e.name}${t}>`}function N(e){return`</${e.name}>`}var L=Object.freeze({__proto__:null,block:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),t(e.children,r),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},blockHtml:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),r.startNoWrap(),r.addLiteral(o.render(e,{decodeEntities:r.options.decodeEntities})),r.stopNoWrap(),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},blockString:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),r.addLiteral(n.string||""),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},blockTag:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),r.startNoWrap(),r.addLiteral(O(e)),r.stopNoWrap(),t(e.children,r),r.startNoWrap(),r.addLiteral(N(e)),r.stopNoWrap(),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},inline:function(e,t,r,n){t(e.children,r)},inlineHtml:function(e,t,r,n){r.startNoWrap(),r.addLiteral(o.render(e,{decodeEntities:r.options.decodeEntities})),r.stopNoWrap()},inlineString:function(e,t,r,n){r.addLiteral(n.string||"")},inlineSurround:function(e,t,r,n){r.addLiteral(n.prefix||""),t(e.children,r),r.addLiteral(n.suffix||"")},inlineTag:function(e,t,r,n){r.startNoWrap(),r.addLiteral(O(e)),r.stopNoWrap(),t(e.children,r),r.startNoWrap(),r.addLiteral(N(e)),r.stopNoWrap()},skip:function(e,t,r,n){}});function R(e,t){return e[t]||(e[t]=[]),e[t]}function M(e,t){return void 0===e[t]&&(e[t]=0===t?0:1+M(e,t-1)),e[t]}function F(e,t,r,n){e[t+r]=Math.max(M(e,t+r),M(e,t)+n)}function B(e,t){return t?("string"==typeof t[0]?t[0]:"[")+e+("string"==typeof t[1]?t[1]:"]"):e}function j(e,t,r,n,i){let a="function"==typeof t?t(e,n,i):e;return"/"===a[0]&&r?function(e,t){let r=e.length;for(;r>0&&"/"===e[r-1];)--r;return r<e.length?e.substring(0,r):e}(r,0)+a:a}function U(e,t,r,n,i){let a="li"===h(e,["parent","name"]),s=0,o=(e.children||[]).filter(e=>"text"!==e.type||!/^\s*$/.test(e.data)).map(function(e){if("li"!==e.name)return{node:e,prefix:""};let t=a?i().trimStart():i();return t.length>s&&(s=t.length),{node:e,prefix:t}});if(o.length){for(let{node:e,prefix:i}of(r.openList({interRowLineBreaks:1,leadingLineBreaks:a?1:n.leadingLineBreaks||2,maxPrefixLength:s,prefixAlign:"left"}),o))r.openListItem({prefix:i}),t([e],r),r.closeListItem();r.closeList({trailingLineBreaks:a?1:n.trailingLineBreaks||2})}}function $(e,t,r,n){function i(e){let i=+h(e,["attribs","colspan"])||1,a=+h(e,["attribs","rowspan"])||1;r.openTableCell({maxColumnWidth:n.maxColumnWidth}),t(e.children,r),r.closeTableCell({colspan:i,rowspan:a})}r.openTable(),e.children.forEach(function e(t){if("tag"!==t.type)return;let a=!1!==n.uppercaseHeaderCells?e=>{r.pushWordTransform(e=>e.toUpperCase()),i(e),r.popWordTransform()}:i;switch(t.name){case"thead":case"tbody":case"tfoot":case"center":t.children.forEach(e);return;case"tr":for(let e of(r.openTableRow(),t.children))if("tag"===e.type)switch(e.name){case"th":a(e);break;case"td":i(e)}r.closeTableRow()}}),r.closeTable({tableToString:e=>(function(e,t,r){let n=[],i=0,a=e.length,s=[0];for(let r=0;r<a;r++){let a=R(n,r),u=e[r],c=0;for(let e=0;e<u.length;e++){let i=u[e];c=function(e,t=0){for(;e[t];)t++;return t}(a,c);var o=r,l=c;for(let e=0;e<i.rowspan;e++){let t=R(n,o+e);for(let e=0;e<i.colspan;e++)t[l+e]=i}c+=i.colspan,i.lines=i.text.split("\n");let d=i.lines.length;F(s,r,i.rowspan,d+t)}i=a.length>i?a.length:i}!function(e,t){for(let r=0;r<t;r++){let t=R(e,r);for(let n=0;n<r;n++){let i=R(e,n);if(t[n]||i[r]){let e=t[n];t[n]=i[r],i[r]=e}}}}(n,a>i?a:i);let u=[],c=[0];for(let e=0;e<i;e++){let t,i=0,o=Math.min(a,n[e].length);for(;i<o;)if(t=n[e][i]){if(!t.rendered){let n=0;for(let r=0;r<t.lines.length;r++){let a=t.lines[r],o=s[i]+r;u[o]=(u[o]||"").padEnd(c[e])+a,n=a.length>n?a.length:n}F(c,e,t.colspan,n+r),t.rendered=!0}i+=t.rowspan}else{let e=s[i];u[e]=u[e]||"",i++}}return u.join("\n")})(e,n.rowSpacing??0,n.colSpacing??3),leadingLineBreaks:n.leadingLineBreaks,trailingLineBreaks:n.trailingLineBreaks})}var q=Object.freeze({__proto__:null,anchor:function(e,t,r,n){let i=function(){if(n.ignoreHref||!e.attribs||!e.attribs.href)return"";let t=e.attribs.href.replace(/^mailto:/,"");return n.noAnchorUrl&&"#"===t[0]?"":t=j(t,n.pathRewrite,n.baseUrl,r.metadata,e)}();if(i){let a="";r.pushWordTransform(e=>(e&&(a+=e),e)),t(e.children,r),r.popWordTransform(),n.hideLinkHrefIfSameAsText&&i===a||r.addInline(a?" "+B(i,n.linkBrackets):i,{noWordTransform:!0})}else t(e.children,r)},blockquote:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2,reservedLineLength:2}),t(e.children,r),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2,blockTransform:e=>(!1!==n.trimEmptyLines?c(e,"\n"):e).split("\n").map(e=>"> "+e).join("\n")})},dataTable:$,heading:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),!1!==n.uppercase?(r.pushWordTransform(e=>e.toUpperCase()),t(e.children,r),r.popWordTransform()):t(e.children,r),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},horizontalLine:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),r.addInline("-".repeat(n.length||r.options.wordwrap||40)),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},image:function(e,t,r,n){let i=e.attribs||{},a=i.alt?i.alt:"",s=i.src?j(i.src,n.pathRewrite,n.baseUrl,r.metadata,e):"",o=s?a?a+" "+B(s,n.linkBrackets):B(s,n.linkBrackets):a;r.addInline(o,{noWordTransform:!0})},lineBreak:function(e,t,r,n){r.addLineBreak()},orderedList:function(e,t,r,n){let i=Number(e.attribs.start||"1"),a=function(e="1"){switch(e){case"a":return e=>m(e,"a");case"A":return e=>m(e,"A");case"i":return e=>g(e).toLowerCase();case"I":return e=>g(e);default:return e=>e.toString()}}(e.attribs.type);return U(e,t,r,n,()=>" "+a(i++)+". ")},paragraph:function(e,t,r,n){r.openBlock({leadingLineBreaks:n.leadingLineBreaks||2}),t(e.children,r),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},pre:function(e,t,r,n){r.openBlock({isPre:!0,leadingLineBreaks:n.leadingLineBreaks||2}),t(e.children,r),r.closeBlock({trailingLineBreaks:n.trailingLineBreaks||2})},table:function(e,t,r,n){var i,a,s,o;return!function(e,t){if(!0===t)return!0;if(!e)return!1;let{classes:r,ids:n}=function(e){let t=[],r=[];for(let n of e)n.startsWith(".")?t.push(n.substring(1)):n.startsWith("#")&&r.push(n.substring(1));return{classes:t,ids:r}}(t),i=(e.class||"").split(" "),a=(e.id||"").split(" ");return i.some(e=>r.includes(e))||a.some(e=>n.includes(e))}(e.attribs,r.options.tables)?(i=e,a=t,s=r,o=n,void(s.openBlock({leadingLineBreaks:o.leadingLineBreaks}),a(i.children,s),s.closeBlock({trailingLineBreaks:o.trailingLineBreaks}))):$(e,t,r,n)},unorderedList:function(e,t,r,n){let i=n.itemPrefix||" * ";return U(e,t,r,n,()=>i)},wbr:function(e,t,r,n){r.addWordBreakOpportunity()}});let z={baseElements:{selectors:["body"],orderBy:"selectors",returnDomByDefault:!0},decodeEntities:!0,encodeCharacters:{},formatters:{},limits:{ellipsis:"...",maxBaseElements:void 0,maxChildNodes:void 0,maxDepth:void 0,maxInputLength:0x1000000},longWordSplit:{forceWrapOnLimit:!1,wrapCharacters:[]},preserveNewlines:!1,selectors:[{selector:"*",format:"inline"},{selector:"a",format:"anchor",options:{baseUrl:null,hideLinkHrefIfSameAsText:!1,ignoreHref:!1,linkBrackets:["[","]"],noAnchorUrl:!0}},{selector:"article",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"aside",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"blockquote",format:"blockquote",options:{leadingLineBreaks:2,trailingLineBreaks:2,trimEmptyLines:!0}},{selector:"br",format:"lineBreak"},{selector:"div",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"footer",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"form",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"h1",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h2",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h3",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h4",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"h5",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"h6",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"header",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"hr",format:"horizontalLine",options:{leadingLineBreaks:2,length:void 0,trailingLineBreaks:2}},{selector:"img",format:"image",options:{baseUrl:null,linkBrackets:["[","]"]}},{selector:"main",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"nav",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"ol",format:"orderedList",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"p",format:"paragraph",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"pre",format:"pre",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"section",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"table",format:"table",options:{colSpacing:3,leadingLineBreaks:2,maxColumnWidth:60,rowSpacing:0,trailingLineBreaks:2,uppercaseHeaderCells:!0}},{selector:"ul",format:"unorderedList",options:{itemPrefix:" * ",leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"wbr",format:"wbr"}],tables:[],whitespaceCharacters:" \r\n\f​",wordwrap:80},V=(e,t,r)=>[...e,...t],H=(e,t,r)=>[...t],G=(e,t,r)=>e.some(e=>"object"==typeof e)?V(e,t):H(e,t);function W(e={}){return(e=l.default(z,e,{arrayMerge:H,customMerge:e=>"selectors"===e?G:void 0})).formatters=Object.assign({},L,q,e.formatters),e.selectors=d(e.selectors,e=>e.selector),function(e){if(e.tags){let t=Object.entries(e.tags).map(([e,t])=>({...t,selector:e||"*"}));e.selectors.push(...t),e.selectors=d(e.selectors,e=>e.selector)}function t(e,t,r){let n=t.pop();for(let r of t){let t=e[r];t||(t={},e[r]=t),e=t}e[n]=r}if(e.baseElement){let r=e.baseElement;t(e,["baseElements","selectors"],Array.isArray(r)?r:[r])}for(let r of(void 0!==e.returnDomByDefault&&t(e,["baseElements","returnDomByDefault"],e.returnDomByDefault),e.selectors))"anchor"===r.format&&h(r,["options","noLinkBrackets"])&&t(r,["options","linkBrackets"],!1)}(e),function(e={}){let t=e.selectors.filter(e=>!e.format);if(t.length)throw Error("Following selectors have no specified format: "+t.map(e=>`\`${e.selector}\``).join(", "));let r=new a.DecisionTree(e.selectors.map(e=>[e.selector,e])).build(n.hp2Builder);"function"!=typeof e.encodeCharacters&&(e.encodeCharacters=function(e){if(!e||0===Object.keys(e).length)return;let t=Object.entries(e).filter(([,e])=>!1!==e),r=RegExp(t.map(([e])=>`(${[...e][0].replace(/[\s\S]/g,e=>"\\u"+e.charCodeAt().toString(16).padStart(4,"0"))})`).join("|"),"g"),n=t.map(([,e])=>e),i=(e,...t)=>n[t.findIndex(e=>e)];return e=>e.replace(r,i)}(e.encodeCharacters));let s=new a.DecisionTree(e.baseElements.selectors.map((e,t)=>[e,t+1])).build(n.hp2Builder);function o(t){var r=t,n=e,i=s;let a=[];return u(n.limits.maxDepth,function(e,t){for(let r of t=t.slice(0,n.limits.maxChildNodes)){if("tag"!==r.type)continue;let t=i.pick1(r);if(t>0?a.push({selectorIndex:t,element:r}):r.children&&e(r.children),a.length>=n.limits.maxBaseElements)return}})(r),"occurrence"!==n.baseElements.orderBy&&a.sort((e,t)=>e.selectorIndex-t.selectorIndex),n.baseElements.returnDomByDefault&&0===a.length?r:a.map(e=>e.element)}let l=u(e.limits.maxDepth,I,function(t,r){r.addInline(e.limits.ellipsis||"")});return function(t,n){var a=t,s=n,u=e,c=r,d=o,p=l;let h=u.limits.maxInputLength;h&&a&&a.length>h&&(console.warn(`Input length ${a.length} is above allowed limit of ${h}. Truncating without ellipsis.`),a=a.substring(0,h));let m=d(i.parseDocument(a,{decodeEntities:u.decodeEntities}).children),f=new C(u,c,s);return p(m,f),f.toString()}}(e)}function K(e,t={},r){return W(t)(e,r)}t.compile=W,t.convert=K,t.htmlToText=K},17528:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(62503)),i=r(65433);function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=i.PSEUDO,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t.prototype.toString=function(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")},t}(n.default),e.exports=t.default},18107:e=>{"use strict";let t={};function r(e,r,n){n||(n=Error);class i extends n{constructor(e,t,n){super("string"==typeof r?r:r(e,t,n))}}i.prototype.name=n.name,i.prototype.code=e,t[e]=i}function n(e,t){if(!Array.isArray(e))return`of ${t} ${String(e)}`;{let r=e.length;return(e=e.map(e=>String(e)),r>2)?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:2===r?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}}r("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(e,t,r){var i,a,s,o;let l,u;if("string"==typeof t&&(i="not ",t.substr(0,i.length)===i)?(l="must not be",t=t.replace(/^not /,"")):l="must be",a=" argument",(void 0===s||s>e.length)&&(s=e.length),e.substring(s-a.length,s)===a)u=`The ${e} ${l} ${n(t,"type")}`;else{let r=("number"!=typeof o&&(o=0),o+1>e.length||-1===e.indexOf(".",o))?"argument":"property";u=`The "${e}" ${r} ${l} ${n(t,"type")}`}return u+`. Received type ${typeof r}`},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.F=t},18139:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){let l=new WeakMap,u=new WeakMap,c=r||(0,n.validate)(null);return Object.assign((r,...s)=>{if("string"==typeof r){if(s.length>1)throw Error("Unexpected extra params.");return o((0,i.default)(t,r,(0,n.merge)(c,(0,n.validate)(s[0]))))}if(Array.isArray(r)){let e=l.get(r);return e||(e=(0,a.default)(t,r,c),l.set(r,e)),o(e(s))}if("object"==typeof r&&r){if(s.length>0)throw Error("Unexpected extra params.");return e(t,(0,n.merge)(c,(0,n.validate)(r)))}throw Error(`Unexpected template param ${typeof r}`)},{ast:(e,...r)=>{if("string"==typeof e){if(r.length>1)throw Error("Unexpected extra params.");return(0,i.default)(t,e,(0,n.merge)((0,n.merge)(c,(0,n.validate)(r[0])),s))()}if(Array.isArray(e)){let i=u.get(e);return i||(i=(0,a.default)(t,e,(0,n.merge)(c,s)),u.set(e,i)),i(r)()}throw Error(`Unexpected template param ${typeof e}`)}})};var n=r(23050),i=r(24019),a=r(1407);let s=(0,n.validate)({placeholderPattern:!1});function o(e){let t="";try{throw Error()}catch(e){e.stack&&(t=e.stack.split("\n").slice(3).join("\n"))}return r=>{try{return e(r)}catch(e){throw e.stack+=`
31
31
  =============
32
- ${t}`,e}}}},18736:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statements=t.statement=t.smart=t.program=t.expression=t.default=void 0;var n=r(80629),i=r(18139);let a=t.smart=(0,i.default)(n.smart),s=t.statement=(0,i.default)(n.statement),o=t.statements=(0,i.default)(n.statements),l=t.expression=(0,i.default)(n.expression),u=t.program=(0,i.default)(n.program);t.default=Object.assign(a.bind(void 0),{smart:a,statement:s,statements:o,expression:l,program:u,ast:a.ast})},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(48390);function i(e,t,r,a){let s=[].concat(e),o=Object.create(null);for(;s.length;){let e=s.shift();if(!e||a&&((0,n.isAssignmentExpression)(e)||(0,n.isUnaryExpression)(e)||(0,n.isUpdateExpression)(e)))continue;if((0,n.isIdentifier)(e)){t?(o[e.name]=o[e.name]||[]).push(e):o[e.name]=e;continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){(0,n.isDeclaration)(e.declaration)&&s.push(e.declaration);continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e))continue}let l=i.keys[e.type];if(l)for(let t=0;t<l.length;t++){let r=e[l[t]];r&&(Array.isArray(r)?s.push(...r):s.push(r))}}return o}i.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],TSImportEqualsDeclaration:["id"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}},19405:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=a(r(45953)),i=a(r(13849));function a(e){return e&&e.__esModule?e:{default:e}}function s(...e){let[,...t]=(0,i.default)(e[0]);return(0,n.default)([...e,...t])}},19621:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)};var n=r(48390),i=r(94873)},20570:(e,t,r)=>{"use strict";r.r(t),r.d(t,{registerSpinnerAutostopping:()=>s});var n=r(36602),i=r.n(n);let a=new Set;process.on("SIGINT",()=>{a.forEach(e=>{e.isSpinning&&e.stop()})}),process.on("exit",e=>{0!==e&&a.forEach(e=>{e.isSpinning&&e.stopAndPersist({symbol:i().error})})});let s=e=>{a.add(e)}},20657:(e,t,r)=>{"use strict";r.d(t,{o:()=>b,PreviewProvider:()=>w});var n=r(92374),i=r(87744),a=r(14148),s=r(12110),o=r(43518);let l=(0,o.createServerReference)("7fdd0aa11d27911881f072d73afc58a9ee0edf3535",o.callServer,void 0,o.findSourceMapURL,"getEmailPathFromSlug"),u=(0,o.createServerReference)("7f0fdbb231786054d730ee5f04dcc7334523e25b86",o.callServer,void 0,o.findSourceMapURL,"renderEmailByPath");var c=r(35166);let d=e=>{let t=e.split(".");return t.length>1?t.slice(0,-1).join("."):e},p=(e,t)=>h(e.replace(t.relativePath,"").split("/").filter(Boolean),t),h=(e,t)=>{if(1===e.length){let r=d(e[0]);return t.emailFilenames.includes(r)}let r=e.join("/");for(let n of t.subDirectories)if(r.startsWith(n.directoryName)){let t=n.directoryName.split("/").filter(Boolean).length;return h(e.slice(t),n)}return!1};var m=r(13993);let f=(e,t)=>{let[r,n]=(0,a.useState)(t),{emailsDirectoryMetadata:i}=(0,c.J)();return s.Hf||s.m4||(0,m.a)(async t=>{for await(let r of t){let t=r.filename;if(!p(t,i))continue;let a=await l(t),s=await u(a,!0);a===e&&n(s)}}),r},y={},g=(e,t,r)=>((0,a.useEffect)(()=>{"markup"in t?y[e]=t:void 0!==r&&"markup"in r&&void 0===y[e]&&(y[e]=r)},[t,e,r]),"error"in t?y[e]:t),b=(0,a.createContext)(void 0),w=({emailSlug:e,emailPath:t,serverRenderingResult:r,children:a})=>{let o=(0,i.useRouter)(),l=f(t,r),u=g(t,l,r);return s.Hf||s.m4||(0,m.a)(t=>{let r=t.find(t=>t.filename.includes(e));void 0!==r&&"unlink"===r.event&&o.push("/")}),(0,n.jsx)(b.Provider,{value:{emailPath:t,emailSlug:e,renderedEmailMetadata:u,renderingResult:l},children:a})}},20815:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){return e.sort(function(e,t){return e-t})},e.exports=t.default},20924:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(48390),i=r(95285);t.default=function(e,t){let r;if((0,n.isStatement)(e))return e;let a=!1;if((0,n.isClass)(e))a=!0,r="ClassDeclaration";else if((0,n.isFunction)(e))a=!0,r="FunctionDeclaration";else if((0,n.isAssignmentExpression)(e))return(0,i.expressionStatement)(e);if(a&&!e.id&&(r=!1),!r)if(t)return!1;else throw Error(`cannot turn ${e.type} to a statement`);return e.type=r,e}},20958:(e,t,r)=>{"use strict";r.r(t),r.d(t,{setupTailwindContext:()=>s});var n=r(82507),i=r(91540),a=r.n(i);let s=e=>(0,n.createContext)(a()({...e,content:[],corePlugins:{preflight:!1}}))},21175:(e,t,r)=>{"use strict";r.r(t),r.d(t,{runBundledCode:()=>u});var n=r(76760),i=r.n(n),a=r(30714),s=r.n(a),o=r(33192),l=r(53948);let u=(e,t)=>{let n={...global,console,Buffer,AbortSignal,Event,EventTarget,TextDecoder,Request,Response,TextDecoderStream,TextEncoder,TextEncoderStream,ReadableStream,URL,URLSearchParams,Headers,module:{exports:{}},__filename:t,__dirname:i().dirname(t),require:e=>{let t=e;return(e.startsWith("node:")&&(t=t.split(":")[1]),t in l.staticNodeModulesForVM)?l.staticNodeModulesForVM[t]:r(84616)(`${e}`)},process};try{s().runInNewContext(e,n,{filename:t})}catch(e){return(0,o.err)(e)}return(0,o.ok)(n.module.exports)}},21341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{flagEnabled:function(){return l},issueFlagNotices:function(){return c},default:function(){return d}});let n=a(r(76327)),i=a(r(217));function a(e){return e&&e.__esModule?e:{default:e}}let s={optimizeUniversalDefaults:!1,generalizedModifiers:!0,get disableColorOpacityUtilitiesByDefault(){return!1},get relativeContentPathsByDefault(){return!1}},o={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity","disableColorOpacityUtilitiesByDefault","relativeContentPathsByDefault"],experimental:["optimizeUniversalDefaults","generalizedModifiers"]};function l(e,t){var r,n,i,a,l,u;return o.future.includes(t)?"all"===e.future||null!=(i=null!=(n=null==e||null==(r=e.future)?void 0:r[t])?n:s[t])&&i:!!o.experimental.includes(t)&&("all"===e.experimental||null!=(u=null!=(l=null==e||null==(a=e.experimental)?void 0:a[t])?l:s[t])&&u)}function u(e){var t;return"all"===e.experimental?o.experimental:Object.keys(null!=(t=null==e?void 0:e.experimental)?t:{}).filter(t=>o.experimental.includes(t)&&e.experimental[t])}function c(e){if(void 0===process.env.JEST_WORKER_ID&&u(e).length>0){let t=u(e).map(e=>n.default.yellow(e)).join(", ");i.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${t}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}let d=o},21760:(e,t)=>{"use strict";function r(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children,r=t.lastIndexOf(e);r>=0&&t.splice(r,1)}e.next=null,e.prev=null,e.parent=null}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=r,t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var i=t.parent=e.parent;if(i){var a=i.children;a[a.lastIndexOf(e)]=t,e.parent=null}},t.appendChild=function(e,t){if(r(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null},t.append=function(e,t){r(t);var n=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=n,i){if(i.prev=t,n){var a=n.children;a.splice(a.lastIndexOf(i),0,t)}}else n&&n.children.push(t)},t.prependChild=function(e,t){if(r(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var n=e.children[1];n.prev=t,t.next=n}else t.next=null},t.prepend=function(e,t){r(t);var n=e.parent;if(n){var i=n.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},21820:e=>{"use strict";e.exports=require("os")},22227:(e,t)=>{"use strict";function r(e){return 1!==e.values.length?{result:!1,reason:"multiple-values"}:void 0!==e.values[0].raw?{result:!1,reason:"raw-values"}:void 0!==e.values[0].min&&void 0!==e.values[0].max?{result:!1,reason:"min-and-max"}:{result:!0,reason:null}}function n(e,t,n){let a=i(t,e),s=i(n,e),o=r(a),l=r(s);if("multiple-values"===o.reason||"multiple-values"===l.reason)throw Error("Attempted to sort a screen with multiple values. This should never happen. Please open a bug report.");if("raw-values"===o.reason||"raw-values"===l.reason)throw Error("Attempted to sort a screen with raw values. This should never happen. Please open a bug report.");if("min-and-max"===o.reason||"min-and-max"===l.reason)throw Error("Attempted to sort a screen with both min and max values. This should never happen. Please open a bug report.");let{min:u,max:c}=a.values[0],{min:d,max:p}=s.values[0];t.not&&([u,c]=[c,u]),n.not&&([d,p]=[p,d]),u=void 0===u?u:parseFloat(u),c=void 0===c?c:parseFloat(c),d=void 0===d?d:parseFloat(d),p=void 0===p?p:parseFloat(p);let[h,m]="min"===e?[u,d]:[p,c];return h-m}function i(e,t){return"object"==typeof e?e:{name:"arbitrary-screen",values:[{[t]:e}]}}function a({"min-width":e,min:t=e,max:r,raw:n}={}){return{min:t,max:r,raw:n}}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeScreens:function(){return function e(t,r=!0){return Array.isArray(t)?t.map(e=>{if(r&&Array.isArray(e))throw Error("The tuple syntax is not supported for `screens`.");if("string"==typeof e)return{name:e.toString(),not:!1,values:[{min:e,max:void 0}]};let[t,n]=e;return(t=t.toString(),"string"==typeof n)?{name:t,not:!1,values:[{min:n,max:void 0}]}:Array.isArray(n)?{name:t,not:!1,values:n.map(e=>a(e))}:{name:t,not:!1,values:[a(n)]}}):e(Object.entries(null!=t?t:{}),!1)}},isScreenSortable:function(){return r},compareScreens:function(){return n},toScreen:function(){return i}})},22474:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalize:function(){return u},url:function(){return c},number:function(){return d},percentage:function(){return p},length:function(){return h},lineWidth:function(){return f},shadow:function(){return y},color:function(){return g},image:function(){return b},gradient:function(){return v},position:function(){return x},familyName:function(){return S},genericName:function(){return T},absoluteSize:function(){return A},relativeSize:function(){return P}});let n=r(32032),i=r(53182),a=r(31611),s=["min","max","clamp","calc"];function o(e){return s.some(t=>RegExp(`^${t}\\(.*\\)`).test(e))}let l=new Set(["scroll-timeline-name","timeline-scope","view-timeline-name","font-palette","scroll-timeline","animation-timeline","view-timeline"]);function u(e,t=null,r=!0){let n,i,a=t&&l.has(t.property);return e.startsWith("--")&&!a?`var(${e})`:e.includes("url(")?e.split(/(url\(.*?\))/g).filter(Boolean).map(e=>/^url\(.*?\)$/.test(e)?e:u(e,t,!1)).join(""):(e=e.replace(/([^\\])_+/g,(e,t)=>t+" ".repeat(e.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),r&&(e=e.trim()),n=["theme"],i=["min-content","max-content","fit-content","safe-area-inset-top","safe-area-inset-right","safe-area-inset-bottom","safe-area-inset-left","titlebar-area-x","titlebar-area-y","titlebar-area-width","titlebar-area-height","keyboard-inset-top","keyboard-inset-right","keyboard-inset-bottom","keyboard-inset-left","keyboard-inset-width","keyboard-inset-height"],e=e.replace(/(calc|min|max|clamp)\(.+\)/g,e=>{let t="";for(let s=0;s<e.length;s++){function r(t){return t.split("").every((t,r)=>e[s+r]===t)}function a(t){let r=1/0;for(let n of t){let t=e.indexOf(n,s);-1!==t&&t<r&&(r=t)}let n=e.slice(s,r);return s+=n.length-1,n}let o=e[s];if(r("var"))t+=a([")",","]);else if(i.some(e=>r(e))){let e=i.find(e=>r(e));t+=e,s+=e.length-1}else n.some(e=>r(e))?t+=a([")"]):["+","-","*","/"].includes(o)&&!["(","+","-","*","/",","].includes(function(){let e=t.trimEnd();return e[e.length-1]}())?t+=` ${o} `:t+=o}return t.replace(/\s+/g," ")}))}function c(e){return e.startsWith("url(")}function d(e){return!isNaN(Number(e))||o(e)}function p(e){return e.endsWith("%")&&d(e.slice(0,-1))||o(e)}function h(e){return"0"===e||RegExp("^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?(?:cm|mm|Q|in|pc|pt|px|em|ex|ch|rem|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cqw|cqh|cqi|cqb|cqmin|cqmax)$").test(e)||o(e)}let m=new Set(["thin","medium","thick"]);function f(e){return m.has(e)}function y(e){for(let t of(0,i.parseBoxShadowValue)(u(e)))if(!t.valid)return!1;return!0}function g(e){let t=0;return!!(0,a.splitAtTopLevelOnly)(e,"_").every(e=>!!(e=u(e)).startsWith("var(")||null!==(0,n.parseColor)(e,{loose:!0})&&(t++,!0))&&t>0}function b(e){let t=0;return!!(0,a.splitAtTopLevelOnly)(e,",").every(e=>!!(e=u(e)).startsWith("var(")||!!(c(e)||v(e)||["element(","image(","cross-fade(","image-set("].some(t=>e.startsWith(t)))&&(t++,!0))&&t>0}let w=new Set(["conic-gradient","linear-gradient","radial-gradient","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient"]);function v(e){for(let t of(e=u(e),w))if(e.startsWith(`${t}(`))return!0;return!1}let k=new Set(["center","top","right","bottom","left"]);function x(e){let t=0;return!!(0,a.splitAtTopLevelOnly)(e,"_").every(e=>!!(e=u(e)).startsWith("var(")||!!(k.has(e)||h(e)||p(e))&&(t++,!0))&&t>0}function S(e){let t=0;return!!(0,a.splitAtTopLevelOnly)(e,",").every(e=>!!(e=u(e)).startsWith("var(")||!(e.includes(" ")&&!/(['"])([^"']+)\1/g.test(e)||/^\d/g.test(e))&&(t++,!0))&&t>0}let E=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function T(e){return E.has(e)}let _=new Set(["xx-small","x-small","small","medium","large","x-large","x-large","xxx-large"]);function A(e){return _.has(e)}let C=new Set(["larger","smaller"]);function P(e){return C.has(e)}},23050:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=function(e,t){let{placeholderWhitelist:r=e.placeholderWhitelist,placeholderPattern:n=e.placeholderPattern,preserveComments:i=e.preserveComments,syntacticPlaceholders:a=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:r,placeholderPattern:n,preserveComments:i,syntacticPlaceholders:a}},t.normalizeReplacements=function(e){if(Array.isArray(e))return e.reduce((e,t,r)=>(e["$"+r]=t,e),{});if("object"==typeof e||null==e)return e||void 0;throw Error("Template replacements must be an array, object, null, or undefined")},t.validate=function(e){if(null!=e&&"object"!=typeof e)throw Error("Unknown template options.");let t=e||{},{placeholderWhitelist:n,placeholderPattern:i,preserveComments:a,syntacticPlaceholders:s}=t,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(t,r);if(null!=n&&!(n instanceof Set))throw Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(null!=i&&!(i instanceof RegExp)&&!1!==i)throw Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(null!=a&&"boolean"!=typeof a)throw Error("'.preserveComments' must be a boolean, null, or undefined");if(null!=s&&"boolean"!=typeof s)throw Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(!0===s&&(null!=n||null!=i))throw Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:o,placeholderWhitelist:n||void 0,placeholderPattern:null==i?void 0:i,preserveComments:null==a?void 0:a,syntacticPlaceholders:null==s?void 0:s}};let r=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]},23082:(e,t,r)=>{"use strict";function n(e,t,r,n,i,a,s){try{var o=e[a](s),l=o.value}catch(e){r(e);return}o.done?t(l):Promise.resolve(l).then(n,i)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var a=r(18107).F.ERR_INVALID_ARG_TYPE;e.exports=function(e,t,r){if(t&&"function"==typeof t.next)s=t;else if(t&&t[Symbol.asyncIterator])s=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])s=t[Symbol.iterator]();else throw new a("iterable",["Iterable"],t);var s,o=new e(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({objectMode:!0},r)),l=!1;function u(){return c.apply(this,arguments)}function c(){var e;return e=function*(){try{var e=yield s.next(),t=e.value;e.done?o.push(null):o.push((yield t))?u():l=!1}catch(e){o.destroy(e)}},(c=function(){var t=this,r=arguments;return new Promise(function(i,a){var s=e.apply(t,r);function o(e){n(s,i,a,o,l,"next",e)}function l(e){n(s,i,a,o,l,"throw",e)}o(void 0)})}).apply(this,arguments)}return o._read=function(){l||(l=!0,u())},o}},23372:(e,t,r)=>{"use strict";let n=r(66408).Duplex,i=r(62993),a=r(96644);function s(e){if(!(this instanceof s))return new s(e);if("function"==typeof e){this._callback=e;let t=(function(e){this._callback&&(this._callback(e),this._callback=null)}).bind(this);this.on("pipe",function(e){e.on("error",t)}),this.on("unpipe",function(e){e.removeListener("error",t)}),e=null}a._init.call(this,e),n.call(this)}i(s,n),Object.assign(s.prototype,a.prototype),s.prototype._new=function(e){return new s(e)},s.prototype._write=function(e,t,r){this._appendBuffer(e),"function"==typeof r&&r()},s.prototype._read=function(e){if(!this.length)return this.push(null);e=Math.min(e,this.length),this.push(this.slice(0,e)),this.consume(e)},s.prototype.end=function(e){n.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)},s.prototype._destroy=function(e,t){this._bufs.length=0,this.length=0,t(e)},s.prototype._isBufferList=function(e){return e instanceof s||e instanceof a||s.isBufferList(e)},s.isBufferList=a.isBufferList,e.exports=s,e.exports.BufferListStream=s,e.exports.BufferList=a},23391:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=s(r(47816)),i=r(73470),a=s(r(42518));function s(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(){return e.apply(this,arguments)||this}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e);var r,a=t.prototype;return a.qualifiedName=function(e){return this.namespace?this.namespaceString+"|"+e:e},a.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},r=[{key:"namespace",get:function(){return this._namespace},set:function(e){if(!0===e||"*"===e||"&"===e){this._namespace=e,this.raws&&delete this.raws.namespace;return}var t=(0,n.default)(e,{isIdentifier:!0});this._namespace=e,t!==e?((0,i.ensureObject)(this,"raws"),this.raws.namespace=t):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(e){this.namespace=e}},{key:"namespaceString",get:function(){if(!this.namespace)return"";var e=this.stringifyProperty("namespace");return!0===e?"":e}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(a.default),e.exports=t.default},23550:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(35263);function i(e){return(t,r)=>({matched:!0,position:r,value:e})}function a(e,t){return e.matched?{matched:!0,position:e.position,value:t(e.value,e.position)}:e}function s(e,t){return e.matched?t(e):e}function o(e,t){return(r,n)=>a(e(r,n),(e,i)=>t(e,r,n,i))}function l(...e){return(t,r)=>{for(let n of e){let e=n(t,r);if(e.matched)return e}return{matched:!1}}}function u(e,t){return(r,n)=>{let i=e(r,n);return i.matched?i:t(r,n)}}function c(e,t){return(r,n)=>{let i=[],a=!0;do{let s=e(r,n);s.matched&&t(s.value,i.length+1,r,n,s.position)?(i.push(s.value),n=s.position):a=!1}while(a);return{matched:!0,position:n,value:i}}}function d(e){return c(e,()=>!0)}function p(e){return h(e,d(e),(e,t)=>[e,...t])}function h(e,t,r){return(n,i)=>s(e(n,i),e=>a(t(n,e.position),(t,a)=>r(e.value,t,n,i,a)))}function m(e,t){return h(e,t,(e,t)=>t)}function f(e,t,r,n){return(i,o)=>s(e(i,o),e=>s(t(i,e.position),t=>a(r(i,t.position),(r,a)=>n(e.value,t.value,r,i,o,a))))}function y(...e){return(t,r)=>{let n=[],i=r;for(let r of e){let e=r(t,i);if(!e.matched)return{matched:!1};n.push(e.value),i=e.position}return{matched:!0,position:i,value:n}}}function g(...e){return o(y(...e),()=>null)}function b(e){return o(e,e=>e.flatMap(e=>e))}function w(e,t){return h(e,d(m(t,e)),(e,t)=>[e,...t])}function v(e,t){return(r,n)=>{let i=!0,a=e,s=n;do{let e=t(a,r,s)(r,s);e.matched?(a=e.value,s=e.position):i=!1}while(i);return{matched:!0,position:s,value:a}}}function k(e,t,r){return v(e,e=>o(t,(t,n,i,a)=>r(e,t,n,i,a)))}function x(e,t,r){return o(d(e),(e,n,i,a)=>e.reduceRight((e,t)=>r(t,e,n,i,a),t))}function S(e,t){return(r,n)=>s(e(r,n),e=>t(e.value,r,n,e.position)(r,e.position))}function E(e){return(t,r)=>s(e(t,r),e=>({matched:!0,position:r,value:e.value}))}function T(e,t){return t<e.tokens.length?{matched:!1}:{matched:!0,position:t,value:!0}}function _(e,t,r,i=3){let a=e.tokens.length,s=n.clamp(0,t-i,a-i),o=n.clamp(i,t+1+i,a),l=e.tokens.slice(s,o),u=[],c=String(o-1).length+1;t<0&&u.push(`${String(t).padStart(c)} >>`),0<s&&u.push("...".padStart(c+6));for(let e=0;e<l.length;e++){let i=s+e;u.push(`${String(i).padStart(c)} ${i===t?">":" "} ${n.escapeWhitespace(r(l[e]))}`)}return o<a&&u.push("...".padStart(c+6)),a<=t&&u.push(`${String(t).padStart(c)} >>`),u.join("\n")}t.ab=h,t.abc=f,t.action=function(e){return(t,r)=>(e(t,r),{matched:!0,position:r,value:null})},t.ahead=E,t.all=y,t.and=y,t.any=function(e,t){return t<e.tokens.length?{matched:!0,position:t+1,value:e.tokens[t]}:{matched:!1}},t.chain=S,t.chainReduce=v,t.choice=l,t.condition=function(e,t,r){return(n,i)=>e(n,i)?t(n,i):r(n,i)},t.decide=function(e){return(t,r)=>s(e(t,r),e=>e.value(t,e.position))},t.discard=g,t.eitherOr=u,t.emit=i,t.end=T,t.eof=T,t.error=function(e){return(t,r)=>{throw Error(e instanceof Function?e(t,r):e)}},t.fail=function(e,t){return{matched:!1}},t.flatten=function(...e){return b(y(...e))},t.flatten1=b,t.left=function(e,t){return h(e,t,e=>e)},t.leftAssoc1=function(e,t){return S(e,e=>k(e,t,(e,t)=>t(e)))},t.leftAssoc2=function(e,t,r){return S(e,e=>k(e,h(t,r,(e,t)=>[e,t]),(e,[t,r])=>t(e,r)))},t.longest=function(...e){return(t,r)=>{let n;for(let i of e){let e=i(t,r);e.matched&&(!n||n.position<e.position)&&(n=e)}return n||{matched:!1}}},t.lookAhead=E,t.make=function(e){return(t,r)=>({matched:!0,position:r,value:e(t,r)})},t.many=d,t.many1=p,t.map=o,t.map1=function(e,t){return(r,n)=>s(e(r,n),e=>t(e,r,n))},t.match=function(e,t,r){return e({tokens:t,options:r},0).value},t.middle=function(e,t,r){return f(e,t,r,(e,t)=>t)},t.not=function(e){return(t,r)=>e(t,r).matched?{matched:!1}:{matched:!0,position:r,value:!0}},t.of=i,t.option=function(e,t){return(r,n)=>{let i=e(r,n);return i.matched?i:{matched:!0,position:n,value:t}}},t.or=l,t.otherwise=u,t.parse=function(e,t,r,n=JSON.stringify){let i={tokens:t,options:r},a=e(i,0);if(!a.matched)throw Error("No match");if(a.position<i.tokens.length)throw Error(`Partial match. Parsing stopped at:
32
+ ${t}`,e}}}},18736:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statements=t.statement=t.smart=t.program=t.expression=t.default=void 0;var n=r(80629),i=r(18139);let a=t.smart=(0,i.default)(n.smart),s=t.statement=(0,i.default)(n.statement),o=t.statements=(0,i.default)(n.statements),l=t.expression=(0,i.default)(n.expression),u=t.program=(0,i.default)(n.program);t.default=Object.assign(a.bind(void 0),{smart:a,statement:s,statements:o,expression:l,program:u,ast:a.ast})},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(48390);function i(e,t,r,a){let s=[].concat(e),o=Object.create(null);for(;s.length;){let e=s.shift();if(!e||a&&((0,n.isAssignmentExpression)(e)||(0,n.isUnaryExpression)(e)||(0,n.isUpdateExpression)(e)))continue;if((0,n.isIdentifier)(e)){t?(o[e.name]=o[e.name]||[]).push(e):o[e.name]=e;continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){(0,n.isDeclaration)(e.declaration)&&s.push(e.declaration);continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e))continue}let l=i.keys[e.type];if(l)for(let t=0;t<l.length;t++){let r=e[l[t]];r&&(Array.isArray(r)?s.push(...r):s.push(r))}}return o}i.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],TSImportEqualsDeclaration:["id"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}},19405:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=a(r(45953)),i=a(r(13849));function a(e){return e&&e.__esModule?e:{default:e}}function s(...e){let[,...t]=(0,i.default)(e[0]);return(0,n.default)([...e,...t])}},19621:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)};var n=r(48390),i=r(94873)},20570:(e,t,r)=>{"use strict";r.r(t),r.d(t,{registerSpinnerAutostopping:()=>s});var n=r(36602),i=r.n(n);let a=new Set;process.on("SIGINT",()=>{a.forEach(e=>{e.isSpinning&&e.stop()})}),process.on("exit",e=>{0!==e&&a.forEach(e=>{e.isSpinning&&e.stopAndPersist({symbol:i().error})})});let s=e=>{a.add(e)}},20815:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){return e.sort(function(e,t){return e-t})},e.exports=t.default},20924:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(48390),i=r(95285);t.default=function(e,t){let r;if((0,n.isStatement)(e))return e;let a=!1;if((0,n.isClass)(e))a=!0,r="ClassDeclaration";else if((0,n.isFunction)(e))a=!0,r="FunctionDeclaration";else if((0,n.isAssignmentExpression)(e))return(0,i.expressionStatement)(e);if(a&&!e.id&&(r=!1),!r)if(t)return!1;else throw Error(`cannot turn ${e.type} to a statement`);return e.type=r,e}},20958:(e,t,r)=>{"use strict";r.r(t),r.d(t,{setupTailwindContext:()=>s});var n=r(82507),i=r(91540),a=r.n(i);let s=e=>(0,n.createContext)(a()({...e,content:[],corePlugins:{preflight:!1}}))},21175:(e,t,r)=>{"use strict";r.r(t),r.d(t,{runBundledCode:()=>u});var n=r(76760),i=r.n(n),a=r(30714),s=r.n(a),o=r(33192),l=r(53948);let u=(e,t)=>{let n={...global,console,Buffer,AbortSignal,Event,EventTarget,TextDecoder,Request,Response,TextDecoderStream,TextEncoder,TextEncoderStream,ReadableStream,URL,URLSearchParams,Headers,module:{exports:{}},__filename:t,__dirname:i().dirname(t),require:e=>{let t=e;return(e.startsWith("node:")&&(t=t.split(":")[1]),t in l.staticNodeModulesForVM)?l.staticNodeModulesForVM[t]:r(84616)(`${e}`)},process};try{s().runInNewContext(e,n,{filename:t})}catch(e){return(0,o.err)(e)}return(0,o.ok)(n.module.exports)}},21341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{flagEnabled:function(){return l},issueFlagNotices:function(){return c},default:function(){return d}});let n=a(r(76327)),i=a(r(217));function a(e){return e&&e.__esModule?e:{default:e}}let s={optimizeUniversalDefaults:!1,generalizedModifiers:!0,get disableColorOpacityUtilitiesByDefault(){return!1},get relativeContentPathsByDefault(){return!1}},o={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity","disableColorOpacityUtilitiesByDefault","relativeContentPathsByDefault"],experimental:["optimizeUniversalDefaults","generalizedModifiers"]};function l(e,t){var r,n,i,a,l,u;return o.future.includes(t)?"all"===e.future||null!=(i=null!=(n=null==e||null==(r=e.future)?void 0:r[t])?n:s[t])&&i:!!o.experimental.includes(t)&&("all"===e.experimental||null!=(u=null!=(l=null==e||null==(a=e.experimental)?void 0:a[t])?l:s[t])&&u)}function u(e){var t;return"all"===e.experimental?o.experimental:Object.keys(null!=(t=null==e?void 0:e.experimental)?t:{}).filter(t=>o.experimental.includes(t)&&e.experimental[t])}function c(e){if(void 0===process.env.JEST_WORKER_ID&&u(e).length>0){let t=u(e).map(e=>n.default.yellow(e)).join(", ");i.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${t}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}let d=o},21760:(e,t)=>{"use strict";function r(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children,r=t.lastIndexOf(e);r>=0&&t.splice(r,1)}e.next=null,e.prev=null,e.parent=null}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=r,t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var i=t.parent=e.parent;if(i){var a=i.children;a[a.lastIndexOf(e)]=t,e.parent=null}},t.appendChild=function(e,t){if(r(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null},t.append=function(e,t){r(t);var n=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=n,i){if(i.prev=t,n){var a=n.children;a.splice(a.lastIndexOf(i),0,t)}}else n&&n.children.push(t)},t.prependChild=function(e,t){if(r(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var n=e.children[1];n.prev=t,t.next=n}else t.next=null},t.prepend=function(e,t){r(t);var n=e.parent;if(n){var i=n.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},21820:e=>{"use strict";e.exports=require("os")},22227:(e,t)=>{"use strict";function r(e){return 1!==e.values.length?{result:!1,reason:"multiple-values"}:void 0!==e.values[0].raw?{result:!1,reason:"raw-values"}:void 0!==e.values[0].min&&void 0!==e.values[0].max?{result:!1,reason:"min-and-max"}:{result:!0,reason:null}}function n(e,t,n){let a=i(t,e),s=i(n,e),o=r(a),l=r(s);if("multiple-values"===o.reason||"multiple-values"===l.reason)throw Error("Attempted to sort a screen with multiple values. This should never happen. Please open a bug report.");if("raw-values"===o.reason||"raw-values"===l.reason)throw Error("Attempted to sort a screen with raw values. This should never happen. Please open a bug report.");if("min-and-max"===o.reason||"min-and-max"===l.reason)throw Error("Attempted to sort a screen with both min and max values. This should never happen. Please open a bug report.");let{min:u,max:c}=a.values[0],{min:d,max:p}=s.values[0];t.not&&([u,c]=[c,u]),n.not&&([d,p]=[p,d]),u=void 0===u?u:parseFloat(u),c=void 0===c?c:parseFloat(c),d=void 0===d?d:parseFloat(d),p=void 0===p?p:parseFloat(p);let[h,m]="min"===e?[u,d]:[p,c];return h-m}function i(e,t){return"object"==typeof e?e:{name:"arbitrary-screen",values:[{[t]:e}]}}function a({"min-width":e,min:t=e,max:r,raw:n}={}){return{min:t,max:r,raw:n}}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeScreens:function(){return function e(t,r=!0){return Array.isArray(t)?t.map(e=>{if(r&&Array.isArray(e))throw Error("The tuple syntax is not supported for `screens`.");if("string"==typeof e)return{name:e.toString(),not:!1,values:[{min:e,max:void 0}]};let[t,n]=e;return(t=t.toString(),"string"==typeof n)?{name:t,not:!1,values:[{min:n,max:void 0}]}:Array.isArray(n)?{name:t,not:!1,values:n.map(e=>a(e))}:{name:t,not:!1,values:[a(n)]}}):e(Object.entries(null!=t?t:{}),!1)}},isScreenSortable:function(){return r},compareScreens:function(){return n},toScreen:function(){return i}})},22474:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalize:function(){return u},url:function(){return c},number:function(){return d},percentage:function(){return p},length:function(){return h},lineWidth:function(){return f},shadow:function(){return y},color:function(){return g},image:function(){return b},gradient:function(){return v},position:function(){return x},familyName:function(){return S},genericName:function(){return T},absoluteSize:function(){return A},relativeSize:function(){return P}});let n=r(32032),i=r(53182),a=r(31611),s=["min","max","clamp","calc"];function o(e){return s.some(t=>RegExp(`^${t}\\(.*\\)`).test(e))}let l=new Set(["scroll-timeline-name","timeline-scope","view-timeline-name","font-palette","scroll-timeline","animation-timeline","view-timeline"]);function u(e,t=null,r=!0){let n,i,a=t&&l.has(t.property);return e.startsWith("--")&&!a?`var(${e})`:e.includes("url(")?e.split(/(url\(.*?\))/g).filter(Boolean).map(e=>/^url\(.*?\)$/.test(e)?e:u(e,t,!1)).join(""):(e=e.replace(/([^\\])_+/g,(e,t)=>t+" ".repeat(e.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),r&&(e=e.trim()),n=["theme"],i=["min-content","max-content","fit-content","safe-area-inset-top","safe-area-inset-right","safe-area-inset-bottom","safe-area-inset-left","titlebar-area-x","titlebar-area-y","titlebar-area-width","titlebar-area-height","keyboard-inset-top","keyboard-inset-right","keyboard-inset-bottom","keyboard-inset-left","keyboard-inset-width","keyboard-inset-height"],e=e.replace(/(calc|min|max|clamp)\(.+\)/g,e=>{let t="";for(let s=0;s<e.length;s++){function r(t){return t.split("").every((t,r)=>e[s+r]===t)}function a(t){let r=1/0;for(let n of t){let t=e.indexOf(n,s);-1!==t&&t<r&&(r=t)}let n=e.slice(s,r);return s+=n.length-1,n}let o=e[s];if(r("var"))t+=a([")",","]);else if(i.some(e=>r(e))){let e=i.find(e=>r(e));t+=e,s+=e.length-1}else n.some(e=>r(e))?t+=a([")"]):["+","-","*","/"].includes(o)&&!["(","+","-","*","/",","].includes(function(){let e=t.trimEnd();return e[e.length-1]}())?t+=` ${o} `:t+=o}return t.replace(/\s+/g," ")}))}function c(e){return e.startsWith("url(")}function d(e){return!isNaN(Number(e))||o(e)}function p(e){return e.endsWith("%")&&d(e.slice(0,-1))||o(e)}function h(e){return"0"===e||RegExp("^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?(?:cm|mm|Q|in|pc|pt|px|em|ex|ch|rem|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cqw|cqh|cqi|cqb|cqmin|cqmax)$").test(e)||o(e)}let m=new Set(["thin","medium","thick"]);function f(e){return m.has(e)}function y(e){for(let t of(0,i.parseBoxShadowValue)(u(e)))if(!t.valid)return!1;return!0}function g(e){let t=0;return!!(0,a.splitAtTopLevelOnly)(e,"_").every(e=>!!(e=u(e)).startsWith("var(")||null!==(0,n.parseColor)(e,{loose:!0})&&(t++,!0))&&t>0}function b(e){let t=0;return!!(0,a.splitAtTopLevelOnly)(e,",").every(e=>!!(e=u(e)).startsWith("var(")||!!(c(e)||v(e)||["element(","image(","cross-fade(","image-set("].some(t=>e.startsWith(t)))&&(t++,!0))&&t>0}let w=new Set(["conic-gradient","linear-gradient","radial-gradient","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient"]);function v(e){for(let t of(e=u(e),w))if(e.startsWith(`${t}(`))return!0;return!1}let k=new Set(["center","top","right","bottom","left"]);function x(e){let t=0;return!!(0,a.splitAtTopLevelOnly)(e,"_").every(e=>!!(e=u(e)).startsWith("var(")||!!(k.has(e)||h(e)||p(e))&&(t++,!0))&&t>0}function S(e){let t=0;return!!(0,a.splitAtTopLevelOnly)(e,",").every(e=>!!(e=u(e)).startsWith("var(")||!(e.includes(" ")&&!/(['"])([^"']+)\1/g.test(e)||/^\d/g.test(e))&&(t++,!0))&&t>0}let E=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function T(e){return E.has(e)}let _=new Set(["xx-small","x-small","small","medium","large","x-large","x-large","xxx-large"]);function A(e){return _.has(e)}let C=new Set(["larger","smaller"]);function P(e){return C.has(e)}},23050:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=function(e,t){let{placeholderWhitelist:r=e.placeholderWhitelist,placeholderPattern:n=e.placeholderPattern,preserveComments:i=e.preserveComments,syntacticPlaceholders:a=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:r,placeholderPattern:n,preserveComments:i,syntacticPlaceholders:a}},t.normalizeReplacements=function(e){if(Array.isArray(e))return e.reduce((e,t,r)=>(e["$"+r]=t,e),{});if("object"==typeof e||null==e)return e||void 0;throw Error("Template replacements must be an array, object, null, or undefined")},t.validate=function(e){if(null!=e&&"object"!=typeof e)throw Error("Unknown template options.");let t=e||{},{placeholderWhitelist:n,placeholderPattern:i,preserveComments:a,syntacticPlaceholders:s}=t,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(t,r);if(null!=n&&!(n instanceof Set))throw Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(null!=i&&!(i instanceof RegExp)&&!1!==i)throw Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(null!=a&&"boolean"!=typeof a)throw Error("'.preserveComments' must be a boolean, null, or undefined");if(null!=s&&"boolean"!=typeof s)throw Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(!0===s&&(null!=n||null!=i))throw Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:o,placeholderWhitelist:n||void 0,placeholderPattern:null==i?void 0:i,preserveComments:null==a?void 0:a,syntacticPlaceholders:null==s?void 0:s}};let r=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]},23082:(e,t,r)=>{"use strict";function n(e,t,r,n,i,a,s){try{var o=e[a](s),l=o.value}catch(e){r(e);return}o.done?t(l):Promise.resolve(l).then(n,i)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var a=r(18107).F.ERR_INVALID_ARG_TYPE;e.exports=function(e,t,r){if(t&&"function"==typeof t.next)s=t;else if(t&&t[Symbol.asyncIterator])s=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])s=t[Symbol.iterator]();else throw new a("iterable",["Iterable"],t);var s,o=new e(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({objectMode:!0},r)),l=!1;function u(){return c.apply(this,arguments)}function c(){var e;return e=function*(){try{var e=yield s.next(),t=e.value;e.done?o.push(null):o.push((yield t))?u():l=!1}catch(e){o.destroy(e)}},(c=function(){var t=this,r=arguments;return new Promise(function(i,a){var s=e.apply(t,r);function o(e){n(s,i,a,o,l,"next",e)}function l(e){n(s,i,a,o,l,"throw",e)}o(void 0)})}).apply(this,arguments)}return o._read=function(){l||(l=!0,u())},o}},23372:(e,t,r)=>{"use strict";let n=r(66408).Duplex,i=r(62993),a=r(96644);function s(e){if(!(this instanceof s))return new s(e);if("function"==typeof e){this._callback=e;let t=(function(e){this._callback&&(this._callback(e),this._callback=null)}).bind(this);this.on("pipe",function(e){e.on("error",t)}),this.on("unpipe",function(e){e.removeListener("error",t)}),e=null}a._init.call(this,e),n.call(this)}i(s,n),Object.assign(s.prototype,a.prototype),s.prototype._new=function(e){return new s(e)},s.prototype._write=function(e,t,r){this._appendBuffer(e),"function"==typeof r&&r()},s.prototype._read=function(e){if(!this.length)return this.push(null);e=Math.min(e,this.length),this.push(this.slice(0,e)),this.consume(e)},s.prototype.end=function(e){n.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)},s.prototype._destroy=function(e,t){this._bufs.length=0,this.length=0,t(e)},s.prototype._isBufferList=function(e){return e instanceof s||e instanceof a||s.isBufferList(e)},s.isBufferList=a.isBufferList,e.exports=s,e.exports.BufferListStream=s,e.exports.BufferList=a},23391:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=s(r(47816)),i=r(73470),a=s(r(42518));function s(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(){return e.apply(this,arguments)||this}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e);var r,a=t.prototype;return a.qualifiedName=function(e){return this.namespace?this.namespaceString+"|"+e:e},a.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},r=[{key:"namespace",get:function(){return this._namespace},set:function(e){if(!0===e||"*"===e||"&"===e){this._namespace=e,this.raws&&delete this.raws.namespace;return}var t=(0,n.default)(e,{isIdentifier:!0});this._namespace=e,t!==e?((0,i.ensureObject)(this,"raws"),this.raws.namespace=t):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(e){this.namespace=e}},{key:"namespaceString",get:function(){if(!this.namespace)return"";var e=this.stringifyProperty("namespace");return!0===e?"":e}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(a.default),e.exports=t.default},23550:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(35263);function i(e){return(t,r)=>({matched:!0,position:r,value:e})}function a(e,t){return e.matched?{matched:!0,position:e.position,value:t(e.value,e.position)}:e}function s(e,t){return e.matched?t(e):e}function o(e,t){return(r,n)=>a(e(r,n),(e,i)=>t(e,r,n,i))}function l(...e){return(t,r)=>{for(let n of e){let e=n(t,r);if(e.matched)return e}return{matched:!1}}}function u(e,t){return(r,n)=>{let i=e(r,n);return i.matched?i:t(r,n)}}function c(e,t){return(r,n)=>{let i=[],a=!0;do{let s=e(r,n);s.matched&&t(s.value,i.length+1,r,n,s.position)?(i.push(s.value),n=s.position):a=!1}while(a);return{matched:!0,position:n,value:i}}}function d(e){return c(e,()=>!0)}function p(e){return h(e,d(e),(e,t)=>[e,...t])}function h(e,t,r){return(n,i)=>s(e(n,i),e=>a(t(n,e.position),(t,a)=>r(e.value,t,n,i,a)))}function m(e,t){return h(e,t,(e,t)=>t)}function f(e,t,r,n){return(i,o)=>s(e(i,o),e=>s(t(i,e.position),t=>a(r(i,t.position),(r,a)=>n(e.value,t.value,r,i,o,a))))}function y(...e){return(t,r)=>{let n=[],i=r;for(let r of e){let e=r(t,i);if(!e.matched)return{matched:!1};n.push(e.value),i=e.position}return{matched:!0,position:i,value:n}}}function g(...e){return o(y(...e),()=>null)}function b(e){return o(e,e=>e.flatMap(e=>e))}function w(e,t){return h(e,d(m(t,e)),(e,t)=>[e,...t])}function v(e,t){return(r,n)=>{let i=!0,a=e,s=n;do{let e=t(a,r,s)(r,s);e.matched?(a=e.value,s=e.position):i=!1}while(i);return{matched:!0,position:s,value:a}}}function k(e,t,r){return v(e,e=>o(t,(t,n,i,a)=>r(e,t,n,i,a)))}function x(e,t,r){return o(d(e),(e,n,i,a)=>e.reduceRight((e,t)=>r(t,e,n,i,a),t))}function S(e,t){return(r,n)=>s(e(r,n),e=>t(e.value,r,n,e.position)(r,e.position))}function E(e){return(t,r)=>s(e(t,r),e=>({matched:!0,position:r,value:e.value}))}function T(e,t){return t<e.tokens.length?{matched:!1}:{matched:!0,position:t,value:!0}}function _(e,t,r,i=3){let a=e.tokens.length,s=n.clamp(0,t-i,a-i),o=n.clamp(i,t+1+i,a),l=e.tokens.slice(s,o),u=[],c=String(o-1).length+1;t<0&&u.push(`${String(t).padStart(c)} >>`),0<s&&u.push("...".padStart(c+6));for(let e=0;e<l.length;e++){let i=s+e;u.push(`${String(i).padStart(c)} ${i===t?">":" "} ${n.escapeWhitespace(r(l[e]))}`)}return o<a&&u.push("...".padStart(c+6)),a<=t&&u.push(`${String(t).padStart(c)} >>`),u.join("\n")}t.ab=h,t.abc=f,t.action=function(e){return(t,r)=>(e(t,r),{matched:!0,position:r,value:null})},t.ahead=E,t.all=y,t.and=y,t.any=function(e,t){return t<e.tokens.length?{matched:!0,position:t+1,value:e.tokens[t]}:{matched:!1}},t.chain=S,t.chainReduce=v,t.choice=l,t.condition=function(e,t,r){return(n,i)=>e(n,i)?t(n,i):r(n,i)},t.decide=function(e){return(t,r)=>s(e(t,r),e=>e.value(t,e.position))},t.discard=g,t.eitherOr=u,t.emit=i,t.end=T,t.eof=T,t.error=function(e){return(t,r)=>{throw Error(e instanceof Function?e(t,r):e)}},t.fail=function(e,t){return{matched:!1}},t.flatten=function(...e){return b(y(...e))},t.flatten1=b,t.left=function(e,t){return h(e,t,e=>e)},t.leftAssoc1=function(e,t){return S(e,e=>k(e,t,(e,t)=>t(e)))},t.leftAssoc2=function(e,t,r){return S(e,e=>k(e,h(t,r,(e,t)=>[e,t]),(e,[t,r])=>t(e,r)))},t.longest=function(...e){return(t,r)=>{let n;for(let i of e){let e=i(t,r);e.matched&&(!n||n.position<e.position)&&(n=e)}return n||{matched:!1}}},t.lookAhead=E,t.make=function(e){return(t,r)=>({matched:!0,position:r,value:e(t,r)})},t.many=d,t.many1=p,t.map=o,t.map1=function(e,t){return(r,n)=>s(e(r,n),e=>t(e,r,n))},t.match=function(e,t,r){return e({tokens:t,options:r},0).value},t.middle=function(e,t,r){return f(e,t,r,(e,t)=>t)},t.not=function(e){return(t,r)=>e(t,r).matched?{matched:!1}:{matched:!0,position:r,value:!0}},t.of=i,t.option=function(e,t){return(r,n)=>{let i=e(r,n);return i.matched?i:{matched:!0,position:n,value:t}}},t.or=l,t.otherwise=u,t.parse=function(e,t,r,n=JSON.stringify){let i={tokens:t,options:r},a=e(i,0);if(!a.matched)throw Error("No match");if(a.position<i.tokens.length)throw Error(`Partial match. Parsing stopped at:
33
33
  ${_(i,a.position,n)}`);return a.value},t.parserPosition=_,t.peek=function(e,t){return(r,n)=>{let i=e(r,n);return t(i,r,n),i}},t.recursive=function(e){return function(t,r){return e()(t,r)}},t.reduceLeft=k,t.reduceRight=x,t.remainingTokensNumber=function(e,t){return e.tokens.length-t},t.right=m,t.rightAssoc1=function(e,t){return h(x(e,e=>e,(e,t)=>r=>e(t(r))),t,(e,t)=>e(t))},t.rightAssoc2=function(e,t,r){return h(x(h(e,t,(e,t)=>[e,t]),e=>e,([e,t],r)=>n=>t(e,r(n))),r,(e,t)=>e(t))},t.satisfy=function(e){return(t,r)=>r<t.tokens.length&&e(t.tokens[r],t,r)?{matched:!0,position:r+1,value:t.tokens[r]}:{matched:!1}},t.sepBy=function(e,t){return u(w(e,t),i([]))},t.sepBy1=w,t.skip=g,t.some=p,t.start=function(e,t){return 0!==t?{matched:!1}:{matched:!0,position:t,value:!0}},t.takeUntil=function(e,t){return c(e,(e,r,n,i,a)=>!t(e,r,n,i,a))},t.takeUntilP=function(e,t){return c(e,(e,r,n,i)=>!t(n,i).matched)},t.takeWhile=c,t.takeWhileP=function(e,t){return c(e,(e,r,n,i)=>t(n,i).matched)},t.token=function(e,t){return(r,n)=>{let i,a=n;return n<r.tokens.length?void 0!==(i=e(r.tokens[n],r,n))&&a++:t?.(r,n),void 0===i?{matched:!1}:{matched:!0,position:a,value:i}}},t.tryParse=function(e,t,r){let n=e({tokens:t,options:r},0);return n.matched?n.value:void 0}},23598:function(e,t,r){(function(e,t,r){"use strict";function n(e,t){return t&&!t.endsWith("/")&&(t+="/"),r(e,t)}function i(e,t){for(let r=t;r<e.length;r++)if(!function(e){for(let t=1;t<e.length;t++)if(e[t][0]<e[t-1][0])return!1;return!0}(e[r]))return r;return e.length}function a(e,t){return e[0]-t[0]}let s=!1;function o(e,t,r){for(let n=r+1;n<e.length&&e[n][0]===t;r=n++);return r}function l(e,t,r){for(let n=r-1;n>=0&&e[n][0]===t;r=n--);return r}function u(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function c(e,t,r,n){let{lastKey:i,lastNeedle:a,lastIndex:o}=r,l=0,u=e.length-1;if(n===i){if(t===a)return s=-1!==o&&e[o][0]===t,o;t>=a?l=-1===o?0:o:u=o}return r.lastKey=n,r.lastNeedle=t,r.lastIndex=function(e,t,r,n){for(;r<=n;){let i=r+(n-r>>1),a=e[i][0]-t;if(0===a)return s=!0,i;a<0?r=i+1:n=i-1}return s=!1,r-1}(e,t,l,u)}function d(){return{__proto__:null}}function p(e){return"string"==typeof e?JSON.parse(e):e}function h(e,t){for(let r=0;r<t.length;r++)e.push(t[r])}let m="`line` must be greater than 0 (lines start at line 1)",f="`column` must be greater than or equal to 0 (columns start at column 0)";class y{constructor(e,t){let r="string"==typeof e;if(!r&&e._decodedMemo)return e;let s=r?JSON.parse(e):e,{version:o,file:l,names:c,sourceRoot:d,sources:p,sourcesContent:h}=s;this.version=o,this.file=l,this.names=c||[],this.sourceRoot=d,this.sources=p,this.sourcesContent=h,this.ignoreList=s.ignoreList||s.x_google_ignoreList||void 0;let m=n(d||"",function(e){if(!e)return"";let t=e.lastIndexOf("/");return e.slice(0,t+1)}(t));this.resolvedSources=p.map(e=>n(e||"",m));let{mappings:f}=s;"string"==typeof f?(this._encoded=f,this._decoded=void 0):(this._encoded=void 0,this._decoded=function(e,t){let r=i(e,0);if(r===e.length)return e;t||(e=e.slice());for(let s=r;s<e.length;s=i(e,s+1)){var n;e[s]=(n=e[s],t||(n=n.slice()),n.sort(a))}return e}(f,r)),this._decodedMemo=u(),this._bySources=void 0,this._bySourceMemos=void 0}}function g(e){var r;return null!=(r=e._encoded)?r:e._encoded=t.encode(e._decoded)}function b(e){return e._decoded||(e._decoded=t.decode(e._encoded))}function w(e,t){let{sources:r,resolvedSources:n}=e,i=r.indexOf(t);return -1===i&&(i=n.indexOf(t)),i}function v(e,t){let r=new y(k(e,[]),t);return r._decoded=e.mappings,r}function k(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t,ignoreList:e.ignoreList||e.x_google_ignoreList}}function x(e,t,r,n){return{source:e,line:t,column:r,name:n}}function S(e,t){return{line:e,column:t}}function E(e,t,r,n,i){let a=c(e,n,t,r);return(s?a=(-1===i?o:l)(e,n,a):-1===i&&a++,-1===a||a===e.length)?-1:a}function T(e,t,r,n,i,a){if(--r<0)throw Error(m);if(n<0)throw Error(f);let{sources:p,resolvedSources:h}=e,y=p.indexOf(t);if(-1===y&&(y=h.indexOf(t)),-1===y)return a?[]:S(null,null);let g=(e._bySources||(e._bySources=function(e,t){let r=t.map(d);for(let n=0;n<e.length;n++){let i=e[n];for(let e=0;e<i.length;e++){let a=i[e];if(1===a.length)continue;let s=a[1],l=a[2],u=a[3],d=r[s],p=d[l]||(d[l]=[]),h=t[s],m=o(p,u,c(p,u,h,l));h.lastIndex=++m,function(e,t,r){for(let r=e.length;r>t;r--)e[r]=e[r-1];e[t]=r}(p,m,[u,n,a[0]])}}return r}(b(e),e._bySourceMemos=p.map(u))))[y][r];if(null==g)return a?[]:S(null,null);let w=e._bySourceMemos[y];if(a)return function(e,t,r,n,i){let a=E(e,t,r,n,1);if(!s&&-1===i&&a++,-1===a||a===e.length)return[];let u=s?n:e[a][0];s||(a=l(e,u,a));let c=o(e,u,a),d=[];for(;a<=c;a++){let t=e[a];d.push(S(t[1]+1,t[2]))}return d}(g,w,r,n,i);let v=E(g,w,r,n,i);if(-1===v)return S(null,null);let k=g[v];return S(k[1]+1,k[2])}e.AnyMap=function(e,t){let r=p(e);if(!("sections"in r))return new y(r,t);let n=[],i=[],a=[],s=[],o=[];return function e(t,r,n,i,a,s,o,l,u,c,d){let{sections:m}=t;for(let t=0;t<m.length;t++){let{map:f,offset:g}=m[t],w=c,v=d;if(t+1<m.length){let e=m[t+1].offset;(w=Math.min(c,l+e.line))===c?v=Math.min(d,u+e.column):w<c&&(v=u+e.column)}!function(t,r,n,i,a,s,o,l,u,c,d){let m=p(t);if("sections"in m)return e(...arguments);let f=new y(m,r),g=i.length,w=s.length,v=b(f),{resolvedSources:k,sourcesContent:x,ignoreList:S}=f;if(h(i,k),h(s,f.names),x)h(a,x);else for(let e=0;e<k.length;e++)a.push(null);if(S)for(let e=0;e<S.length;e++)o.push(S[e]+g);for(let e=0;e<v.length;e++){let t=l+e;if(t>c)return;let r=function(e,t){for(let r=e.length;r<=t;r++)e[r]=[];return e[t]}(n,t),i=0===e?u:0,a=v[e];for(let e=0;e<a.length;e++){let n=a[e],s=i+n[0];if(t===c&&s>=d)return;if(1===n.length){r.push([s]);continue}let o=g+n[1],l=n[2],u=n[3];r.push(4===n.length?[s,o,l,u]:[s,o,l,u,w+n[4]])}}}(f,r,n,i,a,s,o,l+g.line,u+g.column,w,v)}}(r,t,n,i,a,s,o,0,0,1/0,1/0),v({version:3,file:r.file,names:s,sources:i,sourcesContent:a,mappings:n,ignoreList:o})},e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=-1,e.TraceMap=y,e.allGeneratedPositionsFor=function(e,t){let{source:r,line:n,column:i,bias:a}=t;return T(e,r,n,i,a||-1,!0)},e.decodedMap=function(e){return k(e,b(e))},e.decodedMappings=b,e.eachMapping=function(e,t){let r=b(e),{names:n,resolvedSources:i}=e;for(let e=0;e<r.length;e++){let a=r[e];for(let r=0;r<a.length;r++){let s=a[r],o=e+1,l=s[0],u=null,c=null,d=null,p=null;1!==s.length&&(u=i[s[1]],c=s[2]+1,d=s[3]),5===s.length&&(p=n[s[4]]),t({generatedLine:o,generatedColumn:l,source:u,originalLine:c,originalColumn:d,name:p})}}},e.encodedMap=function(e){return k(e,g(e))},e.encodedMappings=g,e.generatedPositionFor=function(e,t){let{source:r,line:n,column:i,bias:a}=t;return T(e,r,n,i,a||1,!1)},e.isIgnored=function(e,t){let{ignoreList:r}=e;if(null==r)return!1;let n=w(e,t);return -1!==n&&r.includes(n)},e.originalPositionFor=function(e,t){let{line:r,column:n,bias:i}=t;if(--r<0)throw Error(m);if(n<0)throw Error(f);let a=b(e);if(r>=a.length)return x(null,null,null,null);let s=a[r],o=E(s,e._decodedMemo,r,n,i||1);if(-1===o)return x(null,null,null,null);let l=s[o];if(1===l.length)return x(null,null,null,null);let{names:u,resolvedSources:c}=e;return x(c[l[1]],l[2]+1,l[3],5===l.length?u[l[4]]:null)},e.presortedDecodedMap=v,e.sourceContentFor=function(e,t){let{sourcesContent:r}=e;if(null==r)return null;let n=w(e,t);return -1===n?null:r[n]},e.traceSegment=function(e,t,r){let n=b(e);if(t>=n.length)return null;let i=n[t],a=E(i,e._decodedMemo,t,r,1);return -1===a?null:i[a]}})(t,r(86238),r(43461))},23694:(e,t)=>{"use strict";function r(e){for(var t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Map(r([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(r([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(r([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(r([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]))},23729:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=n(r(38514)),a=n(r(7970));class s extends i.default{clone(){return new s(this.rawText,null,void 0,this.rawTagName)}constructor(e,t=null,r,n="!--"){super(t,r),this.rawText=e,this.rawTagName=n,this.nodeType=a.default.COMMENT_NODE}get text(){return this.rawText}toString(){return`<!--${this.rawText}-->`}}t.default=s},23767:e=>{"use strict";e.exports=import("postcss")},23794:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){for(var t="",r=e.indexOf("/*"),n=0;r>=0;){t+=e.slice(n,r);var i=e.indexOf("*/",r+2);if(i<0)return t;n=i+2,r=e.indexOf("/*",n)}return t+e.slice(n)},e.exports=t.default},23825:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"backgroundSize",{enumerable:!0,get:function(){return a}});let n=r(22474),i=r(31611);function a(e){let t=["cover","contain"];return(0,i.splitAtTopLevelOnly)(e,",").every(e=>{let r=(0,i.splitAtTopLevelOnly)(e,"_").filter(Boolean);return!!(1===r.length&&t.includes(r[0]))||(1===r.length||2===r.length)&&r.every(e=>(0,n.length)(e)||(0,n.percentage)(e)||"auto"===e)})}},23987:(e,t,r)=>{var n=r(71045),i=r(49057),a=r(6969).C,s=r(56554),o=r(94867).g;function l(e,t){var r=e;return"string"==typeof e&&(r=n.parseSourceMapInput(e)),null!=r.sections?new h(r,t):new u(r,t)}function u(e,t){var r=e;"string"==typeof e&&(r=n.parseSourceMapInput(e));var i=n.getArg(r,"version"),s=n.getArg(r,"sources"),o=n.getArg(r,"names",[]),l=n.getArg(r,"sourceRoot",null),u=n.getArg(r,"sourcesContent",null),c=n.getArg(r,"mappings"),d=n.getArg(r,"file",null);if(i!=this._version)throw Error("Unsupported version: "+i);l&&(l=n.normalize(l)),s=s.map(String).map(n.normalize).map(function(e){return l&&n.isAbsolute(l)&&n.isAbsolute(e)?n.relative(l,e):e}),this._names=a.fromArray(o.map(String),!0),this._sources=a.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map(function(e){return n.computeSourceURL(l,e,t)}),this.sourceRoot=l,this.sourcesContent=u,this._mappings=c,this._sourceMapURL=t,this.file=d}function c(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}l.fromSourceMap=function(e,t){return u.fromSourceMap(e,t)},l.prototype._version=3,l.prototype.__generatedMappings=null,Object.defineProperty(l.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),l.prototype.__originalMappings=null,Object.defineProperty(l.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),l.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return";"===r||","===r},l.prototype._parseMappings=function(e,t){throw Error("Subclasses must implement _parseMappings")},l.GENERATED_ORDER=1,l.ORIGINAL_ORDER=2,l.GREATEST_LOWER_BOUND=1,l.LEAST_UPPER_BOUND=2,l.prototype.eachMapping=function(e,t,r){switch(r||l.GENERATED_ORDER){case l.GENERATED_ORDER:i=this._generatedMappings;break;case l.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw Error("Unknown order of iteration.")}for(var i,a=this.sourceRoot,s=e.bind(t||null),o=this._names,u=this._sources,c=this._sourceMapURL,d=0,p=i.length;d<p;d++){var h=i[d],m=null===h.source?null:u.at(h.source);null!==m&&(m=n.computeSourceURL(a,m,c)),s({source:m,generatedLine:h.generatedLine,generatedColumn:h.generatedColumn,originalLine:h.originalLine,originalColumn:h.originalColumn,name:null===h.name?null:o.at(h.name)})}},l.prototype.allGeneratedPositionsFor=function(e){var t=n.getArg(e,"line"),r={source:n.getArg(e,"source"),originalLine:t,originalColumn:n.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var a=[],s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(s>=0){var o=this._originalMappings[s];if(void 0===e.column)for(var l=o.originalLine;o&&o.originalLine===l;)a.push({line:n.getArg(o,"generatedLine",null),column:n.getArg(o,"generatedColumn",null),lastColumn:n.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s];else for(var u=o.originalColumn;o&&o.originalLine===t&&o.originalColumn==u;)a.push({line:n.getArg(o,"generatedLine",null),column:n.getArg(o,"generatedColumn",null),lastColumn:n.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s]}return a},t.SourceMapConsumer=l,u.prototype=Object.create(l.prototype),u.prototype.consumer=l,u.prototype._findSourceIndex=function(e){var t,r=e;if(null!=this.sourceRoot&&(r=n.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return -1},u.fromSourceMap=function(e,t){var r=Object.create(u.prototype),i=r._names=a.fromArray(e._names.toArray(),!0),s=r._sources=a.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=t,r._absoluteSources=r._sources.toArray().map(function(e){return n.computeSourceURL(r.sourceRoot,e,t)});for(var l=e._mappings.toArray().slice(),d=r.__generatedMappings=[],p=r.__originalMappings=[],h=0,m=l.length;h<m;h++){var f=l[h],y=new c;y.generatedLine=f.generatedLine,y.generatedColumn=f.generatedColumn,f.source&&(y.source=s.indexOf(f.source),y.originalLine=f.originalLine,y.originalColumn=f.originalColumn,f.name&&(y.name=i.indexOf(f.name)),p.push(y)),d.push(y)}return o(r.__originalMappings,n.compareByOriginalPositions),r},u.prototype._version=3,Object.defineProperty(u.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});let d=n.compareByGeneratedPositionsDeflatedNoLine;function p(e,t){let r=e.length,n=e.length-t;if(!(n<=1))if(2==n){let r=e[t],n=e[t+1];d(r,n)>0&&(e[t]=n,e[t+1]=r)}else if(n<20)for(let n=t;n<r;n++)for(let r=n;r>t;r--){let t=e[r-1],n=e[r];if(0>=d(t,n))break;e[r-1]=n,e[r]=t}else o(e,d,t)}function h(e,t){var r=e;"string"==typeof e&&(r=n.parseSourceMapInput(e));var i=n.getArg(r,"version"),s=n.getArg(r,"sections");if(i!=this._version)throw Error("Unsupported version: "+i);this._sources=new a,this._names=new a;var o={line:-1,column:0};this._sections=s.map(function(e){if(e.url)throw Error("Support for url field in sections not implemented.");var r=n.getArg(e,"offset"),i=n.getArg(r,"line"),a=n.getArg(r,"column");if(i<o.line||i===o.line&&a<o.column)throw Error("Section offsets must be ordered and non-overlapping.");return o=r,{generatedOffset:{generatedLine:i+1,generatedColumn:a+1},consumer:new l(n.getArg(e,"map"),t)}})}u.prototype._parseMappings=function(e,t){var r,i,a,l,u=1,d=0,h=0,m=0,f=0,y=0,g=e.length,b=0,w={},v=[],k=[];let x=0;for(;b<g;)if(";"===e.charAt(b))u++,b++,d=0,p(k,x),x=k.length;else if(","===e.charAt(b))b++;else{for((r=new c).generatedLine=u,a=b;a<g&&!this._charIsMappingSeparator(e,a);a++);for(e.slice(b,a),i=[];b<a;)s.decode(e,b,w),l=w.value,b=w.rest,i.push(l);if(2===i.length)throw Error("Found a source, but no line and column");if(3===i.length)throw Error("Found a source and line, but no column");if(r.generatedColumn=d+i[0],d=r.generatedColumn,i.length>1&&(r.source=f+i[1],f+=i[1],r.originalLine=h+i[2],h=r.originalLine,r.originalLine+=1,r.originalColumn=m+i[3],m=r.originalColumn,i.length>4&&(r.name=y+i[4],y+=i[4])),k.push(r),"number"==typeof r.originalLine){let e=r.source;for(;v.length<=e;)v.push(null);null===v[e]&&(v[e]=[]),v[e].push(r)}}p(k,x),this.__generatedMappings=k;for(var S=0;S<v.length;S++)null!=v[S]&&o(v[S],n.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...v)},u.prototype._findMapping=function(e,t,r,n,a,s){if(e[r]<=0)throw TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[n]<0)throw TypeError("Column must be greater than or equal to 0, got "+e[n]);return i.search(e,t,a,s)},u.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},u.prototype.originalPositionFor=function(e){var t={generatedLine:n.getArg(e,"line"),generatedColumn:n.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",n.compareByGeneratedPositionsDeflated,n.getArg(e,"bias",l.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===t.generatedLine){var a=n.getArg(i,"source",null);null!==a&&(a=this._sources.at(a),a=n.computeSourceURL(this.sourceRoot,a,this._sourceMapURL));var s=n.getArg(i,"name",null);return null!==s&&(s=this._names.at(s)),{source:a,line:n.getArg(i,"originalLine",null),column:n.getArg(i,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}},u.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e})},u.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r,i=this._findSourceIndex(e);if(i>=0)return this.sourcesContent[i];var a=e;if(null!=this.sourceRoot&&(a=n.relative(this.sourceRoot,a)),null!=this.sourceRoot&&(r=n.urlParse(this.sourceRoot))){var s=a.replace(/^file:\/\//,"");if("file"==r.scheme&&this._sources.has(s))return this.sourcesContent[this._sources.indexOf(s)];if((!r.path||"/"==r.path)&&this._sources.has("/"+a))return this.sourcesContent[this._sources.indexOf("/"+a)]}if(t)return null;throw Error('"'+a+'" is not in the SourceMap.')},u.prototype.generatedPositionFor=function(e){var t=n.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:n.getArg(e,"line"),originalColumn:n.getArg(e,"column")},i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,n.getArg(e,"bias",l.GREATEST_LOWER_BOUND));if(i>=0){var a=this._originalMappings[i];if(a.source===r.source)return{line:n.getArg(a,"generatedLine",null),column:n.getArg(a,"generatedColumn",null),lastColumn:n.getArg(a,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},h.prototype=Object.create(l.prototype),h.prototype.constructor=l,h.prototype._version=3,Object.defineProperty(h.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var r=0;r<this._sections[t].consumer.sources.length;r++)e.push(this._sections[t].consumer.sources[r]);return e}}),h.prototype.originalPositionFor=function(e){var t={generatedLine:n.getArg(e,"line"),generatedColumn:n.getArg(e,"column")},r=i.search(t,this._sections,function(e,t){var r=e.generatedLine-t.generatedOffset.generatedLine;return r||e.generatedColumn-t.generatedOffset.generatedColumn}),a=this._sections[r];return a?a.consumer.originalPositionFor({line:t.generatedLine-(a.generatedOffset.generatedLine-1),column:t.generatedColumn-(a.generatedOffset.generatedLine===t.generatedLine?a.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},h.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},h.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var n=this._sections[r].consumer.sourceContentFor(e,!0);if(n||""===n)return n}if(t)return null;throw Error('"'+e+'" is not in the SourceMap.')},h.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(-1!==r.consumer._findSourceIndex(n.getArg(e,"source"))){var i=r.consumer.generatedPositionFor(e);if(i)return{line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},h.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],a=i.consumer._generatedMappings,s=0;s<a.length;s++){var l=a[s],u=i.consumer._sources.at(l.source);null!==u&&(u=n.computeSourceURL(i.consumer.sourceRoot,u,this._sourceMapURL)),this._sources.add(u),u=this._sources.indexOf(u);var c=null;l.name&&(c=i.consumer._names.at(l.name),this._names.add(c),c=this._names.indexOf(c));var d={source:u,generatedLine:l.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:l.generatedColumn+(i.generatedOffset.generatedLine===l.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:l.originalLine,originalColumn:l.originalColumn,name:c};this.__generatedMappings.push(d),"number"==typeof d.originalLine&&this.__originalMappings.push(d)}o(this.__generatedMappings,n.compareByGeneratedPositionsDeflated),o(this.__originalMappings,n.compareByOriginalPositions)}},24019:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){let s;return t=e.code(t),o=>{let l=(0,n.normalizeReplacements)(o);return s||(s=(0,i.default)(e,t,r)),e.unwrap((0,a.default)(s,l))}};var n=r(23050),i=r(67679),a=r(90704)},24107:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){"function"==typeof t&&(t={enter:t});let{enter:i,exit:a}=t;!function e(t,r,i,a,s){let o=n.VISITOR_KEYS[t.type];if(o){for(let n of(r&&r(t,s,a),o)){let o=t[n];if(Array.isArray(o))for(let l=0;l<o.length;l++){let u=o[l];u&&(s.push({node:t,key:n,index:l}),e(u,r,i,a,s),s.pop())}else o&&(s.push({node:t,key:n}),e(o,r,i,a,s),s.pop())}i&&i(t,s,a)}}(e,i,a,r,[])};var n=r(29863)},24226:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatVariantSelector:function(){return d},eliminateIrrelevantSelectors:function(){return h},finalizeSelector:function(){return m},handleMergePseudo:function(){return f}});let n=u(r(12337)),i=u(r(83886)),a=u(r(8605)),s=u(r(81466)),o=r(104),l=r(31611);function u(e){return e&&e.__esModule?e:{default:e}}let c=":merge";function d(e,{context:t,candidate:r}){var i;let o=null!=(i=null==t?void 0:t.tailwindConfig.prefix)?i:"",l=e.map(e=>{let t=(0,n.default)().astSync(e.format);return{...e,ast:e.respectPrefix?(0,s.default)(o,t):t}}),u=n.default.root({nodes:[n.default.selector({nodes:[n.default.className({value:(0,a.default)(r)})]})]});for(let{ast:e}of l)[u,e]=f(u,e),e.walkNesting(e=>e.replaceWith(...u.nodes[0].nodes)),u=e;return u}function p(e){let t=[];for(;e.prev()&&"combinator"!==e.prev().type;)e=e.prev();for(;e&&"combinator"!==e.type;)t.push(e),e=e.next();return t}function h(e,t){let r=!1;e.walk(e=>{if("class"===e.type&&e.value===t)return r=!0,!1}),r||e.remove()}function m(e,t,{context:r,candidate:s,base:u}){var m,f;let y=null!=(f=null==r||null==(m=r.tailwindConfig)?void 0:m.separator)?f:":";u=null!=u?u:(0,l.splitAtTopLevelOnly)(s,y).pop();let g=(0,n.default)().astSync(e);if(g.walkClasses(e=>{e.raws&&e.value.includes(u)&&(e.raws.value=(0,a.default)((0,i.default)(e.raws.value)))}),g.each(e=>h(e,u)),0===g.length)return null;let b=Array.isArray(t)?d(t,{context:r,candidate:s}):t;if(null===b)return g.toString();let w=n.default.comment({value:"/*__simple__*/"}),v=n.default.comment({value:"/*__simple__*/"});return g.walkClasses(e=>{var t;if(e.value!==u)return;let r=e.parent,i=b.nodes[0].nodes;if(1===r.nodes.length)return void e.replaceWith(...i);let a=p(e);for(let e of(r.insertBefore(a[0],w),r.insertAfter(a[a.length-1],v),i))r.insertBefore(a[0],e.clone());e.remove(),a=p(w);let s=r.index(w);r.nodes.splice(s,a.length,...((t=n.default.selector({nodes:a})).sort((e,r)=>"tag"===e.type&&"class"===r.type?-1:"class"===e.type&&"tag"===r.type?1:"class"===e.type&&"pseudo"===r.type&&r.value.startsWith("::")?-1:"pseudo"===e.type&&e.value.startsWith("::")&&"class"===r.type?1:t.index(e)-t.index(r)),t).nodes),w.remove(),v.remove()}),g.walkPseudos(e=>{e.value===c&&e.replaceWith(e.nodes)}),g.each(e=>(0,o.movePseudos)(e)),g.toString()}function f(e,t){let r=[];return e.walkPseudos(e=>{e.value===c&&r.push({pseudo:e,value:e.nodes[0].toString()})}),t.walkPseudos(e=>{if(e.value!==c)return;let t=e.nodes[0].toString(),i=r.find(e=>e.value===t);if(!i)return;let a=[],s=e.next();for(;s&&"combinator"!==s.type;)a.push(s),s=s.next();let o=s;i.pseudo.parent.insertAfter(i.pseudo,n.default.selector({nodes:a.map(e=>e.clone())})),e.remove(),a.forEach(e=>e.remove()),o&&"combinator"===o.type&&o.remove()}),[e,t]}},24301:e=>{var t=function(){"use strict";function e(t,n,i,a){"object"==typeof n&&(i=n.depth,a=n.prototype,n.filter,n=n.circular);var s=[],o=[],l="undefined"!=typeof Buffer;return void 0===n&&(n=!0),void 0===i&&(i=1/0),function t(i,u){if(null===i)return null;if(0==u||"object"!=typeof i)return i;if(e.__isArray(i))c=[];else if(e.__isRegExp(i))c=new RegExp(i.source,r(i)),i.lastIndex&&(c.lastIndex=i.lastIndex);else if(e.__isDate(i))c=new Date(i.getTime());else{if(l&&Buffer.isBuffer(i))return c=Buffer.allocUnsafe?Buffer.allocUnsafe(i.length):new Buffer(i.length),i.copy(c),c;void 0===a?c=Object.create(d=Object.getPrototypeOf(i)):(c=Object.create(a),d=a)}if(n){var c,d,p,h=s.indexOf(i);if(-1!=h)return o[h];s.push(i),o.push(c)}for(var m in i)d&&(p=Object.getOwnPropertyDescriptor(d,m)),p&&null==p.set||(c[m]=t(i[m],u-1));return c}(t,i)}function t(e){return Object.prototype.toString.call(e)}function r(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return e.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},e.__objToStr=t,e.__isDate=function(e){return"object"==typeof e&&"[object Date]"===t(e)},e.__isArray=function(e){return"object"==typeof e&&"[object Array]"===t(e)},e.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===t(e)},e.__getRegExpFlags=r,e}();e.exports&&(e.exports=t)},24467:(e,t,r)=>{"use strict";r.r(t);var n=r(39784);describe("removeFilenameExtension()",()=>{it("should work with a single .",()=>{expect((0,n.removeFilenameExtension)("email-template.tsx")).toBe("email-template")}),it("should work with an example test file",()=>{expect((0,n.removeFilenameExtension)("email-template.spec.tsx")).toBe("email-template.spec")}),it("should do nothing when there is no extension",()=>{expect((0,n.removeFilenameExtension)("email-template")).toBe("email-template")})}),describe("containsEmailTemplate()",()=>{let e={absolutePath:"/fake/path/emails",directoryName:"emails",relativePath:"",emailFilenames:[],subDirectories:[{absolutePath:"/fake/path/emails/magic-links",directoryName:"magic-links",relativePath:"magic-links",emailFilenames:["aws-verify-email","linear-login-code","notion-magic-link","plaid-verify-identity","raycast-magic-link","slack-confirm"],subDirectories:[{absolutePath:"/fake/path/emails/magic-links/resend",directoryName:"resend",emailFilenames:["verify-email"],relativePath:"magic-links/resend",subDirectories:[]}]},{absolutePath:"/fake/path/emails/first/second",directoryName:"first/second",relativePath:"first/second",emailFilenames:["email"],subDirectories:[]},{absolutePath:"/fake/path/emails/newsletters",directoryName:"newsletters",relativePath:"newsletters",emailFilenames:["codepen-challengers","google-play-policy-update","stack-overflow-tips"],subDirectories:[]},{absolutePath:"/fake/path/emails/notifications",directoryName:"notifications",relativePath:"notifications",emailFilenames:["github-access-token","papermark-year-in-review","vercel-invite-user","yelp-recent-login"],subDirectories:[]},{absolutePath:"/fake/path/emails/receipts",directoryName:"receipts",relativePath:"receipts",emailFilenames:["apple-receipt","nike-receipt"],subDirectories:[]},{absolutePath:"/fake/path/emails/reset-password",directoryName:"reset-password",relativePath:"reset-password",emailFilenames:["dropbox-reset-password","twitch-reset-password"],subDirectories:[]},{absolutePath:"/fake/path/emails/reviews",directoryName:"reviews",relativePath:"reviews",emailFilenames:["airbnb-review","amazon-review"],subDirectories:[]},{absolutePath:"/fake/path/emails/welcome",directoryName:"welcome",relativePath:"welcome",emailFilenames:["koala-welcome","netlify-welcome","stripe-welcome"],subDirectories:[]}]};it("should work with collapsed email directory",()=>{expect((0,n.containsEmailTemplate)("first/second/email",e)).toBe(!0)}),it("should work with email inside a single sub directory",()=>{expect((0,n.containsEmailTemplate)("welcome/koala-welcome",e)).toBe(!0),expect((0,n.containsEmailTemplate)("welcome/missing-template",e)).toBe(!1)}),it("should work with email inside a second sub directory",()=>{expect((0,n.containsEmailTemplate)("magic-links/resend/verify-email",e)).toBe(!0),expect((0,n.containsEmailTemplate)("magic-links/resend/missing-template",e)).toBe(!1)})})},24748:(e,t)=>{"use strict";function r(e){if("0"==(e=`${e}`))return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(e))return e.replace(/^[+-]?/,e=>"-"===e?"":"-");for(let t of["var","calc","min","max","clamp"])if(e.includes(`${t}(`))return`calc(${e} * -1)`}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},24864:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyImportantSelector",{enumerable:!0,get:function(){return a}});let n=function(e){return e&&e.__esModule?e:{default:e}}(r(12337)),i=r(104);function a(e,t){let r=(0,n.default)().astSync(e);return r.each(e=>{"pseudo"===e.nodes[0].type&&":is"===e.nodes[0].value&&e.nodes.every(e=>"combinator"!==e.type)||(e.nodes=[n.default.pseudo({value:":is",nodes:[e.clone()]})]),(0,i.movePseudos)(e)}),`${t} ${r.toString()}`}},25275:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=o(r(47816)),i=r(73470),a=o(r(42518)),s=r(65433);function o(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){var t;function r(t){var r;return(r=e.call(this,t)||this).type=s.CLASS,r._constructed=!0,r}return r.prototype=Object.create(e.prototype),r.prototype.constructor=r,l(r,e),r.prototype.valueToString=function(){return"."+e.prototype.valueToString.call(this)},t=[{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=(0,n.default)(e,{isIdentifier:!0});t!==e?((0,i.ensureObject)(this,"raws"),this.raws.value=t):this.raws&&delete this.raws.value}this._value=e}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(a.default),e.exports=t.default},25282:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.environmentVisitor=function(e){return y([k,e])},t.explode=h,t.isExplodedVisitor=p,t.merge=y,t.verify=m;var n=r(89886),i=r(68965),a=r(40838),s=r(43278);let{DEPRECATED_KEYS:o,DEPRECATED_ALIASES:l,FLIPPED_ALIAS_KEYS:u,TYPES:c,__internal__deprecationWarning:d}=a;function p(e){return null==e?void 0:e._exploded}function h(e){if(p(e))return e;for(let t of(e._exploded=!0,Object.keys(e))){if(w(t))continue;let r=t.split("|");if(1===r.length)continue;let n=e[t];for(let i of(delete e[t],r))e[i]=n}for(let t of(m(e),delete e.__esModule,function(e){for(let t of Object.keys(e)){if(w(t))continue;let r=e[t];"function"==typeof r&&(e[t]={enter:r})}}(e),b(e),Object.keys(e))){if(w(t)||!(t in n))continue;let r=e[t];for(let e of Object.keys(r))r[e]=function(e,t){let r=i[`is${e}`],n=function(e){if(r.call(e))return t.apply(this,arguments)};return n.toString=()=>t.toString(),n}(t,r[e]);delete e[t];let a=n[t];if(null!==a)for(let t of a)e[t]?v(e[t],r):e[t]=r;else v(e,r)}for(let t of Object.keys(e)){if(w(t))continue;let r=u[t];if(t in o){let e=o[t];d(t,e,"Visitor "),r=[e]}else if(t in l){let e=l[t];d(t,e,"Visitor "),r=u[e]}if(!r)continue;let n=e[t];for(let i of(delete e[t],r)){let t=e[i];t?v(t,n):e[i]=Object.assign({},n)}}for(let t of Object.keys(e))w(t)||b(e[t]);return e}function m(e){if(!e._verified){if("function"==typeof e)throw Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(let t of Object.keys(e)){if(("enter"===t||"exit"===t)&&f(t,e[t]),w(t))continue;if(!c.includes(t))throw Error(`You gave us a visitor for the node type ${t} but it's not a valid type in @babel/traverse 7.27.0`);let r=e[t];if("object"==typeof r)for(let e of Object.keys(r))if("enter"===e||"exit"===e)f(`${t}.${e}`,r[e]);else throw Error(`You passed \`traverse()\` a visitor object with the property ${t} that has the invalid property ${e}`)}e._verified=!0}}function f(e,t){for(let r of[].concat(t))if("function"!=typeof r)throw TypeError(`Non-function found defined in ${e} with type ${typeof r}`)}function y(e,t=[],r){let n={_verified:!0,_exploded:!0};Object.defineProperty(n,"_exploded",{enumerable:!1}),Object.defineProperty(n,"_verified",{enumerable:!1});for(let i=0;i<e.length;i++){let a=h(e[i]),s=t[i],o=a;for(let e of((s||r)&&(o=g(o,s,r)),v(n,o),Object.keys(a))){if(w(e))continue;let t=a[e];(s||r)&&(t=g(t,s,r)),v(n[e]||(n[e]={}),t)}}return n}function g(e,t,r){let n={};for(let i of["enter","exit"]){let a=e[i];Array.isArray(a)&&(a=a.map(function(e){let n=e;return t&&(n=function(r){e.call(t,r,t)}),r&&(n=r(null==t?void 0:t.key,i,n)),n!==e&&(n.toString=()=>e.toString()),n}),n[i]=a)}return n}function b(e){e.enter&&!Array.isArray(e.enter)&&(e.enter=[e.enter]),e.exit&&!Array.isArray(e.exit)&&(e.exit=[e.exit])}function w(e){return"_"===e[0]||"enter"===e||"exit"===e||"shouldSkip"===e||"denylist"===e||"noScope"===e||"skipKeys"===e||"blacklist"===e||!1}function v(e,t){for(let r of["enter","exit"])t[r]&&(e[r]=[].concat(e[r]||[],t[r]))}let k={FunctionParent(e){!e.isArrowFunctionExpression()&&(e.skip(),e.isMethod()&&(e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():s.requeueComputedKeyAndDecorators.call(e)))},Property(e){e.isObjectProperty()||(e.skip(),e.requeueComputedKeyAndDecorators?e.requeueComputedKeyAndDecorators():s.requeueComputedKeyAndDecorators.call(e))}}},25283:(e,t,r)=>{"use strict";function n(e){return/^[a-zA-Z]\(\)$/.test(e.trim())?[e.replace("()","")]:/^(?:[^(),]+?\(\),?)*$/.test(e.trim())?e.split(/\s*,\s*/).map(e=>e.replace("()","")):/^CSS [a-z]+\(\) function$/.test(e.trim())?[e.replace("CSS ","").replace(" function","").replace("()","")]:[]}r.r(t),r.d(t,{getCssFunctions:()=>n})},25291:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addComment=function(e,t,r){n(this.node,e,t,r)},t.addComments=function(e,t){i(this.node,e,t)},t.shareCommentsWithSiblings=function(){if("string"==typeof this.key)return;let e=this.node;if(!e)return;let t=e.trailingComments,r=e.leadingComments;if(!t&&!r)return;let n=this.getSibling(this.key-1),i=this.getSibling(this.key+1),s=!!n.node,o=!!i.node;s&&(r&&n.addComments("trailing",a(r,n.node.trailingComments)),t&&!o&&n.addComments("trailing",t)),o&&(t&&i.addComments("leading",a(t,i.node.leadingComments)),r&&!s&&i.addComments("leading",r))};let{addComment:n,addComments:i}=r(40838);function a(e,t){if(!(null!=t&&t.length))return e;let r=new Set(t);return e.filter(e=>!r.has(e))}},25860:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addDeprecatedGenerators=function(e){Object.assign(e.prototype,{Noop(){},TSExpressionWithTypeArguments(e){this.print(e.expression),this.print(e.typeParameters)},DecimalLiteral(e){let t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.word(t);this.word(e.value+"m")}})}},25925:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=[].concat(e),r=Object.create(null);for(;t.length;){let e=t.pop();if(e)switch(e.type){case"ArrayPattern":t.push(...e.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":t.push(e.left);break;case"ObjectPattern":t.push(...e.properties);break;case"ObjectProperty":t.push(e.value);break;case"RestElement":case"UpdateExpression":t.push(e.argument);break;case"UnaryExpression":"delete"===e.operator&&t.push(e.argument);break;case"Identifier":r[e.name]=e}}return r}},26159:(e,t)=>{"use strict";t.__esModule=!0,t.word=t.tilde=t.tab=t.str=t.space=t.slash=t.singleQuote=t.semicolon=t.plus=t.pipe=t.openSquare=t.openParenthesis=t.newline=t.greaterThan=t.feed=t.equals=t.doubleQuote=t.dollar=t.cr=t.comment=t.comma=t.combinator=t.colon=t.closeSquare=t.closeParenthesis=t.caret=t.bang=t.backslash=t.at=t.asterisk=t.ampersand=void 0,t.ampersand=38,t.asterisk=42,t.at=64,t.comma=44,t.colon=58,t.semicolon=59,t.openParenthesis=40,t.closeParenthesis=41,t.openSquare=91,t.closeSquare=93,t.dollar=36,t.tilde=126,t.caret=94,t.plus=43,t.equals=61,t.pipe=124,t.greaterThan=62,t.space=32,t.singleQuote=39,t.doubleQuote=34,t.slash=47,t.bang=33,t.backslash=92,t.cr=13,t.feed=12,t.newline=10,t.tab=9,t.str=39,t.comment=-1,t.word=-2,t.combinator=-3},26164:(e,t,r)=>{let n=r(51572),i=r(48513);e.exports={objectify:n,parse:i,async:r(32648),sync:r(85377)}},26358:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(84937),i=r(95285);t.default=function e(t){if(void 0===t)return(0,i.identifier)("undefined");if(!0===t||!1===t)return(0,i.booleanLiteral)(t);if(null===t)return(0,i.nullLiteral)();if("string"==typeof t)return(0,i.stringLiteral)(t);if("number"==typeof t){let e;if(Number.isFinite(t))e=(0,i.numericLiteral)(Math.abs(t));else{let r;r=Number.isNaN(t)?(0,i.numericLiteral)(0):(0,i.numericLiteral)(1),e=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}return(t<0||Object.is(t,-0))&&(e=(0,i.unaryExpression)("-",e)),e}if("bigint"==typeof t)return(0,i.bigIntLiteral)(t.toString());if("[object RegExp]"===a(t)){let e=t.source,r=/\/([a-z]*)$/.exec(t.toString())[1];return(0,i.regExpLiteral)(e,r)}if(Array.isArray(t))return(0,i.arrayExpression)(t.map(e));if(function(e){if("object"!=typeof e||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}(t)){let r=[];for(let a of Object.keys(t)){let s,o=!1;(0,n.default)(a)?"__proto__"===a?(o=!0,s=(0,i.stringLiteral)(a)):s=(0,i.identifier)(a):s=(0,i.stringLiteral)(a),r.push((0,i.objectProperty)(s,e(t[a]),o))}return(0,i.objectExpression)(r)}throw Error("don't know how to turn this value into a node")};let a=Function.call.bind(Object.prototype.toString)},26432:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(95285);t.default=function(e){switch(e){case"string":return(0,n.stringTypeAnnotation)();case"number":return(0,n.numberTypeAnnotation)();case"undefined":return(0,n.voidTypeAnnotation)();case"boolean":return(0,n.booleanTypeAnnotation)();case"function":return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"));case"object":return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"));case"symbol":return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"));case"bigint":return(0,n.anyTypeAnnotation)()}throw Error("Invalid typeof value: "+e)}},26497:e=>{!function(t){var r;e.exports=(r=t()).default||r}(function(){"use strict";var e=Object.defineProperty,t=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,i=e=>{throw TypeError(e)},a=(t,r,n)=>r in t?e(t,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[r]=n,s=(t,r)=>{for(var n in r)e(t,n,{get:r[n],enumerable:!0})},o=(e,t,r)=>a(e,"symbol"!=typeof t?t+"":t,r),l=(e,t,r)=>t.has(e)||i("Cannot "+r),u=(e,t,r)=>(l(e,t,"read from private field"),r?r.call(e):t.get(e)),c=(e,t,r)=>t.has(e)?i("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),d=(e,t,r,n)=>(l(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),p={};s(p,{languages:()=>tJ,options:()=>t0,parsers:()=>t2,printers:()=>nS});var h=(e,t,r,n)=>{if(!(e&&null==t))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},m="string",f="array",y="cursor",g="indent",b="align",w="trim",v="group",k="fill",x="if-break",S="indent-if-break",E="line-suffix",T="line-suffix-boundary",_="line",A="label",C="break-parent",P=new Set([y,g,b,w,v,k,x,S,E,T,_,A,C]),D=(e,t,r)=>{if(!(e&&null==t))return Array.isArray(t)||"string"==typeof t?t[r<0?t.length+r:r]:t.at(r)},I=function(e){if("string"==typeof e)return m;if(Array.isArray(e))return f;if(!e)return;let{type:t}=e;if(P.has(t))return t},O=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),N=class extends Error{name="InvalidDocError";constructor(e){super(function(e){let t=null===e?"null":typeof e;if("string"!==t&&"object"!==t)return`Unexpected doc '${t}',
34
34
  Expected it to be 'string' or 'object'.`;if(I(e))throw Error("doc is valid.");let r=Object.prototype.toString.call(e);if("[object Object]"!==r)return`Unexpected doc '${r}'.`;let n=O([...P].map(e=>`'${e}'`));return`Unexpected doc.type '${e.type}'.
35
35
  Expected it to be ${n}.`}(e)),this.doc=e}};function L(e,t){if("string"==typeof e)return t(e);let r=new Map;return function e(n){if(r.has(n))return r.get(n);let i=function(r){switch(I(r)){case f:return t(r.map(e));case k:return t({...r,parts:r.parts.map(e)});case x:return t({...r,breakContents:e(r.breakContents),flatContents:e(r.flatContents)});case v:{let{expandedStates:n,contents:i}=r;return i=n?(n=n.map(e))[0]:e(i),t({...r,contents:i,expandedStates:n})}case b:case g:case S:case A:case E:return t({...r,contents:e(r.contents)});case m:case y:case w:case T:case _:case C:return t(r);default:throw new N(r)}}(n);return r.set(n,i),i}(e)}function R(e,t=G){return L(e,e=>"string"==typeof e?W(t,e.split(`
@@ -51,7 +51,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
51
51
  ${t}`,r),a=n;if(a||(a="+++"===t?"toml":"yaml"),-1===i&&"---"===t&&"yaml"===a&&(i=e.indexOf(`
52
52
  ...`,r)),-1===i)return;let s=i+1+3,o=e.charAt(s+1);if(!/\s?/u.test(o))return;let l=e.slice(0,s);return{type:"front-matter",language:a,explicitLanguage:n,value:e.slice(r+1,i),startDelimiter:t,endDelimiter:l.slice(-3),raw:l}}(e);if(!t)return{content:e};let{raw:r}=t;return{frontMatter:t,content:h(!1,r,/[^\n]/gu," ")+e.slice(r.length)}},nc={attrs:!0,children:!0,cases:!0,expression:!0},nd=new Set(["parent"]),np=class e{constructor(e={}){for(let t of(c(this,ns),o(this,"type"),o(this,"parent"),new Set([...nd,...Object.keys(e)])))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in nc&&(t=t.map(e=>this.createChild(e))),!nd.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(t){let r;for(let n in nc){let i=this[n];if(i){let a=function(e,t){let r=e.map(t);return r.some((t,r)=>t!==e[r])?r:e}(i,e=>e.map(t));r!==i&&(r||(r=new e({parent:this.parent})),r.setProperty(n,a))}}if(r)for(let e in this)e in nc||(r[e]=this[e]);return t(r||this)}walk(e){for(let t in nc){let r=this[t];if(r)for(let t=0;t<r.length;t++)r[t].walk(e)}e(this)}createChild(t){let r=t instanceof e?t.clone():new e(t);return r.setProperty("parent",this),r}insertChildBefore(e,t){let r=this.$children;r.splice(r.indexOf(e),0,this.createChild(t))}removeChild(e){let t=this.$children;t.splice(t.indexOf(e),1)}replaceChild(e,t){let r=this.$children;r[r.indexOf(e)]=this.createChild(t)}clone(){return new e(this)}get $children(){return this[u(this,ns,no)]}set $children(e){this[u(this,ns,no)]=e}get firstChild(){var e;return null==(e=this.$children)?void 0:e[0]}get lastChild(){return D(!0,this.$children,-1)}get prev(){let e=u(this,ns,nl);return e[e.indexOf(this)-1]}get next(){let e=u(this,ns,nl);return e[e.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map(e=>[e.fullName,e.value]))}};ns=new WeakSet,no=function(){return"angularIcuCase"===this.type?"expression":"angularIcuExpression"===this.type?"cases":"children"},nl=function(){var e;return(null==(e=this.parent)?void 0:e.$children)??[]};var nh=[{regex:/^(\[if([^\]]*)\]>)(.*?)<!\s*\[endif\]$/su,parse:function(e,t,r){let[,n,i,a]=r,s=4+n.length,o=e.sourceSpan.start.moveBy(s),l=o.moveBy(a.length),[u,c]=(()=>{try{return[!0,t(a,o).children]}catch{return[!1,[{type:"text",value:a,sourceSpan:new tY(o,l)}]]}})();return{type:"ieConditionalComment",complete:u,children:c,condition:h(!1,i.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new tY(e.sourceSpan.start,o),endSourceSpan:new tY(l,e.sourceSpan.end)}}},{regex:/^\[if([^\]]*)\]><!$/u,parse:function(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:h(!1,n.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}},{regex:/^<!\s*\[endif\]$/u,parse:function(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}}],nm=new Map([["*",new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","popover","slot","spellcheck","style","tabindex","title","translate","writingsuggestions"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootclonable","shadowrootdelegatesfocus","shadowrootmode"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]),nf=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]);function ny(e){var t;let{msg:r,span:{start:n,end:i}}=e;throw Object.assign(SyntaxError(r+" ("+(t={loc:{start:{line:n.line+1,column:n.col+1},end:{line:i.line+1,column:i.col+1}},cause:e}).loc.start.line+":"+t.loc.start.column+")"),t)}function ng(e){return{parse:(t,r)=>(function e(t,r,n={},i=!0){let{frontMatter:a,content:s}=i?nu(t):{frontMatter:null,content:t},o=new tK(t,n.filepath),l=new tW(o,0,0,0),u=l.moveBy(t.length),c={type:"root",sourceSpan:new tY(l,u),children:function e(t,r,n){let{name:i,canSelfClose:a=!0,normalizeTagName:s=!1,normalizeAttributeName:o=!1,allowHtmComponentClosingTags:l=!1,isTagNameCaseSensitive:u=!1,shouldParseAsRawText:c}=r,{rootNodes:d,errors:p}=nn(t,{canSelfClose:a,allowHtmComponentClosingTags:l,isTagNameCaseSensitive:u,getTagContentType:c?(...e)=>c(...e)?rh.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:"angular"===i||void 0,tokenizeAngularLetDeclaration:"angular"===i||void 0});if("vue"===i){if(d.some(e=>"docType"===e.type&&"html"===e.value||"element"===e.type&&"html"===e.name.toLowerCase()))return e(t,nb,n);let r,i=()=>r??(r=nn(t,{canSelfClose:a,allowHtmComponentClosingTags:l,isTagNameCaseSensitive:u})),s=e=>i().rootNodes.find(({startSourceSpan:t})=>t&&t.start.offset===e.startSourceSpan.start.offset)??e;for(let[e,t]of d.entries()){let{endSourceSpan:r,startSourceSpan:a}=t;if(null===r)p=i().errors,d[e]=s(t);else if(function(e,t){var r;if("element"!==e.type||"template"!==e.name)return!1;let n=null==(r=e.attrs.find(e=>"lang"===e.name))?void 0:r.value;return!n||"html"===ec(t,{language:n})}(t,n)){let n=i().errors.find(e=>e.span.start.offset>a.start.offset&&e.span.start.offset<r.end.offset);n&&ny(n),d[e]=s(t)}}}p.length>0&&ny(p[0]);let h=e=>{let t=e.name.startsWith(":")?e.name.slice(1).split(":")[0]:null,r=e.nameSpan.toString(),n=null!==t&&r.startsWith(`${t}:`);e.name=n?r.slice(t.length+1):r,e.namespace=t,e.hasExplicitNamespace=n},m=e=>{switch(e.type){case"element":for(let t of(h(e),e.attrs))h(t),t.valueSpan?(t.value=t.valueSpan.toString(),/["']/u.test(t.value[0])&&(t.value=t.value.slice(1,-1))):t.value=null;break;case"comment":e.value=e.sourceSpan.toString().slice(4,-3);break;case"text":e.value=e.sourceSpan.toString()}},f=(e,t)=>{let r=e.toLowerCase();return t(r)?r:e},y=e=>{if("element"===e.type&&(s&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||eh(e))&&(e.name=f(e.name,e=>nf.has(e))),o))for(let t of e.attrs)t.namespace||(t.name=f(t.name,t=>nm.has(e.name)&&(nm.get("*").has(t)||nm.get(e.name).has(t))))},g=e=>{e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new tY(e.sourceSpan.start,e.endSourceSpan.end))},b=e=>{if("element"===e.type){let t=rS(u?e.name:e.name.toLowerCase());!e.namespace||e.namespace===t.implicitNamespacePrefix||eh(e)?e.tagDefinition=t:e.tagDefinition=rS("")}};return rM(new class extends rF{visitExpansionCase(e,t){"angular"===i&&this.visitChildren(t,t=>{t(e.expression)})}visit(e){m(e),b(e),y(e),g(e)}},d),d}(s,r,n)};if(a){let e=new tW(o,0,0,0),t=e.moveBy(a.raw.length);a.sourceSpan=new tY(e,t),c.children.unshift(a)}let d=new np(c),p=(i,a)=>{let{offset:s}=a,o=e(h(!1,t.slice(0,s),/[^\n\r]/gu," ")+i,r,n,!1);o.sourceSpan=new tY(a,D(!1,o.children,-1).sourceSpan.end);let l=o.children[0];return l.length===s?o.children.shift():(l.sourceSpan=new tY(l.sourceSpan.start.moveBy(s),l.sourceSpan.end),l.value=l.value.slice(s)),o};return d.walk(e=>{if("comment"===e.type){let t=function(e,t){if(e.value)for(let{regex:r,parse:n}of nh){let i=e.value.match(r);if(i)return n(e,t,i)}return null}(e,p);t&&e.parent.replaceChild(e,t)}(function(e){if("block"===e.type){if(e.name=h(!1,e.name.toLowerCase(),/\s+/gu," ").trim(),e.type="angularControlFlowBlock",!tl(e.parameters))return delete e.parameters;for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new tY(e.parameters[0].sourceSpan.start,D(!1,e.parameters,-1).sourceSpan.end)}}})(e),"letDeclaration"===e.type&&(e.type="angularLetDeclaration",e.id=e.name,e.init={type:"angularLetDeclarationInitializer",sourceSpan:new tY(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value),("plural"===e.type||"select"===e.type)&&(e.clause=e.type,e.type="angularIcuExpression"),"expansionCase"===e.type&&(e.type="angularIcuCase")}),d})(t,e,r),hasPragma:tN,astFormat:"html",locStart:tu,locEnd:tc}}var nb={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},nw=ng(nb),nv=ng({name:"angular"}),nk=ng({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText:(e,t,r,n)=>"html"!==e.toLowerCase()&&!r&&("template"!==e||n.some(({name:e,value:t})=>"lang"===e&&"html"!==t&&""!==t&&void 0!==t))}),nx=ng({name:"lwc",canSelfClose:!1}),nS={html:{preprocess:function(e,t){for(let r of tZ)r(e,t);return e},print:function(e,t,r){let{node:n}=e;switch(n.type){case"front-matter":return R(n.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(n),[j(tF(e,t,r)),H];case"element":case"ieConditionalComment":return function(e,t,r){var n,i;let a,{node:s}=e;if(eg(s,t))return[tE(s,t),j(tx(e,t,r)),R(tC(s,t)),...td(s,t),th(s,t)];let o=1===s.children.length&&("interpolation"===s.firstChild.type||"angularIcuExpression"===s.firstChild.type)&&s.firstChild.isLeadingSpaceSensitive&&!s.firstChild.hasLeadingSpaces&&s.lastChild.isTrailingSpaceSensitive&&!s.lastChild.hasTrailingSpaces,l=Symbol("element-attr-group-id");return a=0===s.children.length?s.hasDanglingSpaces&&s.isDanglingSpaceSensitive?z:"":[eS(s)||"element"===s.type&&s.children.length>0&&(["body","script","style"].includes(s.name)||s.children.some(e=>{var t;return null==(t=e.children)?void 0:t.some(e=>"text"!==e.type)}))||s.firstChild&&s.firstChild===s.lastChild&&"text"!==s.firstChild.type&&eT(s.firstChild)&&(!s.lastChild.isTrailingSpaceSensitive||e_(s.lastChild))?q:"",(n=[o?$(V,"",{groupId:l}):s.firstChild.hasLeadingSpaces&&s.firstChild.isLeadingSpaceSensitive?z:"text"===s.firstChild.type&&s.isWhitespaceSensitive&&s.isIndentationSensitive?B(Number.NEGATIVE_INFINITY,V):V,tF(e,t,r)],o?(i={groupId:l},M(n),{type:S,contents:n,groupId:i.groupId,negate:i.negate}):(ev(s)||eB(s,t))&&"root"===s.parent.type&&"vue"===t.parser&&!t.vueIndentScriptAndStyle?n:F(n)),(s.next?tg(s.next):tb(s.parent))?s.lastChild.hasTrailingSpaces&&s.lastChild.isTrailingSpaceSensitive?" ":"":o?$(V,"",{groupId:l}):s.lastChild.hasTrailingSpaces&&s.lastChild.isTrailingSpaceSensitive?z:("comment"===s.lastChild.type||"text"===s.lastChild.type&&s.isWhitespaceSensitive&&s.isIndentationSensitive)&&RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(s.lastChild.value)?"":V],j([j(tx(e,t,r),{id:l}),a,td(s,t)])}(e,t,r);case"angularControlFlowBlock":return function(e,t,r){let{node:n}=e,i=[];(function(e){let{previous:t}=e;return(null==t?void 0:t.type)==="angularControlFlowBlock"&&!eb(t)&&!tB(t)})(e)&&i.push("} "),i.push("@",n.name),n.parameters&&i.push(" (",j(r("parameters")),")"),i.push(" {");let a=tB(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,i.push(F([H,tF(e,t,r)])),a&&i.push(H,"}")):a&&i.push("}"),j(i,{shouldBreak:!0})}(e,t,r);case"angularControlFlowBlockParameters":return[F([V,W([";",z],e.map(r,"children"))]),V];case"angularControlFlowBlockParameter":return Z.trim(n.expression);case"angularLetDeclaration":return j(["@let ",j([n.id," =",j(F([z,r("init")]))]),";"]);case"angularLetDeclarationInitializer":return n.value;case"angularIcuExpression":return function(e,t,r){let{node:n}=e;return[tS(n,t),j([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",F([z,W(z,e.map(r,"cases"))])]:"",V]),tp(n,t)]}(e,t,r);case"angularIcuCase":return function(e,t,r){let{node:n}=e;return[n.value," {",j([F([V,e.map(({node:e,isLast:t})=>{let n=[r()];return"text"===e.type&&(e.hasLeadingSpaces&&n.unshift(z),e.hasTrailingSpaces&&!t&&n.push(z)),n},"expression")]),V]),"}"]}(e,0,r);case"ieConditionalStartComment":case"ieConditionalEndComment":return[tS(n),tp(n)];case"interpolation":return[tS(n,t),...e.map(r,"children"),tp(n,t)];case"text":{if("interpolation"===n.parent.type){let e=/\n[^\S\n]*$/u,t=e.test(n.value);return[R(t?n.value.replace(e,""):n.value),t?H:""]}let e=tE(n,t),r=e$(n),i=th(n,t);return r[0]=[e,r[0]],r.push([r.pop(),i]),U(r)}case"docType":return[j([tS(n,t)," ",h(!1,n.value.replace(/^html\b/iu,"html"),/\s+/gu," ")]),tp(n,t)];case"comment":return[tE(n,t),R(t.originalText.slice(tu(n),tc(n))),th(n,t)];case"attribute":{if(null===n.value)return n.rawName;let e=eR(n.value),t=Y(e,'"');return[n.rawName,"=",t,R('"'===t?h(!1,e,'"',"&quot;"):h(!1,e,"'","&apos;")),t]}default:throw new J(n,"HTML")}},insertPragma:function(e){return`<!-- @format -->
53
53
 
54
- `+e},massageAstNode:er,embed:function(e,t){let{node:r}=e;switch(r.type){case"element":if(ev(r)||"interpolation"===r.type)return;if(!r.isSelfClosing&&eU(r,t)){let n=eD(r,t);return n?async(i,a)=>{let s=tC(r,t),o=/^\s*$/u.test(s),l="";return o||(o=""===(l=await i(ef(s),{parser:n,__embeddedInHtml:!0}))),[tE(r,t),j(tx(e,t,a)),o?"":H,l,o?"":H,td(r,t),th(r,t)]}:void 0}break;case"text":if(ev(r.parent)){let e=eD(r.parent,t);if(e)return async n=>{let i="markdown"===e?eL(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,a={parser:e,__embeddedInHtml:!0};if("html"===t.parser&&"babel"===e){let e="script",{attrMap:t}=r.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),a.__babelSourceType=e}return[q,tE(r,t),await n(i,a),th(r,t)]}}else if("interpolation"===r.parent.type)return async n=>{let i={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===t.parser?i.parser="__ng_interpolation":"vue"===t.parser?i.parser=te(e,t)?"__vue_ts_expression":"__vue_expression":i.parser="__js_expression",[F([z,await n(r.value,i)]),r.parent.next&&tg(r.parent.next)?" ":z]};break;case"attribute":return ts(e,t);case"front-matter":return e=>en(r,e);case"angularControlFlowBlockParameters":return tP.has(e.parent.name)?eo:void 0;case"angularLetDeclarationInitializer":return e=>es(r.value,e,{parser:"__ng_binding",__isInHtmlAttribute:!1})}},getVisitorKeys:tO}};return((i,a,s,o)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of r(a))n.call(i,l)||l===s||e(i,l,{get:()=>a[l],enumerable:!(o=t(a,l))||o.enumerable});return i})(e({},"__esModule",{value:!0}),p)})},26920:e=>{"use strict";let t=/-(\w|$)/g,r=(e,t)=>t.toUpperCase();e.exports=e=>"float"===(e=e.toLowerCase())?"cssFloat":e.startsWith("-ms-")?e.substr(1).replace(t,r):e.replace(t,r)},27012:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(42518)),i=r(65433);function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=i.COMBINATOR,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t}(n.default),e.exports=t.default},27365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getTypeAnnotation=T,t.baseTypeStrictlyMatches=function(e){let t=this.getTypeAnnotation(),r=e.getTypeAnnotation();return!!(!a(t)&&u(t))&&r.type===t.type},t.couldBeBaseType=function(e){let t=this.getTypeAnnotation();if(a(t))return!0;if(!v(t))return _(e,t,!0);for(let r of t.types)if(a(r)||_(e,r,!0))return!0;return!1},t.getTypeAnnotation=function(){let e=this.getData("typeAnnotation");return null!=e||((w(e=T.call(this)||i())||y(e))&&(e=e.typeAnnotation),this.setData("typeAnnotation",e)),e},t.isBaseType=function(e,t){return _(e,this.getTypeAnnotation(),t)},t.isGenericType=function(e){let t=this.getTypeAnnotation();return!!("Array"===e&&(f(t)||s(t)||b(t)))||c(t)&&d(t.id,{name:e})||g(t)&&d(t.typeName,{name:e})};var n=r(35385);let{anyTypeAnnotation:i,isAnyTypeAnnotation:a,isArrayTypeAnnotation:s,isBooleanTypeAnnotation:o,isEmptyTypeAnnotation:l,isFlowBaseAnnotation:u,isGenericTypeAnnotation:c,isIdentifier:d,isMixedTypeAnnotation:p,isNumberTypeAnnotation:h,isStringTypeAnnotation:m,isTSArrayType:f,isTSTypeAnnotation:y,isTSTypeReference:g,isTupleTypeAnnotation:b,isTypeAnnotation:w,isUnionTypeAnnotation:v,isVoidTypeAnnotation:k,stringTypeAnnotation:x,voidTypeAnnotation:S}=r(40838),E=new WeakSet;function T(){let e=this.node;if(!e)if(!("init"===this.key&&this.parentPath.isVariableDeclarator()))return;else{let e=this.parentPath.parentPath,t=e.parentPath;return"left"===e.key&&t.isForInStatement()?x():"left"===e.key&&t.isForOfStatement()?i():S()}if(e.typeAnnotation)return e.typeAnnotation;if(!E.has(e)){E.add(e);try{var t;let r=n[e.type];if(r)return r.call(this,e);if(r=n[this.parentPath.type],null!=(t=r)&&t.validParent)return this.parentPath.getTypeAnnotation()}finally{E.delete(e)}}}function _(e,t,r){if("string"===e)return m(t);if("number"===e)return h(t);if("boolean"===e)return o(t);if("any"===e)return a(t);if("mixed"===e)return p(t);else if("empty"===e)return l(t);else if("void"===e)return k(t);else if(r)return!1;else throw Error(`Unknown base type ${e}`)}},27607:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compileGeneralSelector=void 0;var n=r(9970),i=r(77901),a=r(38037);function s(e,t){var r=t.getParent(e);return r&&t.isTag(r)?r:null}t.compileGeneralSelector=function(e,t,r,o,l){var u=r.adapter,c=r.equals;switch(t.type){case a.SelectorType.PseudoElement:throw Error("Pseudo-elements are not supported by css-select");case a.SelectorType.ColumnCombinator:throw Error("Column combinators are not yet supported by css-select");case a.SelectorType.Attribute:if(null!=t.namespace)throw Error("Namespaced attributes are not yet supported by css-select");return(!r.xmlMode||r.lowerCaseAttributeNames)&&(t.name=t.name.toLowerCase()),n.attributeRules[t.action](e,t,r);case a.SelectorType.Pseudo:return(0,i.compilePseudoSelector)(e,t,r,o,l);case a.SelectorType.Tag:if(null!=t.namespace)throw Error("Namespaced tag names are not yet supported by css-select");var d=t.name;return(!r.xmlMode||r.lowerCaseTags)&&(d=d.toLowerCase()),function(t){return u.getName(t)===d&&e(t)};case a.SelectorType.Descendant:if(!1===r.cacheResults||"undefined"==typeof WeakSet)return function(t){for(var r=t;r=s(r,u);)if(e(r))return!0;return!1};var p=new WeakSet;return function(t){for(var r=t;r=s(r,u);)if(!p.has(r)){if(u.isTag(r)&&e(r))return!0;p.add(r)}return!1};case"_flexibleDescendant":return function(t){var r=t;do if(e(r))return!0;while(r=s(r,u));return!1};case a.SelectorType.Parent:return function(t){return u.getChildren(t).some(function(t){return u.isTag(t)&&e(t)})};case a.SelectorType.Child:return function(t){var r=u.getParent(t);return null!=r&&u.isTag(r)&&e(r)};case a.SelectorType.Sibling:return function(t){for(var r=u.getSiblings(t),n=0;n<r.length;n++){var i=r[n];if(c(t,i))break;if(u.isTag(i)&&e(i))return!0}return!1};case a.SelectorType.Adjacent:if(u.prevElementSibling)return function(t){var r=u.prevElementSibling(t);return null!=r&&e(r)};return function(t){for(var r,n=u.getSiblings(t),i=0;i<n.length;i++){var a=n[i];if(c(t,a))break;u.isTag(a)&&(r=a)}return!!r&&e(r)};case a.SelectorType.Universal:if(null!=t.namespace&&"*"!==t.namespace)throw Error("Namespaced universal selectors are not yet supported by css-select");return e}}},27615:(e,t,r)=>{"use strict";r.d(t,{B:()=>u});var n=r(5945);r(84183);var i=r(61934),a=r(4191),s=r(66266),o=r(72495);let l=async e=>{let t=0;for await(let r of e)t+=r.byteLength;return t},u=async(e,t)=>{let r=(0,i.parse)(e);return new ReadableStream({async start(n){for await(let i of r.querySelectorAll("img")){let r=i.attributes.src;if(!r)continue;let o=r?.startsWith("/")?`${t}${r}`:r,u={source:r,codeLocation:(0,a.X)(i,e),status:"success",checks:[]},c=i.attributes.alt;u.checks.push({passed:void 0!==c,type:"accessibility",metadata:{alt:c}}),void 0===c&&(u.status="warning");try{let e,t=new URL(o);u.checks.push({passed:!0,type:"syntax"}),r.startsWith("http://")?(u.checks.push({passed:!1,type:"security"}),u.status="warning"):u.checks.push({passed:!0,type:"security"});try{e=await (0,s.w)(t);let r=e.statusCode?.toString().startsWith("2")??!1;u.checks.push({type:"fetch_attempt",passed:r,metadata:{fetchStatusCode:e.statusCode}}),r||(u.status=e.statusCode?.toString().startsWith("3")?"warning":"error");let n=await l(e);u.checks.push({type:"image_size",passed:n<1048576,metadata:{byteCount:n}}),n>1048576&&"error"!==u.status&&(u.status="warning")}catch(e){u.checks.push({type:"fetch_attempt",passed:!1,metadata:{fetchStatusCode:void 0}}),u.status="error"}}catch(e){u.checks.push({passed:!1,type:"syntax"}),u.status="error"}n.enqueue(u)}n.close()}})};(0,o.D)([u]),(0,n.A)(u,"7f54fe3247b8aee819da0d20beabadc0a17d5becb4",null)},27771:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.aliases=t.pseudos=t.filters=t.is=t.selectOne=t.selectAll=t.prepareContext=t._compileToken=t._compileUnsafe=t.compile=void 0;var o=a(r(62077)),l=s(r(81832)),u=r(67310),c=r(54466),d=function(e,t){return e===t},p={adapter:o,equals:d};function h(e){var t,r,n,i,a=null!=e?e:p;return null!=a.adapter||(a.adapter=o),null!=a.equals||(a.equals=null!=(i=null==(n=a.adapter)?void 0:n.equals)?i:d),a}function m(e){return function(t,r,n){return e(t,h(r),n)}}function f(e){return function(t,r,n){var i=h(n);"function"!=typeof t&&(t=(0,u.compileUnsafe)(t,i,r));var a=y(r,i.adapter,t.shouldTestNextSiblings);return e(t,a,i)}}function y(e,t,r){return void 0===r&&(r=!1),r&&(e=function(e,t){for(var r=Array.isArray(e)?e.slice(0):[e],n=r.length,i=0;i<n;i++){var a=(0,c.getNextSiblings)(r[i],t);r.push.apply(r,a)}return r}(e,t)),Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}t.compile=m(u.compile),t._compileUnsafe=m(u.compileUnsafe),t._compileToken=m(u.compileToken),t.prepareContext=y,t.selectAll=f(function(e,t,r){return e!==l.default.falseFunc&&t&&0!==t.length?r.adapter.findAll(e,t):[]}),t.selectOne=f(function(e,t,r){return e!==l.default.falseFunc&&t&&0!==t.length?r.adapter.findOne(e,t):null}),t.is=function(e,t,r){var n=h(r);return("function"==typeof t?t:(0,u.compile)(t,n))(e)},t.default=t.selectAll;var g=r(77901);Object.defineProperty(t,"filters",{enumerable:!0,get:function(){return g.filters}}),Object.defineProperty(t,"pseudos",{enumerable:!0,get:function(){return g.pseudos}}),Object.defineProperty(t,"aliases",{enumerable:!0,get:function(){return g.aliases}})},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},28373:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.parseFeed=t.getFeed=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DefaultHandler=t.DomHandler=t.Parser=void 0;var o=r(61486),l=r(61486);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return l.Parser}});var u=r(36257),c=r(36257);function d(e,t){var r=new u.DomHandler(void 0,t);return new o.Parser(r,t).end(e),r.root}function p(e,t){return d(e,t).children}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return c.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return c.DomHandler}}),t.parseDocument=d,t.parseDOM=p,t.createDomStream=function(e,t,r){var n=new u.DomHandler(e,t,r);return new o.Parser(n,t)};var h=r(29016);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return s(h).default}}),t.ElementType=a(r(31736));var m=r(62077),f=r(62077);Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return f.getFeed}});var y={xmlMode:!0};t.parseFeed=function(e,t){return void 0===t&&(t=y),(0,m.getFeed)(p(e,t))},t.DomUtils=a(r(62077))},28486:(e,t,r)=>{let n=r(83997),i=r(28354);t.init=function(e){e.inspectOpts={};let r=Object.keys(t.inspectOpts);for(let n=0;n<r.length;n++)e.inspectOpts[r[n]]=t.inspectOpts[r[n]]},t.log=function(...e){return process.stderr.write(i.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(r){let{namespace:n,useColors:i}=this;if(i){let t=this.color,i="\x1b[3"+(t<8?t:"8;5;"+t),a=` ${i};1m${n} \u001B[0m`;r[0]=a+r[0].split("\n").join("\n"+a),r.push(i+"m+"+e.exports.humanize(this.diff)+"\x1b[0m")}else r[0]=(t.inspectOpts.hideDate?"":new Date().toISOString()+" ")+n+" "+r[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:n.isatty(process.stderr.fd)},t.destroy=i.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{let e=r(77532);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[r]=n,e},{}),e.exports=r(92451)(t);let{formatters:a}=e.exports;a.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},a.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},29016:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var n,i,a,s=r(73232);function o(e){return e===n.Space||e===n.NewLine||e===n.Tab||e===n.FormFeed||e===n.CarriageReturn}function l(e){return e===n.Slash||e===n.Gt||o(e)}function u(e){return e>=n.Zero&&e<=n.Nine}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(n||(n={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"}(i||(i={})),!function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(a=t.QuoteType||(t.QuoteType={}));var c={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])};t.default=function(){function e(e,t){var r=e.xmlMode,n=void 0!==r&&r,a=e.decodeEntities;this.cbs=t,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=n,this.decodeEntities=void 0===a||a,this.entityTrie=n?s.xmlDecodeTree:s.htmlDecodeTree}return e.prototype.reset=function(){this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},e.prototype.getIndex=function(){return this.index},e.prototype.getSectionStart=function(){return this.sectionStart},e.prototype.stateText=function(e){e===n.Lt||!this.decodeEntities&&this.fastForwardTo(n.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===n.Amp&&(this.state=i.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?l(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=i.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===n.Gt||o(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart<t){var r=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=r}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===c.TitleEnd?this.decodeEntities&&e===n.Amp&&(this.state=i.BeforeEntity):this.fastForwardTo(n.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===n.Lt)},e.prototype.stateCDATASequence=function(e){e===c.Cdata[this.sequenceIndex]?++this.sequenceIndex===c.Cdata.length&&(this.state=i.InCommentLike,this.currentSequence=c.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=i.InDeclaration,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},e.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===c.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=i.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!l(e):e>=n.LowerA&&e<=n.LowerZ||e>=n.UpperA&&e<=n.UpperZ},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=i.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===n.ExclamationMark)this.state=i.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===n.Questionmark)this.state=i.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this.index,this.xmlMode||t!==c.TitleEnd[2]?this.state=this.xmlMode||t!==c.ScriptEnd[2]?i.InTagName:i.BeforeSpecialS:this.startSpecial(c.TitleEnd,3)}else e===n.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){l(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){o(e)||(e===n.Gt?this.state=i.Text:(this.state=this.isTagStartChar(e)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===n.Gt||o(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===n.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===n.Slash?this.state=i.InSelfClosingTag:o(e)||(this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===n.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):o(e)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===n.Eq||l(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===n.Eq?this.state=i.BeforeAttributeValue:e===n.Slash||e===n.Gt?(this.cbs.onattribend(a.NoValue,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):o(e)||(this.cbs.onattribend(a.NoValue,this.index),this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===n.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):e===n.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):o(e)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===n.DoubleQuote?a.Double:a.Single,this.index),this.state=i.BeforeAttributeName):this.decodeEntities&&e===n.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,n.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,n.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){o(e)||e===n.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(a.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===n.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===n.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=e===n.Dash?i.BeforeComment:i.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===n.Dash?(this.state=i.InCommentLike,this.currentSequence=c.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===c.ScriptEnd[3]?this.startSpecial(c.ScriptEnd,4):t===c.StyleEnd[3]?this.startSpecial(c.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===n.Number?this.state=i.BeforeNumericEntity:e===n.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=i.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,s.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var t=this.trieCurrent&s.BinTrieFlags.VALUE_LENGTH;if(t){var r=(t>>14)-1;if(this.allowLegacyEntity()||e===n.Semi){var i=this.index-this.entityExcess+1;i>this.sectionStart&&this.emitPartial(this.sectionStart,i),this.entityResult=this.trieIndex,this.trieIndex+=r,this.entityExcess=0,this.sectionStart=this.index+1,0===r&&this.emitNamedEntity()}else this.trieIndex+=r}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&s.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~s.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(32|e)===n.LowerX?(this.entityExcess++,this.state=i.InHexEntity):(this.state=i.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var t=this.index-this.entityExcess-1;t+2+Number(this.state===i.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,s.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===n.Semi?this.emitNumericEntity(!0):u(e)?(this.entityResult=10*this.entityResult+(e-n.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){if(e===n.Semi)this.emitNumericEntity(!0);else if(u(e))this.entityResult=16*this.entityResult+(e-n.Zero),this.entityExcess++;else e>=n.UpperA&&e<=n.UpperF||e>=n.LowerA&&e<=n.LowerF?(this.entityResult=16*this.entityResult+((32|e)-n.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===i.Text||this.baseState===i.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===i.InAttributeValueDq||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case i.Text:this.stateText(e);break;case i.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case i.InSpecialTag:this.stateInSpecialTag(e);break;case i.CDATASequence:this.stateCDATASequence(e);break;case i.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case i.InAttributeName:this.stateInAttributeName(e);break;case i.InCommentLike:this.stateInCommentLike(e);break;case i.InSpecialComment:this.stateInSpecialComment(e);break;case i.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case i.InTagName:this.stateInTagName(e);break;case i.InClosingTagName:this.stateInClosingTagName(e);break;case i.BeforeTagName:this.stateBeforeTagName(e);break;case i.AfterAttributeName:this.stateAfterAttributeName(e);break;case i.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case i.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case i.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case i.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case i.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case i.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case i.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case i.InDeclaration:this.stateInDeclaration(e);break;case i.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case i.BeforeComment:this.stateBeforeComment(e);break;case i.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case i.InNamedEntity:this.stateInNamedEntity(e);break;case i.BeforeEntity:this.stateBeforeEntity(e);break;case i.InHexEntity:this.stateInHexEntity(e);break;case i.InNumericEntity:this.stateInNumericEntity(e);break;default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},e.prototype.finish=function(){this.state===i.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===i.InCommentLike?this.currentSequence===c.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===i.InNumericEntity&&this.allowLegacyEntity()||this.state===i.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InTagName||this.state===i.BeforeAttributeName||this.state===i.BeforeAttributeValue||this.state===i.AfterAttributeName||this.state===i.InAttributeName||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueDq||this.state===i.InAttributeValueNq||this.state===i.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},e.prototype.emitPartial=function(e,t){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)},e.prototype.emitCodePoint=function(e){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},e}()},29021:e=>{"use strict";e.exports=require("fs")},29152:(e,t,r)=>{"use strict";e.exports=c;var n=r(18107).F,i=n.ERR_METHOD_NOT_IMPLEMENTED,a=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=n.ERR_TRANSFORM_WITH_LENGTH_0,l=r(71184);function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new a);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);l.call(this,e),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?p(this,null,null):this._flush(function(t,r){p(e,t,r)})}function p(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new o;if(e._transformState.transforming)throw new s;return e.push(null)}r(62993)(c,l),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,r){r(new i("_transform()"))},c.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,function(e){t(e)})}},29226:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getCssPropertyWithValue:()=>i});let n=/(?<propertyName>[a-z-]+)\s*:\s*(?<propertyValue>[a-zA-Z\-0-9()+*/_ ]+)/,i=e=>{let t=n.exec(e.trim());if(t){let[e,r,n]=t;return{name:r,value:n}}}},29289:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(23391)),i=r(65433);function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=i.UNIVERSAL,r.value="*",r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t}(n.default),e.exports=t.default},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},29297:(e,t)=>{"use strict";function r(e,...t){for(let r of t){var n,i;for(let t in r)(null==e||null==(n=e.hasOwnProperty)?void 0:n.call(e,t))||(e[t]=r[t]);for(let t of Object.getOwnPropertySymbols(r))(null==e||null==(i=e.hasOwnProperty)?void 0:i.call(e,t))||(e[t]=r[t])}return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"defaults",{enumerable:!0,get:function(){return r}})},29357:(e,t,r)=>{"use strict";let n=r(3389),i=!1;t.show=(e=process.stderr)=>{e.isTTY&&(i=!1,e.write("\x1b[?25h"))},t.hide=(e=process.stderr)=>{e.isTTY&&(n(),i=!0,e.write("\x1b[?25l"))},t.toggle=(e,r)=>{void 0!==e&&(i=e),i?t.show(r):t.hide(r)}},29863:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ALIAS_KEYS",{enumerable:!0,get:function(){return n.ALIAS_KEYS}}),Object.defineProperty(t,"BUILDER_KEYS",{enumerable:!0,get:function(){return n.BUILDER_KEYS}}),Object.defineProperty(t,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return a.DEPRECATED_ALIASES}}),Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return n.DEPRECATED_KEYS}}),Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return n.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(t,"NODE_FIELDS",{enumerable:!0,get:function(){return n.NODE_FIELDS}}),Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return n.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(t,"PLACEHOLDERS",{enumerable:!0,get:function(){return i.PLACEHOLDERS}}),Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return i.PLACEHOLDERS_ALIAS}}),Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}}),t.TYPES=void 0,Object.defineProperty(t,"VISITOR_KEYS",{enumerable:!0,get:function(){return n.VISITOR_KEYS}}),r(67228),r(52659),r(78890),r(36011),r(87817),r(35504);var n=r(64514),i=r(83805),a=r(66063);for(let{types:e,set:t}of(Object.keys(a.DEPRECATED_ALIASES).forEach(e=>{n.FLIPPED_ALIAS_KEYS[e]=n.FLIPPED_ALIAS_KEYS[a.DEPRECATED_ALIASES[e]]}),n.allExpandedTypes))for(let r of e){let e=n.FLIPPED_ALIAS_KEYS[r];e?e.forEach(t.add,t):t.add(r)}t.TYPES=[].concat(Object.keys(n.VISITOR_KEYS),Object.keys(n.FLIPPED_ALIAS_KEYS),Object.keys(n.DEPRECATED_KEYS))},30287:(e,t,r)=>{"use strict";var n=r(64599);r.o(n,"redirect")&&r.d(t,{redirect:function(){return n.redirect}})},30321:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(e){return[e.toLowerCase(),e]})),t.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(e){return[e.toLowerCase(),e]}))},30353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(46139),i=function(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}(r(23550)),a=Object.freeze({__proto__:null});let s=`(?:[ \\t\\r\\n\\f]*)`,o=`(?:\\n|\\r\\n|\\r|\\f)`,l=`[^\\x00-\\x7F]`,u=`(?:\\\\[0-9a-f]{1,6}(?:\\r\\n|[ \\n\\r\\t\\f])?)`,c=`(?:\\\\[^\\n\\r\\f0-9a-f])`,d=`(?:[_a-z]|${l}|${u}|${c})`,p=`(?:[_a-z0-9-]|${l}|${u}|${c})`,h=`(?:${p}+)`,m=`(?:[-]?${d}${p}*)`,f=`'([^\\n\\r\\f\\\\']|\\\\${o}|${l}|${u}|${c})*'`,y=`"([^\\n\\r\\f\\\\"]|\\\\${o}|${l}|${u}|${c})*"`,g=n.createLexer([{name:"ws",regex:new RegExp(s)},{name:"hash",regex:RegExp(`#${h}`,"i")},{name:"ident",regex:RegExp(m,"i")},{name:"str1",regex:RegExp(f,"i")},{name:"str2",regex:RegExp(y,"i")},{name:"*"},{name:"."},{name:","},{name:"["},{name:"]"},{name:"="},{name:">"},{name:"|"},{name:"+"},{name:"~"},{name:"^"},{name:"$"}]),b=n.createLexer([{name:"unicode",regex:RegExp(u,"i")},{name:"escape",regex:RegExp(c,"i")},{name:"any",regex:RegExp("[\\s\\S]","i")}]);function w([e,t,r],[n,i,a]){return[e+n,t+i,r+a]}let v=i.token(e=>"unicode"===e.name?String.fromCodePoint(parseInt(e.text.slice(1),16)):void 0),k=i.token(e=>"escape"===e.name?e.text.slice(1):void 0),x=i.token(e=>"any"===e.name?e.text:void 0),S=i.map(i.many(i.or(v,k,x)),e=>e.join(""));function E(e){return S({tokens:b(e).tokens,options:void 0},0).value}function T(e){return i.token(t=>t.name===e||void 0)}let _=i.token(e=>"ws"===e.name?null:void 0),A=i.option(_,null);function C(e){return i.middle(A,e,A)}let P=i.token(e=>"ident"===e.name?E(e.text):void 0),D=i.token(e=>"hash"===e.name?E(e.text.slice(1)):void 0),I=i.token(e=>e.name.startsWith("str")?E(e.text.slice(1,-1)):void 0),O=i.left(i.option(P,""),T("|")),N=i.eitherOr(i.ab(O,P,(e,t)=>({name:t,namespace:e})),i.map(P,e=>({name:e,namespace:null}))),L=i.eitherOr(i.ab(O,T("*"),e=>({type:"universal",namespace:e,specificity:[0,0,0]})),i.map(T("*"),()=>({type:"universal",namespace:null,specificity:[0,0,0]}))),R=i.map(N,({name:e,namespace:t})=>({type:"tag",name:e,namespace:t,specificity:[0,0,1]})),M=i.ab(T("."),P,(e,t)=>({type:"class",name:t,specificity:[0,1,0]})),F=i.map(D,e=>({type:"id",name:e,specificity:[1,0,0]})),B=i.token(e=>{if("ident"===e.name){if("i"===e.text||"I"===e.text)return"i";if("s"===e.text||"S"===e.text)return"s"}}),j=i.eitherOr(i.ab(I,i.option(i.right(A,B),null),(e,t)=>({value:e,modifier:t})),i.ab(P,i.option(i.right(_,B),null),(e,t)=>({value:e,modifier:t}))),U=i.choice(i.map(T("="),()=>"="),i.ab(T("~"),T("="),()=>"~="),i.ab(T("|"),T("="),()=>"|="),i.ab(T("^"),T("="),()=>"^="),i.ab(T("$"),T("="),()=>"$="),i.ab(T("*"),T("="),()=>"*=")),$=i.abc(T("["),C(N),T("]"),(e,{name:t,namespace:r})=>({type:"attrPresence",name:t,namespace:r,specificity:[0,1,0]})),q=i.middle(T("["),i.abc(C(N),U,C(j),({name:e,namespace:t},r,{value:n,modifier:i})=>({type:"attrValue",name:e,namespace:t,matcher:r,value:n,modifier:i,specificity:[0,1,0]})),T("]")),z=i.eitherOr($,q),V=i.eitherOr(L,R),H=i.choice(F,M,z),G=i.map(i.eitherOr(i.flatten(V,i.many(H)),i.many1(H)),e=>({type:"compound",list:e,specificity:e.map(e=>e.specificity).reduce(w,[0,0,0])})),W=i.choice(i.map(T(">"),()=>">"),i.map(T("+"),()=>"+"),i.map(T("~"),()=>"~"),i.ab(T("|"),T("|"),()=>"||")),K=i.eitherOr(C(W),i.map(_,()=>" ")),Y=i.leftAssoc2(G,i.map(K,e=>(t,r)=>({type:"compound",list:[...r.list,{type:"combinator",combinator:e,left:t,specificity:t.specificity}],specificity:w(t.specificity,r.specificity)})),G),X=i.leftAssoc2(i.map(Y,e=>({type:"list",list:[e]})),i.map(C(T(",")),()=>(e,t)=>({type:"list",list:[...e.list,t]})),Y);function Z(e,t){if(!("string"==typeof t||t instanceof String))throw Error("Expected a selector string. Actual input is not a string!");let r=g(t);if(!r.complete)throw Error(`The input "${t}" was only partially tokenized, stopped at offset ${r.offset}!
54
+ `+e},massageAstNode:er,embed:function(e,t){let{node:r}=e;switch(r.type){case"element":if(ev(r)||"interpolation"===r.type)return;if(!r.isSelfClosing&&eU(r,t)){let n=eD(r,t);return n?async(i,a)=>{let s=tC(r,t),o=/^\s*$/u.test(s),l="";return o||(o=""===(l=await i(ef(s),{parser:n,__embeddedInHtml:!0}))),[tE(r,t),j(tx(e,t,a)),o?"":H,l,o?"":H,td(r,t),th(r,t)]}:void 0}break;case"text":if(ev(r.parent)){let e=eD(r.parent,t);if(e)return async n=>{let i="markdown"===e?eL(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,a={parser:e,__embeddedInHtml:!0};if("html"===t.parser&&"babel"===e){let e="script",{attrMap:t}=r.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),a.__babelSourceType=e}return[q,tE(r,t),await n(i,a),th(r,t)]}}else if("interpolation"===r.parent.type)return async n=>{let i={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===t.parser?i.parser="__ng_interpolation":"vue"===t.parser?i.parser=te(e,t)?"__vue_ts_expression":"__vue_expression":i.parser="__js_expression",[F([z,await n(r.value,i)]),r.parent.next&&tg(r.parent.next)?" ":z]};break;case"attribute":return ts(e,t);case"front-matter":return e=>en(r,e);case"angularControlFlowBlockParameters":return tP.has(e.parent.name)?eo:void 0;case"angularLetDeclarationInitializer":return e=>es(r.value,e,{parser:"__ng_binding",__isInHtmlAttribute:!1})}},getVisitorKeys:tO}};return((i,a,s,o)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of r(a))n.call(i,l)||l===s||e(i,l,{get:()=>a[l],enumerable:!(o=t(a,l))||o.enumerable});return i})(e({},"__esModule",{value:!0}),p)})},26920:e=>{"use strict";let t=/-(\w|$)/g,r=(e,t)=>t.toUpperCase();e.exports=e=>"float"===(e=e.toLowerCase())?"cssFloat":e.startsWith("-ms-")?e.substr(1).replace(t,r):e.replace(t,r)},27012:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(42518)),i=r(65433);function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=i.COMBINATOR,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t}(n.default),e.exports=t.default},27365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getTypeAnnotation=T,t.baseTypeStrictlyMatches=function(e){let t=this.getTypeAnnotation(),r=e.getTypeAnnotation();return!!(!a(t)&&u(t))&&r.type===t.type},t.couldBeBaseType=function(e){let t=this.getTypeAnnotation();if(a(t))return!0;if(!v(t))return _(e,t,!0);for(let r of t.types)if(a(r)||_(e,r,!0))return!0;return!1},t.getTypeAnnotation=function(){let e=this.getData("typeAnnotation");return null!=e||((w(e=T.call(this)||i())||y(e))&&(e=e.typeAnnotation),this.setData("typeAnnotation",e)),e},t.isBaseType=function(e,t){return _(e,this.getTypeAnnotation(),t)},t.isGenericType=function(e){let t=this.getTypeAnnotation();return!!("Array"===e&&(f(t)||s(t)||b(t)))||c(t)&&d(t.id,{name:e})||g(t)&&d(t.typeName,{name:e})};var n=r(35385);let{anyTypeAnnotation:i,isAnyTypeAnnotation:a,isArrayTypeAnnotation:s,isBooleanTypeAnnotation:o,isEmptyTypeAnnotation:l,isFlowBaseAnnotation:u,isGenericTypeAnnotation:c,isIdentifier:d,isMixedTypeAnnotation:p,isNumberTypeAnnotation:h,isStringTypeAnnotation:m,isTSArrayType:f,isTSTypeAnnotation:y,isTSTypeReference:g,isTupleTypeAnnotation:b,isTypeAnnotation:w,isUnionTypeAnnotation:v,isVoidTypeAnnotation:k,stringTypeAnnotation:x,voidTypeAnnotation:S}=r(40838),E=new WeakSet;function T(){let e=this.node;if(!e)if(!("init"===this.key&&this.parentPath.isVariableDeclarator()))return;else{let e=this.parentPath.parentPath,t=e.parentPath;return"left"===e.key&&t.isForInStatement()?x():"left"===e.key&&t.isForOfStatement()?i():S()}if(e.typeAnnotation)return e.typeAnnotation;if(!E.has(e)){E.add(e);try{var t;let r=n[e.type];if(r)return r.call(this,e);if(r=n[this.parentPath.type],null!=(t=r)&&t.validParent)return this.parentPath.getTypeAnnotation()}finally{E.delete(e)}}}function _(e,t,r){if("string"===e)return m(t);if("number"===e)return h(t);if("boolean"===e)return o(t);if("any"===e)return a(t);if("mixed"===e)return p(t);else if("empty"===e)return l(t);else if("void"===e)return k(t);else if(r)return!1;else throw Error(`Unknown base type ${e}`)}},27607:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compileGeneralSelector=void 0;var n=r(9970),i=r(77901),a=r(38037);function s(e,t){var r=t.getParent(e);return r&&t.isTag(r)?r:null}t.compileGeneralSelector=function(e,t,r,o,l){var u=r.adapter,c=r.equals;switch(t.type){case a.SelectorType.PseudoElement:throw Error("Pseudo-elements are not supported by css-select");case a.SelectorType.ColumnCombinator:throw Error("Column combinators are not yet supported by css-select");case a.SelectorType.Attribute:if(null!=t.namespace)throw Error("Namespaced attributes are not yet supported by css-select");return(!r.xmlMode||r.lowerCaseAttributeNames)&&(t.name=t.name.toLowerCase()),n.attributeRules[t.action](e,t,r);case a.SelectorType.Pseudo:return(0,i.compilePseudoSelector)(e,t,r,o,l);case a.SelectorType.Tag:if(null!=t.namespace)throw Error("Namespaced tag names are not yet supported by css-select");var d=t.name;return(!r.xmlMode||r.lowerCaseTags)&&(d=d.toLowerCase()),function(t){return u.getName(t)===d&&e(t)};case a.SelectorType.Descendant:if(!1===r.cacheResults||"undefined"==typeof WeakSet)return function(t){for(var r=t;r=s(r,u);)if(e(r))return!0;return!1};var p=new WeakSet;return function(t){for(var r=t;r=s(r,u);)if(!p.has(r)){if(u.isTag(r)&&e(r))return!0;p.add(r)}return!1};case"_flexibleDescendant":return function(t){var r=t;do if(e(r))return!0;while(r=s(r,u));return!1};case a.SelectorType.Parent:return function(t){return u.getChildren(t).some(function(t){return u.isTag(t)&&e(t)})};case a.SelectorType.Child:return function(t){var r=u.getParent(t);return null!=r&&u.isTag(r)&&e(r)};case a.SelectorType.Sibling:return function(t){for(var r=u.getSiblings(t),n=0;n<r.length;n++){var i=r[n];if(c(t,i))break;if(u.isTag(i)&&e(i))return!0}return!1};case a.SelectorType.Adjacent:if(u.prevElementSibling)return function(t){var r=u.prevElementSibling(t);return null!=r&&e(r)};return function(t){for(var r,n=u.getSiblings(t),i=0;i<n.length;i++){var a=n[i];if(c(t,a))break;u.isTag(a)&&(r=a)}return!!r&&e(r)};case a.SelectorType.Universal:if(null!=t.namespace&&"*"!==t.namespace)throw Error("Namespaced universal selectors are not yet supported by css-select");return e}}},27615:(e,t,r)=>{"use strict";r.d(t,{B:()=>u});var n=r(5945);r(84183);var i=r(61934),a=r(4191),s=r(66266),o=r(72495);let l=async e=>{let t=0;for await(let r of e)t+=r.byteLength;return t},u=async(e,t)=>{let r=(0,i.parse)(e);return new ReadableStream({async start(n){for await(let i of r.querySelectorAll("img")){let r=i.attributes.src;if(!r)continue;let o=r?.startsWith("/")?`${t}${r}`:r,u={source:r,codeLocation:(0,a.X)(i,e),status:"success",checks:[]},c=i.attributes.alt;u.checks.push({passed:void 0!==c,type:"accessibility",metadata:{alt:c}}),void 0===c&&(u.status="warning");try{let e,t=new URL(o);u.checks.push({passed:!0,type:"syntax"}),r.startsWith("http://")?(u.checks.push({passed:!1,type:"security"}),u.status="warning"):u.checks.push({passed:!0,type:"security"});try{e=await (0,s.w)(t);let r=e.statusCode?.toString().startsWith("2")??!1;u.checks.push({type:"fetch_attempt",passed:r,metadata:{fetchStatusCode:e.statusCode}}),r||(u.status=e.statusCode?.toString().startsWith("3")?"warning":"error");let n=await l(e);u.checks.push({type:"image_size",passed:n<1048576,metadata:{byteCount:n}}),n>1048576&&"error"!==u.status&&(u.status="warning")}catch(e){u.checks.push({type:"fetch_attempt",passed:!1,metadata:{fetchStatusCode:void 0}}),u.status="error"}}catch(e){u.checks.push({passed:!1,type:"syntax"}),u.status="error"}n.enqueue(u)}n.close()}})};(0,o.D)([u]),(0,n.A)(u,"7ffe73ba6282ef5aa56bc1448304bf0177a4ac29d6",null)},27771:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.aliases=t.pseudos=t.filters=t.is=t.selectOne=t.selectAll=t.prepareContext=t._compileToken=t._compileUnsafe=t.compile=void 0;var o=a(r(62077)),l=s(r(81832)),u=r(67310),c=r(54466),d=function(e,t){return e===t},p={adapter:o,equals:d};function h(e){var t,r,n,i,a=null!=e?e:p;return null!=a.adapter||(a.adapter=o),null!=a.equals||(a.equals=null!=(i=null==(n=a.adapter)?void 0:n.equals)?i:d),a}function m(e){return function(t,r,n){return e(t,h(r),n)}}function f(e){return function(t,r,n){var i=h(n);"function"!=typeof t&&(t=(0,u.compileUnsafe)(t,i,r));var a=y(r,i.adapter,t.shouldTestNextSiblings);return e(t,a,i)}}function y(e,t,r){return void 0===r&&(r=!1),r&&(e=function(e,t){for(var r=Array.isArray(e)?e.slice(0):[e],n=r.length,i=0;i<n;i++){var a=(0,c.getNextSiblings)(r[i],t);r.push.apply(r,a)}return r}(e,t)),Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}t.compile=m(u.compile),t._compileUnsafe=m(u.compileUnsafe),t._compileToken=m(u.compileToken),t.prepareContext=y,t.selectAll=f(function(e,t,r){return e!==l.default.falseFunc&&t&&0!==t.length?r.adapter.findAll(e,t):[]}),t.selectOne=f(function(e,t,r){return e!==l.default.falseFunc&&t&&0!==t.length?r.adapter.findOne(e,t):null}),t.is=function(e,t,r){var n=h(r);return("function"==typeof t?t:(0,u.compile)(t,n))(e)},t.default=t.selectAll;var g=r(77901);Object.defineProperty(t,"filters",{enumerable:!0,get:function(){return g.filters}}),Object.defineProperty(t,"pseudos",{enumerable:!0,get:function(){return g.pseudos}}),Object.defineProperty(t,"aliases",{enumerable:!0,get:function(){return g.aliases}})},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},28373:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.parseFeed=t.getFeed=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DefaultHandler=t.DomHandler=t.Parser=void 0;var o=r(61486),l=r(61486);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return l.Parser}});var u=r(36257),c=r(36257);function d(e,t){var r=new u.DomHandler(void 0,t);return new o.Parser(r,t).end(e),r.root}function p(e,t){return d(e,t).children}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return c.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return c.DomHandler}}),t.parseDocument=d,t.parseDOM=p,t.createDomStream=function(e,t,r){var n=new u.DomHandler(e,t,r);return new o.Parser(n,t)};var h=r(29016);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return s(h).default}}),t.ElementType=a(r(31736));var m=r(62077),f=r(62077);Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return f.getFeed}});var y={xmlMode:!0};t.parseFeed=function(e,t){return void 0===t&&(t=y),(0,m.getFeed)(p(e,t))},t.DomUtils=a(r(62077))},28486:(e,t,r)=>{let n=r(83997),i=r(28354);t.init=function(e){e.inspectOpts={};let r=Object.keys(t.inspectOpts);for(let n=0;n<r.length;n++)e.inspectOpts[r[n]]=t.inspectOpts[r[n]]},t.log=function(...e){return process.stderr.write(i.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(r){let{namespace:n,useColors:i}=this;if(i){let t=this.color,i="\x1b[3"+(t<8?t:"8;5;"+t),a=` ${i};1m${n} \u001B[0m`;r[0]=a+r[0].split("\n").join("\n"+a),r.push(i+"m+"+e.exports.humanize(this.diff)+"\x1b[0m")}else r[0]=(t.inspectOpts.hideDate?"":new Date().toISOString()+" ")+n+" "+r[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:n.isatty(process.stderr.fd)},t.destroy=i.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{let e=r(77532);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[r]=n,e},{}),e.exports=r(92451)(t);let{formatters:a}=e.exports;a.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},a.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},29016:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var n,i,a,s=r(73232);function o(e){return e===n.Space||e===n.NewLine||e===n.Tab||e===n.FormFeed||e===n.CarriageReturn}function l(e){return e===n.Slash||e===n.Gt||o(e)}function u(e){return e>=n.Zero&&e<=n.Nine}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(n||(n={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"}(i||(i={})),!function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(a=t.QuoteType||(t.QuoteType={}));var c={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])};t.default=function(){function e(e,t){var r=e.xmlMode,n=void 0!==r&&r,a=e.decodeEntities;this.cbs=t,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=n,this.decodeEntities=void 0===a||a,this.entityTrie=n?s.xmlDecodeTree:s.htmlDecodeTree}return e.prototype.reset=function(){this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},e.prototype.getIndex=function(){return this.index},e.prototype.getSectionStart=function(){return this.sectionStart},e.prototype.stateText=function(e){e===n.Lt||!this.decodeEntities&&this.fastForwardTo(n.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===n.Amp&&(this.state=i.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?l(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=i.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===n.Gt||o(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart<t){var r=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=r}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===c.TitleEnd?this.decodeEntities&&e===n.Amp&&(this.state=i.BeforeEntity):this.fastForwardTo(n.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===n.Lt)},e.prototype.stateCDATASequence=function(e){e===c.Cdata[this.sequenceIndex]?++this.sequenceIndex===c.Cdata.length&&(this.state=i.InCommentLike,this.currentSequence=c.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=i.InDeclaration,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},e.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===c.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=i.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!l(e):e>=n.LowerA&&e<=n.LowerZ||e>=n.UpperA&&e<=n.UpperZ},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=i.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===n.ExclamationMark)this.state=i.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===n.Questionmark)this.state=i.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this.index,this.xmlMode||t!==c.TitleEnd[2]?this.state=this.xmlMode||t!==c.ScriptEnd[2]?i.InTagName:i.BeforeSpecialS:this.startSpecial(c.TitleEnd,3)}else e===n.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){l(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){o(e)||(e===n.Gt?this.state=i.Text:(this.state=this.isTagStartChar(e)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===n.Gt||o(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===n.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===n.Slash?this.state=i.InSelfClosingTag:o(e)||(this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===n.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):o(e)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===n.Eq||l(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===n.Eq?this.state=i.BeforeAttributeValue:e===n.Slash||e===n.Gt?(this.cbs.onattribend(a.NoValue,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):o(e)||(this.cbs.onattribend(a.NoValue,this.index),this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===n.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):e===n.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):o(e)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===n.DoubleQuote?a.Double:a.Single,this.index),this.state=i.BeforeAttributeName):this.decodeEntities&&e===n.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,n.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,n.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){o(e)||e===n.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(a.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===n.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===n.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=e===n.Dash?i.BeforeComment:i.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===n.Dash?(this.state=i.InCommentLike,this.currentSequence=c.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===c.ScriptEnd[3]?this.startSpecial(c.ScriptEnd,4):t===c.StyleEnd[3]?this.startSpecial(c.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===n.Number?this.state=i.BeforeNumericEntity:e===n.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=i.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,s.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var t=this.trieCurrent&s.BinTrieFlags.VALUE_LENGTH;if(t){var r=(t>>14)-1;if(this.allowLegacyEntity()||e===n.Semi){var i=this.index-this.entityExcess+1;i>this.sectionStart&&this.emitPartial(this.sectionStart,i),this.entityResult=this.trieIndex,this.trieIndex+=r,this.entityExcess=0,this.sectionStart=this.index+1,0===r&&this.emitNamedEntity()}else this.trieIndex+=r}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&s.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~s.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(32|e)===n.LowerX?(this.entityExcess++,this.state=i.InHexEntity):(this.state=i.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var t=this.index-this.entityExcess-1;t+2+Number(this.state===i.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,s.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===n.Semi?this.emitNumericEntity(!0):u(e)?(this.entityResult=10*this.entityResult+(e-n.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){if(e===n.Semi)this.emitNumericEntity(!0);else if(u(e))this.entityResult=16*this.entityResult+(e-n.Zero),this.entityExcess++;else e>=n.UpperA&&e<=n.UpperF||e>=n.LowerA&&e<=n.LowerF?(this.entityResult=16*this.entityResult+((32|e)-n.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===i.Text||this.baseState===i.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===i.InAttributeValueDq||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case i.Text:this.stateText(e);break;case i.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case i.InSpecialTag:this.stateInSpecialTag(e);break;case i.CDATASequence:this.stateCDATASequence(e);break;case i.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case i.InAttributeName:this.stateInAttributeName(e);break;case i.InCommentLike:this.stateInCommentLike(e);break;case i.InSpecialComment:this.stateInSpecialComment(e);break;case i.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case i.InTagName:this.stateInTagName(e);break;case i.InClosingTagName:this.stateInClosingTagName(e);break;case i.BeforeTagName:this.stateBeforeTagName(e);break;case i.AfterAttributeName:this.stateAfterAttributeName(e);break;case i.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case i.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case i.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case i.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case i.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case i.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case i.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case i.InDeclaration:this.stateInDeclaration(e);break;case i.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case i.BeforeComment:this.stateBeforeComment(e);break;case i.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case i.InNamedEntity:this.stateInNamedEntity(e);break;case i.BeforeEntity:this.stateBeforeEntity(e);break;case i.InHexEntity:this.stateInHexEntity(e);break;case i.InNumericEntity:this.stateInNumericEntity(e);break;default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},e.prototype.finish=function(){this.state===i.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===i.InCommentLike?this.currentSequence===c.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===i.InNumericEntity&&this.allowLegacyEntity()||this.state===i.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InTagName||this.state===i.BeforeAttributeName||this.state===i.BeforeAttributeValue||this.state===i.AfterAttributeName||this.state===i.InAttributeName||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueDq||this.state===i.InAttributeValueNq||this.state===i.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},e.prototype.emitPartial=function(e,t){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)},e.prototype.emitCodePoint=function(e){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},e}()},29021:e=>{"use strict";e.exports=require("fs")},29152:(e,t,r)=>{"use strict";e.exports=c;var n=r(18107).F,i=n.ERR_METHOD_NOT_IMPLEMENTED,a=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=n.ERR_TRANSFORM_WITH_LENGTH_0,l=r(71184);function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new a);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);l.call(this,e),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?p(this,null,null):this._flush(function(t,r){p(e,t,r)})}function p(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new o;if(e._transformState.transforming)throw new s;return e.push(null)}r(62993)(c,l),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,r){r(new i("_transform()"))},c.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,function(e){t(e)})}},29226:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getCssPropertyWithValue:()=>i});let n=/(?<propertyName>[a-z-]+)\s*:\s*(?<propertyValue>[a-zA-Z\-0-9()+*/_ ]+)/,i=e=>{let t=n.exec(e.trim());if(t){let[e,r,n]=t;return{name:r,value:n}}}},29289:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(23391)),i=r(65433);function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=i.UNIVERSAL,r.value="*",r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t}(n.default),e.exports=t.default},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},29297:(e,t)=>{"use strict";function r(e,...t){for(let r of t){var n,i;for(let t in r)(null==e||null==(n=e.hasOwnProperty)?void 0:n.call(e,t))||(e[t]=r[t]);for(let t of Object.getOwnPropertySymbols(r))(null==e||null==(i=e.hasOwnProperty)?void 0:i.call(e,t))||(e[t]=r[t])}return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"defaults",{enumerable:!0,get:function(){return r}})},29357:(e,t,r)=>{"use strict";let n=r(3389),i=!1;t.show=(e=process.stderr)=>{e.isTTY&&(i=!1,e.write("\x1b[?25h"))},t.hide=(e=process.stderr)=>{e.isTTY&&(n(),i=!0,e.write("\x1b[?25l"))},t.toggle=(e,r)=>{void 0!==e&&(i=e),i?t.show(r):t.hide(r)}},29863:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ALIAS_KEYS",{enumerable:!0,get:function(){return n.ALIAS_KEYS}}),Object.defineProperty(t,"BUILDER_KEYS",{enumerable:!0,get:function(){return n.BUILDER_KEYS}}),Object.defineProperty(t,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return a.DEPRECATED_ALIASES}}),Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return n.DEPRECATED_KEYS}}),Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return n.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(t,"NODE_FIELDS",{enumerable:!0,get:function(){return n.NODE_FIELDS}}),Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return n.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(t,"PLACEHOLDERS",{enumerable:!0,get:function(){return i.PLACEHOLDERS}}),Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return i.PLACEHOLDERS_ALIAS}}),Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}}),t.TYPES=void 0,Object.defineProperty(t,"VISITOR_KEYS",{enumerable:!0,get:function(){return n.VISITOR_KEYS}}),r(67228),r(52659),r(78890),r(36011),r(87817),r(35504);var n=r(64514),i=r(83805),a=r(66063);for(let{types:e,set:t}of(Object.keys(a.DEPRECATED_ALIASES).forEach(e=>{n.FLIPPED_ALIAS_KEYS[e]=n.FLIPPED_ALIAS_KEYS[a.DEPRECATED_ALIASES[e]]}),n.allExpandedTypes))for(let r of e){let e=n.FLIPPED_ALIAS_KEYS[r];e?e.forEach(t.add,t):t.add(r)}t.TYPES=[].concat(Object.keys(n.VISITOR_KEYS),Object.keys(n.FLIPPED_ALIAS_KEYS),Object.keys(n.DEPRECATED_KEYS))},30287:(e,t,r)=>{"use strict";var n=r(64599);r.o(n,"redirect")&&r.d(t,{redirect:function(){return n.redirect}})},30321:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(e){return[e.toLowerCase(),e]})),t.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(e){return[e.toLowerCase(),e]}))},30353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(46139),i=function(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}(r(23550)),a=Object.freeze({__proto__:null});let s=`(?:[ \\t\\r\\n\\f]*)`,o=`(?:\\n|\\r\\n|\\r|\\f)`,l=`[^\\x00-\\x7F]`,u=`(?:\\\\[0-9a-f]{1,6}(?:\\r\\n|[ \\n\\r\\t\\f])?)`,c=`(?:\\\\[^\\n\\r\\f0-9a-f])`,d=`(?:[_a-z]|${l}|${u}|${c})`,p=`(?:[_a-z0-9-]|${l}|${u}|${c})`,h=`(?:${p}+)`,m=`(?:[-]?${d}${p}*)`,f=`'([^\\n\\r\\f\\\\']|\\\\${o}|${l}|${u}|${c})*'`,y=`"([^\\n\\r\\f\\\\"]|\\\\${o}|${l}|${u}|${c})*"`,g=n.createLexer([{name:"ws",regex:new RegExp(s)},{name:"hash",regex:RegExp(`#${h}`,"i")},{name:"ident",regex:RegExp(m,"i")},{name:"str1",regex:RegExp(f,"i")},{name:"str2",regex:RegExp(y,"i")},{name:"*"},{name:"."},{name:","},{name:"["},{name:"]"},{name:"="},{name:">"},{name:"|"},{name:"+"},{name:"~"},{name:"^"},{name:"$"}]),b=n.createLexer([{name:"unicode",regex:RegExp(u,"i")},{name:"escape",regex:RegExp(c,"i")},{name:"any",regex:RegExp("[\\s\\S]","i")}]);function w([e,t,r],[n,i,a]){return[e+n,t+i,r+a]}let v=i.token(e=>"unicode"===e.name?String.fromCodePoint(parseInt(e.text.slice(1),16)):void 0),k=i.token(e=>"escape"===e.name?e.text.slice(1):void 0),x=i.token(e=>"any"===e.name?e.text:void 0),S=i.map(i.many(i.or(v,k,x)),e=>e.join(""));function E(e){return S({tokens:b(e).tokens,options:void 0},0).value}function T(e){return i.token(t=>t.name===e||void 0)}let _=i.token(e=>"ws"===e.name?null:void 0),A=i.option(_,null);function C(e){return i.middle(A,e,A)}let P=i.token(e=>"ident"===e.name?E(e.text):void 0),D=i.token(e=>"hash"===e.name?E(e.text.slice(1)):void 0),I=i.token(e=>e.name.startsWith("str")?E(e.text.slice(1,-1)):void 0),O=i.left(i.option(P,""),T("|")),N=i.eitherOr(i.ab(O,P,(e,t)=>({name:t,namespace:e})),i.map(P,e=>({name:e,namespace:null}))),L=i.eitherOr(i.ab(O,T("*"),e=>({type:"universal",namespace:e,specificity:[0,0,0]})),i.map(T("*"),()=>({type:"universal",namespace:null,specificity:[0,0,0]}))),R=i.map(N,({name:e,namespace:t})=>({type:"tag",name:e,namespace:t,specificity:[0,0,1]})),M=i.ab(T("."),P,(e,t)=>({type:"class",name:t,specificity:[0,1,0]})),F=i.map(D,e=>({type:"id",name:e,specificity:[1,0,0]})),B=i.token(e=>{if("ident"===e.name){if("i"===e.text||"I"===e.text)return"i";if("s"===e.text||"S"===e.text)return"s"}}),j=i.eitherOr(i.ab(I,i.option(i.right(A,B),null),(e,t)=>({value:e,modifier:t})),i.ab(P,i.option(i.right(_,B),null),(e,t)=>({value:e,modifier:t}))),U=i.choice(i.map(T("="),()=>"="),i.ab(T("~"),T("="),()=>"~="),i.ab(T("|"),T("="),()=>"|="),i.ab(T("^"),T("="),()=>"^="),i.ab(T("$"),T("="),()=>"$="),i.ab(T("*"),T("="),()=>"*=")),$=i.abc(T("["),C(N),T("]"),(e,{name:t,namespace:r})=>({type:"attrPresence",name:t,namespace:r,specificity:[0,1,0]})),q=i.middle(T("["),i.abc(C(N),U,C(j),({name:e,namespace:t},r,{value:n,modifier:i})=>({type:"attrValue",name:e,namespace:t,matcher:r,value:n,modifier:i,specificity:[0,1,0]})),T("]")),z=i.eitherOr($,q),V=i.eitherOr(L,R),H=i.choice(F,M,z),G=i.map(i.eitherOr(i.flatten(V,i.many(H)),i.many1(H)),e=>({type:"compound",list:e,specificity:e.map(e=>e.specificity).reduce(w,[0,0,0])})),W=i.choice(i.map(T(">"),()=>">"),i.map(T("+"),()=>"+"),i.map(T("~"),()=>"~"),i.ab(T("|"),T("|"),()=>"||")),K=i.eitherOr(C(W),i.map(_,()=>" ")),Y=i.leftAssoc2(G,i.map(K,e=>(t,r)=>({type:"compound",list:[...r.list,{type:"combinator",combinator:e,left:t,specificity:t.specificity}],specificity:w(t.specificity,r.specificity)})),G),X=i.leftAssoc2(i.map(Y,e=>({type:"list",list:[e]})),i.map(C(T(",")),()=>(e,t)=>({type:"list",list:[...e.list,t]})),Y);function Z(e,t){if(!("string"==typeof t||t instanceof String))throw Error("Expected a selector string. Actual input is not a string!");let r=g(t);if(!r.complete)throw Error(`The input "${t}" was only partially tokenized, stopped at offset ${r.offset}!
55
55
  `+J(t,r.offset));let n=C(e)({tokens:r.tokens,options:void 0},0);if(!n.matched)throw Error(`No match for "${t}" input!`);if(n.position<r.tokens.length){let e=r.tokens[n.position];throw Error(`The input "${t}" was only partially parsed, stopped at offset ${e.offset}!
56
56
  `+J(t,e.offset,e.len))}return n.value}function J(e,t,r=1){return`${e.replace(/(\t)|(\r)|(\n)/g,(e,t,r)=>t?"␉":r?"␍":"␊")}
57
57
  ${"".padEnd(t)}${"^".repeat(r)}`}function Q(e){if(!e.type)throw Error("This is not an AST node.");switch(e.type){case"universal":return ee(e.namespace)+"*";case"tag":return ee(e.namespace)+er(e.name);case"class":return"."+er(e.name);case"id":return"#"+er(e.name);case"attrPresence":return`[${ee(e.namespace)}${er(e.name)}]`;case"attrValue":return`[${ee(e.namespace)}${er(e.name)}${e.matcher}"${e.value.replace(/(")|(\\)|(\x00)|([\x01-\x1f]|\x7f)/g,(e,t,r,n,i)=>t?'\\"':r?"\\\\":n?"�":et(i))}"${e.modifier?e.modifier:""}]`;case"combinator":return Q(e.left)+e.combinator;case"compound":return e.list.reduce((e,t)=>"combinator"===t.type?Q(t)+e:e+Q(t),"");case"list":return e.list.map(Q).join(",")}}function ee(e){return e||""===e?er(e)+"|":""}function et(e){return`\\${e.codePointAt(0).toString(16)} `}function er(e){return e.replace(/(^[0-9])|(^-[0-9])|(^-$)|([-0-9a-zA-Z_]|[^\x00-\x7F])|(\x00)|([\x01-\x1f]|\x7f)|([\s\S])/g,(e,t,r,n,i,a,s,o)=>t?et(t):r?"-"+et(r.slice(1)):n?"\\-":i||(a?"�":s?et(s):"\\"+o))}function en(e){switch(e.type){case"universal":case"tag":return[1];case"id":return[2];case"class":return[3,e.name];case"attrPresence":return[4,Q(e)];case"attrValue":return[5,Q(e)];case"combinator":return[15,Q(e)]}}function ei(e,t){if(!Array.isArray(e)||!Array.isArray(t))throw Error("Arguments must be arrays.");let r=e.length<t.length?e.length:t.length;for(let n=0;n<r;n++)if(e[n]!==t[n])return e[n]<t[n]?-1:1;return e.length-t.length}t.Ast=a,t.compareSelectors=function(e,t){return ei(e.specificity,t.specificity)},t.compareSpecificity=function(e,t){return ei(e,t)},t.normalize=function e(t){if(!t.type)throw Error("This is not an AST node.");switch(t.type){case"compound":t.list.forEach(e),t.list.sort((e,t)=>ei(en(e),en(t)));break;case"combinator":e(t.left);break;case"list":t.list.forEach(e),t.list.sort((e,t)=>Q(e)<Q(t)?-1:1)}return t},t.parse=function(e){return Z(X,e)},t.parse1=function(e){return Z(Y,e)},t.serialize=Q},30714:e=>{"use strict";e.exports=require("node:vm")},30875:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e)};var n=r(16849)},31072:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0,t.unescapeValue=f;var n,i=l(r(47816)),a=l(r(83886)),s=l(r(23391)),o=r(65433);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return(u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var c=r(33224),d=/^('|")([^]*)\1$/,p=c(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),h=c(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),m=c(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function f(e){var t=!1,r=null,n=e,i=n.match(d);return i&&(r=i[1],n=i[2]),(n=(0,a.default)(n))!==e&&(t=!0),{deprecatedUsage:t,unescaped:n,quoteMark:r}}var y=function(e){function t(t){var r;return void 0===t&&(t={}),(r=e.call(this,function(e){if(void 0!==e.quoteMark||void 0===e.value)return e;m();var t=f(e.value),r=t.quoteMark,n=t.unescaped;return e.raws||(e.raws={}),void 0===e.raws.value&&(e.raws.value=e.value),e.value=n,e.quoteMark=r,e}(t))||this).type=o.ATTRIBUTE,r.raws=r.raws||{},Object.defineProperty(r.raws,"unquoted",{get:c(function(){return r.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:c(function(){return r.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),r._constructed=!0,r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,u(t,e);var r,n=t.prototype;return n.getQuotedValue=function(e){void 0===e&&(e={});var t=g[this._determineQuoteMark(e)];return(0,i.default)(this._value,t)},n._determineQuoteMark=function(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)},n.setValue=function(e,t){void 0===t&&(t={}),this._value=e,this._quoteMark=this._determineQuoteMark(t),this._syncRawValue()},n.smartQuoteMark=function(e){var r=this.value,n=r.replace(/[^']/g,"").length,a=r.replace(/[^"]/g,"").length;if(n+a===0){var s=(0,i.default)(r,{isIdentifier:!0});if(s===r)return t.NO_QUOTE;var o=this.preferredQuoteMark(e);if(o===t.NO_QUOTE){var l=this.quoteMark||e.quoteMark||t.DOUBLE_QUOTE,u=g[l];if((0,i.default)(r,u).length<s.length)return l}return o}return a===n?this.preferredQuoteMark(e):a<n?t.DOUBLE_QUOTE:t.SINGLE_QUOTE},n.preferredQuoteMark=function(e){var r=e.preferCurrentQuoteMark?this.quoteMark:e.quoteMark;return void 0===r&&(r=e.preferCurrentQuoteMark?e.quoteMark:this.quoteMark),void 0===r&&(r=t.DOUBLE_QUOTE),r},n._syncRawValue=function(){var e=(0,i.default)(this._value,g[this.quoteMark]);e===this._value?this.raws&&delete this.raws.value:this.raws.value=e},n._handleEscapes=function(e,t){if(this._constructed){var r=(0,i.default)(t,{isIdentifier:!0});r!==t?this.raws[e]=r:delete this.raws[e]}},n._spacesFor=function(e){return Object.assign({before:"",after:""},this.spaces[e]||{},this.raws.spaces&&this.raws.spaces[e]||{})},n._stringFor=function(e,t,r){void 0===t&&(t=e),void 0===r&&(r=b);var n=this._spacesFor(t);return r(this.stringifyProperty(e),n)},n.offsetOf=function(e){var t=1,r=this._spacesFor("attribute");if(t+=r.before.length,"namespace"===e||"ns"===e)return this.namespace?t:-1;if("attributeNS"===e||(t+=this.namespaceString.length,this.namespace&&(t+=1),"attribute"===e))return t;t+=this.stringifyProperty("attribute").length,t+=r.after.length;var n=this._spacesFor("operator");t+=n.before.length;var i=this.stringifyProperty("operator");if("operator"===e)return i?t:-1;t+=i.length,t+=n.after.length;var a=this._spacesFor("value");t+=a.before.length;var s=this.stringifyProperty("value");return"value"===e?s?t:-1:(t+=s.length,t+=a.after.length,t+=this._spacesFor("insensitive").before.length,"insensitive"===e&&this.insensitive)?t:-1},n.toString=function(){var e=this,t=[this.rawSpaceBefore,"["];return t.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||""===this.value)&&(t.push(this._stringFor("operator")),t.push(this._stringFor("value")),t.push(this._stringFor("insensitiveFlag","insensitive",function(t,r){return!(t.length>0)||e.quoted||0!==r.before.length||e.spaces.value&&e.spaces.value.after||(r.before=" "),b(t,r)}))),t.push("]"),t.push(this.rawSpaceAfter),t.join("")},r=[{key:"quoted",get:function(){var e=this.quoteMark;return"'"===e||'"'===e},set:function(e){h()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(e){if(!this._constructed){this._quoteMark=e;return}this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=f(e),r=t.deprecatedUsage,n=t.unescaped,i=t.quoteMark;r&&p(),(n!==this._value||i!==this._quoteMark)&&(this._value=n,this._quoteMark=i,this._syncRawValue())}else this._value=e}},{key:"insensitive",get:function(){return this._insensitive},set:function(e){!e&&(this._insensitive=!1,this.raws&&("I"===this.raws.insensitiveFlag||"i"===this.raws.insensitiveFlag)&&(this.raws.insensitiveFlag=void 0)),this._insensitive=e}},{key:"attribute",get:function(){return this._attribute},set:function(e){this._handleEscapes("attribute",e),this._attribute=e}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(s.default);t.default=y,y.NO_QUOTE=null,y.SINGLE_QUOTE="'",y.DOUBLE_QUOTE='"';var g=((n={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}})[null]={isIdentifier:!0},n);function b(e,t){return""+t.before+e+t.after}},31095:(e,t,r)=>{"use strict";var n=r(45129).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;switch(this.encoding=function(e){var t=function(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=o,t=4;break;case"base64":this.text=c,this.end=d,t=3;break;default:this.write=p,this.end=h;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function o(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e,0);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.I=a,a.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},a.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},a.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=s(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=s(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=s(t[n]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},31179:(e,t)=>{t["getObjectVariables() 1"]=`
@@ -207,7 +207,7 @@ Make sure that you have a <head> element at some point inside of the <Tailwind>
207
207
  This can also be our <Head> component.
208
208
 
209
209
  If you do already have a <head> element at some depth,
210
- please file a bug https://github.com/resend/react-email/issues/new?assignees=&labels=Type%3A+Bug&projects=&template=1.bug_report.yml.`)}return l}},48811:(e,t,r)=>{"use strict";r.d(t,{Toolbar:()=>ev,S:()=>eh});var n=r(92374),i=r(14148),a=r(82695),s=r(81836),o=r(80929),l=r(13057),u=r(37419),c=r(45157),d=r(81495),p=r(9927),h="Tabs",[m,f]=(0,s.A)(h,[o.RG]),y=(0,o.RG)(),[g,b]=m(h),w=i.forwardRef((e,t)=>{let{__scopeTabs:r,value:i,onValueChange:a,defaultValue:s,orientation:o="horizontal",dir:l,activationMode:m="automatic",...f}=e,y=(0,c.jH)(l),[b,w]=(0,d.i)({prop:i,onChange:a,defaultProp:s??"",caller:h});return(0,n.jsx)(g,{scope:r,baseId:(0,p.B)(),value:b,onValueChange:w,orientation:o,dir:y,activationMode:m,children:(0,n.jsx)(u.sG.div,{dir:y,"data-orientation":o,...f,ref:t})})});w.displayName=h;var v="TabsList",k=i.forwardRef((e,t)=>{let{__scopeTabs:r,loop:i=!0,...a}=e,s=b(v,r),l=y(r);return(0,n.jsx)(o.bL,{asChild:!0,...l,orientation:s.orientation,dir:s.dir,loop:i,children:(0,n.jsx)(u.sG.div,{role:"tablist","aria-orientation":s.orientation,...a,ref:t})})});k.displayName=v;var x="TabsTrigger",S=i.forwardRef((e,t)=>{let{__scopeTabs:r,value:i,disabled:s=!1,...l}=e,c=b(x,r),d=y(r),p=_(c.baseId,i),h=A(c.baseId,i),m=i===c.value;return(0,n.jsx)(o.q7,{asChild:!0,...d,focusable:!s,active:m,children:(0,n.jsx)(u.sG.button,{type:"button",role:"tab","aria-selected":m,"aria-controls":h,"data-state":m?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:p,...l,ref:t,onMouseDown:(0,a.m)(e.onMouseDown,e=>{s||0!==e.button||!1!==e.ctrlKey?e.preventDefault():c.onValueChange(i)}),onKeyDown:(0,a.m)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&c.onValueChange(i)}),onFocus:(0,a.m)(e.onFocus,()=>{let e="manual"!==c.activationMode;m||s||!e||c.onValueChange(i)})})})});S.displayName=x;var E="TabsContent",T=i.forwardRef((e,t)=>{let{__scopeTabs:r,value:a,forceMount:s,children:o,...c}=e,d=b(E,r),p=_(d.baseId,a),h=A(d.baseId,a),m=a===d.value,f=i.useRef(m);return i.useEffect(()=>{let e=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,n.jsx)(l.C,{present:s||m,children:({present:r})=>(0,n.jsx)(u.sG.div,{"data-state":m?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":p,hidden:!r,id:h,tabIndex:0,...c,ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0},children:r&&o})})});function _(e,t){return`${e}-trigger-${t}`}function A(e,t){return`${e}-content-${t}`}T.displayName=E;var C=r(14431),P=r(87744),D=r(12110),I=r(20657),O=r(56037),N=r(81301),L=r(58409),R=r(73566);let M=i.forwardRef(({...e},t)=>(0,n.jsx)(R.z,{ref:t,...e,children:(0,n.jsx)("path",{d:"M12 4C7.58173 4 4 7.58172 4 12C4 16.4182 7.58173 20 12 20C16.4183 20 20 16.4182 20 12C20 7.58172 16.4183 4 12 4ZM5.14754 12C5.14754 8.21549 8.21551 5.14754 12 5.14754C15.7845 5.14754 18.8525 8.21549 18.8525 12C18.8525 15.7844 15.7845 18.8525 12 18.8525C8.21551 18.8525 5.14754 15.7844 5.14754 12ZM12.906 8.37648C12.906 8.87682 12.5004 9.28243 12 9.28243C11.4997 9.28243 11.0941 8.87682 11.0941 8.37648C11.0941 7.87613 11.4997 7.47053 12 7.47053C12.5004 7.47053 12.906 7.87613 12.906 8.37648ZM10.1883 10.1884H10.7922H12.0002C12.3337 10.1884 12.6041 10.4588 12.6041 10.7924V15.0201H13.2081H13.8121V16.2281H13.2081H12.0002H10.7922H10.1883V15.0201H10.7922H11.3962V11.3963H10.7922H10.1883V10.1884Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}));M.displayName="IconInfo";let F=i.forwardRef(({...e},t)=>(0,n.jsx)(R.z,{ref:t,...e,children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9354 12C17.9354 9.01537 15.5828 6.05264 11.9202 6.05264C8.96229 6.05264 7.50033 8.21724 6.87735 9.36841H8.72625C9.02024 9.36841 9.25858 9.60406 9.25858 9.89473C9.25858 10.1854 9.02024 10.421 8.72625 10.421H5.53232C5.23833 10.421 5 10.1854 5 9.89473V6.73684C5 6.44617 5.23833 6.21052 5.53232 6.21052C5.82631 6.21052 6.06465 6.44617 6.06465 6.73684V8.64548C6.81471 7.33819 8.54959 5 11.9202 5C16.2456 5 19 8.51094 19 12C19 15.4891 16.2456 19 11.9202 19C9.8507 19 8.12769 18.1904 6.9009 16.9562C6.24405 16.2954 5.73107 15.5148 5.38132 14.6744C5.26942 14.4057 5.39911 14.0981 5.67098 13.9875C5.94285 13.8768 6.25395 14.0051 6.36583 14.2738C6.66482 14.9921 7.10262 15.6574 7.66023 16.2183C8.69486 17.2593 10.1475 17.9474 11.9202 17.9474C15.5828 17.9474 17.9354 14.9846 17.9354 12Z",fill:"currentColor"})}));F.displayName="IconReload";var B=r(90708);let j={family:{gmail:"Gmail",outlook:"Outlook",yahoo:"Yahoo! Mail","apple-mail":"Apple Mail",aol:"AOL",thunderbird:"Mozilla Thunderbird",microsoft:"Microsoft","samsung-email":"Samsung Email",sfr:"SFR",orange:"Orange",protonmail:"ProtonMail",hey:"HEY","mail-ru":"Mail.ru",fastmail:"Fastmail",laposte:"LaPoste.net","t-online-de":"T-online.de","free-fr":"Free.fr",gmx:"GMX","web-de":"WEB.DE","ionos-1and1":"1&1",rainloop:"RainLoop","wp-pl":"WP.pl"}};var U=r(43518);let $=(0,U.createServerReference)("7fbc43968c8d354e3604fb701880a533772dbaa2c5",U.callServer,void 0,U.findSourceMapURL,"checkCompatibility");async function*q(e){let t=e.getReader();try{for(;;){let{value:e,done:r}=await t.read();if(r)break;yield e}}finally{t.releaseLock()}}let z=e=>(0,n.jsxs)("svg",{width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,n.jsx)("path",{d:"M10.8777 8.99999L6.87766 1.99999C6.79044 1.84609 6.66396 1.71808 6.51112 1.62902C6.35828 1.53997 6.18455 1.49304 6.00766 1.49304C5.83077 1.49304 5.65704 1.53997 5.5042 1.62902C5.35136 1.71808 5.22488 1.84609 5.13766 1.99999L1.13766 8.99999C1.0495 9.15267 1.00327 9.32594 1.00366 9.50224C1.00405 9.67855 1.05105 9.85161 1.13988 10.0039C1.22872 10.1562 1.35623 10.2823 1.50951 10.3694C1.66278 10.4565 1.83636 10.5016 2.01266 10.5H10.0127C10.1881 10.4998 10.3604 10.4535 10.5123 10.3656C10.6642 10.2778 10.7903 10.1515 10.8779 9.99955C10.9656 9.84756 11.0117 9.67518 11.0116 9.49973C11.0116 9.32428 10.9654 9.15193 10.8777 8.99999Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M6.0127 4.5V6.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M6.0127 8.5H6.01853",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]});z.displayName="IconCircleWarning";var V=r(3693),H=r.n(V);let G=({line:e,type:t})=>{let r=new URLSearchParams((0,P.useSearchParams)());r.set("view","source"),"html"===t?r.set("lang","markup"):"react"===t&&r.set("lang","jsx");let i=`#L${e}`;return(0,n.jsxs)(H(),{href:{search:r.toString(),hash:i},scroll:!1,className:"appearance-none underline mx-2",children:["L",e.toString().padStart(2,"0")]})},W=({children:e,className:t,...r})=>(0,n.jsx)("table",{...r,className:(0,O.cn)("group relative w-full border-collapse text-left text-slate-10 text-sm",t),children:(0,n.jsx)("tbody",{children:e})});W.Row=({children:e,className:t,...r})=>(0,n.jsx)("tr",{className:(0,O.cn)("border-collapse align-bottom border-slate-6 border-b last:border-b-0",t),...r,children:e}),W.Column=({children:e,className:t,...r})=>(0,n.jsx)("td",{className:(0,O.cn)("py-1.5 align-bottom font-regular",t),...r,children:e});let K=({reactMarkup:e,emailPath:t,initialResults:r})=>{let[n,a]=(0,i.useState)(r),[s,o]=(0,i.useState)(!1),l=(0,i.useRef)(!1);return[n,{loading:s,load:async()=>{if(l.current)return;l.current=!0,o(!0),a([]);let r=[];try{let n=await $(e,t);for await(let e of q(n))"error"===e.status&&a(t=>t?r=[...t,e]:[e])}catch(e){console.error(e),B.oR.error(JSON.stringify(e))}finally{o(!1),l.current=!1}return r}}]},Y=({results:e})=>(0,n.jsx)(W,{children:e?.map((e,t)=>{let r=Object.entries(e.statsPerEmailClient).filter(([,e])=>"error"===e.status),i=r.map(([e])=>j.family[e]).join(", ");return(0,n.jsxs)(W.Row,{children:[(0,n.jsx)(W.Column,{children:(0,n.jsxs)("span",{className:"flex text-red-400 uppercase gap-2 items-center",children:[(0,n.jsx)(z,{}),(0,O.aj)(e.entry.title)]})}),(0,n.jsxs)(W.Column,{children:[r.length>0?`Not supported in ${i}`:null,(0,n.jsx)("a",{href:e.entry.url,className:"underline ml-2 decoration-slate-9 decoration-1 hover:decoration-slate-11 transition-colors hover:text-slate-12",rel:"noreferrer",target:"_blank",children:"More ↗"})]}),(0,n.jsx)(W.Column,{className:"font-mono text-slate-11 text-right",children:(0,n.jsx)(G,{line:e.location.start.line,column:e.location.start.column,type:"react"})})]},t)})}),X=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],Z=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],J=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],Q=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],ee=(e,t,r)=>{let n=e;return"string"==typeof t||Array.isArray(t)?n=e.toLocaleString(t,r):(!0===t||void 0!==r)&&(n=e.toLocaleString(void 0,r)),n},et=(0,U.createServerReference)("7f54fe3247b8aee819da0d20beabadc0a17d5becb4",U.callServer,void 0,U.findSourceMapURL,"checkImages"),er=(0,U.createServerReference)("7f9b778420bd23d4c6f551bce5c23f4e58d0529570",U.callServer,void 0,U.findSourceMapURL,"checkLinks");async function*en(e){for await(let t of e)for await(let e of q(await t.getStream())){let r=t.mapValue(e);r&&(yield r)}}let ei=({markup:e,initialRows:t})=>{let[r,n]=(0,i.useState)(t),a=function(e,t){return[{getStream:()=>et(e,t),mapValue(e){if(e&&"success"!==e.status)return{result:e,source:"image"}}},{getStream:()=>er(e),mapValue(e){if(e&&"success"!==e.status)return{result:e,source:"link"}}}]}(e,"location"in global?`${global.location.protocol}//${global.location.host}`:""),[s,o]=(0,i.useState)(!1),l=(0,i.useRef)(!1);return[r,{loading:s,load:async()=>{if(!l.current){l.current=!0,o(!0),n([]);try{let e=[];for await(let t of en(a))n(r=>{if(!r)return[t];let n=[...r,t];return n.sort((e,t)=>"error"===e.result.status&&"warning"===t.result.status?-1:+("warning"===e.result.status&&"error"===t.result.status)),e=n,n});return e}finally{o(!1),l.current=!1}}}}]},ea=({rows:e})=>void 0===e?null:(0,n.jsx)(W,{children:e.map((e,t)=>{if("link"===e.source){let r=e.result.checks.find(e=>!1===e.passed),i=[];for(let t of e.result.checks)"fetch_attempt"===t.type&&t.metadata.fetchStatusCode&&i.push((0,n.jsxs)(n.Fragment,{children:["HTTP ",t.metadata.fetchStatusCode]}));return i.push((0,n.jsx)(G,{line:e.result.codeLocation.line,column:e.result.codeLocation.column,type:"html"})),(0,n.jsxs)(es,{status:e.result.status,children:[(0,n.jsx)(es.Name,{children:(0,O.aj)(r.type)}),(0,n.jsxs)(es.Description,{children:["security"===r.type?"Insecure URL, use HTTPS instead of HTTP":null,"fetch_attempt"===r.type&&r.metadata.fetchStatusCode&&r.metadata.fetchStatusCode>=300&&r.metadata.fetchStatusCode<400?"There was a redirect, the content may have been moved":null,"fetch_attempt"===r.type&&r.metadata.fetchStatusCode&&r.metadata.fetchStatusCode>=400?"The link is broken":null,"fetch_attempt"===r.type&&void 0===r.metadata.fetchStatusCode?"The link could not be reached":null,"syntax"===r.type?"The link is broken due to invalid syntax":null,(0,n.jsx)("span",{className:"ml-2 text-ellipsis overflow-hidden text-nowrap max-w-[30ch]",children:e.result.link})]}),(0,n.jsx)(es.Metadata,{children:i})]},t)}if("image"===e.source){let r=e.result.checks.find(e=>!1===e.passed),i=[];for(let t of e.result.checks)"image_size"===t.type&&t.metadata.byteCount&&i.push(function(e,t){let r;if(!Number.isFinite(e))throw TypeError(`Expected a finite number, got ${typeof e}: ${e}`);let n=(t={bits:!1,binary:!1,space:!0,...t}).bits?t.binary?Q:J:t.binary?Z:X,i=t.space?" ":"";if(t.signed&&0===e)return` 0${i}${n[0]}`;let a=e<0,s=a?"-":t.signed?"+":"";if(a&&(e=-e),void 0!==t.minimumFractionDigits&&(r={minimumFractionDigits:t.minimumFractionDigits}),void 0!==t.maximumFractionDigits&&(r={maximumFractionDigits:t.maximumFractionDigits,...r}),e<1)return s+ee(e,t.locale,r)+i+n[0];let o=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),n.length-1);return e/=(t.binary?1024:1e3)**o,r||(e=e.toPrecision(3)),s+ee(Number(e),t.locale,r)+i+n[o]}(t.metadata.byteCount)),"fetch_attempt"===t.type&&t.metadata.fetchStatusCode&&i.push((0,n.jsxs)(n.Fragment,{children:["HTTP ",t.metadata.fetchStatusCode]}));return i.push((0,n.jsx)(G,{line:e.result.codeLocation.line,column:e.result.codeLocation.column,type:"html"})),(0,n.jsxs)(es,{status:e.result.status,children:[(0,n.jsx)(es.Name,{children:(0,O.aj)(r.type)}),(0,n.jsxs)(es.Description,{children:["security"===r.type?"Insecure URL, use HTTPS instead of HTTP":null,"fetch_attempt"===r.type&&r.metadata.fetchStatusCode&&r.metadata.fetchStatusCode>=300&&r.metadata.fetchStatusCode<400?"There was a redirect, the image may have been moved":null,"fetch_attempt"===r.type&&r.metadata.fetchStatusCode&&r.metadata.fetchStatusCode>=400?"The image is broken":null,"fetch_attempt"===r.type&&void 0===r.metadata.fetchStatusCode?"The image could not be reached":null,"syntax"===r.type?"The image is broken due to an invalid source":null,"accessibility"===r.type?"Missing alt text":null,"image_size"===r.type&&r.metadata.byteCount?"This image is too large, keep it under 1mb":null,(0,n.jsx)("span",{className:"ml-2 text-ellipsis overflow-hidden text-nowrap max-w-[30ch]",children:e.result.source})]}),(0,n.jsx)(es.Metadata,{children:i})]},t)}})}),es=({children:e,className:t,status:r,...i})=>(0,n.jsx)(W.Row,{"data-status":r,...i,className:(0,O.cn)("group/result",t),children:e});es.Name=({children:e,...t})=>(0,n.jsx)(W.Column,{...t,children:(0,n.jsxs)("span",{className:"flex uppercase gap-2 items-center group-data-[status=error]/result:text-red-400 group-data-[status=warning]/result:text-orange-300",children:[(0,n.jsx)(z,{}),"string"==typeof e?(0,O.aj)(e):e]})}),es.Description=({children:e,className:t,...r})=>(0,n.jsx)(W.Column,{...r,children:e}),es.Metadata=({children:e,className:t,...r})=>(0,n.jsx)(W.Column,{align:"right",...r,className:(0,O.cn)("font-mono text-slate-11",t),children:i.Children.map(e,(e,t)=>(0,n.jsxs)(n.Fragment,{children:[t>0?" \xb7 ":null,e]}))});let eo=({markup:e,plainText:t,initialResult:r})=>{let[n,a]=(0,i.useState)(r),[s,o]=(0,i.useState)(!1),l=(0,i.useRef)(!1);return[n,{loading:s,load:async()=>{if(!l.current){l.current=!0,o(!0);try{let r=await fetch("https://react.email/api/check-spam",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({html:e,plainText:t})}),n=await r.json();if(!("error"in n))return a(n),n;B.oR.error(n.error)}catch(e){console.error(e),B.oR.error(JSON.stringify(e))}finally{o(!1),l.current=!1}}}}]},el=({result:e})=>(0,n.jsx)(n.Fragment,{children:e?(0,n.jsxs)(W,{children:[(0,n.jsxs)(W.Row,{className:"sticky border-b top-0",children:[(0,n.jsx)(W.Column,{className:"uppercase",children:(0,n.jsxs)("span",{className:"flex gap-2 items-center",children:[(0,n.jsx)(z,{className:(0,O.cn)(0===e.points?"text-green-400":null,(e.points>0&&e.points,null),e.points>1.5?"text-yellow-100":null,e.points>3?"text-orange-400":null,e.points>=5?"text-red-400":null)}),"Score"]})}),(0,n.jsx)(W.Column,{children:0===e.points?"Congratulations! Your email is clean of abuse indicators.":"Higher scores are better"}),(0,n.jsxs)(W.Column,{className:"text-right tracking-tighter font-bold",children:[(0,n.jsx)("span",{className:(0,O.cn)("text-3xl",0===e.points?"text-green-400":null,(e.points>0&&e.points,null),e.points>1.5?"text-yellow-200":null,e.points>3?"text-orange-400":null,e.points>=5?"text-red-400":null),children:(10-e.points).toFixed(1)})," ",(0,n.jsx)("span",{className:"text-lg",children:"/ 10"})]})]}),(function(e,t){let r=[...e];return r.sort(t),r})(e.checks,(e,t)=>t.points-e.points).map(e=>(0,n.jsxs)(W.Row,{children:[(0,n.jsx)(W.Column,{className:"uppercase",children:(0,n.jsxs)("span",{className:"flex gap-2 items-center",children:[(0,n.jsx)(z,{className:(0,O.cn)(e.points>1?"text-yellow-200":null,e.points>2?"text-orange-400":null,e.points>3?"text-red-400":null)}),(0,O.aj)(e.name)]})}),(0,n.jsx)(W.Column,{children:e.description}),(0,n.jsxs)(W.Column,{className:(0,O.cn)("text-right font-mono tracking-tighter",e.points>1?"text-yellow-200":null,e.points>2?"text-orange-400":null,e.points>3?"text-red-400":null),children:["-",e.points.toFixed(1)]})]},e.name))]}):null});var eu=r(3916),ec=r(1096);let ed=({children:e,className:t,active:r,tooltip:i,delayDuration:a=500,...s})=>(0,n.jsx)(ec.m.Provider,{children:(0,n.jsxs)(ec.m,{delayDuration:a,children:[(0,n.jsx)(ec.m.Trigger,{asChild:!0,children:(0,n.jsxs)("button",{type:"button",...s,className:(0,O.cn)("h-full w-fit font-regular flex text-sm text-slate-10 items-center align-middle justify-center px-1 gap-2 relative","hover:text-slate-12 transition-colors",r&&"data-[state=active]:text-cyan-11",t),children:[e,r?(0,n.jsx)(eu.P.span,{className:"-bottom-px absolute rounded-sm left-0 w-full bg-cyan-11 h-px",layoutId:"active-toolbar-button",transition:{type:"spring",bounce:.2,duration:.6}}):null]})}),i?(0,n.jsx)(ec.m.Content,{children:i}):null]})}),ep=e=>{let t;if("localStorage"in global){let r=global.localStorage.getItem(e);if(null!==r&&"undefined"!==r)try{t=JSON.parse(r)}catch(t){console.warn("Failed to load stored value for",e,"with value",r)}}return[(0,i.useSyncExternalStore)(()=>()=>{},()=>t,()=>void 0),function(t){"localStorage"in global&&global.localStorage.setItem(e,JSON.stringify(t))}]},eh=()=>{let e=(0,P.useSearchParams)().get("toolbar-panel")??void 0;return{activeTab:e,toggled:void 0!==e}},em=({serverLintingRows:e,serverSpamCheckingResult:t,serverCompatibilityResults:r,markup:a,reactMarkup:s,plainText:o,emailPath:l,emailSlug:u})=>{let c=(0,P.usePathname)(),d=(0,P.useSearchParams)(),p=(0,P.useRouter)(),{activeTab:h,toggled:m}=eh(),f=e=>{let t=new URLSearchParams(d);void 0===e?t.delete("toolbar-panel"):t.set("toolbar-panel",e),p.push(`${c}?${t.toString()}${location.hash}`)},[y,g]=ep(`spam-assassin-${u.replaceAll("/","-")}`),[b,{load:v,loading:x}]=eo({markup:a,plainText:o,initialResult:t??y}),[E,_]=ep(`linter-${u.replaceAll("/","-")}`),[A,{load:I,loading:L}]=ei({markup:a,initialRows:e??E}),[R,B]=ep(`compatibility-${u.replaceAll("/","-")}`),[j,{load:U,loading:$}]=K({emailPath:l,reactMarkup:s,initialResults:r??R});D.Hf||i.useEffect(()=>{(async()=>{_(await I()),g(await v()),B(await U())})()},[]);let q=i.useId();return(0,n.jsx)("div",{"data-toggled":m,className:(0,O.cn)("absolute bottom-0 left-0 right-0","border-t border-slate-6 group/toolbar text-xs text-slate-11 h-52 transition-transform","data-[toggled=false]:translate-y-[10.625rem]"),children:(0,n.jsx)(w,{value:h??"",onValueChange:e=>{f(e)},asChild:!0,children:(0,n.jsxs)("div",{className:"flex flex-col h-full",children:[(0,n.jsxs)(k,{className:"flex gap-4 px-4 border-b border-solid border-slate-6 h-10 w-full flex-shrink-0",children:[(0,n.jsxs)(C.o,{id:`toolbar-${q}`,children:[(0,n.jsx)(S,{asChild:!0,value:"linter",children:(0,n.jsx)(ed,{active:"linter"===h,children:"Linter"})}),(0,n.jsx)(S,{asChild:!0,value:"compatibility",children:(0,n.jsx)(ed,{active:"compatibility"===h,children:"Compatibility"})}),(0,n.jsx)(S,{asChild:!0,value:"spam-assassin",children:(0,n.jsx)(ed,{active:"spam-assassin"===h,children:"Spam"})})]}),(0,n.jsxs)("div",{className:"flex gap-0.5 ml-auto",children:[(0,n.jsx)(ed,{delayDuration:0,tooltip:"linter"===h&&"The Linter tab checks all the images and links for common issues like missing alt text, broken URLs, insecure HTTP methods, and more."||"spam-assassin"===h&&"The Spam tab will look at the content and use a robust scoring framework to determine if the email is likely to be spam. Powered by SpamAssassin."||"compatibility"===h&&"The Compatibility tab shows how well the HTML/CSS is supported across mail clients like Outlook, Gmail, etc. Powered by Can I Email."||"Info",children:(0,n.jsx)(M,{size:24})}),D.Hf?null:(0,n.jsx)(ed,{tooltip:"Reload",disabled:L||x,onClick:async()=>{void 0===h&&f("linter"),"spam-assassin"===h?await v():"linter"===h?await I():"compatibility"===h&&await U()},children:(0,n.jsx)(F,{size:24,className:(0,O.cn)({"opacity-60 animate-spin-fast":L||x})})}),(0,n.jsx)(ed,{tooltip:"Toggle toolbar",onClick:()=>{void 0===h?f("linter"):f(void 0)},children:(0,n.jsx)(N.R,{size:24,className:"transition-transform group-data-[toggled=false]/toolbar:rotate-180"})})]})]}),(0,n.jsxs)("div",{className:"flex-grow transition-opacity opacity-100 group-data-[toggled=false]/toolbar:opacity-0 overflow-y-auto pr-3 pl-4 pt-3",children:[(0,n.jsx)(T,{value:"linter",children:L?(0,n.jsx)(ef,{message:"Analyzing your code for linting issues..."}):A?.length===0?(0,n.jsxs)(ey,{children:[(0,n.jsx)(eg,{}),(0,n.jsx)(eb,{children:"All good"}),(0,n.jsx)(ew,{children:"No linting issues found."})]}):(0,n.jsx)(ea,{rows:A??[]})}),(0,n.jsx)(T,{value:"compatibility",children:$?(0,n.jsx)(ef,{message:"Checking email compatibility..."}):j?.length===0?(0,n.jsxs)(ey,{children:[(0,n.jsx)(eg,{}),(0,n.jsx)(eb,{children:"Great compatibility"}),(0,n.jsx)(ew,{children:"Template should render properly everywhere."})]}):(0,n.jsx)(Y,{results:j??[]})}),(0,n.jsx)(T,{value:"spam-assassin",children:x?(0,n.jsx)(ef,{message:"Evaluating your email for spam indicators..."}):b?.isSpam===!1?(0,n.jsxs)(ey,{children:[(0,n.jsx)(eg,{}),(0,n.jsx)(eb,{children:"10/10"}),(0,n.jsx)(ew,{children:"Your email is clean of abuse indicators."})]}):(0,n.jsx)(el,{result:b})})]})]})})})},ef=({message:e})=>(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center pt-8",children:[(0,n.jsxs)("div",{className:"relative mb-8 flex items-center justify-center",children:[(0,n.jsx)("div",{className:"h-12 w-12 rounded-full bg-gradient-to-br from-cyan-400/80 to-cyan-600/80 opacity-10 blur-xl absolute m-auto left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 animate-pulse"}),(0,n.jsx)("div",{className:"h-12 w-12 rounded-full border border-slate-4 absolute m-auto left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"}),(0,n.jsx)("div",{className:"h-10 w-10 rounded-full flex items-center justify-center absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",children:(0,n.jsx)("div",{className:"h-5 w-5 rounded-full border-2 border-white/50 border-t-transparent animate-spin-fast"})})]}),(0,n.jsx)("h3",{className:"text-slate-12 font-medium text-base mb-1",children:"Processing"}),(0,n.jsx)("p",{className:"text-slate-11 text-sm text-center max-w-[320px]",children:e})]}),ey=({children:e})=>(0,n.jsx)("div",{className:"flex flex-col items-center justify-center pt-8",children:e}),eg=()=>(0,n.jsxs)("div",{className:"relative mb-8 flex items-center justify-center",children:[(0,n.jsx)("div",{className:"h-16 w-16 rounded-full bg-gradient-to-br from-green-300/20 opacity-80 to-emerald-500/30 blur-md absolute m-auto left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"}),(0,n.jsx)("div",{className:"h-12 w-12 rounded-full bg-gradient-to-br from-green-400/80 opacity-10 to-emerald-600/80 absolute m-auto left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 shadow-lg"}),(0,n.jsx)("div",{className:"h-10 w-10 rounded-full bg-gradient-to-br from-green-400 to-emerald-600 flex items-center justify-center absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 shadow-[inset_0_1px_1px_rgba(255,255,255,0.4)]",children:(0,n.jsx)(L.i,{size:24,className:"text-white drop-shadow-sm"})})]}),eb=({children:e})=>(0,n.jsx)("h3",{className:"text-slate-12 font-medium text-base mb-1",children:e}),ew=({children:e})=>(0,n.jsx)("p",{className:"text-slate-11 text-sm text-center max-w-[320px]",children:e}),ev=({serverLintingRows:e,serverSpamCheckingResult:t,serverCompatibilityResults:r})=>{let{emailPath:a,emailSlug:s,renderedEmailMetadata:o}=i.use(I.o);if(void 0===o)return null;let{markup:l,plainText:u,reactMarkup:c}=o;return(0,n.jsx)(em,{emailPath:a,emailSlug:s,markup:l,reactMarkup:c,plainText:u,serverLintingRows:e,serverSpamCheckingResult:t,serverCompatibilityResults:r})}},48817:e=>{"use strict";e.exports=require("postcss")},49055:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenContext=void 0,t.isLastChild=function(e,t){let r=s[e.type];for(let n=r.length-1;n>=0;n--){let i=e[r[n]];if(i===t)return!0;if(Array.isArray(i)){let e=i.length-1;for(;e>=0&&null===i[e];)e--;return e>=0&&i[e]===t}if(i)break}return!1},t.needsParens=function(e,t,r,n,i){var a;return!!t&&(!!(d(t)&&t.callee===e&&function e(t){return!!o(t)||c(t)&&e(t.object)}(e))||(l(t)?!g(e)&&!(o(e)&&g(e.callee))&&!p(e):null==(a=m.get(e.type))?void 0:a(e,t,r,n,i)))},t.needsWhitespace=y,t.needsWhitespaceAfter=function(e,t){return y(e,t,2)},t.needsWhitespaceBefore=function(e,t){return y(e,t,1)};var n=r(938),i=r(47467);let{FLIPPED_ALIAS_KEYS:a,VISITOR_KEYS:s,isCallExpression:o,isDecorator:l,isExpressionStatement:u,isMemberExpression:c,isNewExpression:d,isParenthesizedExpression:p}=r(40838);function h(e){let t=new Map;function r(e,r){let n=t.get(e);t.set(e,n?function(e,t,i,a,s){var o;return null!=(o=n(e,t,i,a,s))?o:r(e,t,i,a,s)}:r)}for(let t of Object.keys(e)){let n=a[t];if(n)for(let i of n)r(i,e[t]);else r(t,e[t])}return t}t.TokenContext={expressionStatement:1,arrowBody:2,exportDefault:4,forHead:8,forInHead:16,forOfHead:32,arrowFlowReturnType:64};let m=h(i),f=h(n.nodes);function y(e,t,r){var n;if(!e)return!1;u(e)&&(e=e.expression);let i=null==(n=f.get(e.type))?void 0:n(e,t);return"number"==typeof i&&(i&r)!=0}function g(e){switch(e.type){case"Identifier":return!0;case"MemberExpression":return!e.computed&&"Identifier"===e.property.type&&g(e.object);default:return!1}}},49057:(e,t)=>{t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,n,i){if(0===r.length)return -1;var a=function e(r,n,i,a,s,o){var l=Math.floor((n-r)/2)+r,u=s(i,a[l],!0);return 0===u?l:u>0?n-l>1?e(l,n,i,a,s,o):o==t.LEAST_UPPER_BOUND?n<a.length?n:-1:l:l-r>1?e(r,l,i,a,s,o):o==t.LEAST_UPPER_BOUND?l:r<0?-1:r}(-1,r.length,e,r,n,i||t.GREATEST_LOWER_BOUND);if(a<0)return -1;for(;a-1>=0&&0===n(r[a],r[a-1],!0);)--a;return a}},49166:(e,t,r)=>{"use strict";e.exports=r(94348).vendored["react-rsc"].ReactJsxDevRuntime},50176:(e,t,r)=>{var n=r(24301);e.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(r){void 0===e[r]&&(e[r]=n(t[r]))}),e}},51455:e=>{"use strict";e.exports=require("node:fs/promises")},51474:(e,t,r)=>{"use strict";let n,i=r(64476),{stdout:a,stderr:s}=r(77532),{stringReplaceAll:o,stringEncaseCRLFWithFirstIndex:l}=r(61640),{isArray:u}=Array,c=["ansi","ansi","ansi256","ansi16m"],d=Object.create(null),p=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let r=a?a.level:0;e.level=void 0===t.level?r:t.level};class h{constructor(e){return m(e)}}let m=e=>{let t={};return p(t,e),t.template=(...e)=>k(t.template,...e),Object.setPrototypeOf(t,f.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=h,t.template};function f(e){return m(e)}for(let[e,t]of Object.entries(i))d[e]={get(){let r=w(this,b(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:r}),r}};d.visible={get(){let e=w(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};let y=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of y)d[e]={get(){let{level:t}=this;return function(...r){return w(this,b(i.color[c[t]][e](...r),i.color.close,this._styler),this._isEmpty)}}};for(let e of y)d["bg"+e[0].toUpperCase()+e.slice(1)]={get(){let{level:t}=this;return function(...r){return w(this,b(i.bgColor[c[t]][e](...r),i.bgColor.close,this._styler),this._isEmpty)}}};let g=Object.defineProperties(()=>{},{...d,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),b=(e,t,r)=>{let n,i;return void 0===r?(n=e,i=t):(n=r.openAll+e,i=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:i,parent:r}},w=(e,t,r)=>{let n=(...e)=>u(e[0])&&u(e[0].raw)?v(n,k(n,...e)):v(n,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(n,g),n._generator=e,n._styler=t,n._isEmpty=r,n},v=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let r=e._styler;if(void 0===r)return t;let{openAll:n,closeAll:i}=r;if(-1!==t.indexOf("\x1b"))for(;void 0!==r;)t=o(t,r.close,r.open),r=r.parent;let a=t.indexOf("\n");return -1!==a&&(t=l(t,i,n,a)),n+t+i},k=(e,...t)=>{let[i]=t;if(!u(i)||!u(i.raw))return t.join(" ");let a=t.slice(1),s=[i.raw[0]];for(let e=1;e<i.length;e++)s.push(String(a[e-1]).replace(/[{}\\]/g,"\\$&"),String(i.raw[e]));return void 0===n&&(n=r(6645)),n(e,s.join(""))};Object.defineProperties(f.prototype,d);let x=m(void 0);x.supportsColor=a,x.stderr=m({level:s?s.level:0}),x.stderr.supportsColor=s,e.exports=x},51572:(e,t,r)=>{let n=r(26920),i={boxFlex:!0,boxFlexGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};function a(e){return void 0===e.nodes||s(e)}function s(e){let t,r={};return e.each(e=>{if("atrule"===e.type)t="@"+e.name,e.params&&(t+=" "+e.params),void 0===r[t]?r[t]=a(e):Array.isArray(r[t])?r[t].push(a(e)):r[t]=[r[t],a(e)];else if("rule"===e.type){let t=s(e);if(r[e.selector])for(let n in t)r[e.selector][n]=t[n];else r[e.selector]=t}else if("decl"===e.type){t="-"===e.prop[0]&&"-"===e.prop[1]||e.parent&&":export"===e.parent.selector?e.prop:n(e.prop);let a=e.value;!isNaN(e.value)&&i[t]&&(a=parseFloat(e.value)),e.important&&(a+=" !important"),void 0===r[t]?r[t]=a:Array.isArray(r[t])?r[t].push(a):r[t]=[r[t],a]}}),r}e.exports=s},51647:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BreakStatement=function(e){this.word("break"),c(this,e.label)},t.CatchClause=function(e){this.word("catch"),this.space(),e.param&&(this.tokenChar(40),this.print(e.param),this.print(e.param.typeAnnotation),this.tokenChar(41),this.space()),this.print(e.body)},t.ContinueStatement=function(e){this.word("continue"),c(this,e.label)},t.DebuggerStatement=function(){this.word("debugger"),this.semicolon()},t.DoWhileStatement=function(e){this.word("do"),this.space(),this.print(e.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.semicolon()},t.ForOfStatement=t.ForInStatement=void 0,t.ForStatement=function(e){this.word("for"),this.space(),this.tokenChar(40);{let t=this.enterForStatementInit();this.tokenContext|=i.TokenContext.forHead,this.print(e.init),t()}this.tokenChar(59),e.test&&(this.space(),this.print(e.test)),this.token(";",!1,1),e.update&&(this.space(),this.print(e.update)),this.tokenChar(41),this.printBlock(e)},t.IfStatement=function(e){this.word("if"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.space();let t=e.alternate&&o(function e(t){let{body:r}=t;return!1===l(r)?t:e(r)}(e.consequent));t&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(e.consequent),t&&(this.dedent(),this.newline(),this.tokenChar(125)),e.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(e.alternate))},t.LabeledStatement=function(e){this.print(e.label),this.tokenChar(58),this.space(),this.print(e.body)},t.ReturnStatement=function(e){this.word("return"),c(this,e.argument)},t.SwitchCase=function(e){e.test?(this.word("case"),this.space(),this.print(e.test)):this.word("default"),this.tokenChar(58),e.consequent.length&&(this.newline(),this.printSequence(e.consequent,!0))},t.SwitchStatement=function(e){this.word("switch"),this.space(),this.tokenChar(40),this.print(e.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(e.cases,!0,void 0,function(t,r){if(!t&&e.cases[e.cases.length-1]===r)return -1}),this.rightBrace(e)},t.ThrowStatement=function(e){this.word("throw"),c(this,e.argument)},t.TryStatement=function(e){this.word("try"),this.space(),this.print(e.block),this.space(),e.handlers?this.print(e.handlers[0]):this.print(e.handler),e.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(e.finalizer))},t.VariableDeclaration=function(e,t){e.declare&&(this.word("declare"),this.space());let{kind:r}=e;"await using"===r?(this.word("await"),this.space(),this.word("using",!0)):this.word(r,"using"===r),this.space();let n=!1;if(!a(t))for(let t of e.declarations)t.init&&(n=!0);if(this.printList(e.declarations,void 0,void 0,e.declarations.length>1,n?function(e){this.token(",",!1,e),this.newline()}:void 0),a(t)){if(s(t)){if(t.init===e)return}else if(t.left===e)return}this.semicolon()},t.VariableDeclarator=function(e){this.print(e.id),e.definite&&this.tokenChar(33),this.print(e.id.typeAnnotation),e.init&&(this.space(),this.tokenChar(61),this.space(),this.print(e.init))},t.WhileStatement=function(e){this.word("while"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.printBlock(e)},t.WithStatement=function(e){this.word("with"),this.space(),this.tokenChar(40),this.print(e.object),this.tokenChar(41),this.printBlock(e)};var n=r(40838),i=r(49055);let{isFor:a,isForStatement:s,isIfStatement:o,isStatement:l}=n;function u(e){this.word("for"),this.space();let t="ForOfStatement"===e.type;t&&e.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40);{let r=t?null:this.enterForStatementInit();this.tokenContext|=t?i.TokenContext.forOfHead:i.TokenContext.forInHead,this.print(e.left),null==r||r()}this.space(),this.word(t?"of":"in"),this.space(),this.print(e.right),this.tokenChar(41),this.printBlock(e)}function c(e,t){t&&(e.space(),e.printTerminatorless(t)),e.semicolon()}t.ForInStatement=u,t.ForOfStatement=u},51777:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=r(55543),a=n(r(38514)),s=n(r(7970));class o extends a.default{clone(){return new o(this._rawText,null)}constructor(e,t=null,r){super(t,r),this.nodeType=s.default.TEXT_NODE,this.rawTagName="",this._rawText=e}get rawText(){return this._rawText}set rawText(e){this._rawText=e,this._trimmedRawText=void 0,this._trimmedText=void 0}get trimmedRawText(){return void 0!==this._trimmedRawText||(this._trimmedRawText=l(this.rawText)),this._trimmedRawText}get trimmedText(){return void 0!==this._trimmedText||(this._trimmedText=l(this.text)),this._trimmedText}get text(){return(0,i.decode)(this.rawText)}get isWhitespace(){return/^(\s|&nbsp;)*$/.test(this.rawText)}toString(){return this.rawText}}function l(e){let t,r,n=0;for(;n>=0&&n<e.length;)/\S/.test(e[n])&&(void 0===t?(t=n,n=e.length):(r=n,n=void 0)),void 0===t?n++:n--;void 0===t&&(t=0),void 0===r&&(r=e.length-1);let i=t>0&&/[^\S\r\n]/.test(e[t-1]),a=r<e.length-1&&/[^\S\r\n]/.test(e[r+1]);return(i?" ":"")+e.slice(t,r+1)+(a?" ":"")}t.default=o},51837:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i]};var n=r(48390),i=Symbol.for("var used to be block scoped")},51880:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.encodeNonAsciiHTML=t.encodeHTML=void 0;var i=n(r(23694)),a=r(31525),s=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function o(e,t){for(var r,n="",s=0;null!==(r=e.exec(t));){var o=r.index;n+=t.substring(s,o);var l=t.charCodeAt(o),u=i.default.get(l);if("object"==typeof u){if(o+1<t.length){var c=t.charCodeAt(o+1),d="number"==typeof u.n?u.n===c?u.o:void 0:u.n.get(c);if(void 0!==d){n+=d,s=e.lastIndex+=1;continue}}u=u.v}if(void 0!==u)n+=u,s=o+1;else{var p=(0,a.getCodePoint)(t,o);n+="&#x".concat(p.toString(16),";"),s=e.lastIndex+=Number(p!==l)}}return n+t.substr(s)}t.encodeHTML=function(e){return o(s,e)},t.encodeNonAsciiHTML=function(e){return o(a.xmlReplacer,e)}},52160:(e,t,r)=>{"use strict";r.d(t,{m:()=>l});var n=r(5945);r(84183);var i=r(61934),a=r(4191),s=r(66266),o=r(72495);let l=async e=>{let t=(0,i.parse)(e);return new ReadableStream({async start(r){for await(let n of t.querySelectorAll("a")){let t=n.attributes.href;if(!t||t.startsWith("mailto:"))continue;let i={link:t,codeLocation:(0,a.X)(n,e),status:"success",checks:[]};try{let e,r=new URL(t);i.checks.push({passed:!0,type:"syntax"}),t.startsWith("http://")?(i.checks.push({passed:!1,type:"security"}),i.status="warning"):i.checks.push({passed:!0,type:"security"});try{e=await (0,s.w)(r);let t=e.statusCode?.toString().startsWith("2")??!1;i.checks.push({type:"fetch_attempt",passed:t,metadata:{fetchStatusCode:e.statusCode}}),t||(i.status=e.statusCode?.toString().startsWith("3")?"warning":"error")}catch(e){i.checks.push({type:"fetch_attempt",passed:!1,metadata:{fetchStatusCode:void 0}}),i.status="error"}}catch(e){i.checks.push({passed:!1,type:"syntax"}),i.status="error"}r.enqueue(i)}r.close()}})};(0,o.D)([l]),(0,n.A)(l,"7f9b778420bd23d4c6f551bce5c23f4e58d0529570",null)},52180:(e,t,r)=>{"use strict";r.r(t);var n=r(51455),i=r.n(n),a=r(76760),s=r.n(a),o=r(73297),l=r(3729);describe("getTailwindMetadata()",()=>{test("with the netlify-welcome demo email",async()=>{let e=s().resolve(__dirname,"../../../../../../apps/demo/emails/welcome/netlify-welcome.tsx"),t=await i().readFile(e,"utf8"),r=(0,o.parse)(t,{strictMode:!1,errorRecovery:!0,sourceType:"unambiguous",plugins:["jsx","typescript","decorators"]});expect((0,l.getTailwindMetadata)(r,t,e)).toBeDefined()})})},52395:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});let r=e=>Object.assign({},...Object.entries(null!=e?e:{}).flatMap(([e,t])=>"object"==typeof t?Object.entries(r(t)).map(([t,r])=>({[e+("DEFAULT"===t?"":`-${t}`)]:r})):[{[`${e}`]:t}])),n=r},52659:(e,t,r)=>{"use strict";var n=r(67228),i=r(64514);let a=(0,i.defineAliasedType)("Flow"),s=e=>{let t="DeclareClass"===e;a(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...t?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterDeclaration"),extends:(0,i.validateOptional)((0,i.arrayOfType)("InterfaceExtends"))},t?{mixins:(0,i.validateOptional)((0,i.arrayOfType)("InterfaceExtends")),implements:(0,i.validateOptional)((0,i.arrayOfType)("ClassImplements"))}:{},{body:(0,i.validateType)("ObjectTypeAnnotation")})})};a("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,i.validateType)("FlowType")}}),a("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterInstantiation")}}),s("DeclareClass"),a("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier"),predicate:(0,i.validateOptionalType)("DeclaredPredicate")}}),s("DeclareInterface"),a("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier","StringLiteral"),body:(0,i.validateType)("BlockStatement"),kind:(0,i.validateOptional)((0,i.assertOneOf)("CommonJS","ES"))}}),a("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,i.validateType)("TypeAnnotation")}}),a("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterDeclaration"),right:(0,i.validateType)("FlowType")}}),a("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,i.validateOptionalType)("FlowType"),impltype:(0,i.validateOptionalType)("FlowType")}}),a("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier")}}),a("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:(0,i.validateOptionalType)("Flow"),specifiers:(0,i.validateOptional)((0,i.arrayOfType)("ExportSpecifier","ExportNamespaceSpecifier")),source:(0,i.validateOptionalType)("StringLiteral"),default:(0,i.validateOptional)((0,i.assertValueType)("boolean"))},n.importAttributes)}),a("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:(0,i.validateType)("StringLiteral"),exportKind:(0,i.validateOptional)((0,i.assertOneOf)("type","value"))},n.importAttributes)}),a("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,i.validateType)("Flow")}}),a("ExistsTypeAnnotation",{aliases:["FlowType"]}),a("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,i.validateOptionalType)("TypeParameterDeclaration"),params:(0,i.validateArrayOfType)("FunctionTypeParam"),rest:(0,i.validateOptionalType)("FunctionTypeParam"),this:(0,i.validateOptionalType)("FunctionTypeParam"),returnType:(0,i.validateType)("FlowType")}}),a("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,i.validateOptionalType)("Identifier"),typeAnnotation:(0,i.validateType)("FlowType"),optional:(0,i.validateOptional)((0,i.assertValueType)("boolean"))}}),a("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,i.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterInstantiation")}}),a("InferredPredicate",{aliases:["FlowPredicate"]}),a("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,i.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterInstantiation")}}),s("InterfaceDeclaration"),a("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,i.validateOptional)((0,i.arrayOfType)("InterfaceExtends")),body:(0,i.validateType)("ObjectTypeAnnotation")}}),a("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,i.validate)((0,i.arrayOfType)("FlowType"))}}),a("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,i.validateType)("FlowType")}}),a("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,i.validate)((0,i.assertValueType)("number"))}}),a("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,i.validate)((0,i.arrayOfType)("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:(0,i.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,i.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,i.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,i.assertValueType)("boolean"),default:!1},inexact:(0,i.validateOptional)((0,i.assertValueType)("boolean"))}}),a("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,i.validateType)("Identifier"),value:(0,i.validateType)("FlowType"),optional:(0,i.validate)((0,i.assertValueType)("boolean")),static:(0,i.validate)((0,i.assertValueType)("boolean")),method:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,i.validateType)("FlowType"),static:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,i.validateOptionalType)("Identifier"),key:(0,i.validateType)("FlowType"),value:(0,i.validateType)("FlowType"),static:(0,i.validate)((0,i.assertValueType)("boolean")),variance:(0,i.validateOptionalType)("Variance")}}),a("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,i.validateType)("Identifier","StringLiteral"),value:(0,i.validateType)("FlowType"),kind:(0,i.validate)((0,i.assertOneOf)("init","get","set")),static:(0,i.validate)((0,i.assertValueType)("boolean")),proto:(0,i.validate)((0,i.assertValueType)("boolean")),optional:(0,i.validate)((0,i.assertValueType)("boolean")),variance:(0,i.validateOptionalType)("Variance"),method:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,i.validateType)("FlowType")}}),a("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,i.validateOptionalType)("FlowType"),impltype:(0,i.validateType)("FlowType")}}),a("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,i.validateType)("Identifier"),qualification:(0,i.validateType)("Identifier","QualifiedTypeIdentifier")}}),a("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,i.validate)((0,i.assertValueType)("string"))}}),a("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,i.validate)((0,i.arrayOfType)("FlowType"))}}),a("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,i.validateType)("FlowType")}}),a("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterDeclaration"),right:(0,i.validateType)("FlowType")}}),a("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,i.validateType)("FlowType")}}),a("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,i.validateType)("Expression"),typeAnnotation:(0,i.validateType)("TypeAnnotation")}}),a("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,i.validate)((0,i.assertValueType)("string")),bound:(0,i.validateOptionalType)("TypeAnnotation"),default:(0,i.validateOptionalType)("FlowType"),variance:(0,i.validateOptionalType)("Variance")}}),a("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,i.validate)((0,i.arrayOfType)("TypeParameter"))}}),a("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,i.validate)((0,i.arrayOfType)("FlowType"))}}),a("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,i.validate)((0,i.arrayOfType)("FlowType"))}}),a("Variance",{builder:["kind"],fields:{kind:(0,i.validate)((0,i.assertOneOf)("minus","plus"))}}),a("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,i.validateType)("Identifier"),body:(0,i.validateType)("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}}),a("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,i.validate)((0,i.assertValueType)("boolean")),members:(0,i.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,i.validate)((0,i.assertValueType)("boolean")),members:(0,i.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,i.validate)((0,i.assertValueType)("boolean")),members:(0,i.validateArrayOfType)("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,i.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:(0,i.validateType)("Identifier"),init:(0,i.validateType)("BooleanLiteral")}}),a("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,i.validateType)("Identifier"),init:(0,i.validateType)("NumericLiteral")}}),a("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,i.validateType)("Identifier"),init:(0,i.validateType)("StringLiteral")}}),a("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,i.validateType)("Identifier")}}),a("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,i.validateType)("FlowType"),indexType:(0,i.validateType)("FlowType")}}),a("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,i.validateType)("FlowType"),indexType:(0,i.validateType)("FlowType"),optional:(0,i.validate)((0,i.assertValueType)("boolean"))}})},52684:(e,t,r)=>{"use strict";var n=r(78139),i=r(37823),a=r(89329);function s(e){return this instanceof s?(this.nodes=n(e),this):new s(e)}s.prototype.toString=function(){return Array.isArray(this.nodes)?a(this.nodes):""},s.prototype.walk=function(e,t){return i(this.nodes,e,t),this},s.unit=r(55816),s.walk=i,s.stringify=a,e.exports=s},52748:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!r||!e)return e;let n=`${t}Comments`;return e[n]?"leading"===t?e[n]=r.concat(e[n]):e[n].push(...r):e[n]=r,e}},52915:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=new Map([["{","}"],["[","]"],["(",")"]]),n=new Map(Array.from(r.entries()).map(([e,t])=>[t,e])),i=new Set(['"',"'","`"]);function a(e){let t=[],a=!1;for(let s=0;s<e.length;s++){let o=e[s];if(":"===o&&!a&&0===t.length)return!1;if((i.has(o)&&"\\"!==e[s-1]&&(a=!a),!a)&&"\\"!==e[s-1]){if(r.has(o))t.push(o);else if(n.has(o)){let e=n.get(o);if(t.length<=0||t.pop()!==e)return!1}}}return!(t.length>0)}},53001:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":if(t.property===e)return!!t.computed;return t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":case"LabeledStatement":case"CatchClause":case"RestElement":case"BreakStatement":case"ContinueStatement":case"FunctionDeclaration":case"FunctionExpression":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportAttribute":case"JSXAttribute":case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.key===e)return!!t.computed;return!1;case"ObjectProperty":if(t.key===e)return!!t.computed;return!r||"ObjectPattern"!==r.type;case"ClassProperty":case"ClassAccessorProperty":case"TSPropertySignature":if(t.key===e)return!!t.computed;break;case"ClassPrivateProperty":case"ObjectTypeProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return t.right===e;case"ExportSpecifier":if(null!=r&&r.source)return!1;return t.local===e;case"TSEnumMember":return t.id!==e}return!0}},53182:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{parseBoxShadowValue:function(){return o},formatBoxShadowValue:function(){return l}});let n=r(31611),i=new Set(["inset","inherit","initial","revert","unset"]),a=/\ +(?![^(]*\))/g,s=/^-?(\d+|\.\d+)(.*?)$/g;function o(e){return(0,n.splitAtTopLevelOnly)(e,",").map(e=>{let t=e.trim(),r={raw:t},n=t.split(a),o=new Set;for(let e of n)s.lastIndex=0,!o.has("KEYWORD")&&i.has(e)?(r.keyword=e,o.add("KEYWORD")):s.test(e)?o.has("X")?o.has("Y")?o.has("BLUR")?o.has("SPREAD")||(r.spread=e,o.add("SPREAD")):(r.blur=e,o.add("BLUR")):(r.y=e,o.add("Y")):(r.x=e,o.add("X")):r.color?(r.unknown||(r.unknown=[]),r.unknown.push(e)):r.color=e;return r.valid=void 0!==r.x&&void 0!==r.y,r})}function l(e){return e.map(e=>e.valid?[e.keyword,e.x,e.y,e.blur,e.spread,e.color].filter(Boolean).join(" "):e.raw).join(", ")}},53202:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e||!t)return e;for(let r of n.INHERIT_KEYS.optional)null==e[r]&&(e[r]=t[r]);for(let r of Object.keys(t))"_"===r[0]&&"__clone"!==r&&(e[r]=t[r]);for(let r of n.INHERIT_KEYS.force)e[r]=t[r];return(0,i.default)(e,t),e};var n=r(54836),i=r(98175)},53267:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(;r.length>0;){var i=r.shift();if(!e[i])return;e=e[i]}return e},e.exports=t.default},53364:(e,t,r)=>{"use strict";r.r(t),r.d(t,{allCssProperties:()=>n});let n=["accent-color","align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-reflect","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","@charset","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","counter-set","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","@font-face","font-family","font-feature-settings","@font-feature-values","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","hypenate-character","image-rendering","@import","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","@keyframes","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","shape-margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-height","max-width","@media","max-block-size","max-inline-size","min-block-size","min-inline-size","min-height","min-width","mix-blend-mode","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-wrap","overflow-x","overflow-y","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","paint-order","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","quotes","resize","right","rotate","row-gap","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","tab-size","table-layout","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-shadow","text-transform","text-underline-offset","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","writing-mode","z-index"]},53750:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!(e&&n.VISITOR_KEYS[e.type])};var n=r(29863)},53789:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.aliases=void 0,t.aliases={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:":is(\n :is(button, input, select, textarea, optgroup, option)[disabled],\n optgroup[disabled] > option,\n fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)\n )",enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"}},53948:(e,t,r)=>{"use strict";r.r(t),r.d(t,{staticNodeModulesForVM:()=>eV});let n=require("node:assert");var i=r.n(n);let a=require("node:async_hooks");var s=r.n(a);let o=require("node:buffer");var l=r.n(o);let u=require("node:child_process");var c=r.n(u);let d=require("node:cluster");var p=r.n(d);let h=require("node:console");var m=r.n(h);let f=require("node:constants");var y=r.n(f);let g=require("node:crypto");var b=r.n(g);let w=require("node:dgram");var v=r.n(w);let k=require("node:diagnostics_channel");var x=r.n(k);let S=require("node:dns");var E=r.n(S);let T=require("node:domain");var _=r.n(T);let A=require("node:events");var C=r.n(A),P=r(73024),D=r.n(P),I=r(51455),O=r.n(I),N=r(37067),L=r.n(N);let R=require("node:http2");var M=r.n(R),F=r(44708),B=r.n(F);let j=require("node:inspector");var U=r.n(j);let $=require("node:module");var q=r.n($);let z=require("node:net");var V=r.n(z);let H=require("node:os");var G=r.n(H),W=r(76760),K=r.n(W);let Y=require("node:perf_hooks");var X=r.n(Y);let Z=require("node:process");var J=r.n(Z);let Q=require("node:querystring");var ee=r.n(Q);let et=require("node:readline");var er=r.n(et);let en=require("node:repl");var ei=r.n(en);let ea=require("node:stream");var es=r.n(ea);let eo=require("node:string_decoder");var el=r.n(eo);let eu=require("node:timers");var ec=r.n(eu);let ed=require("node:timers/promises");var ep=r.n(ed);let eh=require("node:tls");var em=r.n(eh);let ef=require("node:tty");var ey=r.n(ef);let eg=require("node:url");var eb=r.n(eg);let ew=require("node:util");var ev=r.n(ew);let ek=require("node:util/types");var ex=r.n(ek);let eS=require("node:v8");var eE=r.n(eS),eT=r(30714),e_=r.n(eT);let eA=require("node:worker_threads");var eC=r.n(eA);let eP=require("node:zlib");var eD=r.n(eP);let eI=/^xn--/,eO=/[^\0-\x7F]/,eN=/[\x2E\u3002\uFF0E\uFF61]/g,eL={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},eR=Math.floor,eM=String.fromCharCode;function eF(e){throw RangeError(eL[e])}function eB(e,t){let r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+(function(e,t){let r=[],n=e.length;for(;n--;)r[n]=t(e[n]);return r})((e=e.replace(eN,".")).split("."),t).join(".")}function ej(e){let t=[],r=0,n=e.length;for(;r<n;){let i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){let n=e.charCodeAt(r++);(64512&n)==56320?t.push(((1023&i)<<10)+(1023&n)+65536):(t.push(i),r--)}else t.push(i)}return t}let eU=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},e$=function(e,t,r){let n=0;for(e=r?eR(e/700):e>>1,e+=eR(e/t);e>455;n+=36)e=eR(e/35);return eR(n+36*e/(e+38))},eq=function(e){let t=[],r=e.length,n=0,i=128,a=72,s=e.lastIndexOf("-");s<0&&(s=0);for(let r=0;r<s;++r)e.charCodeAt(r)>=128&&eF("not-basic"),t.push(e.charCodeAt(r));for(let l=s>0?s+1:0;l<r;){let s=n;for(let t=1,i=36;;i+=36){var o;l>=r&&eF("invalid-input");let s=(o=e.charCodeAt(l++))>=48&&o<58?26+(o-48):o>=65&&o<91?o-65:o>=97&&o<123?o-97:36;s>=36&&eF("invalid-input"),s>eR((0x7fffffff-n)/t)&&eF("overflow"),n+=s*t;let u=i<=a?1:i>=a+26?26:i-a;if(s<u)break;let c=36-u;t>eR(0x7fffffff/c)&&eF("overflow"),t*=c}let u=t.length+1;a=e$(n-s,u,0==s),eR(n/u)>0x7fffffff-i&&eF("overflow"),i+=eR(n/u),n%=u,t.splice(n++,0,i)}return String.fromCodePoint(...t)},ez=function(e){let t=[],r=(e=ej(e)).length,n=128,i=0,a=72;for(let r of e)r<128&&t.push(eM(r));let s=t.length,o=s;for(s&&t.push("-");o<r;){let r=0x7fffffff;for(let t of e)t>=n&&t<r&&(r=t);let l=o+1;for(let u of(r-n>eR((0x7fffffff-i)/l)&&eF("overflow"),i+=(r-n)*l,n=r,e))if(u<n&&++i>0x7fffffff&&eF("overflow"),u===n){let e=i;for(let r=36;;r+=36){let n=r<=a?1:r>=a+26?26:r-a;if(e<n)break;let i=e-n,s=36-n;t.push(eM(eU(n+i%s,0))),e=eR(i/s)}t.push(eM(eU(e,0))),a=e$(i,l,o===s),i=0,++o}++i,++n}return t.join("")},eV={assert:i(),async_hooks:s(),buffer:l(),child_process:c(),cluster:p(),console:m(),constants:y(),crypto:b(),dgram:v(),diagnostics_channel:x(),dns:E(),domain:_(),events:C(),fs:D(),"fs/promises":O(),http:L(),http2:M(),https:B(),inspector:U(),module:q(),net:V(),os:G(),path:K(),perf_hooks:X(),process:J(),punycode:{version:"2.3.1",ucs2:{decode:ej,encode:e=>String.fromCodePoint(...e)},decode:eq,encode:ez,toASCII:function(e){return eB(e,function(e){return eO.test(e)?"xn--"+ez(e):e})},toUnicode:function(e){return eB(e,function(e){return eI.test(e)?eq(e.slice(4).toLowerCase()):e})}},querystring:ee(),readline:er(),repl:ei(),stream:es(),string_decoder:el(),timers:ec(),"timers/promises":ep(),tls:em(),tty:ey(),url:eb(),util:ev(),"util/types":ex(),v8:eE(),vm:e_(),worker_threads:eC(),zlib:eD()}},54042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var n=r(36257),i=r(75897),a={tag_name:function(e){return"function"==typeof e?function(t){return(0,n.isTag)(t)&&e(t.name)}:"*"===e?n.isTag:function(t){return(0,n.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return(0,n.isText)(t)&&e(t.data)}:function(t){return(0,n.isText)(t)&&t.data===e}}};function s(e,t){return"function"==typeof t?function(r){return(0,n.isTag)(r)&&t(r.attribs[e])}:function(r){return(0,n.isTag)(r)&&r.attribs[e]===t}}function o(e,t){return function(r){return e(r)||t(r)}}function l(e){var t=Object.keys(e).map(function(t){var r=e[t];return Object.prototype.hasOwnProperty.call(a,t)?a[t](r):s(t,r)});return 0===t.length?null:t.reduce(o)}t.testElement=function(e,t){var r=l(e);return!r||r(t)},t.getElements=function(e,t,r,n){void 0===n&&(n=1/0);var a=l(e);return a?(0,i.filter)(a,t,r,n):[]},t.getElementById=function(e,t,r){return void 0===r&&(r=!0),Array.isArray(t)||(t=[t]),(0,i.findOne)(s("id",e),t,r)},t.getElementsByTagName=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(a.tag_name(e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(a.tag_type(e),t,r,n)}},54341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._replaceWith=j,t.replaceExpressionWithStatements=function(e){c.resync.call(this);let t=[],r=function e(t,r){let n=[],i=!0;for(let a of t)if(A(a)||(i=!1),C(a))n.push(a);else if(P(a))n.push(a.expression);else if(N(a)){if("var"!==a.kind)return;for(let e of a.declarations){let t=k(e);for(let e of Object.keys(t))r.push(b(t[e]));e.init&&n.push(h("=",e.id,e.init))}i=!0}else if(D(a)){let t=a.consequent?e([a.consequent],r):y(),i=a.alternate?e([a.alternate],r):y();if(!t||!i)return;n.push(w(a.test,t,i))}else if(_(a)){let t=e(a.body,r);if(!t)return;n.push(t)}else{if(!A(a))return;0===t.indexOf(a)&&(i=!0)}return(i&&n.push(y()),1===n.length)?n[0]:M(n)}(e,t);if(r){for(let e of t)this.scope.push({id:e});return this.replaceWith(r)[0].get("expressions")}let n=this.getFunctionParent(),a=null==n?void 0:n.node.async,s=null==n?void 0:n.node.generator,o=p([],f(e));this.replaceWith(g(o,[]));let l=this.get("callee");for(let e of(l.get("body").scope.hoistVariables(e=>this.scope.push({id:e})),l.getCompletionRecords())){if(!e.isExpressionStatement())continue;let t=e.findParent(e=>e.isLoop());if(t){let r=t.getData("expressionReplacementReturnUid");r?r=x(r.name):(r=l.scope.generateDeclaredUidIdentifier("ret"),l.get("body").pushContainer("body",R(b(r))),t.setData("expressionReplacementReturnUid",r)),e.get("expression").replaceWith(h("=",b(r),e.node.expression))}else e.replaceWith(R(e.node.expression))}l.arrowFunctionToExpression();let u=a&&i.default.hasType(this.get("callee.body").node,"AwaitExpression",d),v=s&&i.default.hasType(this.get("callee.body").node,"YieldExpression",d);return u&&(l.set("async",!0),v||this.replaceWith(m(this.node))),v&&(l.set("generator",!0),this.replaceWith(B(this.node,!0))),l.get("body.body")},t.replaceInline=function(e){if(c.resync.call(this),!Array.isArray(e))return this.replaceWith(e);if(!Array.isArray(this.container))return this.replaceWithMultiple(e);{e=o._verifyNodeList.call(this,e);let t=o._containerInsertAfter.call(this,e);return this.remove(),t}},t.replaceWith=function(e){if(c.resync.call(this),this.removed)throw Error("You can't replace this node, we've already removed it");let t=e instanceof a.default?e.node:e;if(!t)throw Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===t)return[this];if(this.isProgram()&&!I(t))throw Error("You can only replace a Program root node with another Program node");if(Array.isArray(t))throw Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if("string"==typeof t)throw Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let r="";if(this.isNodeType("Statement")&&C(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t)&&!this.parentPath.isExportDefaultDeclaration()&&(t=v(t),r="expression"),this.isNodeType("Expression")&&O(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t))return this.replaceExpressionWithStatements([t]);let n=this.node;return n&&(T(t,n),L(n)),j.call(this,t),this.type=t.type,c.setScope.call(this),this.requeue(),[r?this.get(r):this]},t.replaceWithMultiple=function(e){var t;c.resync.call(this),S((e=o._verifyNodeList.call(this,e))[0],this.node),E(e[e.length-1],this.node),null==(t=(0,s.getCachedPaths)(this.hub,this.parent))||t.delete(this.node),this.node=this.container[this.key]=null;let r=this.insertAfter(e);return this.node?this.requeue():this.remove(),r},t.replaceWithSourceString=function(e){let t;c.resync.call(this);try{e=`(${e})`,t=(0,l.parse)(e)}catch(r){let t=r.loc;throw t&&(r.message+=" - make sure this is an expression.\n"+(0,n.codeFrameColumns)(e,{start:{line:t.line,column:t.column+1}}),r.code="BABEL_REPLACE_SOURCE_ERROR"),r}let r=t.program.body[0].expression;return i.default.removeProperties(r),this.replaceWith(r)};var n=r(65550),i=r(41093),a=r(13133),s=r(72063),o=r(94737),l=r(73297),u=r(40838),c=r(43278);let{FUNCTION_TYPES:d,arrowFunctionExpression:p,assignmentExpression:h,awaitExpression:m,blockStatement:f,buildUndefinedNode:y,callExpression:g,cloneNode:b,conditionalExpression:w,expressionStatement:v,getBindingIdentifiers:k,identifier:x,inheritLeadingComments:S,inheritTrailingComments:E,inheritsComments:T,isBlockStatement:_,isEmptyStatement:A,isExpression:C,isExpressionStatement:P,isIfStatement:D,isProgram:I,isStatement:O,isVariableDeclaration:N,removeComments:L,returnStatement:R,sequenceExpression:M,validate:F,yieldExpression:B}=u;function j(e){var t;if(!this.container)throw ReferenceError("Container is falsy");this.inList?F(this.parent,this.key,[e]):F(this.parent,this.key,e),this.debug(`Replace with ${null==e?void 0:e.type}`),null==(t=(0,s.getCachedPaths)(this.hub,this.parent))||t.set(e,this).delete(this.node),this.node=this.container[this.key]=e}},54466:function(e,t,r){"use strict";var n=this&&this.__spreadArray||function(e,t,r){if(r||2==arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.subselects=t.getNextSiblings=t.ensureIsTag=t.PLACEHOLDER_ELEMENT=void 0;var a=i(r(81832)),s=r(61835);function o(e,t){return e===a.default.falseFunc?a.default.falseFunc:function(r){return t.isTag(r)&&e(r)}}function l(e,t){var r=t.getSiblings(e);if(r.length<=1)return[];var n=r.indexOf(e);return n<0||n===r.length-1?[]:r.slice(n+1).filter(t.isTag)}function u(e){return{xmlMode:!!e.xmlMode,lowerCaseAttributeNames:!!e.lowerCaseAttributeNames,lowerCaseTags:!!e.lowerCaseTags,quirksMode:!!e.quirksMode,cacheResults:!!e.cacheResults,pseudos:e.pseudos,adapter:e.adapter,equals:e.equals}}t.PLACEHOLDER_ELEMENT={},t.ensureIsTag=o,t.getNextSiblings=l;var c=function(e,t,r,n,i){var s=i(t,u(r),n);return s===a.default.trueFunc?e:s===a.default.falseFunc?a.default.falseFunc:function(t){return s(t)&&e(t)}};t.subselects={is:c,matches:c,where:c,not:function(e,t,r,n,i){var s=i(t,u(r),n);return s===a.default.falseFunc?e:s===a.default.trueFunc?a.default.falseFunc:function(t){return!s(t)&&e(t)}},has:function(e,r,i,c,d){var p=i.adapter,h=u(i);h.relativeSelector=!0;var m=r.some(function(e){return e.some(s.isTraversal)})?[t.PLACEHOLDER_ELEMENT]:void 0,f=d(r,h,m);if(f===a.default.falseFunc)return a.default.falseFunc;var y=o(f,p);if(m&&f!==a.default.trueFunc){var g=f.shouldTestNextSiblings,b=void 0!==g&&g;return function(t){if(!e(t))return!1;m[0]=t;var r=p.getChildren(t),i=b?n(n([],r,!0),l(t,p),!0):r;return p.existsOne(y,i)}}return function(t){return e(t)&&p.existsOne(y,p.getChildren(t))}}}},54781:e=>{"use strict";let t={},r=t.hasOwnProperty,n=(e,t)=>{for(let n in e)r.call(e,n)&&t(n,e[n])},i=(e,t)=>(t&&n(t,(t,r)=>{e[t]=r}),e),a=(e,t)=>{let r=e.length,n=-1;for(;++n<r;)t(e[n])},s=e=>"\\u"+("0000"+e).slice(-4),o=(e,t)=>{let r=e.toString(16);return t?r:r.toUpperCase()},l=t.toString,u=Array.isArray,c=e=>"function"==typeof Buffer&&Buffer.isBuffer(e),d=e=>"[object Object]"==l.call(e),p=e=>"string"==typeof e||"[object String]"==l.call(e),h=e=>"number"==typeof e||"[object Number]"==l.call(e),m=e=>"bigint"==typeof e,f=e=>"function"==typeof e,y=e=>"[object Map]"==l.call(e),g=e=>"[object Set]"==l.call(e),b={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},w=/[\\\b\f\n\r\t]/,v=/[0-9]/,k=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,x=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,S=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,E=(e,t)=>{let r,l=()=>{I=D,++t.indentLevel,D=t.indent.repeat(t.indentLevel)},T={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},_=t&&t.json;_&&(T.quotes="double",T.wrap=!0),"single"!=(t=i(T,t)).quotes&&"double"!=t.quotes&&"backtick"!=t.quotes&&(t.quotes="single");let A="double"==t.quotes?'"':"backtick"==t.quotes?"`":"'",C=t.compact,P=t.lowercaseHex,D=t.indent.repeat(t.indentLevel),I="",O=t.__inline1__,N=t.__inline2__,L=C?"":"\n",R=!0,M="binary"==t.numbers,F="octal"==t.numbers,B="decimal"==t.numbers,j="hexadecimal"==t.numbers;if(_&&e&&f(e.toJSON)&&(e=e.toJSON()),!p(e)){if(y(e))return 0==e.size?"new Map()":(C||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+E(Array.from(e),t)+")");if(g(e))return 0==e.size?"new Set()":"new Set("+E(Array.from(e),t)+")";if(c(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+E(Array.from(e),t)+")";if(u(e))return(r=[],t.wrap=!0,O&&(t.__inline1__=!1,t.__inline2__=!0),N||l(),a(e,e=>{R=!1,N&&(t.__inline2__=!1),r.push((C||N?"":D)+E(e,t))}),R)?"[]":N?"["+r.join(", ")+"]":"["+L+r.join(","+L)+L+(C?"":I)+"]";if(h(e)||m(e)){let t;if(_)return JSON.stringify(Number(e));if(B)t=String(e);else if(j){let r=e.toString(16);P||(r=r.toUpperCase()),t="0x"+r}else M?t="0b"+e.toString(2):F&&(t="0o"+e.toString(8));return m(e)?t+"n":t}if(m(e))return _?JSON.stringify(Number(e)):e+"n";else if(d(e))return(r=[],t.wrap=!0,l(),n(e,(e,n)=>{R=!1,r.push((C?"":D)+E(e,t)+":"+(C?"":" ")+E(n,t))}),R)?"{}":"{"+L+r.join(","+L)+L+(C?"":I)+"}";else return _?JSON.stringify(e)||"null":String(e)}let U=t.escapeEverything?x:S;return r=e.replace(U,(e,r,n,i,a,l)=>{if(r){if(t.minimal)return r;let e=r.charCodeAt(0),n=r.charCodeAt(1);return t.es6?"\\u{"+o((e-55296)*1024+n-56320+65536,P)+"}":s(o(e,P))+s(o(n,P))}if(n)return s(o(n.charCodeAt(0),P));if("\0"==e&&!_&&!v.test(l.charAt(a+1)))return"\\0";if(i)return i==A||t.escapeEverything?"\\"+i:i;if(w.test(e))return b[e];if(t.minimal&&!k.test(e))return e;let u=o(e.charCodeAt(0),P);return _||u.length>2?s(u):"\\x"+("00"+u).slice(-2)}),"`"==A&&(r=r.replace(/\$\{/g,"\\${")),t.isScriptContext&&(r=r.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,_?"\\u003C!--":"\\x3C!--")),t.wrap&&(r=A+r+A),r};E.version="3.0.2",e.exports=E},54836:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE_OPERATORS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.STATEMENT_OR_BLOCK_KEYS=t.NUMBER_UNARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.LOGICAL_OPERATORS=t.INHERIT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.EQUALITY_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.COMMENT_KEYS=t.BOOLEAN_UNARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.BINARY_OPERATORS=t.ASSIGNMENT_OPERATORS=void 0,t.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],t.FLATTENABLE_KEYS=["body","expressions"],t.FOR_INIT_KEYS=["left","init"],t.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];let r=t.LOGICAL_OPERATORS=["||","&&","??"];t.UPDATE_OPERATORS=["++","--"];let n=t.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],i=t.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],a=t.COMPARISON_BINARY_OPERATORS=[...i,"in","instanceof"],s=t.BOOLEAN_BINARY_OPERATORS=[...a,...n],o=t.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.BINARY_OPERATORS=["+",...o,...s,"|>"],t.ASSIGNMENT_OPERATORS=["=","+=",...o.map(e=>e+"="),...r.map(e=>e+"=")];let l=t.BOOLEAN_UNARY_OPERATORS=["delete","!"],u=t.NUMBER_UNARY_OPERATORS=["+","-","~"],c=t.STRING_UNARY_OPERATORS=["typeof"];t.UNARY_OPERATORS=["void","throw",...l,...u,...c],t.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},t.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),t.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")},54909:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.defineProperties,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&h(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&h(e,r,t[r]);return e},f=(e,t)=>a(e,o(t)),y=(e,t)=>{var r={};for(var n in e)d.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))0>t.indexOf(n)&&p.call(e,n)&&(r[n]=e[n]);return r},g=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))d.call(e,a)||a===r||i(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable});return e},b={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(b,{CodeInline:()=>k}),e.exports=g(i({},"__esModule",{value:!0}),b);var w=((e,t,r)=>(r=null!=e?n(c(e)):{},g(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(64949)),v=r(82348),k=w.forwardRef((e,t)=>{var{children:r}=e,n=y(e,["children"]);return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("style",{children:`
210
+ please file a bug https://github.com/resend/react-email/issues/new?assignees=&labels=Type%3A+Bug&projects=&template=1.bug_report.yml.`)}return l},t.pixelBasedPreset={theme:{fontSize:{xs:["12px",{lineHeight:"16px"}],sm:["14px",{lineHeight:"20px"}],base:["16px",{lineHeight:"24px"}],lg:["18px",{lineHeight:"28px"}],xl:["20px",{lineHeight:"28px"}],"2xl":["24px",{lineHeight:"32px"}],"3xl":["30px",{lineHeight:"36px"}],"4xl":["36px",{lineHeight:"36px"}],"5xl":["48px",{lineHeight:"1"}],"6xl":["60px",{lineHeight:"1"}],"7xl":["72px",{lineHeight:"1"}],"8xl":["96px",{lineHeight:"1"}],"9xl":["144px",{lineHeight:"1"}]},spacing:{px:"1px",0:"0",.5:"2px",1:"4px",1.5:"6px",2:"8px",2.5:"10px",3:"12px",3.5:"14px",4:"16px",5:"20px",6:"24px",7:"28px",8:"32px",9:"36px",10:"40px",11:"44px",12:"48px",14:"56px",16:"64px",20:"80px",24:"96px",28:"112px",32:"128px",36:"144px",40:"160px",44:"176px",48:"192px",52:"208px",56:"224px",60:"240px",64:"256px",72:"288px",80:"320px",96:"384px"}}}},48817:e=>{"use strict";e.exports=require("postcss")},49055:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenContext=void 0,t.isLastChild=function(e,t){let r=s[e.type];for(let n=r.length-1;n>=0;n--){let i=e[r[n]];if(i===t)return!0;if(Array.isArray(i)){let e=i.length-1;for(;e>=0&&null===i[e];)e--;return e>=0&&i[e]===t}if(i)break}return!1},t.needsParens=function(e,t,r,n,i){var a;return!!t&&(!!(d(t)&&t.callee===e&&function e(t){return!!o(t)||c(t)&&e(t.object)}(e))||(l(t)?!g(e)&&!(o(e)&&g(e.callee))&&!p(e):null==(a=m.get(e.type))?void 0:a(e,t,r,n,i)))},t.needsWhitespace=y,t.needsWhitespaceAfter=function(e,t){return y(e,t,2)},t.needsWhitespaceBefore=function(e,t){return y(e,t,1)};var n=r(938),i=r(47467);let{FLIPPED_ALIAS_KEYS:a,VISITOR_KEYS:s,isCallExpression:o,isDecorator:l,isExpressionStatement:u,isMemberExpression:c,isNewExpression:d,isParenthesizedExpression:p}=r(40838);function h(e){let t=new Map;function r(e,r){let n=t.get(e);t.set(e,n?function(e,t,i,a,s){var o;return null!=(o=n(e,t,i,a,s))?o:r(e,t,i,a,s)}:r)}for(let t of Object.keys(e)){let n=a[t];if(n)for(let i of n)r(i,e[t]);else r(t,e[t])}return t}t.TokenContext={expressionStatement:1,arrowBody:2,exportDefault:4,forHead:8,forInHead:16,forOfHead:32,arrowFlowReturnType:64};let m=h(i),f=h(n.nodes);function y(e,t,r){var n;if(!e)return!1;u(e)&&(e=e.expression);let i=null==(n=f.get(e.type))?void 0:n(e,t);return"number"==typeof i&&(i&r)!=0}function g(e){switch(e.type){case"Identifier":return!0;case"MemberExpression":return!e.computed&&"Identifier"===e.property.type&&g(e.object);default:return!1}}},49057:(e,t)=>{t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,n,i){if(0===r.length)return -1;var a=function e(r,n,i,a,s,o){var l=Math.floor((n-r)/2)+r,u=s(i,a[l],!0);return 0===u?l:u>0?n-l>1?e(l,n,i,a,s,o):o==t.LEAST_UPPER_BOUND?n<a.length?n:-1:l:l-r>1?e(r,l,i,a,s,o):o==t.LEAST_UPPER_BOUND?l:r<0?-1:r}(-1,r.length,e,r,n,i||t.GREATEST_LOWER_BOUND);if(a<0)return -1;for(;a-1>=0&&0===n(r[a],r[a-1],!0);)--a;return a}},49166:(e,t,r)=>{"use strict";e.exports=r(94348).vendored["react-rsc"].ReactJsxDevRuntime},50176:(e,t,r)=>{var n=r(24301);e.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(r){void 0===e[r]&&(e[r]=n(t[r]))}),e}},51455:e=>{"use strict";e.exports=require("node:fs/promises")},51474:(e,t,r)=>{"use strict";let n,i=r(64476),{stdout:a,stderr:s}=r(77532),{stringReplaceAll:o,stringEncaseCRLFWithFirstIndex:l}=r(61640),{isArray:u}=Array,c=["ansi","ansi","ansi256","ansi16m"],d=Object.create(null),p=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let r=a?a.level:0;e.level=void 0===t.level?r:t.level};class h{constructor(e){return m(e)}}let m=e=>{let t={};return p(t,e),t.template=(...e)=>k(t.template,...e),Object.setPrototypeOf(t,f.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=h,t.template};function f(e){return m(e)}for(let[e,t]of Object.entries(i))d[e]={get(){let r=w(this,b(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:r}),r}};d.visible={get(){let e=w(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};let y=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of y)d[e]={get(){let{level:t}=this;return function(...r){return w(this,b(i.color[c[t]][e](...r),i.color.close,this._styler),this._isEmpty)}}};for(let e of y)d["bg"+e[0].toUpperCase()+e.slice(1)]={get(){let{level:t}=this;return function(...r){return w(this,b(i.bgColor[c[t]][e](...r),i.bgColor.close,this._styler),this._isEmpty)}}};let g=Object.defineProperties(()=>{},{...d,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),b=(e,t,r)=>{let n,i;return void 0===r?(n=e,i=t):(n=r.openAll+e,i=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:i,parent:r}},w=(e,t,r)=>{let n=(...e)=>u(e[0])&&u(e[0].raw)?v(n,k(n,...e)):v(n,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(n,g),n._generator=e,n._styler=t,n._isEmpty=r,n},v=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let r=e._styler;if(void 0===r)return t;let{openAll:n,closeAll:i}=r;if(-1!==t.indexOf("\x1b"))for(;void 0!==r;)t=o(t,r.close,r.open),r=r.parent;let a=t.indexOf("\n");return -1!==a&&(t=l(t,i,n,a)),n+t+i},k=(e,...t)=>{let[i]=t;if(!u(i)||!u(i.raw))return t.join(" ");let a=t.slice(1),s=[i.raw[0]];for(let e=1;e<i.length;e++)s.push(String(a[e-1]).replace(/[{}\\]/g,"\\$&"),String(i.raw[e]));return void 0===n&&(n=r(6645)),n(e,s.join(""))};Object.defineProperties(f.prototype,d);let x=m(void 0);x.supportsColor=a,x.stderr=m({level:s?s.level:0}),x.stderr.supportsColor=s,e.exports=x},51572:(e,t,r)=>{let n=r(26920),i={boxFlex:!0,boxFlexGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};function a(e){return void 0===e.nodes||s(e)}function s(e){let t,r={};return e.each(e=>{if("atrule"===e.type)t="@"+e.name,e.params&&(t+=" "+e.params),void 0===r[t]?r[t]=a(e):Array.isArray(r[t])?r[t].push(a(e)):r[t]=[r[t],a(e)];else if("rule"===e.type){let t=s(e);if(r[e.selector])for(let n in t)r[e.selector][n]=t[n];else r[e.selector]=t}else if("decl"===e.type){t="-"===e.prop[0]&&"-"===e.prop[1]||e.parent&&":export"===e.parent.selector?e.prop:n(e.prop);let a=e.value;!isNaN(e.value)&&i[t]&&(a=parseFloat(e.value)),e.important&&(a+=" !important"),void 0===r[t]?r[t]=a:Array.isArray(r[t])?r[t].push(a):r[t]=[r[t],a]}}),r}e.exports=s},51647:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BreakStatement=function(e){this.word("break"),c(this,e.label)},t.CatchClause=function(e){this.word("catch"),this.space(),e.param&&(this.tokenChar(40),this.print(e.param),this.print(e.param.typeAnnotation),this.tokenChar(41),this.space()),this.print(e.body)},t.ContinueStatement=function(e){this.word("continue"),c(this,e.label)},t.DebuggerStatement=function(){this.word("debugger"),this.semicolon()},t.DoWhileStatement=function(e){this.word("do"),this.space(),this.print(e.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.semicolon()},t.ForOfStatement=t.ForInStatement=void 0,t.ForStatement=function(e){this.word("for"),this.space(),this.tokenChar(40);{let t=this.enterForStatementInit();this.tokenContext|=i.TokenContext.forHead,this.print(e.init),t()}this.tokenChar(59),e.test&&(this.space(),this.print(e.test)),this.token(";",!1,1),e.update&&(this.space(),this.print(e.update)),this.tokenChar(41),this.printBlock(e)},t.IfStatement=function(e){this.word("if"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.space();let t=e.alternate&&o(function e(t){let{body:r}=t;return!1===l(r)?t:e(r)}(e.consequent));t&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(e.consequent),t&&(this.dedent(),this.newline(),this.tokenChar(125)),e.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(e.alternate))},t.LabeledStatement=function(e){this.print(e.label),this.tokenChar(58),this.space(),this.print(e.body)},t.ReturnStatement=function(e){this.word("return"),c(this,e.argument)},t.SwitchCase=function(e){e.test?(this.word("case"),this.space(),this.print(e.test)):this.word("default"),this.tokenChar(58),e.consequent.length&&(this.newline(),this.printSequence(e.consequent,!0))},t.SwitchStatement=function(e){this.word("switch"),this.space(),this.tokenChar(40),this.print(e.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(e.cases,!0,void 0,function(t,r){if(!t&&e.cases[e.cases.length-1]===r)return -1}),this.rightBrace(e)},t.ThrowStatement=function(e){this.word("throw"),c(this,e.argument)},t.TryStatement=function(e){this.word("try"),this.space(),this.print(e.block),this.space(),e.handlers?this.print(e.handlers[0]):this.print(e.handler),e.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(e.finalizer))},t.VariableDeclaration=function(e,t){e.declare&&(this.word("declare"),this.space());let{kind:r}=e;"await using"===r?(this.word("await"),this.space(),this.word("using",!0)):this.word(r,"using"===r),this.space();let n=!1;if(!a(t))for(let t of e.declarations)t.init&&(n=!0);if(this.printList(e.declarations,void 0,void 0,e.declarations.length>1,n?function(e){this.token(",",!1,e),this.newline()}:void 0),a(t)){if(s(t)){if(t.init===e)return}else if(t.left===e)return}this.semicolon()},t.VariableDeclarator=function(e){this.print(e.id),e.definite&&this.tokenChar(33),this.print(e.id.typeAnnotation),e.init&&(this.space(),this.tokenChar(61),this.space(),this.print(e.init))},t.WhileStatement=function(e){this.word("while"),this.space(),this.tokenChar(40),this.print(e.test),this.tokenChar(41),this.printBlock(e)},t.WithStatement=function(e){this.word("with"),this.space(),this.tokenChar(40),this.print(e.object),this.tokenChar(41),this.printBlock(e)};var n=r(40838),i=r(49055);let{isFor:a,isForStatement:s,isIfStatement:o,isStatement:l}=n;function u(e){this.word("for"),this.space();let t="ForOfStatement"===e.type;t&&e.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40);{let r=t?null:this.enterForStatementInit();this.tokenContext|=t?i.TokenContext.forOfHead:i.TokenContext.forInHead,this.print(e.left),null==r||r()}this.space(),this.word(t?"of":"in"),this.space(),this.print(e.right),this.tokenChar(41),this.printBlock(e)}function c(e,t){t&&(e.space(),e.printTerminatorless(t)),e.semicolon()}t.ForInStatement=u,t.ForOfStatement=u},51777:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=r(55543),a=n(r(38514)),s=n(r(7970));class o extends a.default{clone(){return new o(this._rawText,null)}constructor(e,t=null,r){super(t,r),this.nodeType=s.default.TEXT_NODE,this.rawTagName="",this._rawText=e}get rawText(){return this._rawText}set rawText(e){this._rawText=e,this._trimmedRawText=void 0,this._trimmedText=void 0}get trimmedRawText(){return void 0!==this._trimmedRawText||(this._trimmedRawText=l(this.rawText)),this._trimmedRawText}get trimmedText(){return void 0!==this._trimmedText||(this._trimmedText=l(this.text)),this._trimmedText}get text(){return(0,i.decode)(this.rawText)}get isWhitespace(){return/^(\s|&nbsp;)*$/.test(this.rawText)}toString(){return this.rawText}}function l(e){let t,r,n=0;for(;n>=0&&n<e.length;)/\S/.test(e[n])&&(void 0===t?(t=n,n=e.length):(r=n,n=void 0)),void 0===t?n++:n--;void 0===t&&(t=0),void 0===r&&(r=e.length-1);let i=t>0&&/[^\S\r\n]/.test(e[t-1]),a=r<e.length-1&&/[^\S\r\n]/.test(e[r+1]);return(i?" ":"")+e.slice(t,r+1)+(a?" ":"")}t.default=o},51837:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i]};var n=r(48390),i=Symbol.for("var used to be block scoped")},51880:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.encodeNonAsciiHTML=t.encodeHTML=void 0;var i=n(r(23694)),a=r(31525),s=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function o(e,t){for(var r,n="",s=0;null!==(r=e.exec(t));){var o=r.index;n+=t.substring(s,o);var l=t.charCodeAt(o),u=i.default.get(l);if("object"==typeof u){if(o+1<t.length){var c=t.charCodeAt(o+1),d="number"==typeof u.n?u.n===c?u.o:void 0:u.n.get(c);if(void 0!==d){n+=d,s=e.lastIndex+=1;continue}}u=u.v}if(void 0!==u)n+=u,s=o+1;else{var p=(0,a.getCodePoint)(t,o);n+="&#x".concat(p.toString(16),";"),s=e.lastIndex+=Number(p!==l)}}return n+t.substr(s)}t.encodeHTML=function(e){return o(s,e)},t.encodeNonAsciiHTML=function(e){return o(a.xmlReplacer,e)}},52160:(e,t,r)=>{"use strict";r.d(t,{m:()=>l});var n=r(5945);r(84183);var i=r(61934),a=r(4191),s=r(66266),o=r(72495);let l=async e=>{let t=(0,i.parse)(e);return new ReadableStream({async start(r){for await(let n of t.querySelectorAll("a")){let t=n.attributes.href;if(!t||t.startsWith("mailto:"))continue;let i={link:t,codeLocation:(0,a.X)(n,e),status:"success",checks:[]};try{let e,r=new URL(t);i.checks.push({passed:!0,type:"syntax"}),t.startsWith("http://")?(i.checks.push({passed:!1,type:"security"}),i.status="warning"):i.checks.push({passed:!0,type:"security"});try{e=await (0,s.w)(r);let t=e.statusCode?.toString().startsWith("2")??!1;i.checks.push({type:"fetch_attempt",passed:t,metadata:{fetchStatusCode:e.statusCode}}),t||(i.status=e.statusCode?.toString().startsWith("3")?"warning":"error")}catch(e){i.checks.push({type:"fetch_attempt",passed:!1,metadata:{fetchStatusCode:void 0}}),i.status="error"}}catch(e){i.checks.push({passed:!1,type:"syntax"}),i.status="error"}r.enqueue(i)}r.close()}})};(0,o.D)([l]),(0,n.A)(l,"7fff8a7ec95e4f09b17040b9d2f44fa0e2a9ec3d00",null)},52180:(e,t,r)=>{"use strict";r.r(t);var n=r(51455),i=r.n(n),a=r(76760),s=r.n(a),o=r(73297),l=r(3729);describe("getTailwindMetadata()",()=>{test("with the netlify-welcome demo email",async()=>{let e=s().resolve(__dirname,"../../../../../../apps/demo/emails/welcome/netlify-welcome.tsx"),t=await i().readFile(e,"utf8"),r=(0,o.parse)(t,{strictMode:!1,errorRecovery:!0,sourceType:"unambiguous",plugins:["jsx","typescript","decorators"]});expect((0,l.getTailwindMetadata)(r,t,e)).toBeDefined()})})},52395:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});let r=e=>Object.assign({},...Object.entries(null!=e?e:{}).flatMap(([e,t])=>"object"==typeof t?Object.entries(r(t)).map(([t,r])=>({[e+("DEFAULT"===t?"":`-${t}`)]:r})):[{[`${e}`]:t}])),n=r},52659:(e,t,r)=>{"use strict";var n=r(67228),i=r(64514);let a=(0,i.defineAliasedType)("Flow"),s=e=>{let t="DeclareClass"===e;a(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...t?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterDeclaration"),extends:(0,i.validateOptional)((0,i.arrayOfType)("InterfaceExtends"))},t?{mixins:(0,i.validateOptional)((0,i.arrayOfType)("InterfaceExtends")),implements:(0,i.validateOptional)((0,i.arrayOfType)("ClassImplements"))}:{},{body:(0,i.validateType)("ObjectTypeAnnotation")})})};a("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,i.validateType)("FlowType")}}),a("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterInstantiation")}}),s("DeclareClass"),a("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier"),predicate:(0,i.validateOptionalType)("DeclaredPredicate")}}),s("DeclareInterface"),a("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier","StringLiteral"),body:(0,i.validateType)("BlockStatement"),kind:(0,i.validateOptional)((0,i.assertOneOf)("CommonJS","ES"))}}),a("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,i.validateType)("TypeAnnotation")}}),a("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterDeclaration"),right:(0,i.validateType)("FlowType")}}),a("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,i.validateOptionalType)("FlowType"),impltype:(0,i.validateOptionalType)("FlowType")}}),a("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier")}}),a("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:(0,i.validateOptionalType)("Flow"),specifiers:(0,i.validateOptional)((0,i.arrayOfType)("ExportSpecifier","ExportNamespaceSpecifier")),source:(0,i.validateOptionalType)("StringLiteral"),default:(0,i.validateOptional)((0,i.assertValueType)("boolean"))},n.importAttributes)}),a("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:(0,i.validateType)("StringLiteral"),exportKind:(0,i.validateOptional)((0,i.assertOneOf)("type","value"))},n.importAttributes)}),a("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,i.validateType)("Flow")}}),a("ExistsTypeAnnotation",{aliases:["FlowType"]}),a("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,i.validateOptionalType)("TypeParameterDeclaration"),params:(0,i.validateArrayOfType)("FunctionTypeParam"),rest:(0,i.validateOptionalType)("FunctionTypeParam"),this:(0,i.validateOptionalType)("FunctionTypeParam"),returnType:(0,i.validateType)("FlowType")}}),a("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,i.validateOptionalType)("Identifier"),typeAnnotation:(0,i.validateType)("FlowType"),optional:(0,i.validateOptional)((0,i.assertValueType)("boolean"))}}),a("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,i.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterInstantiation")}}),a("InferredPredicate",{aliases:["FlowPredicate"]}),a("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,i.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterInstantiation")}}),s("InterfaceDeclaration"),a("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,i.validateOptional)((0,i.arrayOfType)("InterfaceExtends")),body:(0,i.validateType)("ObjectTypeAnnotation")}}),a("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,i.validate)((0,i.arrayOfType)("FlowType"))}}),a("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,i.validateType)("FlowType")}}),a("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,i.validate)((0,i.assertValueType)("number"))}}),a("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,i.validate)((0,i.arrayOfType)("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:(0,i.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,i.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,i.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,i.assertValueType)("boolean"),default:!1},inexact:(0,i.validateOptional)((0,i.assertValueType)("boolean"))}}),a("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,i.validateType)("Identifier"),value:(0,i.validateType)("FlowType"),optional:(0,i.validate)((0,i.assertValueType)("boolean")),static:(0,i.validate)((0,i.assertValueType)("boolean")),method:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,i.validateType)("FlowType"),static:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,i.validateOptionalType)("Identifier"),key:(0,i.validateType)("FlowType"),value:(0,i.validateType)("FlowType"),static:(0,i.validate)((0,i.assertValueType)("boolean")),variance:(0,i.validateOptionalType)("Variance")}}),a("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,i.validateType)("Identifier","StringLiteral"),value:(0,i.validateType)("FlowType"),kind:(0,i.validate)((0,i.assertOneOf)("init","get","set")),static:(0,i.validate)((0,i.assertValueType)("boolean")),proto:(0,i.validate)((0,i.assertValueType)("boolean")),optional:(0,i.validate)((0,i.assertValueType)("boolean")),variance:(0,i.validateOptionalType)("Variance"),method:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,i.validateType)("FlowType")}}),a("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,i.validateOptionalType)("FlowType"),impltype:(0,i.validateType)("FlowType")}}),a("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,i.validateType)("Identifier"),qualification:(0,i.validateType)("Identifier","QualifiedTypeIdentifier")}}),a("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,i.validate)((0,i.assertValueType)("string"))}}),a("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,i.validate)((0,i.arrayOfType)("FlowType"))}}),a("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,i.validateType)("FlowType")}}),a("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,i.validateType)("Identifier"),typeParameters:(0,i.validateOptionalType)("TypeParameterDeclaration"),right:(0,i.validateType)("FlowType")}}),a("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,i.validateType)("FlowType")}}),a("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,i.validateType)("Expression"),typeAnnotation:(0,i.validateType)("TypeAnnotation")}}),a("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,i.validate)((0,i.assertValueType)("string")),bound:(0,i.validateOptionalType)("TypeAnnotation"),default:(0,i.validateOptionalType)("FlowType"),variance:(0,i.validateOptionalType)("Variance")}}),a("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,i.validate)((0,i.arrayOfType)("TypeParameter"))}}),a("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,i.validate)((0,i.arrayOfType)("FlowType"))}}),a("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,i.validate)((0,i.arrayOfType)("FlowType"))}}),a("Variance",{builder:["kind"],fields:{kind:(0,i.validate)((0,i.assertOneOf)("minus","plus"))}}),a("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),a("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,i.validateType)("Identifier"),body:(0,i.validateType)("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}}),a("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,i.validate)((0,i.assertValueType)("boolean")),members:(0,i.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,i.validate)((0,i.assertValueType)("boolean")),members:(0,i.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,i.validate)((0,i.assertValueType)("boolean")),members:(0,i.validateArrayOfType)("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,i.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,i.validate)((0,i.assertValueType)("boolean"))}}),a("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:(0,i.validateType)("Identifier"),init:(0,i.validateType)("BooleanLiteral")}}),a("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,i.validateType)("Identifier"),init:(0,i.validateType)("NumericLiteral")}}),a("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,i.validateType)("Identifier"),init:(0,i.validateType)("StringLiteral")}}),a("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,i.validateType)("Identifier")}}),a("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,i.validateType)("FlowType"),indexType:(0,i.validateType)("FlowType")}}),a("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,i.validateType)("FlowType"),indexType:(0,i.validateType)("FlowType"),optional:(0,i.validate)((0,i.assertValueType)("boolean"))}})},52684:(e,t,r)=>{"use strict";var n=r(78139),i=r(37823),a=r(89329);function s(e){return this instanceof s?(this.nodes=n(e),this):new s(e)}s.prototype.toString=function(){return Array.isArray(this.nodes)?a(this.nodes):""},s.prototype.walk=function(e,t){return i(this.nodes,e,t),this},s.unit=r(55816),s.walk=i,s.stringify=a,e.exports=s},52748:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!r||!e)return e;let n=`${t}Comments`;return e[n]?"leading"===t?e[n]=r.concat(e[n]):e[n].push(...r):e[n]=r,e}},52915:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=new Map([["{","}"],["[","]"],["(",")"]]),n=new Map(Array.from(r.entries()).map(([e,t])=>[t,e])),i=new Set(['"',"'","`"]);function a(e){let t=[],a=!1;for(let s=0;s<e.length;s++){let o=e[s];if(":"===o&&!a&&0===t.length)return!1;if((i.has(o)&&"\\"!==e[s-1]&&(a=!a),!a)&&"\\"!==e[s-1]){if(r.has(o))t.push(o);else if(n.has(o)){let e=n.get(o);if(t.length<=0||t.pop()!==e)return!1}}}return!(t.length>0)}},53001:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":if(t.property===e)return!!t.computed;return t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":case"LabeledStatement":case"CatchClause":case"RestElement":case"BreakStatement":case"ContinueStatement":case"FunctionDeclaration":case"FunctionExpression":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportAttribute":case"JSXAttribute":case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.key===e)return!!t.computed;return!1;case"ObjectProperty":if(t.key===e)return!!t.computed;return!r||"ObjectPattern"!==r.type;case"ClassProperty":case"ClassAccessorProperty":case"TSPropertySignature":if(t.key===e)return!!t.computed;break;case"ClassPrivateProperty":case"ObjectTypeProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return t.right===e;case"ExportSpecifier":if(null!=r&&r.source)return!1;return t.local===e;case"TSEnumMember":return t.id!==e}return!0}},53182:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{parseBoxShadowValue:function(){return o},formatBoxShadowValue:function(){return l}});let n=r(31611),i=new Set(["inset","inherit","initial","revert","unset"]),a=/\ +(?![^(]*\))/g,s=/^-?(\d+|\.\d+)(.*?)$/g;function o(e){return(0,n.splitAtTopLevelOnly)(e,",").map(e=>{let t=e.trim(),r={raw:t},n=t.split(a),o=new Set;for(let e of n)s.lastIndex=0,!o.has("KEYWORD")&&i.has(e)?(r.keyword=e,o.add("KEYWORD")):s.test(e)?o.has("X")?o.has("Y")?o.has("BLUR")?o.has("SPREAD")||(r.spread=e,o.add("SPREAD")):(r.blur=e,o.add("BLUR")):(r.y=e,o.add("Y")):(r.x=e,o.add("X")):r.color?(r.unknown||(r.unknown=[]),r.unknown.push(e)):r.color=e;return r.valid=void 0!==r.x&&void 0!==r.y,r})}function l(e){return e.map(e=>e.valid?[e.keyword,e.x,e.y,e.blur,e.spread,e.color].filter(Boolean).join(" "):e.raw).join(", ")}},53202:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e||!t)return e;for(let r of n.INHERIT_KEYS.optional)null==e[r]&&(e[r]=t[r]);for(let r of Object.keys(t))"_"===r[0]&&"__clone"!==r&&(e[r]=t[r]);for(let r of n.INHERIT_KEYS.force)e[r]=t[r];return(0,i.default)(e,t),e};var n=r(54836),i=r(98175)},53267:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(;r.length>0;){var i=r.shift();if(!e[i])return;e=e[i]}return e},e.exports=t.default},53364:(e,t,r)=>{"use strict";r.r(t),r.d(t,{allCssProperties:()=>n});let n=["accent-color","align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-reflect","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","@charset","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","counter-set","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","@font-face","font-family","font-feature-settings","@font-feature-values","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","hypenate-character","image-rendering","@import","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","@keyframes","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","shape-margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-height","max-width","@media","max-block-size","max-inline-size","min-block-size","min-inline-size","min-height","min-width","mix-blend-mode","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-wrap","overflow-x","overflow-y","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","paint-order","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","quotes","resize","right","rotate","row-gap","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","tab-size","table-layout","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-shadow","text-transform","text-underline-offset","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","writing-mode","z-index"]},53750:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!(e&&n.VISITOR_KEYS[e.type])};var n=r(29863)},53789:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.aliases=void 0,t.aliases={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:":is(\n :is(button, input, select, textarea, optgroup, option)[disabled],\n optgroup[disabled] > option,\n fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)\n )",enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"}},53948:(e,t,r)=>{"use strict";r.r(t),r.d(t,{staticNodeModulesForVM:()=>eV});let n=require("node:assert");var i=r.n(n);let a=require("node:async_hooks");var s=r.n(a);let o=require("node:buffer");var l=r.n(o);let u=require("node:child_process");var c=r.n(u);let d=require("node:cluster");var p=r.n(d);let h=require("node:console");var m=r.n(h);let f=require("node:constants");var y=r.n(f);let g=require("node:crypto");var b=r.n(g);let w=require("node:dgram");var v=r.n(w);let k=require("node:diagnostics_channel");var x=r.n(k);let S=require("node:dns");var E=r.n(S);let T=require("node:domain");var _=r.n(T);let A=require("node:events");var C=r.n(A),P=r(73024),D=r.n(P),I=r(51455),O=r.n(I),N=r(37067),L=r.n(N);let R=require("node:http2");var M=r.n(R),F=r(44708),B=r.n(F);let j=require("node:inspector");var U=r.n(j);let $=require("node:module");var q=r.n($);let z=require("node:net");var V=r.n(z);let H=require("node:os");var G=r.n(H),W=r(76760),K=r.n(W);let Y=require("node:perf_hooks");var X=r.n(Y);let Z=require("node:process");var J=r.n(Z);let Q=require("node:querystring");var ee=r.n(Q);let et=require("node:readline");var er=r.n(et);let en=require("node:repl");var ei=r.n(en);let ea=require("node:stream");var es=r.n(ea);let eo=require("node:string_decoder");var el=r.n(eo);let eu=require("node:timers");var ec=r.n(eu);let ed=require("node:timers/promises");var ep=r.n(ed);let eh=require("node:tls");var em=r.n(eh);let ef=require("node:tty");var ey=r.n(ef);let eg=require("node:url");var eb=r.n(eg);let ew=require("node:util");var ev=r.n(ew);let ek=require("node:util/types");var ex=r.n(ek);let eS=require("node:v8");var eE=r.n(eS),eT=r(30714),e_=r.n(eT);let eA=require("node:worker_threads");var eC=r.n(eA);let eP=require("node:zlib");var eD=r.n(eP);let eI=/^xn--/,eO=/[^\0-\x7F]/,eN=/[\x2E\u3002\uFF0E\uFF61]/g,eL={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},eR=Math.floor,eM=String.fromCharCode;function eF(e){throw RangeError(eL[e])}function eB(e,t){let r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+(function(e,t){let r=[],n=e.length;for(;n--;)r[n]=t(e[n]);return r})((e=e.replace(eN,".")).split("."),t).join(".")}function ej(e){let t=[],r=0,n=e.length;for(;r<n;){let i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){let n=e.charCodeAt(r++);(64512&n)==56320?t.push(((1023&i)<<10)+(1023&n)+65536):(t.push(i),r--)}else t.push(i)}return t}let eU=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},e$=function(e,t,r){let n=0;for(e=r?eR(e/700):e>>1,e+=eR(e/t);e>455;n+=36)e=eR(e/35);return eR(n+36*e/(e+38))},eq=function(e){let t=[],r=e.length,n=0,i=128,a=72,s=e.lastIndexOf("-");s<0&&(s=0);for(let r=0;r<s;++r)e.charCodeAt(r)>=128&&eF("not-basic"),t.push(e.charCodeAt(r));for(let l=s>0?s+1:0;l<r;){let s=n;for(let t=1,i=36;;i+=36){var o;l>=r&&eF("invalid-input");let s=(o=e.charCodeAt(l++))>=48&&o<58?26+(o-48):o>=65&&o<91?o-65:o>=97&&o<123?o-97:36;s>=36&&eF("invalid-input"),s>eR((0x7fffffff-n)/t)&&eF("overflow"),n+=s*t;let u=i<=a?1:i>=a+26?26:i-a;if(s<u)break;let c=36-u;t>eR(0x7fffffff/c)&&eF("overflow"),t*=c}let u=t.length+1;a=e$(n-s,u,0==s),eR(n/u)>0x7fffffff-i&&eF("overflow"),i+=eR(n/u),n%=u,t.splice(n++,0,i)}return String.fromCodePoint(...t)},ez=function(e){let t=[],r=(e=ej(e)).length,n=128,i=0,a=72;for(let r of e)r<128&&t.push(eM(r));let s=t.length,o=s;for(s&&t.push("-");o<r;){let r=0x7fffffff;for(let t of e)t>=n&&t<r&&(r=t);let l=o+1;for(let u of(r-n>eR((0x7fffffff-i)/l)&&eF("overflow"),i+=(r-n)*l,n=r,e))if(u<n&&++i>0x7fffffff&&eF("overflow"),u===n){let e=i;for(let r=36;;r+=36){let n=r<=a?1:r>=a+26?26:r-a;if(e<n)break;let i=e-n,s=36-n;t.push(eM(eU(n+i%s,0))),e=eR(i/s)}t.push(eM(eU(e,0))),a=e$(i,l,o===s),i=0,++o}++i,++n}return t.join("")},eV={assert:i(),async_hooks:s(),buffer:l(),child_process:c(),cluster:p(),console:m(),constants:y(),crypto:b(),dgram:v(),diagnostics_channel:x(),dns:E(),domain:_(),events:C(),fs:D(),"fs/promises":O(),http:L(),http2:M(),https:B(),inspector:U(),module:q(),net:V(),os:G(),path:K(),perf_hooks:X(),process:J(),punycode:{version:"2.3.1",ucs2:{decode:ej,encode:e=>String.fromCodePoint(...e)},decode:eq,encode:ez,toASCII:function(e){return eB(e,function(e){return eO.test(e)?"xn--"+ez(e):e})},toUnicode:function(e){return eB(e,function(e){return eI.test(e)?eq(e.slice(4).toLowerCase()):e})}},querystring:ee(),readline:er(),repl:ei(),stream:es(),string_decoder:el(),timers:ec(),"timers/promises":ep(),tls:em(),tty:ey(),url:eb(),util:ev(),"util/types":ex(),v8:eE(),vm:e_(),worker_threads:eC(),zlib:eD()}},54042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var n=r(36257),i=r(75897),a={tag_name:function(e){return"function"==typeof e?function(t){return(0,n.isTag)(t)&&e(t.name)}:"*"===e?n.isTag:function(t){return(0,n.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return(0,n.isText)(t)&&e(t.data)}:function(t){return(0,n.isText)(t)&&t.data===e}}};function s(e,t){return"function"==typeof t?function(r){return(0,n.isTag)(r)&&t(r.attribs[e])}:function(r){return(0,n.isTag)(r)&&r.attribs[e]===t}}function o(e,t){return function(r){return e(r)||t(r)}}function l(e){var t=Object.keys(e).map(function(t){var r=e[t];return Object.prototype.hasOwnProperty.call(a,t)?a[t](r):s(t,r)});return 0===t.length?null:t.reduce(o)}t.testElement=function(e,t){var r=l(e);return!r||r(t)},t.getElements=function(e,t,r,n){void 0===n&&(n=1/0);var a=l(e);return a?(0,i.filter)(a,t,r,n):[]},t.getElementById=function(e,t,r){return void 0===r&&(r=!0),Array.isArray(t)||(t=[t]),(0,i.findOne)(s("id",e),t,r)},t.getElementsByTagName=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(a.tag_name(e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(a.tag_type(e),t,r,n)}},54341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._replaceWith=j,t.replaceExpressionWithStatements=function(e){c.resync.call(this);let t=[],r=function e(t,r){let n=[],i=!0;for(let a of t)if(A(a)||(i=!1),C(a))n.push(a);else if(P(a))n.push(a.expression);else if(N(a)){if("var"!==a.kind)return;for(let e of a.declarations){let t=k(e);for(let e of Object.keys(t))r.push(b(t[e]));e.init&&n.push(h("=",e.id,e.init))}i=!0}else if(D(a)){let t=a.consequent?e([a.consequent],r):y(),i=a.alternate?e([a.alternate],r):y();if(!t||!i)return;n.push(w(a.test,t,i))}else if(_(a)){let t=e(a.body,r);if(!t)return;n.push(t)}else{if(!A(a))return;0===t.indexOf(a)&&(i=!0)}return(i&&n.push(y()),1===n.length)?n[0]:M(n)}(e,t);if(r){for(let e of t)this.scope.push({id:e});return this.replaceWith(r)[0].get("expressions")}let n=this.getFunctionParent(),a=null==n?void 0:n.node.async,s=null==n?void 0:n.node.generator,o=p([],f(e));this.replaceWith(g(o,[]));let l=this.get("callee");for(let e of(l.get("body").scope.hoistVariables(e=>this.scope.push({id:e})),l.getCompletionRecords())){if(!e.isExpressionStatement())continue;let t=e.findParent(e=>e.isLoop());if(t){let r=t.getData("expressionReplacementReturnUid");r?r=x(r.name):(r=l.scope.generateDeclaredUidIdentifier("ret"),l.get("body").pushContainer("body",R(b(r))),t.setData("expressionReplacementReturnUid",r)),e.get("expression").replaceWith(h("=",b(r),e.node.expression))}else e.replaceWith(R(e.node.expression))}l.arrowFunctionToExpression();let u=a&&i.default.hasType(this.get("callee.body").node,"AwaitExpression",d),v=s&&i.default.hasType(this.get("callee.body").node,"YieldExpression",d);return u&&(l.set("async",!0),v||this.replaceWith(m(this.node))),v&&(l.set("generator",!0),this.replaceWith(B(this.node,!0))),l.get("body.body")},t.replaceInline=function(e){if(c.resync.call(this),!Array.isArray(e))return this.replaceWith(e);if(!Array.isArray(this.container))return this.replaceWithMultiple(e);{e=o._verifyNodeList.call(this,e);let t=o._containerInsertAfter.call(this,e);return this.remove(),t}},t.replaceWith=function(e){if(c.resync.call(this),this.removed)throw Error("You can't replace this node, we've already removed it");let t=e instanceof a.default?e.node:e;if(!t)throw Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===t)return[this];if(this.isProgram()&&!I(t))throw Error("You can only replace a Program root node with another Program node");if(Array.isArray(t))throw Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if("string"==typeof t)throw Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let r="";if(this.isNodeType("Statement")&&C(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t)&&!this.parentPath.isExportDefaultDeclaration()&&(t=v(t),r="expression"),this.isNodeType("Expression")&&O(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t))return this.replaceExpressionWithStatements([t]);let n=this.node;return n&&(T(t,n),L(n)),j.call(this,t),this.type=t.type,c.setScope.call(this),this.requeue(),[r?this.get(r):this]},t.replaceWithMultiple=function(e){var t;c.resync.call(this),S((e=o._verifyNodeList.call(this,e))[0],this.node),E(e[e.length-1],this.node),null==(t=(0,s.getCachedPaths)(this.hub,this.parent))||t.delete(this.node),this.node=this.container[this.key]=null;let r=this.insertAfter(e);return this.node?this.requeue():this.remove(),r},t.replaceWithSourceString=function(e){let t;c.resync.call(this);try{e=`(${e})`,t=(0,l.parse)(e)}catch(r){let t=r.loc;throw t&&(r.message+=" - make sure this is an expression.\n"+(0,n.codeFrameColumns)(e,{start:{line:t.line,column:t.column+1}}),r.code="BABEL_REPLACE_SOURCE_ERROR"),r}let r=t.program.body[0].expression;return i.default.removeProperties(r),this.replaceWith(r)};var n=r(65550),i=r(41093),a=r(13133),s=r(72063),o=r(94737),l=r(73297),u=r(40838),c=r(43278);let{FUNCTION_TYPES:d,arrowFunctionExpression:p,assignmentExpression:h,awaitExpression:m,blockStatement:f,buildUndefinedNode:y,callExpression:g,cloneNode:b,conditionalExpression:w,expressionStatement:v,getBindingIdentifiers:k,identifier:x,inheritLeadingComments:S,inheritTrailingComments:E,inheritsComments:T,isBlockStatement:_,isEmptyStatement:A,isExpression:C,isExpressionStatement:P,isIfStatement:D,isProgram:I,isStatement:O,isVariableDeclaration:N,removeComments:L,returnStatement:R,sequenceExpression:M,validate:F,yieldExpression:B}=u;function j(e){var t;if(!this.container)throw ReferenceError("Container is falsy");this.inList?F(this.parent,this.key,[e]):F(this.parent,this.key,e),this.debug(`Replace with ${null==e?void 0:e.type}`),null==(t=(0,s.getCachedPaths)(this.hub,this.parent))||t.set(e,this).delete(this.node),this.node=this.container[this.key]=e}},54466:function(e,t,r){"use strict";var n=this&&this.__spreadArray||function(e,t,r){if(r||2==arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.subselects=t.getNextSiblings=t.ensureIsTag=t.PLACEHOLDER_ELEMENT=void 0;var a=i(r(81832)),s=r(61835);function o(e,t){return e===a.default.falseFunc?a.default.falseFunc:function(r){return t.isTag(r)&&e(r)}}function l(e,t){var r=t.getSiblings(e);if(r.length<=1)return[];var n=r.indexOf(e);return n<0||n===r.length-1?[]:r.slice(n+1).filter(t.isTag)}function u(e){return{xmlMode:!!e.xmlMode,lowerCaseAttributeNames:!!e.lowerCaseAttributeNames,lowerCaseTags:!!e.lowerCaseTags,quirksMode:!!e.quirksMode,cacheResults:!!e.cacheResults,pseudos:e.pseudos,adapter:e.adapter,equals:e.equals}}t.PLACEHOLDER_ELEMENT={},t.ensureIsTag=o,t.getNextSiblings=l;var c=function(e,t,r,n,i){var s=i(t,u(r),n);return s===a.default.trueFunc?e:s===a.default.falseFunc?a.default.falseFunc:function(t){return s(t)&&e(t)}};t.subselects={is:c,matches:c,where:c,not:function(e,t,r,n,i){var s=i(t,u(r),n);return s===a.default.falseFunc?e:s===a.default.trueFunc?a.default.falseFunc:function(t){return!s(t)&&e(t)}},has:function(e,r,i,c,d){var p=i.adapter,h=u(i);h.relativeSelector=!0;var m=r.some(function(e){return e.some(s.isTraversal)})?[t.PLACEHOLDER_ELEMENT]:void 0,f=d(r,h,m);if(f===a.default.falseFunc)return a.default.falseFunc;var y=o(f,p);if(m&&f!==a.default.trueFunc){var g=f.shouldTestNextSiblings,b=void 0!==g&&g;return function(t){if(!e(t))return!1;m[0]=t;var r=p.getChildren(t),i=b?n(n([],r,!0),l(t,p),!0):r;return p.existsOne(y,i)}}return function(t){return e(t)&&p.existsOne(y,p.getChildren(t))}}}},54781:e=>{"use strict";let t={},r=t.hasOwnProperty,n=(e,t)=>{for(let n in e)r.call(e,n)&&t(n,e[n])},i=(e,t)=>(t&&n(t,(t,r)=>{e[t]=r}),e),a=(e,t)=>{let r=e.length,n=-1;for(;++n<r;)t(e[n])},s=e=>"\\u"+("0000"+e).slice(-4),o=(e,t)=>{let r=e.toString(16);return t?r:r.toUpperCase()},l=t.toString,u=Array.isArray,c=e=>"function"==typeof Buffer&&Buffer.isBuffer(e),d=e=>"[object Object]"==l.call(e),p=e=>"string"==typeof e||"[object String]"==l.call(e),h=e=>"number"==typeof e||"[object Number]"==l.call(e),m=e=>"bigint"==typeof e,f=e=>"function"==typeof e,y=e=>"[object Map]"==l.call(e),g=e=>"[object Set]"==l.call(e),b={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},w=/[\\\b\f\n\r\t]/,v=/[0-9]/,k=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,x=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,S=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,E=(e,t)=>{let r,l=()=>{I=D,++t.indentLevel,D=t.indent.repeat(t.indentLevel)},T={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},_=t&&t.json;_&&(T.quotes="double",T.wrap=!0),"single"!=(t=i(T,t)).quotes&&"double"!=t.quotes&&"backtick"!=t.quotes&&(t.quotes="single");let A="double"==t.quotes?'"':"backtick"==t.quotes?"`":"'",C=t.compact,P=t.lowercaseHex,D=t.indent.repeat(t.indentLevel),I="",O=t.__inline1__,N=t.__inline2__,L=C?"":"\n",R=!0,M="binary"==t.numbers,F="octal"==t.numbers,B="decimal"==t.numbers,j="hexadecimal"==t.numbers;if(_&&e&&f(e.toJSON)&&(e=e.toJSON()),!p(e)){if(y(e))return 0==e.size?"new Map()":(C||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+E(Array.from(e),t)+")");if(g(e))return 0==e.size?"new Set()":"new Set("+E(Array.from(e),t)+")";if(c(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+E(Array.from(e),t)+")";if(u(e))return(r=[],t.wrap=!0,O&&(t.__inline1__=!1,t.__inline2__=!0),N||l(),a(e,e=>{R=!1,N&&(t.__inline2__=!1),r.push((C||N?"":D)+E(e,t))}),R)?"[]":N?"["+r.join(", ")+"]":"["+L+r.join(","+L)+L+(C?"":I)+"]";if(h(e)||m(e)){let t;if(_)return JSON.stringify(Number(e));if(B)t=String(e);else if(j){let r=e.toString(16);P||(r=r.toUpperCase()),t="0x"+r}else M?t="0b"+e.toString(2):F&&(t="0o"+e.toString(8));return m(e)?t+"n":t}if(m(e))return _?JSON.stringify(Number(e)):e+"n";else if(d(e))return(r=[],t.wrap=!0,l(),n(e,(e,n)=>{R=!1,r.push((C?"":D)+E(e,t)+":"+(C?"":" ")+E(n,t))}),R)?"{}":"{"+L+r.join(","+L)+L+(C?"":I)+"}";else return _?JSON.stringify(e)||"null":String(e)}let U=t.escapeEverything?x:S;return r=e.replace(U,(e,r,n,i,a,l)=>{if(r){if(t.minimal)return r;let e=r.charCodeAt(0),n=r.charCodeAt(1);return t.es6?"\\u{"+o((e-55296)*1024+n-56320+65536,P)+"}":s(o(e,P))+s(o(n,P))}if(n)return s(o(n.charCodeAt(0),P));if("\0"==e&&!_&&!v.test(l.charAt(a+1)))return"\\0";if(i)return i==A||t.escapeEverything?"\\"+i:i;if(w.test(e))return b[e];if(t.minimal&&!k.test(e))return e;let u=o(e.charCodeAt(0),P);return _||u.length>2?s(u):"\\x"+("00"+u).slice(-2)}),"`"==A&&(r=r.replace(/\$\{/g,"\\${")),t.isScriptContext&&(r=r.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,_?"\\u003C!--":"\\x3C!--")),t.wrap&&(r=A+r+A),r};E.version="3.0.2",e.exports=E},54836:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE_OPERATORS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.STATEMENT_OR_BLOCK_KEYS=t.NUMBER_UNARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.LOGICAL_OPERATORS=t.INHERIT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.EQUALITY_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.COMMENT_KEYS=t.BOOLEAN_UNARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.BINARY_OPERATORS=t.ASSIGNMENT_OPERATORS=void 0,t.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],t.FLATTENABLE_KEYS=["body","expressions"],t.FOR_INIT_KEYS=["left","init"],t.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];let r=t.LOGICAL_OPERATORS=["||","&&","??"];t.UPDATE_OPERATORS=["++","--"];let n=t.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],i=t.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],a=t.COMPARISON_BINARY_OPERATORS=[...i,"in","instanceof"],s=t.BOOLEAN_BINARY_OPERATORS=[...a,...n],o=t.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.BINARY_OPERATORS=["+",...o,...s,"|>"],t.ASSIGNMENT_OPERATORS=["=","+=",...o.map(e=>e+"="),...r.map(e=>e+"=")];let l=t.BOOLEAN_UNARY_OPERATORS=["delete","!"],u=t.NUMBER_UNARY_OPERATORS=["+","-","~"],c=t.STRING_UNARY_OPERATORS=["typeof"];t.UNARY_OPERATORS=["void","throw",...l,...u,...c],t.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},t.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),t.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")},54909:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.defineProperties,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&h(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&h(e,r,t[r]);return e},f=(e,t)=>a(e,o(t)),y=(e,t)=>{var r={};for(var n in e)d.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))0>t.indexOf(n)&&p.call(e,n)&&(r[n]=e[n]);return r},g=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))d.call(e,a)||a===r||i(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable});return e},b={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(b,{CodeInline:()=>k}),e.exports=g(i({},"__esModule",{value:!0}),b);var w=((e,t,r)=>(r=null!=e?n(c(e)):{},g(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(64949)),v=r(82348),k=w.forwardRef((e,t)=>{var{children:r}=e,n=y(e,["children"]);return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("style",{children:`
211
211
  meta ~ .cino {
212
212
  display: none !important;
213
213
  opacity: 0 !important;
@@ -228,9 +228,9 @@ const buttonStyle = {
228
228
  const buttonStyle = {
229
229
  borderRadius: '5px',
230
230
  };
231
- `,t=(0,i.parse)(e,{strictMode:!1,errorRecovery:!0,sourceType:"unambiguous",plugins:["jsx","typescript","decorators"]}),r=(0,a.getObjectVariables)(t);expect(await (0,s.getUsedStyleProperties)(t,e,"",r)).toMatchSnapshot()}),n()}catch(e){n(e)}})},61486:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var s=a(r(29016)),o=r(73232),l=new Set(["input","option","optgroup","select","button","datalist","textarea"]),u=new Set(["p"]),c=new Set(["thead","tbody"]),d=new Set(["dd","dt"]),p=new Set(["rt","rp"]),h=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",u],["h1",u],["h2",u],["h3",u],["h4",u],["h5",u],["h6",u],["select",l],["input",l],["output",l],["button",l],["datalist",l],["textarea",l],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",d],["dt",d],["address",u],["article",u],["aside",u],["blockquote",u],["details",u],["div",u],["dl",u],["fieldset",u],["figcaption",u],["figure",u],["footer",u],["form",u],["header",u],["hr",u],["main",u],["nav",u],["ol",u],["pre",u],["section",u],["table",u],["ul",u],["rt",p],["rp",p],["tbody",c],["tfoot",c]]),m=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),f=new Set(["math","svg"]),y=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),g=/\s|\//;t.Parser=function(){function e(e,t){var r,n,i,a,o;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!=(r=t.lowerCaseTags)?r:!t.xmlMode,this.lowerCaseAttributeNames=null!=(n=t.lowerCaseAttributeNames)?n:!t.xmlMode,this.tokenizer=new(null!=(i=t.Tokenizer)?i:s.default)(this.options,this),null==(o=(a=this.cbs).onparserinit)||o.call(a,this)}return e.prototype.ontext=function(e,t){var r,n,i=this.getSlice(e,t);this.endIndex=t-1,null==(n=(r=this.cbs).ontext)||n.call(r,i),this.startIndex=t},e.prototype.ontextentity=function(e){var t,r,n=this.tokenizer.getSectionStart();this.endIndex=n-1,null==(r=(t=this.cbs).ontext)||r.call(t,(0,o.fromCodePoint)(e)),this.startIndex=n},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&m.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);this.lowerCaseTagNames&&(r=r.toLowerCase()),this.emitOpenTag(r)},e.prototype.emitOpenTag=function(e){this.openTagStart=this.startIndex,this.tagname=e;var t,r,n,i,a=!this.options.xmlMode&&h.get(e);if(a)for(;this.stack.length>0&&a.has(this.stack[this.stack.length-1]);){var s=this.stack.pop();null==(r=(t=this.cbs).onclosetag)||r.call(t,s,!0)}!this.isVoidElement(e)&&(this.stack.push(e),f.has(e)?this.foreignContext.push(!0):y.has(e)&&this.foreignContext.push(!1)),null==(i=(n=this.cbs).onopentagname)||i.call(n,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,r;this.startIndex=this.openTagStart,this.attribs&&(null==(r=(t=this.cbs).onopentag)||r.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){this.endIndex=t;var r,n,i,a,s,o,l=this.getSlice(e,t);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(f.has(l)||y.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))this.options.xmlMode||"br"!==l||(null==(n=(r=this.cbs).onopentagname)||n.call(r,"br"),null==(a=(i=this.cbs).onopentag)||a.call(i,"br",{},!0),null==(o=(s=this.cbs).onclosetag)||o.call(s,"br",!1));else{var u=this.stack.lastIndexOf(l);if(-1!==u)if(this.cbs.onclosetag)for(var c=this.stack.length-u;c--;)this.cbs.onclosetag(this.stack.pop(),0!==c);else this.stack.length=u;else this.options.xmlMode||"p"!==l||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,r,n=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===n&&(null==(r=(t=this.cbs).onclosetag)||r.call(t,n,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var r=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,o.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var r,n;this.endIndex=t,null==(n=(r=this.cbs).onattribute)||n.call(r,this.attribname,this.attribvalue,e===s.QuoteType.Double?'"':e===s.QuoteType.Single?"'":e===s.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(g),r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var n=this.getInstructionName(r);this.cbs.onprocessinginstruction("!".concat(n),"!".concat(r))}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var n=this.getInstructionName(r);this.cbs.onprocessinginstruction("?".concat(n),"?".concat(r))}this.startIndex=t+1},e.prototype.oncomment=function(e,t,r){var n,i,a,s;this.endIndex=t,null==(i=(n=this.cbs).oncomment)||i.call(n,this.getSlice(e,t-r)),null==(s=(a=this.cbs).oncommentend)||s.call(a),this.startIndex=t+1},e.prototype.oncdata=function(e,t,r){this.endIndex=t;var n,i,a,s,o,l,u,c,d,p,h=this.getSlice(e,t-r);this.options.xmlMode||this.options.recognizeCDATA?(null==(i=(n=this.cbs).oncdatastart)||i.call(n),null==(s=(a=this.cbs).ontext)||s.call(a,h),null==(l=(o=this.cbs).oncdataend)||l.call(o)):(null==(c=(u=this.cbs).oncomment)||c.call(u,"[CDATA[".concat(h,"]]")),null==(p=(d=this.cbs).oncommentend)||p.call(d)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var r=this.stack.length;r>0;this.cbs.onclosetag(this.stack[--r],!0));}null==(t=(e=this.cbs).onend)||t.call(e)},e.prototype.reset=function(){var e,t,r,n;null==(t=(e=this.cbs).onreset)||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null==(n=(r=this.cbs).onparserinit)||n.call(r,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var r=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,t-this.bufferOffset);return r},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,r;if(this.ended){null==(r=(t=this.cbs).onerror)||r.call(t,Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)},e.prototype.end=function(e){var t,r;if(this.ended){null==(r=(t=this.cbs).onerror)||r.call(t,Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}()},61640:e=>{"use strict";e.exports={stringReplaceAll:(e,t,r)=>{let n=e.indexOf(t);if(-1===n)return e;let i=t.length,a=0,s="";do s+=e.substr(a,n-a)+t+r,a=n+i,n=e.indexOf(t,a);while(-1!==n);return s+e.substr(a)},stringEncaseCRLFWithFirstIndex:(e,t,r,n)=>{let i=0,a="";do{let s="\r"===e[n-1];a+=e.substr(i,(s?n-1:n)-i)+t+(s?"\r\n":"\n")+r,i=n+1,n=e.indexOf("\n",i)}while(-1!==n);return a+e.substr(i)}}},61725:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=a(r(48817)),i=a(r(75988));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return["fontSize","outline"].includes(e)?e=>("function"==typeof e&&(e=e({})),Array.isArray(e)&&(e=e[0]),e):"fontFamily"===e?e=>{"function"==typeof e&&(e=e({}));let t=Array.isArray(e)&&(0,i.default)(e[1])?e[0]:e;return Array.isArray(t)?t.join(", "):t}:["boxShadow","transitionProperty","transitionDuration","transitionDelay","transitionTimingFunction","backgroundImage","backgroundSize","backgroundColor","cursor","animation"].includes(e)?e=>("function"==typeof e&&(e=e({})),Array.isArray(e)&&(e=e.join(", ")),e):["gridTemplateColumns","gridTemplateRows","objectPosition"].includes(e)?e=>("function"==typeof e&&(e=e({})),"string"==typeof e&&(e=n.default.list.comma(e).join(" ")),e):(e,t={})=>("function"==typeof e&&(e=e(t)),e)}},61835:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTraversal=void 0;var n=r(38037),i=new Map([[n.SelectorType.Universal,50],[n.SelectorType.Tag,30],[n.SelectorType.Attribute,1],[n.SelectorType.Pseudo,0]]);t.isTraversal=function(e){return!i.has(e.type)};var a=new Map([[n.AttributeAction.Exists,10],[n.AttributeAction.Equals,8],[n.AttributeAction.Not,7],[n.AttributeAction.Start,6],[n.AttributeAction.End,6],[n.AttributeAction.Any,5]]);function s(e){var t,r,o=null!=(t=i.get(e.type))?t:-1;return e.type===n.SelectorType.Attribute?(o=null!=(r=a.get(e.action))?r:4,e.action===n.AttributeAction.Equals&&"id"===e.name&&(o=9),e.ignoreCase&&(o>>=1)):e.type===n.SelectorType.Pseudo&&(e.data?"has"===e.name||"contains"===e.name?o=0:Array.isArray(e.data)?(o=Math.min.apply(Math,e.data.map(function(e){return Math.min.apply(Math,e.map(s))})))<0&&(o=0):o=2:o=3),o}t.default=function(e){for(var t=e.map(s),r=1;r<e.length;r++){var n=t[r];if(!(n<0))for(var i=r-1;i>=0&&n<t[i];i--){var a=e[i+1];e[i+1]=e[i],e[i]=a,t[i+1]=t[i],t[i]=n}}}},61918:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(82348);new Request("https://react.email"),new Response("{}");let i=()=>(0,n.jsx)("div",{})},61934:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NodeType=t.TextNode=t.Node=t.valid=t.CommentNode=t.HTMLElement=t.parse=void 0;let i=n(r(23729));t.CommentNode=i.default;let a=n(r(71219));t.HTMLElement=a.default;let s=n(r(38514));t.Node=s.default;let o=n(r(51777));t.TextNode=o.default;let l=n(r(7970));t.NodeType=l.default;let u=n(r(93137)),c=n(r(70860));function d(e,t={}){return(0,u.default)(e,t)}t.valid=c.default,t.default=d,t.parse=d,d.parse=u.default,d.HTMLElement=a.default,d.CommentNode=i.default,d.valid=c.default,d.Node=s.default,d.TextNode=o.default,d.NodeType=l.default},61940:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.anyTypeAnnotation=function(){return{type:"AnyTypeAnnotation"}},t.argumentPlaceholder=function(){return{type:"ArgumentPlaceholder"}},t.arrayExpression=function(e=[]){let t={type:"ArrayExpression",elements:e};return s(o.ArrayExpression.elements,t,"elements",e,1),t},t.arrayPattern=function(e){let t={type:"ArrayPattern",elements:e};return s(o.ArrayPattern.elements,t,"elements",e,1),t},t.arrayTypeAnnotation=function(e){let t={type:"ArrayTypeAnnotation",elementType:e};return s(o.ArrayTypeAnnotation.elementType,t,"elementType",e,1),t},t.arrowFunctionExpression=function(e,t,r=!1){let n={type:"ArrowFunctionExpression",params:e,body:t,async:r,expression:null},i=o.ArrowFunctionExpression;return s(i.params,n,"params",e,1),s(i.body,n,"body",t,1),s(i.async,n,"async",r),n},t.assignmentExpression=function(e,t,r){let n={type:"AssignmentExpression",operator:e,left:t,right:r},i=o.AssignmentExpression;return s(i.operator,n,"operator",e),s(i.left,n,"left",t,1),s(i.right,n,"right",r,1),n},t.assignmentPattern=function(e,t){let r={type:"AssignmentPattern",left:e,right:t},n=o.AssignmentPattern;return s(n.left,r,"left",e,1),s(n.right,r,"right",t,1),r},t.awaitExpression=function(e){let t={type:"AwaitExpression",argument:e};return s(o.AwaitExpression.argument,t,"argument",e,1),t},t.bigIntLiteral=function(e){let t={type:"BigIntLiteral",value:e};return s(o.BigIntLiteral.value,t,"value",e),t},t.binaryExpression=function(e,t,r){let n={type:"BinaryExpression",operator:e,left:t,right:r},i=o.BinaryExpression;return s(i.operator,n,"operator",e),s(i.left,n,"left",t,1),s(i.right,n,"right",r,1),n},t.bindExpression=function(e,t){let r={type:"BindExpression",object:e,callee:t},n=o.BindExpression;return s(n.object,r,"object",e,1),s(n.callee,r,"callee",t,1),r},t.blockStatement=function(e,t=[]){let r={type:"BlockStatement",body:e,directives:t},n=o.BlockStatement;return s(n.body,r,"body",e,1),s(n.directives,r,"directives",t,1),r},t.booleanLiteral=function(e){let t={type:"BooleanLiteral",value:e};return s(o.BooleanLiteral.value,t,"value",e),t},t.booleanLiteralTypeAnnotation=function(e){let t={type:"BooleanLiteralTypeAnnotation",value:e};return s(o.BooleanLiteralTypeAnnotation.value,t,"value",e),t},t.booleanTypeAnnotation=function(){return{type:"BooleanTypeAnnotation"}},t.breakStatement=function(e=null){let t={type:"BreakStatement",label:e};return s(o.BreakStatement.label,t,"label",e,1),t},t.callExpression=function(e,t){let r={type:"CallExpression",callee:e,arguments:t},n=o.CallExpression;return s(n.callee,r,"callee",e,1),s(n.arguments,r,"arguments",t,1),r},t.catchClause=function(e=null,t){let r={type:"CatchClause",param:e,body:t},n=o.CatchClause;return s(n.param,r,"param",e,1),s(n.body,r,"body",t,1),r},t.classAccessorProperty=function(e,t=null,r=null,n=null,i=!1,a=!1){let l={type:"ClassAccessorProperty",key:e,value:t,typeAnnotation:r,decorators:n,computed:i,static:a},u=o.ClassAccessorProperty;return s(u.key,l,"key",e,1),s(u.value,l,"value",t,1),s(u.typeAnnotation,l,"typeAnnotation",r,1),s(u.decorators,l,"decorators",n,1),s(u.computed,l,"computed",i),s(u.static,l,"static",a),l},t.classBody=function(e){let t={type:"ClassBody",body:e};return s(o.ClassBody.body,t,"body",e,1),t},t.classDeclaration=function(e=null,t=null,r,n=null){let i={type:"ClassDeclaration",id:e,superClass:t,body:r,decorators:n},a=o.ClassDeclaration;return s(a.id,i,"id",e,1),s(a.superClass,i,"superClass",t,1),s(a.body,i,"body",r,1),s(a.decorators,i,"decorators",n,1),i},t.classExpression=function(e=null,t=null,r,n=null){let i={type:"ClassExpression",id:e,superClass:t,body:r,decorators:n},a=o.ClassExpression;return s(a.id,i,"id",e,1),s(a.superClass,i,"superClass",t,1),s(a.body,i,"body",r,1),s(a.decorators,i,"decorators",n,1),i},t.classImplements=function(e,t=null){let r={type:"ClassImplements",id:e,typeParameters:t},n=o.ClassImplements;return s(n.id,r,"id",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.classMethod=function(e="method",t,r,n,i=!1,a=!1,l=!1,u=!1){let c={type:"ClassMethod",kind:e,key:t,params:r,body:n,computed:i,static:a,generator:l,async:u},d=o.ClassMethod;return s(d.kind,c,"kind",e),s(d.key,c,"key",t,1),s(d.params,c,"params",r,1),s(d.body,c,"body",n,1),s(d.computed,c,"computed",i),s(d.static,c,"static",a),s(d.generator,c,"generator",l),s(d.async,c,"async",u),c},t.classPrivateMethod=function(e="method",t,r,n,i=!1){let a={type:"ClassPrivateMethod",kind:e,key:t,params:r,body:n,static:i},l=o.ClassPrivateMethod;return s(l.kind,a,"kind",e),s(l.key,a,"key",t,1),s(l.params,a,"params",r,1),s(l.body,a,"body",n,1),s(l.static,a,"static",i),a},t.classPrivateProperty=function(e,t=null,r=null,n=!1){let i={type:"ClassPrivateProperty",key:e,value:t,decorators:r,static:n},a=o.ClassPrivateProperty;return s(a.key,i,"key",e,1),s(a.value,i,"value",t,1),s(a.decorators,i,"decorators",r,1),s(a.static,i,"static",n),i},t.classProperty=function(e,t=null,r=null,n=null,i=!1,a=!1){let l={type:"ClassProperty",key:e,value:t,typeAnnotation:r,decorators:n,computed:i,static:a},u=o.ClassProperty;return s(u.key,l,"key",e,1),s(u.value,l,"value",t,1),s(u.typeAnnotation,l,"typeAnnotation",r,1),s(u.decorators,l,"decorators",n,1),s(u.computed,l,"computed",i),s(u.static,l,"static",a),l},t.conditionalExpression=function(e,t,r){let n={type:"ConditionalExpression",test:e,consequent:t,alternate:r},i=o.ConditionalExpression;return s(i.test,n,"test",e,1),s(i.consequent,n,"consequent",t,1),s(i.alternate,n,"alternate",r,1),n},t.continueStatement=function(e=null){let t={type:"ContinueStatement",label:e};return s(o.ContinueStatement.label,t,"label",e,1),t},t.debuggerStatement=function(){return{type:"DebuggerStatement"}},t.decimalLiteral=function(e){let t={type:"DecimalLiteral",value:e};return s(o.DecimalLiteral.value,t,"value",e),t},t.declareClass=function(e,t=null,r=null,n){let i={type:"DeclareClass",id:e,typeParameters:t,extends:r,body:n},a=o.DeclareClass;return s(a.id,i,"id",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.extends,i,"extends",r,1),s(a.body,i,"body",n,1),i},t.declareExportAllDeclaration=function(e,t=null){let r={type:"DeclareExportAllDeclaration",source:e,attributes:t},n=o.DeclareExportAllDeclaration;return s(n.source,r,"source",e,1),s(n.attributes,r,"attributes",t,1),r},t.declareExportDeclaration=function(e=null,t=null,r=null,n=null){let i={type:"DeclareExportDeclaration",declaration:e,specifiers:t,source:r,attributes:n},a=o.DeclareExportDeclaration;return s(a.declaration,i,"declaration",e,1),s(a.specifiers,i,"specifiers",t,1),s(a.source,i,"source",r,1),s(a.attributes,i,"attributes",n,1),i},t.declareFunction=function(e){let t={type:"DeclareFunction",id:e};return s(o.DeclareFunction.id,t,"id",e,1),t},t.declareInterface=function(e,t=null,r=null,n){let i={type:"DeclareInterface",id:e,typeParameters:t,extends:r,body:n},a=o.DeclareInterface;return s(a.id,i,"id",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.extends,i,"extends",r,1),s(a.body,i,"body",n,1),i},t.declareModule=function(e,t,r=null){let n={type:"DeclareModule",id:e,body:t,kind:r},i=o.DeclareModule;return s(i.id,n,"id",e,1),s(i.body,n,"body",t,1),s(i.kind,n,"kind",r),n},t.declareModuleExports=function(e){let t={type:"DeclareModuleExports",typeAnnotation:e};return s(o.DeclareModuleExports.typeAnnotation,t,"typeAnnotation",e,1),t},t.declareOpaqueType=function(e,t=null,r=null){let n={type:"DeclareOpaqueType",id:e,typeParameters:t,supertype:r},i=o.DeclareOpaqueType;return s(i.id,n,"id",e,1),s(i.typeParameters,n,"typeParameters",t,1),s(i.supertype,n,"supertype",r,1),n},t.declareTypeAlias=function(e,t=null,r){let n={type:"DeclareTypeAlias",id:e,typeParameters:t,right:r},i=o.DeclareTypeAlias;return s(i.id,n,"id",e,1),s(i.typeParameters,n,"typeParameters",t,1),s(i.right,n,"right",r,1),n},t.declareVariable=function(e){let t={type:"DeclareVariable",id:e};return s(o.DeclareVariable.id,t,"id",e,1),t},t.declaredPredicate=function(e){let t={type:"DeclaredPredicate",value:e};return s(o.DeclaredPredicate.value,t,"value",e,1),t},t.decorator=function(e){let t={type:"Decorator",expression:e};return s(o.Decorator.expression,t,"expression",e,1),t},t.directive=function(e){let t={type:"Directive",value:e};return s(o.Directive.value,t,"value",e,1),t},t.directiveLiteral=function(e){let t={type:"DirectiveLiteral",value:e};return s(o.DirectiveLiteral.value,t,"value",e),t},t.doExpression=function(e,t=!1){let r={type:"DoExpression",body:e,async:t},n=o.DoExpression;return s(n.body,r,"body",e,1),s(n.async,r,"async",t),r},t.doWhileStatement=function(e,t){let r={type:"DoWhileStatement",test:e,body:t},n=o.DoWhileStatement;return s(n.test,r,"test",e,1),s(n.body,r,"body",t,1),r},t.emptyStatement=function(){return{type:"EmptyStatement"}},t.emptyTypeAnnotation=function(){return{type:"EmptyTypeAnnotation"}},t.enumBooleanBody=function(e){let t={type:"EnumBooleanBody",members:e,explicitType:null,hasUnknownMembers:null};return s(o.EnumBooleanBody.members,t,"members",e,1),t},t.enumBooleanMember=function(e){let t={type:"EnumBooleanMember",id:e,init:null};return s(o.EnumBooleanMember.id,t,"id",e,1),t},t.enumDeclaration=function(e,t){let r={type:"EnumDeclaration",id:e,body:t},n=o.EnumDeclaration;return s(n.id,r,"id",e,1),s(n.body,r,"body",t,1),r},t.enumDefaultedMember=function(e){let t={type:"EnumDefaultedMember",id:e};return s(o.EnumDefaultedMember.id,t,"id",e,1),t},t.enumNumberBody=function(e){let t={type:"EnumNumberBody",members:e,explicitType:null,hasUnknownMembers:null};return s(o.EnumNumberBody.members,t,"members",e,1),t},t.enumNumberMember=function(e,t){let r={type:"EnumNumberMember",id:e,init:t},n=o.EnumNumberMember;return s(n.id,r,"id",e,1),s(n.init,r,"init",t,1),r},t.enumStringBody=function(e){let t={type:"EnumStringBody",members:e,explicitType:null,hasUnknownMembers:null};return s(o.EnumStringBody.members,t,"members",e,1),t},t.enumStringMember=function(e,t){let r={type:"EnumStringMember",id:e,init:t},n=o.EnumStringMember;return s(n.id,r,"id",e,1),s(n.init,r,"init",t,1),r},t.enumSymbolBody=function(e){let t={type:"EnumSymbolBody",members:e,hasUnknownMembers:null};return s(o.EnumSymbolBody.members,t,"members",e,1),t},t.existsTypeAnnotation=function(){return{type:"ExistsTypeAnnotation"}},t.exportAllDeclaration=function(e){let t={type:"ExportAllDeclaration",source:e};return s(o.ExportAllDeclaration.source,t,"source",e,1),t},t.exportDefaultDeclaration=function(e){let t={type:"ExportDefaultDeclaration",declaration:e};return s(o.ExportDefaultDeclaration.declaration,t,"declaration",e,1),t},t.exportDefaultSpecifier=function(e){let t={type:"ExportDefaultSpecifier",exported:e};return s(o.ExportDefaultSpecifier.exported,t,"exported",e,1),t},t.exportNamedDeclaration=function(e=null,t=[],r=null){let n={type:"ExportNamedDeclaration",declaration:e,specifiers:t,source:r},i=o.ExportNamedDeclaration;return s(i.declaration,n,"declaration",e,1),s(i.specifiers,n,"specifiers",t,1),s(i.source,n,"source",r,1),n},t.exportNamespaceSpecifier=function(e){let t={type:"ExportNamespaceSpecifier",exported:e};return s(o.ExportNamespaceSpecifier.exported,t,"exported",e,1),t},t.exportSpecifier=function(e,t){let r={type:"ExportSpecifier",local:e,exported:t},n=o.ExportSpecifier;return s(n.local,r,"local",e,1),s(n.exported,r,"exported",t,1),r},t.expressionStatement=function(e){let t={type:"ExpressionStatement",expression:e};return s(o.ExpressionStatement.expression,t,"expression",e,1),t},t.file=function(e,t=null,r=null){let n={type:"File",program:e,comments:t,tokens:r},i=o.File;return s(i.program,n,"program",e,1),s(i.comments,n,"comments",t,1),s(i.tokens,n,"tokens",r),n},t.forInStatement=function(e,t,r){let n={type:"ForInStatement",left:e,right:t,body:r},i=o.ForInStatement;return s(i.left,n,"left",e,1),s(i.right,n,"right",t,1),s(i.body,n,"body",r,1),n},t.forOfStatement=function(e,t,r,n=!1){let i={type:"ForOfStatement",left:e,right:t,body:r,await:n},a=o.ForOfStatement;return s(a.left,i,"left",e,1),s(a.right,i,"right",t,1),s(a.body,i,"body",r,1),s(a.await,i,"await",n),i},t.forStatement=function(e=null,t=null,r=null,n){let i={type:"ForStatement",init:e,test:t,update:r,body:n},a=o.ForStatement;return s(a.init,i,"init",e,1),s(a.test,i,"test",t,1),s(a.update,i,"update",r,1),s(a.body,i,"body",n,1),i},t.functionDeclaration=function(e=null,t,r,n=!1,i=!1){let a={type:"FunctionDeclaration",id:e,params:t,body:r,generator:n,async:i},l=o.FunctionDeclaration;return s(l.id,a,"id",e,1),s(l.params,a,"params",t,1),s(l.body,a,"body",r,1),s(l.generator,a,"generator",n),s(l.async,a,"async",i),a},t.functionExpression=function(e=null,t,r,n=!1,i=!1){let a={type:"FunctionExpression",id:e,params:t,body:r,generator:n,async:i},l=o.FunctionExpression;return s(l.id,a,"id",e,1),s(l.params,a,"params",t,1),s(l.body,a,"body",r,1),s(l.generator,a,"generator",n),s(l.async,a,"async",i),a},t.functionTypeAnnotation=function(e=null,t,r=null,n){let i={type:"FunctionTypeAnnotation",typeParameters:e,params:t,rest:r,returnType:n},a=o.FunctionTypeAnnotation;return s(a.typeParameters,i,"typeParameters",e,1),s(a.params,i,"params",t,1),s(a.rest,i,"rest",r,1),s(a.returnType,i,"returnType",n,1),i},t.functionTypeParam=function(e=null,t){let r={type:"FunctionTypeParam",name:e,typeAnnotation:t},n=o.FunctionTypeParam;return s(n.name,r,"name",e,1),s(n.typeAnnotation,r,"typeAnnotation",t,1),r},t.genericTypeAnnotation=function(e,t=null){let r={type:"GenericTypeAnnotation",id:e,typeParameters:t},n=o.GenericTypeAnnotation;return s(n.id,r,"id",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.identifier=function(e){let t={type:"Identifier",name:e};return s(o.Identifier.name,t,"name",e),t},t.ifStatement=function(e,t,r=null){let n={type:"IfStatement",test:e,consequent:t,alternate:r},i=o.IfStatement;return s(i.test,n,"test",e,1),s(i.consequent,n,"consequent",t,1),s(i.alternate,n,"alternate",r,1),n},t.import=function(){return{type:"Import"}},t.importAttribute=function(e,t){let r={type:"ImportAttribute",key:e,value:t},n=o.ImportAttribute;return s(n.key,r,"key",e,1),s(n.value,r,"value",t,1),r},t.importDeclaration=function(e,t){let r={type:"ImportDeclaration",specifiers:e,source:t},n=o.ImportDeclaration;return s(n.specifiers,r,"specifiers",e,1),s(n.source,r,"source",t,1),r},t.importDefaultSpecifier=function(e){let t={type:"ImportDefaultSpecifier",local:e};return s(o.ImportDefaultSpecifier.local,t,"local",e,1),t},t.importExpression=function(e,t=null){let r={type:"ImportExpression",source:e,options:t},n=o.ImportExpression;return s(n.source,r,"source",e,1),s(n.options,r,"options",t,1),r},t.importNamespaceSpecifier=function(e){let t={type:"ImportNamespaceSpecifier",local:e};return s(o.ImportNamespaceSpecifier.local,t,"local",e,1),t},t.importSpecifier=function(e,t){let r={type:"ImportSpecifier",local:e,imported:t},n=o.ImportSpecifier;return s(n.local,r,"local",e,1),s(n.imported,r,"imported",t,1),r},t.indexedAccessType=function(e,t){let r={type:"IndexedAccessType",objectType:e,indexType:t},n=o.IndexedAccessType;return s(n.objectType,r,"objectType",e,1),s(n.indexType,r,"indexType",t,1),r},t.inferredPredicate=function(){return{type:"InferredPredicate"}},t.interfaceDeclaration=function(e,t=null,r=null,n){let i={type:"InterfaceDeclaration",id:e,typeParameters:t,extends:r,body:n},a=o.InterfaceDeclaration;return s(a.id,i,"id",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.extends,i,"extends",r,1),s(a.body,i,"body",n,1),i},t.interfaceExtends=function(e,t=null){let r={type:"InterfaceExtends",id:e,typeParameters:t},n=o.InterfaceExtends;return s(n.id,r,"id",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.interfaceTypeAnnotation=function(e=null,t){let r={type:"InterfaceTypeAnnotation",extends:e,body:t},n=o.InterfaceTypeAnnotation;return s(n.extends,r,"extends",e,1),s(n.body,r,"body",t,1),r},t.interpreterDirective=function(e){let t={type:"InterpreterDirective",value:e};return s(o.InterpreterDirective.value,t,"value",e),t},t.intersectionTypeAnnotation=function(e){let t={type:"IntersectionTypeAnnotation",types:e};return s(o.IntersectionTypeAnnotation.types,t,"types",e,1),t},t.jSXAttribute=t.jsxAttribute=function(e,t=null){let r={type:"JSXAttribute",name:e,value:t},n=o.JSXAttribute;return s(n.name,r,"name",e,1),s(n.value,r,"value",t,1),r},t.jSXClosingElement=t.jsxClosingElement=function(e){let t={type:"JSXClosingElement",name:e};return s(o.JSXClosingElement.name,t,"name",e,1),t},t.jSXClosingFragment=t.jsxClosingFragment=function(){return{type:"JSXClosingFragment"}},t.jSXElement=t.jsxElement=function(e,t=null,r,n=null){let i={type:"JSXElement",openingElement:e,closingElement:t,children:r,selfClosing:n},a=o.JSXElement;return s(a.openingElement,i,"openingElement",e,1),s(a.closingElement,i,"closingElement",t,1),s(a.children,i,"children",r,1),s(a.selfClosing,i,"selfClosing",n),i},t.jSXEmptyExpression=t.jsxEmptyExpression=function(){return{type:"JSXEmptyExpression"}},t.jSXExpressionContainer=t.jsxExpressionContainer=function(e){let t={type:"JSXExpressionContainer",expression:e};return s(o.JSXExpressionContainer.expression,t,"expression",e,1),t},t.jSXFragment=t.jsxFragment=function(e,t,r){let n={type:"JSXFragment",openingFragment:e,closingFragment:t,children:r},i=o.JSXFragment;return s(i.openingFragment,n,"openingFragment",e,1),s(i.closingFragment,n,"closingFragment",t,1),s(i.children,n,"children",r,1),n},t.jSXIdentifier=t.jsxIdentifier=function(e){let t={type:"JSXIdentifier",name:e};return s(o.JSXIdentifier.name,t,"name",e),t},t.jSXMemberExpression=t.jsxMemberExpression=function(e,t){let r={type:"JSXMemberExpression",object:e,property:t},n=o.JSXMemberExpression;return s(n.object,r,"object",e,1),s(n.property,r,"property",t,1),r},t.jSXNamespacedName=t.jsxNamespacedName=function(e,t){let r={type:"JSXNamespacedName",namespace:e,name:t},n=o.JSXNamespacedName;return s(n.namespace,r,"namespace",e,1),s(n.name,r,"name",t,1),r},t.jSXOpeningElement=t.jsxOpeningElement=function(e,t,r=!1){let n={type:"JSXOpeningElement",name:e,attributes:t,selfClosing:r},i=o.JSXOpeningElement;return s(i.name,n,"name",e,1),s(i.attributes,n,"attributes",t,1),s(i.selfClosing,n,"selfClosing",r),n},t.jSXOpeningFragment=t.jsxOpeningFragment=function(){return{type:"JSXOpeningFragment"}},t.jSXSpreadAttribute=t.jsxSpreadAttribute=function(e){let t={type:"JSXSpreadAttribute",argument:e};return s(o.JSXSpreadAttribute.argument,t,"argument",e,1),t},t.jSXSpreadChild=t.jsxSpreadChild=function(e){let t={type:"JSXSpreadChild",expression:e};return s(o.JSXSpreadChild.expression,t,"expression",e,1),t},t.jSXText=t.jsxText=function(e){let t={type:"JSXText",value:e};return s(o.JSXText.value,t,"value",e),t},t.labeledStatement=function(e,t){let r={type:"LabeledStatement",label:e,body:t},n=o.LabeledStatement;return s(n.label,r,"label",e,1),s(n.body,r,"body",t,1),r},t.logicalExpression=function(e,t,r){let n={type:"LogicalExpression",operator:e,left:t,right:r},i=o.LogicalExpression;return s(i.operator,n,"operator",e),s(i.left,n,"left",t,1),s(i.right,n,"right",r,1),n},t.memberExpression=function(e,t,r=!1,n=null){let i={type:"MemberExpression",object:e,property:t,computed:r,optional:n},a=o.MemberExpression;return s(a.object,i,"object",e,1),s(a.property,i,"property",t,1),s(a.computed,i,"computed",r),s(a.optional,i,"optional",n),i},t.metaProperty=function(e,t){let r={type:"MetaProperty",meta:e,property:t},n=o.MetaProperty;return s(n.meta,r,"meta",e,1),s(n.property,r,"property",t,1),r},t.mixedTypeAnnotation=function(){return{type:"MixedTypeAnnotation"}},t.moduleExpression=function(e){let t={type:"ModuleExpression",body:e};return s(o.ModuleExpression.body,t,"body",e,1),t},t.newExpression=function(e,t){let r={type:"NewExpression",callee:e,arguments:t},n=o.NewExpression;return s(n.callee,r,"callee",e,1),s(n.arguments,r,"arguments",t,1),r},t.noop=function(){return{type:"Noop"}},t.nullLiteral=function(){return{type:"NullLiteral"}},t.nullLiteralTypeAnnotation=function(){return{type:"NullLiteralTypeAnnotation"}},t.nullableTypeAnnotation=function(e){let t={type:"NullableTypeAnnotation",typeAnnotation:e};return s(o.NullableTypeAnnotation.typeAnnotation,t,"typeAnnotation",e,1),t},t.numberLiteral=function(e){return(0,i.default)("NumberLiteral","NumericLiteral","The node type "),l(e)},t.numberLiteralTypeAnnotation=function(e){let t={type:"NumberLiteralTypeAnnotation",value:e};return s(o.NumberLiteralTypeAnnotation.value,t,"value",e),t},t.numberTypeAnnotation=function(){return{type:"NumberTypeAnnotation"}},t.numericLiteral=l,t.objectExpression=function(e){let t={type:"ObjectExpression",properties:e};return s(o.ObjectExpression.properties,t,"properties",e,1),t},t.objectMethod=function(e="method",t,r,n,i=!1,a=!1,l=!1){let u={type:"ObjectMethod",kind:e,key:t,params:r,body:n,computed:i,generator:a,async:l},c=o.ObjectMethod;return s(c.kind,u,"kind",e),s(c.key,u,"key",t,1),s(c.params,u,"params",r,1),s(c.body,u,"body",n,1),s(c.computed,u,"computed",i),s(c.generator,u,"generator",a),s(c.async,u,"async",l),u},t.objectPattern=function(e){let t={type:"ObjectPattern",properties:e};return s(o.ObjectPattern.properties,t,"properties",e,1),t},t.objectProperty=function(e,t,r=!1,n=!1,i=null){let a={type:"ObjectProperty",key:e,value:t,computed:r,shorthand:n,decorators:i},l=o.ObjectProperty;return s(l.key,a,"key",e,1),s(l.value,a,"value",t,1),s(l.computed,a,"computed",r),s(l.shorthand,a,"shorthand",n),s(l.decorators,a,"decorators",i,1),a},t.objectTypeAnnotation=function(e,t=[],r=[],n=[],i=!1){let a={type:"ObjectTypeAnnotation",properties:e,indexers:t,callProperties:r,internalSlots:n,exact:i},l=o.ObjectTypeAnnotation;return s(l.properties,a,"properties",e,1),s(l.indexers,a,"indexers",t,1),s(l.callProperties,a,"callProperties",r,1),s(l.internalSlots,a,"internalSlots",n,1),s(l.exact,a,"exact",i),a},t.objectTypeCallProperty=function(e){let t={type:"ObjectTypeCallProperty",value:e,static:null};return s(o.ObjectTypeCallProperty.value,t,"value",e,1),t},t.objectTypeIndexer=function(e=null,t,r,n=null){let i={type:"ObjectTypeIndexer",id:e,key:t,value:r,variance:n,static:null},a=o.ObjectTypeIndexer;return s(a.id,i,"id",e,1),s(a.key,i,"key",t,1),s(a.value,i,"value",r,1),s(a.variance,i,"variance",n,1),i},t.objectTypeInternalSlot=function(e,t,r,n,i){let a={type:"ObjectTypeInternalSlot",id:e,value:t,optional:r,static:n,method:i},l=o.ObjectTypeInternalSlot;return s(l.id,a,"id",e,1),s(l.value,a,"value",t,1),s(l.optional,a,"optional",r),s(l.static,a,"static",n),s(l.method,a,"method",i),a},t.objectTypeProperty=function(e,t,r=null){let n={type:"ObjectTypeProperty",key:e,value:t,variance:r,kind:null,method:null,optional:null,proto:null,static:null},i=o.ObjectTypeProperty;return s(i.key,n,"key",e,1),s(i.value,n,"value",t,1),s(i.variance,n,"variance",r,1),n},t.objectTypeSpreadProperty=function(e){let t={type:"ObjectTypeSpreadProperty",argument:e};return s(o.ObjectTypeSpreadProperty.argument,t,"argument",e,1),t},t.opaqueType=function(e,t=null,r=null,n){let i={type:"OpaqueType",id:e,typeParameters:t,supertype:r,impltype:n},a=o.OpaqueType;return s(a.id,i,"id",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.supertype,i,"supertype",r,1),s(a.impltype,i,"impltype",n,1),i},t.optionalCallExpression=function(e,t,r){let n={type:"OptionalCallExpression",callee:e,arguments:t,optional:r},i=o.OptionalCallExpression;return s(i.callee,n,"callee",e,1),s(i.arguments,n,"arguments",t,1),s(i.optional,n,"optional",r),n},t.optionalIndexedAccessType=function(e,t){let r={type:"OptionalIndexedAccessType",objectType:e,indexType:t,optional:null},n=o.OptionalIndexedAccessType;return s(n.objectType,r,"objectType",e,1),s(n.indexType,r,"indexType",t,1),r},t.optionalMemberExpression=function(e,t,r=!1,n){let i={type:"OptionalMemberExpression",object:e,property:t,computed:r,optional:n},a=o.OptionalMemberExpression;return s(a.object,i,"object",e,1),s(a.property,i,"property",t,1),s(a.computed,i,"computed",r),s(a.optional,i,"optional",n),i},t.parenthesizedExpression=function(e){let t={type:"ParenthesizedExpression",expression:e};return s(o.ParenthesizedExpression.expression,t,"expression",e,1),t},t.pipelineBareFunction=function(e){let t={type:"PipelineBareFunction",callee:e};return s(o.PipelineBareFunction.callee,t,"callee",e,1),t},t.pipelinePrimaryTopicReference=function(){return{type:"PipelinePrimaryTopicReference"}},t.pipelineTopicExpression=function(e){let t={type:"PipelineTopicExpression",expression:e};return s(o.PipelineTopicExpression.expression,t,"expression",e,1),t},t.placeholder=function(e,t){let r={type:"Placeholder",expectedNode:e,name:t},n=o.Placeholder;return s(n.expectedNode,r,"expectedNode",e),s(n.name,r,"name",t,1),r},t.privateName=function(e){let t={type:"PrivateName",id:e};return s(o.PrivateName.id,t,"id",e,1),t},t.program=function(e,t=[],r="script",n=null){let i={type:"Program",body:e,directives:t,sourceType:r,interpreter:n},a=o.Program;return s(a.body,i,"body",e,1),s(a.directives,i,"directives",t,1),s(a.sourceType,i,"sourceType",r),s(a.interpreter,i,"interpreter",n,1),i},t.qualifiedTypeIdentifier=function(e,t){let r={type:"QualifiedTypeIdentifier",id:e,qualification:t},n=o.QualifiedTypeIdentifier;return s(n.id,r,"id",e,1),s(n.qualification,r,"qualification",t,1),r},t.recordExpression=function(e){let t={type:"RecordExpression",properties:e};return s(o.RecordExpression.properties,t,"properties",e,1),t},t.regExpLiteral=u,t.regexLiteral=function(e,t=""){return(0,i.default)("RegexLiteral","RegExpLiteral","The node type "),u(e,t)},t.restElement=c,t.restProperty=function(e){return(0,i.default)("RestProperty","RestElement","The node type "),c(e)},t.returnStatement=function(e=null){let t={type:"ReturnStatement",argument:e};return s(o.ReturnStatement.argument,t,"argument",e,1),t},t.sequenceExpression=function(e){let t={type:"SequenceExpression",expressions:e};return s(o.SequenceExpression.expressions,t,"expressions",e,1),t},t.spreadElement=d,t.spreadProperty=function(e){return(0,i.default)("SpreadProperty","SpreadElement","The node type "),d(e)},t.staticBlock=function(e){let t={type:"StaticBlock",body:e};return s(o.StaticBlock.body,t,"body",e,1),t},t.stringLiteral=function(e){let t={type:"StringLiteral",value:e};return s(o.StringLiteral.value,t,"value",e),t},t.stringLiteralTypeAnnotation=function(e){let t={type:"StringLiteralTypeAnnotation",value:e};return s(o.StringLiteralTypeAnnotation.value,t,"value",e),t},t.stringTypeAnnotation=function(){return{type:"StringTypeAnnotation"}},t.super=function(){return{type:"Super"}},t.switchCase=function(e=null,t){let r={type:"SwitchCase",test:e,consequent:t},n=o.SwitchCase;return s(n.test,r,"test",e,1),s(n.consequent,r,"consequent",t,1),r},t.switchStatement=function(e,t){let r={type:"SwitchStatement",discriminant:e,cases:t},n=o.SwitchStatement;return s(n.discriminant,r,"discriminant",e,1),s(n.cases,r,"cases",t,1),r},t.symbolTypeAnnotation=function(){return{type:"SymbolTypeAnnotation"}},t.taggedTemplateExpression=function(e,t){let r={type:"TaggedTemplateExpression",tag:e,quasi:t},n=o.TaggedTemplateExpression;return s(n.tag,r,"tag",e,1),s(n.quasi,r,"quasi",t,1),r},t.templateElement=function(e,t=!1){let r={type:"TemplateElement",value:e,tail:t},n=o.TemplateElement;return s(n.value,r,"value",e),s(n.tail,r,"tail",t),r},t.templateLiteral=function(e,t){let r={type:"TemplateLiteral",quasis:e,expressions:t},n=o.TemplateLiteral;return s(n.quasis,r,"quasis",e,1),s(n.expressions,r,"expressions",t,1),r},t.thisExpression=function(){return{type:"ThisExpression"}},t.thisTypeAnnotation=function(){return{type:"ThisTypeAnnotation"}},t.throwStatement=function(e){let t={type:"ThrowStatement",argument:e};return s(o.ThrowStatement.argument,t,"argument",e,1),t},t.topicReference=function(){return{type:"TopicReference"}},t.tryStatement=function(e,t=null,r=null){let n={type:"TryStatement",block:e,handler:t,finalizer:r},i=o.TryStatement;return s(i.block,n,"block",e,1),s(i.handler,n,"handler",t,1),s(i.finalizer,n,"finalizer",r,1),n},t.tSAnyKeyword=t.tsAnyKeyword=function(){return{type:"TSAnyKeyword"}},t.tSArrayType=t.tsArrayType=function(e){let t={type:"TSArrayType",elementType:e};return s(o.TSArrayType.elementType,t,"elementType",e,1),t},t.tSAsExpression=t.tsAsExpression=function(e,t){let r={type:"TSAsExpression",expression:e,typeAnnotation:t},n=o.TSAsExpression;return s(n.expression,r,"expression",e,1),s(n.typeAnnotation,r,"typeAnnotation",t,1),r},t.tSBigIntKeyword=t.tsBigIntKeyword=function(){return{type:"TSBigIntKeyword"}},t.tSBooleanKeyword=t.tsBooleanKeyword=function(){return{type:"TSBooleanKeyword"}},t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=function(e=null,t,r=null){let n={type:"TSCallSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r},i=o.TSCallSignatureDeclaration;return s(i.typeParameters,n,"typeParameters",e,1),s(i.parameters,n,"parameters",t,1),s(i.typeAnnotation,n,"typeAnnotation",r,1),n},t.tSConditionalType=t.tsConditionalType=function(e,t,r,n){let i={type:"TSConditionalType",checkType:e,extendsType:t,trueType:r,falseType:n},a=o.TSConditionalType;return s(a.checkType,i,"checkType",e,1),s(a.extendsType,i,"extendsType",t,1),s(a.trueType,i,"trueType",r,1),s(a.falseType,i,"falseType",n,1),i},t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=function(e=null,t,r=null){let n={type:"TSConstructSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r},i=o.TSConstructSignatureDeclaration;return s(i.typeParameters,n,"typeParameters",e,1),s(i.parameters,n,"parameters",t,1),s(i.typeAnnotation,n,"typeAnnotation",r,1),n},t.tSConstructorType=t.tsConstructorType=function(e=null,t,r=null){let n={type:"TSConstructorType",typeParameters:e,parameters:t,typeAnnotation:r},i=o.TSConstructorType;return s(i.typeParameters,n,"typeParameters",e,1),s(i.parameters,n,"parameters",t,1),s(i.typeAnnotation,n,"typeAnnotation",r,1),n},t.tSDeclareFunction=t.tsDeclareFunction=function(e=null,t=null,r,n=null){let i={type:"TSDeclareFunction",id:e,typeParameters:t,params:r,returnType:n},a=o.TSDeclareFunction;return s(a.id,i,"id",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.params,i,"params",r,1),s(a.returnType,i,"returnType",n,1),i},t.tSDeclareMethod=t.tsDeclareMethod=function(e=null,t,r=null,n,i=null){let a={type:"TSDeclareMethod",decorators:e,key:t,typeParameters:r,params:n,returnType:i},l=o.TSDeclareMethod;return s(l.decorators,a,"decorators",e,1),s(l.key,a,"key",t,1),s(l.typeParameters,a,"typeParameters",r,1),s(l.params,a,"params",n,1),s(l.returnType,a,"returnType",i,1),a},t.tSEnumBody=t.tsEnumBody=function(e){let t={type:"TSEnumBody",members:e};return s(o.TSEnumBody.members,t,"members",e,1),t},t.tSEnumDeclaration=t.tsEnumDeclaration=function(e,t){let r={type:"TSEnumDeclaration",id:e,members:t},n=o.TSEnumDeclaration;return s(n.id,r,"id",e,1),s(n.members,r,"members",t,1),r},t.tSEnumMember=t.tsEnumMember=function(e,t=null){let r={type:"TSEnumMember",id:e,initializer:t},n=o.TSEnumMember;return s(n.id,r,"id",e,1),s(n.initializer,r,"initializer",t,1),r},t.tSExportAssignment=t.tsExportAssignment=function(e){let t={type:"TSExportAssignment",expression:e};return s(o.TSExportAssignment.expression,t,"expression",e,1),t},t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=function(e,t=null){let r={type:"TSExpressionWithTypeArguments",expression:e,typeParameters:t},n=o.TSExpressionWithTypeArguments;return s(n.expression,r,"expression",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.tSExternalModuleReference=t.tsExternalModuleReference=function(e){let t={type:"TSExternalModuleReference",expression:e};return s(o.TSExternalModuleReference.expression,t,"expression",e,1),t},t.tSFunctionType=t.tsFunctionType=function(e=null,t,r=null){let n={type:"TSFunctionType",typeParameters:e,parameters:t,typeAnnotation:r},i=o.TSFunctionType;return s(i.typeParameters,n,"typeParameters",e,1),s(i.parameters,n,"parameters",t,1),s(i.typeAnnotation,n,"typeAnnotation",r,1),n},t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=function(e,t){let r={type:"TSImportEqualsDeclaration",id:e,moduleReference:t,isExport:null},n=o.TSImportEqualsDeclaration;return s(n.id,r,"id",e,1),s(n.moduleReference,r,"moduleReference",t,1),r},t.tSImportType=t.tsImportType=function(e,t=null,r=null){let n={type:"TSImportType",argument:e,qualifier:t,typeParameters:r},i=o.TSImportType;return s(i.argument,n,"argument",e,1),s(i.qualifier,n,"qualifier",t,1),s(i.typeParameters,n,"typeParameters",r,1),n},t.tSIndexSignature=t.tsIndexSignature=function(e,t=null){let r={type:"TSIndexSignature",parameters:e,typeAnnotation:t},n=o.TSIndexSignature;return s(n.parameters,r,"parameters",e,1),s(n.typeAnnotation,r,"typeAnnotation",t,1),r},t.tSIndexedAccessType=t.tsIndexedAccessType=function(e,t){let r={type:"TSIndexedAccessType",objectType:e,indexType:t},n=o.TSIndexedAccessType;return s(n.objectType,r,"objectType",e,1),s(n.indexType,r,"indexType",t,1),r},t.tSInferType=t.tsInferType=function(e){let t={type:"TSInferType",typeParameter:e};return s(o.TSInferType.typeParameter,t,"typeParameter",e,1),t},t.tSInstantiationExpression=t.tsInstantiationExpression=function(e,t=null){let r={type:"TSInstantiationExpression",expression:e,typeParameters:t},n=o.TSInstantiationExpression;return s(n.expression,r,"expression",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.tSInterfaceBody=t.tsInterfaceBody=function(e){let t={type:"TSInterfaceBody",body:e};return s(o.TSInterfaceBody.body,t,"body",e,1),t},t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=function(e,t=null,r=null,n){let i={type:"TSInterfaceDeclaration",id:e,typeParameters:t,extends:r,body:n},a=o.TSInterfaceDeclaration;return s(a.id,i,"id",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.extends,i,"extends",r,1),s(a.body,i,"body",n,1),i},t.tSIntersectionType=t.tsIntersectionType=function(e){let t={type:"TSIntersectionType",types:e};return s(o.TSIntersectionType.types,t,"types",e,1),t},t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=function(){return{type:"TSIntrinsicKeyword"}},t.tSLiteralType=t.tsLiteralType=function(e){let t={type:"TSLiteralType",literal:e};return s(o.TSLiteralType.literal,t,"literal",e,1),t},t.tSMappedType=t.tsMappedType=function(e,t=null,r=null){let n={type:"TSMappedType",typeParameter:e,typeAnnotation:t,nameType:r},i=o.TSMappedType;return s(i.typeParameter,n,"typeParameter",e,1),s(i.typeAnnotation,n,"typeAnnotation",t,1),s(i.nameType,n,"nameType",r,1),n},t.tSMethodSignature=t.tsMethodSignature=function(e,t=null,r,n=null){let i={type:"TSMethodSignature",key:e,typeParameters:t,parameters:r,typeAnnotation:n,kind:null},a=o.TSMethodSignature;return s(a.key,i,"key",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.parameters,i,"parameters",r,1),s(a.typeAnnotation,i,"typeAnnotation",n,1),i},t.tSModuleBlock=t.tsModuleBlock=function(e){let t={type:"TSModuleBlock",body:e};return s(o.TSModuleBlock.body,t,"body",e,1),t},t.tSModuleDeclaration=t.tsModuleDeclaration=function(e,t){let r={type:"TSModuleDeclaration",id:e,body:t,kind:null},n=o.TSModuleDeclaration;return s(n.id,r,"id",e,1),s(n.body,r,"body",t,1),r},t.tSNamedTupleMember=t.tsNamedTupleMember=function(e,t,r=!1){let n={type:"TSNamedTupleMember",label:e,elementType:t,optional:r},i=o.TSNamedTupleMember;return s(i.label,n,"label",e,1),s(i.elementType,n,"elementType",t,1),s(i.optional,n,"optional",r),n},t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=function(e){let t={type:"TSNamespaceExportDeclaration",id:e};return s(o.TSNamespaceExportDeclaration.id,t,"id",e,1),t},t.tSNeverKeyword=t.tsNeverKeyword=function(){return{type:"TSNeverKeyword"}},t.tSNonNullExpression=t.tsNonNullExpression=function(e){let t={type:"TSNonNullExpression",expression:e};return s(o.TSNonNullExpression.expression,t,"expression",e,1),t},t.tSNullKeyword=t.tsNullKeyword=function(){return{type:"TSNullKeyword"}},t.tSNumberKeyword=t.tsNumberKeyword=function(){return{type:"TSNumberKeyword"}},t.tSObjectKeyword=t.tsObjectKeyword=function(){return{type:"TSObjectKeyword"}},t.tSOptionalType=t.tsOptionalType=function(e){let t={type:"TSOptionalType",typeAnnotation:e};return s(o.TSOptionalType.typeAnnotation,t,"typeAnnotation",e,1),t},t.tSParameterProperty=t.tsParameterProperty=function(e){let t={type:"TSParameterProperty",parameter:e};return s(o.TSParameterProperty.parameter,t,"parameter",e,1),t},t.tSParenthesizedType=t.tsParenthesizedType=function(e){let t={type:"TSParenthesizedType",typeAnnotation:e};return s(o.TSParenthesizedType.typeAnnotation,t,"typeAnnotation",e,1),t},t.tSPropertySignature=t.tsPropertySignature=function(e,t=null){let r={type:"TSPropertySignature",key:e,typeAnnotation:t},n=o.TSPropertySignature;return s(n.key,r,"key",e,1),s(n.typeAnnotation,r,"typeAnnotation",t,1),r},t.tSQualifiedName=t.tsQualifiedName=function(e,t){let r={type:"TSQualifiedName",left:e,right:t},n=o.TSQualifiedName;return s(n.left,r,"left",e,1),s(n.right,r,"right",t,1),r},t.tSRestType=t.tsRestType=function(e){let t={type:"TSRestType",typeAnnotation:e};return s(o.TSRestType.typeAnnotation,t,"typeAnnotation",e,1),t},t.tSSatisfiesExpression=t.tsSatisfiesExpression=function(e,t){let r={type:"TSSatisfiesExpression",expression:e,typeAnnotation:t},n=o.TSSatisfiesExpression;return s(n.expression,r,"expression",e,1),s(n.typeAnnotation,r,"typeAnnotation",t,1),r},t.tSStringKeyword=t.tsStringKeyword=function(){return{type:"TSStringKeyword"}},t.tSSymbolKeyword=t.tsSymbolKeyword=function(){return{type:"TSSymbolKeyword"}},t.tSTemplateLiteralType=t.tsTemplateLiteralType=function(e,t){let r={type:"TSTemplateLiteralType",quasis:e,types:t},n=o.TSTemplateLiteralType;return s(n.quasis,r,"quasis",e,1),s(n.types,r,"types",t,1),r},t.tSThisType=t.tsThisType=function(){return{type:"TSThisType"}},t.tSTupleType=t.tsTupleType=function(e){let t={type:"TSTupleType",elementTypes:e};return s(o.TSTupleType.elementTypes,t,"elementTypes",e,1),t},t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=function(e,t=null,r){let n={type:"TSTypeAliasDeclaration",id:e,typeParameters:t,typeAnnotation:r},i=o.TSTypeAliasDeclaration;return s(i.id,n,"id",e,1),s(i.typeParameters,n,"typeParameters",t,1),s(i.typeAnnotation,n,"typeAnnotation",r,1),n},t.tSTypeAnnotation=t.tsTypeAnnotation=function(e){let t={type:"TSTypeAnnotation",typeAnnotation:e};return s(o.TSTypeAnnotation.typeAnnotation,t,"typeAnnotation",e,1),t},t.tSTypeAssertion=t.tsTypeAssertion=function(e,t){let r={type:"TSTypeAssertion",typeAnnotation:e,expression:t},n=o.TSTypeAssertion;return s(n.typeAnnotation,r,"typeAnnotation",e,1),s(n.expression,r,"expression",t,1),r},t.tSTypeLiteral=t.tsTypeLiteral=function(e){let t={type:"TSTypeLiteral",members:e};return s(o.TSTypeLiteral.members,t,"members",e,1),t},t.tSTypeOperator=t.tsTypeOperator=function(e){let t={type:"TSTypeOperator",typeAnnotation:e,operator:null};return s(o.TSTypeOperator.typeAnnotation,t,"typeAnnotation",e,1),t},t.tSTypeParameter=t.tsTypeParameter=function(e=null,t=null,r){let n={type:"TSTypeParameter",constraint:e,default:t,name:r},i=o.TSTypeParameter;return s(i.constraint,n,"constraint",e,1),s(i.default,n,"default",t,1),s(i.name,n,"name",r),n},t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=function(e){let t={type:"TSTypeParameterDeclaration",params:e};return s(o.TSTypeParameterDeclaration.params,t,"params",e,1),t},t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=function(e){let t={type:"TSTypeParameterInstantiation",params:e};return s(o.TSTypeParameterInstantiation.params,t,"params",e,1),t},t.tSTypePredicate=t.tsTypePredicate=function(e,t=null,r=null){let n={type:"TSTypePredicate",parameterName:e,typeAnnotation:t,asserts:r},i=o.TSTypePredicate;return s(i.parameterName,n,"parameterName",e,1),s(i.typeAnnotation,n,"typeAnnotation",t,1),s(i.asserts,n,"asserts",r),n},t.tSTypeQuery=t.tsTypeQuery=function(e,t=null){let r={type:"TSTypeQuery",exprName:e,typeParameters:t},n=o.TSTypeQuery;return s(n.exprName,r,"exprName",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.tSTypeReference=t.tsTypeReference=function(e,t=null){let r={type:"TSTypeReference",typeName:e,typeParameters:t},n=o.TSTypeReference;return s(n.typeName,r,"typeName",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.tSUndefinedKeyword=t.tsUndefinedKeyword=function(){return{type:"TSUndefinedKeyword"}},t.tSUnionType=t.tsUnionType=function(e){let t={type:"TSUnionType",types:e};return s(o.TSUnionType.types,t,"types",e,1),t},t.tSUnknownKeyword=t.tsUnknownKeyword=function(){return{type:"TSUnknownKeyword"}},t.tSVoidKeyword=t.tsVoidKeyword=function(){return{type:"TSVoidKeyword"}},t.tupleExpression=function(e=[]){let t={type:"TupleExpression",elements:e};return s(o.TupleExpression.elements,t,"elements",e,1),t},t.tupleTypeAnnotation=function(e){let t={type:"TupleTypeAnnotation",types:e};return s(o.TupleTypeAnnotation.types,t,"types",e,1),t},t.typeAlias=function(e,t=null,r){let n={type:"TypeAlias",id:e,typeParameters:t,right:r},i=o.TypeAlias;return s(i.id,n,"id",e,1),s(i.typeParameters,n,"typeParameters",t,1),s(i.right,n,"right",r,1),n},t.typeAnnotation=function(e){let t={type:"TypeAnnotation",typeAnnotation:e};return s(o.TypeAnnotation.typeAnnotation,t,"typeAnnotation",e,1),t},t.typeCastExpression=function(e,t){let r={type:"TypeCastExpression",expression:e,typeAnnotation:t},n=o.TypeCastExpression;return s(n.expression,r,"expression",e,1),s(n.typeAnnotation,r,"typeAnnotation",t,1),r},t.typeParameter=function(e=null,t=null,r=null){let n={type:"TypeParameter",bound:e,default:t,variance:r,name:null},i=o.TypeParameter;return s(i.bound,n,"bound",e,1),s(i.default,n,"default",t,1),s(i.variance,n,"variance",r,1),n},t.typeParameterDeclaration=function(e){let t={type:"TypeParameterDeclaration",params:e};return s(o.TypeParameterDeclaration.params,t,"params",e,1),t},t.typeParameterInstantiation=function(e){let t={type:"TypeParameterInstantiation",params:e};return s(o.TypeParameterInstantiation.params,t,"params",e,1),t},t.typeofTypeAnnotation=function(e){let t={type:"TypeofTypeAnnotation",argument:e};return s(o.TypeofTypeAnnotation.argument,t,"argument",e,1),t},t.unaryExpression=function(e,t,r=!0){let n={type:"UnaryExpression",operator:e,argument:t,prefix:r},i=o.UnaryExpression;return s(i.operator,n,"operator",e),s(i.argument,n,"argument",t,1),s(i.prefix,n,"prefix",r),n},t.unionTypeAnnotation=function(e){let t={type:"UnionTypeAnnotation",types:e};return s(o.UnionTypeAnnotation.types,t,"types",e,1),t},t.updateExpression=function(e,t,r=!1){let n={type:"UpdateExpression",operator:e,argument:t,prefix:r},i=o.UpdateExpression;return s(i.operator,n,"operator",e),s(i.argument,n,"argument",t,1),s(i.prefix,n,"prefix",r),n},t.v8IntrinsicIdentifier=function(e){let t={type:"V8IntrinsicIdentifier",name:e};return s(o.V8IntrinsicIdentifier.name,t,"name",e),t},t.variableDeclaration=function(e,t){let r={type:"VariableDeclaration",kind:e,declarations:t},n=o.VariableDeclaration;return s(n.kind,r,"kind",e),s(n.declarations,r,"declarations",t,1),r},t.variableDeclarator=function(e,t=null){let r={type:"VariableDeclarator",id:e,init:t},n=o.VariableDeclarator;return s(n.id,r,"id",e,1),s(n.init,r,"init",t,1),r},t.variance=function(e){let t={type:"Variance",kind:e};return s(o.Variance.kind,t,"kind",e),t},t.voidTypeAnnotation=function(){return{type:"VoidTypeAnnotation"}},t.whileStatement=function(e,t){let r={type:"WhileStatement",test:e,body:t},n=o.WhileStatement;return s(n.test,r,"test",e,1),s(n.body,r,"body",t,1),r},t.withStatement=function(e,t){let r={type:"WithStatement",object:e,body:t},n=o.WithStatement;return s(n.object,r,"object",e,1),s(n.body,r,"body",t,1),r},t.yieldExpression=function(e=null,t=!1){let r={type:"YieldExpression",argument:e,delegate:t},n=o.YieldExpression;return s(n.argument,r,"argument",e,1),s(n.delegate,r,"delegate",t),r};var n=r(15340),i=r(9144),a=r(64514);let{validateInternal:s}=n,{NODE_FIELDS:o}=a;function l(e){let t={type:"NumericLiteral",value:e};return s(o.NumericLiteral.value,t,"value",e),t}function u(e,t=""){let r={type:"RegExpLiteral",pattern:e,flags:t},n=o.RegExpLiteral;return s(n.pattern,r,"pattern",e),s(n.flags,r,"flags",t),r}function c(e){let t={type:"RestElement",argument:e};return s(o.RestElement.argument,t,"argument",e,1),t}function d(e){let t={type:"SpreadElement",argument:e};return s(o.SpreadElement.argument,t,"argument",e,1),t}},62032:(e,t,r)=>{"use strict";let n=Object.assign({},r(44392)),i=Object.keys(n);Object.defineProperty(n,"random",{get(){let e=Math.floor(Math.random()*i.length);return n[i[e]]}}),e.exports=n},62039:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!!(e[3]||e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},62077:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(r(7380),t),i(r(32423),t),i(r(21760),t),i(r(75897),t),i(r(54042),t),i(r(8152),t),i(r(58884),t);var a=r(36257);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return a.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return a.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return a.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return a.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return a.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return a.hasChildren}})},62112:e=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")},62217:(e,t)=>{"use strict";function r(e){if(Array.isArray(e))return e;if(e.split("[").length-1!=e.split("]").length-1)throw Error(`Path is invalid. Has unbalanced brackets: ${e}`);return e.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"toPath",{enumerable:!0,get:function(){return r}})},62503:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(42518)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(n,s,o):n[s]=e[s]}return n.default=e,r&&r.set(e,n),n}(r(65433));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).nodes||(r.nodes=[]),r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e);var r,n=t.prototype;return n.append=function(e){return e.parent=this,this.nodes.push(e),this},n.prepend=function(e){return e.parent=this,this.nodes.unshift(e),this},n.at=function(e){return this.nodes[e]},n.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},n.removeChild=function(e){var t;for(var r in e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this},n.removeAll=function(){for(var e,t=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return s(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}}(e))){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(this.nodes);!(e=t()).done;)e.value.parent=void 0;return this.nodes=[],this},n.empty=function(){return this.removeAll()},n.insertAfter=function(e,t){t.parent=this;var r,n=this.index(e);for(var i in this.nodes.splice(n+1,0,t),t.parent=this,this.indexes)n<=(r=this.indexes[i])&&(this.indexes[i]=r+1);return this},n.insertBefore=function(e,t){t.parent=this;var r,n=this.index(e);for(var i in this.nodes.splice(n,0,t),t.parent=this,this.indexes)(r=this.indexes[i])<=n&&(this.indexes[i]=r+1);return this},n._findChildAtPosition=function(e,t){var r=void 0;return this.each(function(n){if(n.atPosition){var i=n.atPosition(e,t);if(i)return r=i,!1}else if(n.isAtPosition(e,t))return r=n,!1}),r},n.atPosition=function(e,t){return this.isAtPosition(e,t)?this._findChildAtPosition(e,t)||this:void 0},n._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},n.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var t,r,n=this.lastEach;if(this.indexes[n]=0,this.length){for(;this.indexes[n]<this.length&&(t=this.indexes[n],!1!==(r=e(this.at(t),t)));)this.indexes[n]+=1;if(delete this.indexes[n],!1===r)return!1}},n.walk=function(e){return this.each(function(t,r){var n=e(t,r);if(!1!==n&&t.length&&(n=t.walk(e)),!1===n)return!1})},n.walkAttributes=function(e){var t=this;return this.walk(function(r){if(r.type===i.ATTRIBUTE)return e.call(t,r)})},n.walkClasses=function(e){var t=this;return this.walk(function(r){if(r.type===i.CLASS)return e.call(t,r)})},n.walkCombinators=function(e){var t=this;return this.walk(function(r){if(r.type===i.COMBINATOR)return e.call(t,r)})},n.walkComments=function(e){var t=this;return this.walk(function(r){if(r.type===i.COMMENT)return e.call(t,r)})},n.walkIds=function(e){var t=this;return this.walk(function(r){if(r.type===i.ID)return e.call(t,r)})},n.walkNesting=function(e){var t=this;return this.walk(function(r){if(r.type===i.NESTING)return e.call(t,r)})},n.walkPseudos=function(e){var t=this;return this.walk(function(r){if(r.type===i.PSEUDO)return e.call(t,r)})},n.walkTags=function(e){var t=this;return this.walk(function(r){if(r.type===i.TAG)return e.call(t,r)})},n.walkUniversals=function(e){var t=this;return this.walk(function(r){if(r.type===i.UNIVERSAL)return e.call(t,r)})},n.split=function(e){var t=this,r=[];return this.reduce(function(n,i,a){var s=e.call(t,i);return r.push(i),s?(n.push(r),r=[]):a===t.length-1&&n.push(r),n},[])},n.map=function(e){return this.nodes.map(e)},n.reduce=function(e,t){return this.nodes.reduce(e,t)},n.every=function(e){return this.nodes.every(e)},n.some=function(e){return this.nodes.some(e)},n.filter=function(e){return this.nodes.filter(e)},n.sort=function(e){return this.nodes.sort(e)},n.toString=function(){return this.map(String).join("")},r=[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(n.default),e.exports=t.default},62824:e=>{!function(){"use strict";function t(e,n,i){if(!e)return null;t.caseSensitive||(e=e.toLowerCase());var a,s=null===t.threshold?null:t.threshold*e.length,o=t.thresholdAbsolute;a=null!==s&&null!==o?Math.min(s,o):null!==s?s:null!==o?o:null;var l,u,c,d,p,h=n.length;for(p=0;p<h;p++)if(u=n[p],i&&(u=u[i]),u&&(d=function(e,t,n){n=n||0===n?n:r;var i=e.length,a=t.length;if(0===i)return Math.min(n+1,a);if(0===a)return Math.min(n+1,i);if(Math.abs(i-a)>n)return n+1;var s,o,l,u,c,d=[];for(s=0;s<=a;s++)d[s]=[s];for(o=0;o<=i;o++)d[0][o]=o;for(s=1;s<=a;s++){for(l=r,u=1,s>n&&(u=s-n),(c=a+1)>n+s&&(c=n+s),o=1;o<=i;o++)o<u||o>c?d[s][o]=n+1:t.charAt(s-1)===e.charAt(o-1)?d[s][o]=d[s-1][o-1]:d[s][o]=Math.min(d[s-1][o-1]+1,Math.min(d[s][o-1]+1,d[s-1][o]+1)),d[s][o]<l&&(l=d[s][o]);if(l>n)return n+1}return d[a][i]}(e,t.caseSensitive?u:u.toLowerCase(),a),null===a||d<a)&&(a=d,l=i&&t.returnWinningObject?n[p]:u,t.returnFirstMatch))return l;return l||t.nullResultValue}t.threshold=.4,t.thresholdAbsolute=20,t.caseSensitive=!1,t.nullResultValue=null,t.returnWinningObject=null,t.returnFirstMatch=!1,e.exports?e.exports=t:window.didYouMean=t;var r=0xffffffff}()},62993:(e,t,r)=>{try{var n=r(28354);if("function"!=typeof n.inherits)throw"";e.exports=n.inherits}catch(t){e.exports=r(13398)}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63628:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t)))&&(!!((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t)))||(0,n.isScopable)(e))};var n=r(48390)},63831:(e,t)=>{"use strict";function r(e){return(e=Array.isArray(e)?e:[e]).map(e=>{let t=e.values.map(e=>void 0!==e.raw?e.raw:[e.min&&`(min-width: ${e.min})`,e.max&&`(max-width: ${e.max})`].filter(Boolean).join(" and "));return e.not?`not all and ${t}`:t}).join(", ")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},63884:(e,t,r)=>{"use strict";t.__esModule=!0;var n=r(65433);Object.keys(n).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||(t[e]=n[e]))});var i=r(31571);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||(t[e]=i[e]))});var a=r(88968);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||(t[e]=a[e]))})},63987:(e,t,r)=>{var n=r(56554),i=r(71045),a=r(6969).C,s=r(90180).P;function o(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._ignoreInvalidMapping=i.getArg(e,"ignoreInvalidMapping",!1),this._sources=new a,this._names=new a,this._mappings=new s,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(e,t){var r=e.sourceRoot,n=new o(Object.assign(t||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(t.source=e.source,null!=r&&(t.source=i.relative(r,t.source)),t.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(t.name=e.name)),n.addMapping(t)}),e.sources.forEach(function(t){var a=t;null!==r&&(a=i.relative(r,t)),n._sources.has(a)||n._sources.add(a);var s=e.sourceContentFor(t);null!=s&&n.setSourceContent(t,s)}),n},o.prototype.addMapping=function(e){var t=i.getArg(e,"generated"),r=i.getArg(e,"original",null),n=i.getArg(e,"source",null),a=i.getArg(e,"name",null);(this._skipValidation||!1!==this._validateMapping(t,r,n,a))&&(null!=n&&(n=String(n),this._sources.has(n)||this._sources.add(n)),null!=a&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:n,name:a}))},o.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=i.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(e,t,r){var n=t;if(null==t){if(null==e.file)throw Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');n=e.file}var s=this._sourceRoot;null!=s&&(n=i.relative(s,n));var o=new a,l=new a;this._mappings.unsortedForEach(function(t){if(t.source===n&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=r&&(t.source=i.join(r,t.source)),null!=s&&(t.source=i.relative(s,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var u=t.source;null==u||o.has(u)||o.add(u);var c=t.name;null==c||l.has(c)||l.add(c)},this),this._sources=o,this._names=l,e.sources.forEach(function(t){var n=e.sourceContentFor(t);null!=n&&(null!=r&&(t=i.join(r,t)),null!=s&&(t=i.relative(s,t)),this.setSourceContent(t,n))},this)},o.prototype._validateMapping=function(e,t,r,n){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column){var i="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return"undefined"!=typeof console&&console.warn&&console.warn(i),!1;throw Error(i)}if(!e||!("line"in e)||!("column"in e)||!(e.line>0)||!(e.column>=0)||t||r||n){if(!e||!("line"in e)||!("column"in e)||!t||!("line"in t)||!("column"in t)||!(e.line>0)||!(e.column>=0)||!(t.line>0)||!(t.column>=0)||!r){var i="Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n});if(this._ignoreInvalidMapping)return"undefined"!=typeof console&&console.warn&&console.warn(i),!1;throw Error(i)}}},o.prototype._serializeMappings=function(){for(var e,t,r,a,s=0,o=1,l=0,u=0,c=0,d=0,p="",h=this._mappings.toArray(),m=0,f=h.length;m<f;m++){if(t=h[m],e="",t.generatedLine!==o)for(s=0;t.generatedLine!==o;)e+=";",o++;else if(m>0){if(!i.compareByGeneratedPositionsInflated(t,h[m-1]))continue;e+=","}e+=n.encode(t.generatedColumn-s),s=t.generatedColumn,null!=t.source&&(a=this._sources.indexOf(t.source),e+=n.encode(a-d),d=a,e+=n.encode(t.originalLine-1-u),u=t.originalLine-1,e+=n.encode(t.originalColumn-l),l=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=n.encode(r-c),c=r)),p+=e}return p},o.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=i.relative(t,e));var r=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},o.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.x=o},64073:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.render=void 0;var o=s(r(31736)),l=r(84812),u=r(30321),c=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function d(e){return e.replace(/"/g,"&quot;")}var p=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function h(e,t){void 0===t&&(t={});for(var r=("length"in e)?e:[e],i="",a=0;a<r.length;a++)i+=function(e,t){var r,i,a;switch(e.type){case o.Root:return h(e.children,t);case o.Doctype:case o.Directive:return r=e,"<".concat(r.data,">");case o.Comment:return i=e,"\x3c!--".concat(i.data,"--\x3e");case o.CDATA:return a=e,"<![CDATA[".concat(a.children[0].data,"]]>");case o.Script:case o.Style:case o.Tag:return function(e,t){"foreign"===t.xmlMode&&(e.name=null!=(r=u.elementNames.get(e.name))?r:e.name,e.parent&&m.has(e.parent.name)&&(t=n(n({},t),{xmlMode:!1}))),!t.xmlMode&&f.has(e.name)&&(t=n(n({},t),{xmlMode:"foreign"}));var r,i="<".concat(e.name),a=function(e,t){if(e){var r,n=(null!=(r=t.encodeEntities)?r:t.decodeEntities)===!1?d:t.xmlMode||"utf8"!==t.encodeEntities?l.encodeXML:l.escapeAttribute;return Object.keys(e).map(function(r){var i,a,s=null!=(i=e[r])?i:"";return("foreign"===t.xmlMode&&(r=null!=(a=u.attributeNames.get(r))?a:r),t.emptyAttrs||t.xmlMode||""!==s)?"".concat(r,'="').concat(n(s),'"'):r}).join(" ")}}(e.attribs,t);return a&&(i+=" ".concat(a)),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&p.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=h(e.children,t)),(t.xmlMode||!p.has(e.name))&&(i+="</".concat(e.name,">"))),i}(e,t);case o.Text:return function(e,t){var r,n=e.data||"";return(null!=(r=t.encodeEntities)?r:t.decodeEntities)===!1||!t.xmlMode&&e.parent&&c.has(e.parent.name)||(n=t.xmlMode||"utf8"!==t.encodeEntities?(0,l.encodeXML)(n):(0,l.escapeText)(n)),n}(e,t)}}(r[a],t);return i}t.render=h,t.default=h;var m=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),f=new Set(["svg","math"])},64180:(e,t,r)=>{Promise.resolve().then(r.bind(r,82043)),Promise.resolve().then(r.bind(r,29772)),Promise.resolve().then(r.bind(r,48811)),Promise.resolve().then(r.bind(r,20657))},64476:(e,t,r)=>{"use strict";let n;e=r.nmd(e);let i=(e,t)=>(...r)=>{let n=e(...r);return`\u001B[${n+t}m`},a=(e,t)=>(...r)=>{let n=e(...r);return`\u001B[${38+t};5;${n}m`},s=(e,t)=>(...r)=>{let n=e(...r);return`\u001B[${38+t};2;${n[0]};${n[1]};${n[2]}m`},o=e=>e,l=(e,t,r)=>[e,t,r],u=(e,t,r)=>{Object.defineProperty(e,t,{get:()=>{let n=r();return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})},c=(e,t,i,a)=>{void 0===n&&(n=r(86854));let s=10*!!a,o={};for(let[r,a]of Object.entries(n)){let n="ansi16"===r?"ansi":r;r===t?o[n]=e(i,s):"object"==typeof a&&(o[n]=e(a[t],s))}return o};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],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],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],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};for(let[r,n]of(t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright,Object.entries(t))){for(let[r,i]of Object.entries(n))t[r]={open:`\u001B[${i[0]}m`,close:`\u001B[${i[1]}m`},n[r]=t[r],e.set(i[0],i[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1b[39m",t.bgColor.close="\x1b[49m",u(t.color,"ansi",()=>c(i,"ansi16",o,!1)),u(t.color,"ansi256",()=>c(a,"ansi256",o,!1)),u(t.color,"ansi16m",()=>c(s,"rgb",l,!1)),u(t.bgColor,"ansi",()=>c(i,"ansi16",o,!0)),u(t.bgColor,"ansi256",()=>c(a,"ansi256",o,!0)),u(t.bgColor,"ansi16m",()=>c(s,"rgb",l,!0)),t}})},64514:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.allExpandedTypes=t.VISITOR_KEYS=t.NODE_PARENT_VALIDATIONS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.ALIAS_KEYS=void 0,t.arrayOf=m,t.arrayOfType=f,t.assertEach=y,t.assertNodeOrValueType=function(...e){function t(t,r,a){let s=p(a);for(let o of e)if(s===o||(0,n.default)(o,a))return void(0,i.validateChild)(t,r,a);throw TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(null==a?void 0:a.type)}`)}return t.oneOfNodeOrValueTypes=e,t},t.assertNodeType=b,t.assertOneOf=function(...e){function t(t,r,n){if(!e.includes(n))throw TypeError(`Property ${r} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(n)}`)}return t.oneOf=e,t},t.assertOptionalChainStart=function(){return function(e){var t;let r=e;for(;e;){let{type:e}=r;if("OptionalCallExpression"===e){if(r.optional)return;r=r.callee;continue}if("OptionalMemberExpression"===e){if(r.optional)return;r=r.object;continue}break}throw TypeError(`Non-optional ${e.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${null==(t=r)?void 0:t.type}`)}},t.assertShape=function(e){let t=Object.keys(e);function r(r,n,a){let s=[];for(let n of t)try{(0,i.validateField)(r,n,a[n],e[n])}catch(e){if(e instanceof TypeError){s.push(e.message);continue}throw e}if(s.length)throw TypeError(`Property ${n} of ${r.type} expected to have the following:
231
+ `,t=(0,i.parse)(e,{strictMode:!1,errorRecovery:!0,sourceType:"unambiguous",plugins:["jsx","typescript","decorators"]}),r=(0,a.getObjectVariables)(t);expect(await (0,s.getUsedStyleProperties)(t,e,"",r)).toMatchSnapshot()}),n()}catch(e){n(e)}})},61486:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var s=a(r(29016)),o=r(73232),l=new Set(["input","option","optgroup","select","button","datalist","textarea"]),u=new Set(["p"]),c=new Set(["thead","tbody"]),d=new Set(["dd","dt"]),p=new Set(["rt","rp"]),h=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",u],["h1",u],["h2",u],["h3",u],["h4",u],["h5",u],["h6",u],["select",l],["input",l],["output",l],["button",l],["datalist",l],["textarea",l],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",d],["dt",d],["address",u],["article",u],["aside",u],["blockquote",u],["details",u],["div",u],["dl",u],["fieldset",u],["figcaption",u],["figure",u],["footer",u],["form",u],["header",u],["hr",u],["main",u],["nav",u],["ol",u],["pre",u],["section",u],["table",u],["ul",u],["rt",p],["rp",p],["tbody",c],["tfoot",c]]),m=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),f=new Set(["math","svg"]),y=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),g=/\s|\//;t.Parser=function(){function e(e,t){var r,n,i,a,o;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!=(r=t.lowerCaseTags)?r:!t.xmlMode,this.lowerCaseAttributeNames=null!=(n=t.lowerCaseAttributeNames)?n:!t.xmlMode,this.tokenizer=new(null!=(i=t.Tokenizer)?i:s.default)(this.options,this),null==(o=(a=this.cbs).onparserinit)||o.call(a,this)}return e.prototype.ontext=function(e,t){var r,n,i=this.getSlice(e,t);this.endIndex=t-1,null==(n=(r=this.cbs).ontext)||n.call(r,i),this.startIndex=t},e.prototype.ontextentity=function(e){var t,r,n=this.tokenizer.getSectionStart();this.endIndex=n-1,null==(r=(t=this.cbs).ontext)||r.call(t,(0,o.fromCodePoint)(e)),this.startIndex=n},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&m.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);this.lowerCaseTagNames&&(r=r.toLowerCase()),this.emitOpenTag(r)},e.prototype.emitOpenTag=function(e){this.openTagStart=this.startIndex,this.tagname=e;var t,r,n,i,a=!this.options.xmlMode&&h.get(e);if(a)for(;this.stack.length>0&&a.has(this.stack[this.stack.length-1]);){var s=this.stack.pop();null==(r=(t=this.cbs).onclosetag)||r.call(t,s,!0)}!this.isVoidElement(e)&&(this.stack.push(e),f.has(e)?this.foreignContext.push(!0):y.has(e)&&this.foreignContext.push(!1)),null==(i=(n=this.cbs).onopentagname)||i.call(n,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,r;this.startIndex=this.openTagStart,this.attribs&&(null==(r=(t=this.cbs).onopentag)||r.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){this.endIndex=t;var r,n,i,a,s,o,l=this.getSlice(e,t);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(f.has(l)||y.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))this.options.xmlMode||"br"!==l||(null==(n=(r=this.cbs).onopentagname)||n.call(r,"br"),null==(a=(i=this.cbs).onopentag)||a.call(i,"br",{},!0),null==(o=(s=this.cbs).onclosetag)||o.call(s,"br",!1));else{var u=this.stack.lastIndexOf(l);if(-1!==u)if(this.cbs.onclosetag)for(var c=this.stack.length-u;c--;)this.cbs.onclosetag(this.stack.pop(),0!==c);else this.stack.length=u;else this.options.xmlMode||"p"!==l||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,r,n=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===n&&(null==(r=(t=this.cbs).onclosetag)||r.call(t,n,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var r=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,o.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var r,n;this.endIndex=t,null==(n=(r=this.cbs).onattribute)||n.call(r,this.attribname,this.attribvalue,e===s.QuoteType.Double?'"':e===s.QuoteType.Single?"'":e===s.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(g),r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var n=this.getInstructionName(r);this.cbs.onprocessinginstruction("!".concat(n),"!".concat(r))}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var n=this.getInstructionName(r);this.cbs.onprocessinginstruction("?".concat(n),"?".concat(r))}this.startIndex=t+1},e.prototype.oncomment=function(e,t,r){var n,i,a,s;this.endIndex=t,null==(i=(n=this.cbs).oncomment)||i.call(n,this.getSlice(e,t-r)),null==(s=(a=this.cbs).oncommentend)||s.call(a),this.startIndex=t+1},e.prototype.oncdata=function(e,t,r){this.endIndex=t;var n,i,a,s,o,l,u,c,d,p,h=this.getSlice(e,t-r);this.options.xmlMode||this.options.recognizeCDATA?(null==(i=(n=this.cbs).oncdatastart)||i.call(n),null==(s=(a=this.cbs).ontext)||s.call(a,h),null==(l=(o=this.cbs).oncdataend)||l.call(o)):(null==(c=(u=this.cbs).oncomment)||c.call(u,"[CDATA[".concat(h,"]]")),null==(p=(d=this.cbs).oncommentend)||p.call(d)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var r=this.stack.length;r>0;this.cbs.onclosetag(this.stack[--r],!0));}null==(t=(e=this.cbs).onend)||t.call(e)},e.prototype.reset=function(){var e,t,r,n;null==(t=(e=this.cbs).onreset)||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null==(n=(r=this.cbs).onparserinit)||n.call(r,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var r=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,t-this.bufferOffset);return r},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,r;if(this.ended){null==(r=(t=this.cbs).onerror)||r.call(t,Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)},e.prototype.end=function(e){var t,r;if(this.ended){null==(r=(t=this.cbs).onerror)||r.call(t,Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}()},61640:e=>{"use strict";e.exports={stringReplaceAll:(e,t,r)=>{let n=e.indexOf(t);if(-1===n)return e;let i=t.length,a=0,s="";do s+=e.substr(a,n-a)+t+r,a=n+i,n=e.indexOf(t,a);while(-1!==n);return s+e.substr(a)},stringEncaseCRLFWithFirstIndex:(e,t,r,n)=>{let i=0,a="";do{let s="\r"===e[n-1];a+=e.substr(i,(s?n-1:n)-i)+t+(s?"\r\n":"\n")+r,i=n+1,n=e.indexOf("\n",i)}while(-1!==n);return a+e.substr(i)}}},61725:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=a(r(48817)),i=a(r(75988));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return["fontSize","outline"].includes(e)?e=>("function"==typeof e&&(e=e({})),Array.isArray(e)&&(e=e[0]),e):"fontFamily"===e?e=>{"function"==typeof e&&(e=e({}));let t=Array.isArray(e)&&(0,i.default)(e[1])?e[0]:e;return Array.isArray(t)?t.join(", "):t}:["boxShadow","transitionProperty","transitionDuration","transitionDelay","transitionTimingFunction","backgroundImage","backgroundSize","backgroundColor","cursor","animation"].includes(e)?e=>("function"==typeof e&&(e=e({})),Array.isArray(e)&&(e=e.join(", ")),e):["gridTemplateColumns","gridTemplateRows","objectPosition"].includes(e)?e=>("function"==typeof e&&(e=e({})),"string"==typeof e&&(e=n.default.list.comma(e).join(" ")),e):(e,t={})=>("function"==typeof e&&(e=e(t)),e)}},61835:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTraversal=void 0;var n=r(38037),i=new Map([[n.SelectorType.Universal,50],[n.SelectorType.Tag,30],[n.SelectorType.Attribute,1],[n.SelectorType.Pseudo,0]]);t.isTraversal=function(e){return!i.has(e.type)};var a=new Map([[n.AttributeAction.Exists,10],[n.AttributeAction.Equals,8],[n.AttributeAction.Not,7],[n.AttributeAction.Start,6],[n.AttributeAction.End,6],[n.AttributeAction.Any,5]]);function s(e){var t,r,o=null!=(t=i.get(e.type))?t:-1;return e.type===n.SelectorType.Attribute?(o=null!=(r=a.get(e.action))?r:4,e.action===n.AttributeAction.Equals&&"id"===e.name&&(o=9),e.ignoreCase&&(o>>=1)):e.type===n.SelectorType.Pseudo&&(e.data?"has"===e.name||"contains"===e.name?o=0:Array.isArray(e.data)?(o=Math.min.apply(Math,e.data.map(function(e){return Math.min.apply(Math,e.map(s))})))<0&&(o=0):o=2:o=3),o}t.default=function(e){for(var t=e.map(s),r=1;r<e.length;r++){var n=t[r];if(!(n<0))for(var i=r-1;i>=0&&n<t[i];i--){var a=e[i+1];e[i+1]=e[i],e[i]=a,t[i+1]=t[i],t[i]=n}}}},61918:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(82348);new Request("https://react.email"),new Response("{}");let i=()=>(0,n.jsx)("div",{})},61934:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NodeType=t.TextNode=t.Node=t.valid=t.CommentNode=t.HTMLElement=t.parse=void 0;let i=n(r(23729));t.CommentNode=i.default;let a=n(r(71219));t.HTMLElement=a.default;let s=n(r(38514));t.Node=s.default;let o=n(r(51777));t.TextNode=o.default;let l=n(r(7970));t.NodeType=l.default;let u=n(r(93137)),c=n(r(70860));function d(e,t={}){return(0,u.default)(e,t)}t.valid=c.default,t.default=d,t.parse=d,d.parse=u.default,d.HTMLElement=a.default,d.CommentNode=i.default,d.valid=c.default,d.Node=s.default,d.TextNode=o.default,d.NodeType=l.default},61940:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.anyTypeAnnotation=function(){return{type:"AnyTypeAnnotation"}},t.argumentPlaceholder=function(){return{type:"ArgumentPlaceholder"}},t.arrayExpression=function(e=[]){let t={type:"ArrayExpression",elements:e};return s(o.ArrayExpression.elements,t,"elements",e,1),t},t.arrayPattern=function(e){let t={type:"ArrayPattern",elements:e};return s(o.ArrayPattern.elements,t,"elements",e,1),t},t.arrayTypeAnnotation=function(e){let t={type:"ArrayTypeAnnotation",elementType:e};return s(o.ArrayTypeAnnotation.elementType,t,"elementType",e,1),t},t.arrowFunctionExpression=function(e,t,r=!1){let n={type:"ArrowFunctionExpression",params:e,body:t,async:r,expression:null},i=o.ArrowFunctionExpression;return s(i.params,n,"params",e,1),s(i.body,n,"body",t,1),s(i.async,n,"async",r),n},t.assignmentExpression=function(e,t,r){let n={type:"AssignmentExpression",operator:e,left:t,right:r},i=o.AssignmentExpression;return s(i.operator,n,"operator",e),s(i.left,n,"left",t,1),s(i.right,n,"right",r,1),n},t.assignmentPattern=function(e,t){let r={type:"AssignmentPattern",left:e,right:t},n=o.AssignmentPattern;return s(n.left,r,"left",e,1),s(n.right,r,"right",t,1),r},t.awaitExpression=function(e){let t={type:"AwaitExpression",argument:e};return s(o.AwaitExpression.argument,t,"argument",e,1),t},t.bigIntLiteral=function(e){let t={type:"BigIntLiteral",value:e};return s(o.BigIntLiteral.value,t,"value",e),t},t.binaryExpression=function(e,t,r){let n={type:"BinaryExpression",operator:e,left:t,right:r},i=o.BinaryExpression;return s(i.operator,n,"operator",e),s(i.left,n,"left",t,1),s(i.right,n,"right",r,1),n},t.bindExpression=function(e,t){let r={type:"BindExpression",object:e,callee:t},n=o.BindExpression;return s(n.object,r,"object",e,1),s(n.callee,r,"callee",t,1),r},t.blockStatement=function(e,t=[]){let r={type:"BlockStatement",body:e,directives:t},n=o.BlockStatement;return s(n.body,r,"body",e,1),s(n.directives,r,"directives",t,1),r},t.booleanLiteral=function(e){let t={type:"BooleanLiteral",value:e};return s(o.BooleanLiteral.value,t,"value",e),t},t.booleanLiteralTypeAnnotation=function(e){let t={type:"BooleanLiteralTypeAnnotation",value:e};return s(o.BooleanLiteralTypeAnnotation.value,t,"value",e),t},t.booleanTypeAnnotation=function(){return{type:"BooleanTypeAnnotation"}},t.breakStatement=function(e=null){let t={type:"BreakStatement",label:e};return s(o.BreakStatement.label,t,"label",e,1),t},t.callExpression=function(e,t){let r={type:"CallExpression",callee:e,arguments:t},n=o.CallExpression;return s(n.callee,r,"callee",e,1),s(n.arguments,r,"arguments",t,1),r},t.catchClause=function(e=null,t){let r={type:"CatchClause",param:e,body:t},n=o.CatchClause;return s(n.param,r,"param",e,1),s(n.body,r,"body",t,1),r},t.classAccessorProperty=function(e,t=null,r=null,n=null,i=!1,a=!1){let l={type:"ClassAccessorProperty",key:e,value:t,typeAnnotation:r,decorators:n,computed:i,static:a},u=o.ClassAccessorProperty;return s(u.key,l,"key",e,1),s(u.value,l,"value",t,1),s(u.typeAnnotation,l,"typeAnnotation",r,1),s(u.decorators,l,"decorators",n,1),s(u.computed,l,"computed",i),s(u.static,l,"static",a),l},t.classBody=function(e){let t={type:"ClassBody",body:e};return s(o.ClassBody.body,t,"body",e,1),t},t.classDeclaration=function(e=null,t=null,r,n=null){let i={type:"ClassDeclaration",id:e,superClass:t,body:r,decorators:n},a=o.ClassDeclaration;return s(a.id,i,"id",e,1),s(a.superClass,i,"superClass",t,1),s(a.body,i,"body",r,1),s(a.decorators,i,"decorators",n,1),i},t.classExpression=function(e=null,t=null,r,n=null){let i={type:"ClassExpression",id:e,superClass:t,body:r,decorators:n},a=o.ClassExpression;return s(a.id,i,"id",e,1),s(a.superClass,i,"superClass",t,1),s(a.body,i,"body",r,1),s(a.decorators,i,"decorators",n,1),i},t.classImplements=function(e,t=null){let r={type:"ClassImplements",id:e,typeParameters:t},n=o.ClassImplements;return s(n.id,r,"id",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.classMethod=function(e="method",t,r,n,i=!1,a=!1,l=!1,u=!1){let c={type:"ClassMethod",kind:e,key:t,params:r,body:n,computed:i,static:a,generator:l,async:u},d=o.ClassMethod;return s(d.kind,c,"kind",e),s(d.key,c,"key",t,1),s(d.params,c,"params",r,1),s(d.body,c,"body",n,1),s(d.computed,c,"computed",i),s(d.static,c,"static",a),s(d.generator,c,"generator",l),s(d.async,c,"async",u),c},t.classPrivateMethod=function(e="method",t,r,n,i=!1){let a={type:"ClassPrivateMethod",kind:e,key:t,params:r,body:n,static:i},l=o.ClassPrivateMethod;return s(l.kind,a,"kind",e),s(l.key,a,"key",t,1),s(l.params,a,"params",r,1),s(l.body,a,"body",n,1),s(l.static,a,"static",i),a},t.classPrivateProperty=function(e,t=null,r=null,n=!1){let i={type:"ClassPrivateProperty",key:e,value:t,decorators:r,static:n},a=o.ClassPrivateProperty;return s(a.key,i,"key",e,1),s(a.value,i,"value",t,1),s(a.decorators,i,"decorators",r,1),s(a.static,i,"static",n),i},t.classProperty=function(e,t=null,r=null,n=null,i=!1,a=!1){let l={type:"ClassProperty",key:e,value:t,typeAnnotation:r,decorators:n,computed:i,static:a},u=o.ClassProperty;return s(u.key,l,"key",e,1),s(u.value,l,"value",t,1),s(u.typeAnnotation,l,"typeAnnotation",r,1),s(u.decorators,l,"decorators",n,1),s(u.computed,l,"computed",i),s(u.static,l,"static",a),l},t.conditionalExpression=function(e,t,r){let n={type:"ConditionalExpression",test:e,consequent:t,alternate:r},i=o.ConditionalExpression;return s(i.test,n,"test",e,1),s(i.consequent,n,"consequent",t,1),s(i.alternate,n,"alternate",r,1),n},t.continueStatement=function(e=null){let t={type:"ContinueStatement",label:e};return s(o.ContinueStatement.label,t,"label",e,1),t},t.debuggerStatement=function(){return{type:"DebuggerStatement"}},t.decimalLiteral=function(e){let t={type:"DecimalLiteral",value:e};return s(o.DecimalLiteral.value,t,"value",e),t},t.declareClass=function(e,t=null,r=null,n){let i={type:"DeclareClass",id:e,typeParameters:t,extends:r,body:n},a=o.DeclareClass;return s(a.id,i,"id",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.extends,i,"extends",r,1),s(a.body,i,"body",n,1),i},t.declareExportAllDeclaration=function(e,t=null){let r={type:"DeclareExportAllDeclaration",source:e,attributes:t},n=o.DeclareExportAllDeclaration;return s(n.source,r,"source",e,1),s(n.attributes,r,"attributes",t,1),r},t.declareExportDeclaration=function(e=null,t=null,r=null,n=null){let i={type:"DeclareExportDeclaration",declaration:e,specifiers:t,source:r,attributes:n},a=o.DeclareExportDeclaration;return s(a.declaration,i,"declaration",e,1),s(a.specifiers,i,"specifiers",t,1),s(a.source,i,"source",r,1),s(a.attributes,i,"attributes",n,1),i},t.declareFunction=function(e){let t={type:"DeclareFunction",id:e};return s(o.DeclareFunction.id,t,"id",e,1),t},t.declareInterface=function(e,t=null,r=null,n){let i={type:"DeclareInterface",id:e,typeParameters:t,extends:r,body:n},a=o.DeclareInterface;return s(a.id,i,"id",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.extends,i,"extends",r,1),s(a.body,i,"body",n,1),i},t.declareModule=function(e,t,r=null){let n={type:"DeclareModule",id:e,body:t,kind:r},i=o.DeclareModule;return s(i.id,n,"id",e,1),s(i.body,n,"body",t,1),s(i.kind,n,"kind",r),n},t.declareModuleExports=function(e){let t={type:"DeclareModuleExports",typeAnnotation:e};return s(o.DeclareModuleExports.typeAnnotation,t,"typeAnnotation",e,1),t},t.declareOpaqueType=function(e,t=null,r=null){let n={type:"DeclareOpaqueType",id:e,typeParameters:t,supertype:r},i=o.DeclareOpaqueType;return s(i.id,n,"id",e,1),s(i.typeParameters,n,"typeParameters",t,1),s(i.supertype,n,"supertype",r,1),n},t.declareTypeAlias=function(e,t=null,r){let n={type:"DeclareTypeAlias",id:e,typeParameters:t,right:r},i=o.DeclareTypeAlias;return s(i.id,n,"id",e,1),s(i.typeParameters,n,"typeParameters",t,1),s(i.right,n,"right",r,1),n},t.declareVariable=function(e){let t={type:"DeclareVariable",id:e};return s(o.DeclareVariable.id,t,"id",e,1),t},t.declaredPredicate=function(e){let t={type:"DeclaredPredicate",value:e};return s(o.DeclaredPredicate.value,t,"value",e,1),t},t.decorator=function(e){let t={type:"Decorator",expression:e};return s(o.Decorator.expression,t,"expression",e,1),t},t.directive=function(e){let t={type:"Directive",value:e};return s(o.Directive.value,t,"value",e,1),t},t.directiveLiteral=function(e){let t={type:"DirectiveLiteral",value:e};return s(o.DirectiveLiteral.value,t,"value",e),t},t.doExpression=function(e,t=!1){let r={type:"DoExpression",body:e,async:t},n=o.DoExpression;return s(n.body,r,"body",e,1),s(n.async,r,"async",t),r},t.doWhileStatement=function(e,t){let r={type:"DoWhileStatement",test:e,body:t},n=o.DoWhileStatement;return s(n.test,r,"test",e,1),s(n.body,r,"body",t,1),r},t.emptyStatement=function(){return{type:"EmptyStatement"}},t.emptyTypeAnnotation=function(){return{type:"EmptyTypeAnnotation"}},t.enumBooleanBody=function(e){let t={type:"EnumBooleanBody",members:e,explicitType:null,hasUnknownMembers:null};return s(o.EnumBooleanBody.members,t,"members",e,1),t},t.enumBooleanMember=function(e){let t={type:"EnumBooleanMember",id:e,init:null};return s(o.EnumBooleanMember.id,t,"id",e,1),t},t.enumDeclaration=function(e,t){let r={type:"EnumDeclaration",id:e,body:t},n=o.EnumDeclaration;return s(n.id,r,"id",e,1),s(n.body,r,"body",t,1),r},t.enumDefaultedMember=function(e){let t={type:"EnumDefaultedMember",id:e};return s(o.EnumDefaultedMember.id,t,"id",e,1),t},t.enumNumberBody=function(e){let t={type:"EnumNumberBody",members:e,explicitType:null,hasUnknownMembers:null};return s(o.EnumNumberBody.members,t,"members",e,1),t},t.enumNumberMember=function(e,t){let r={type:"EnumNumberMember",id:e,init:t},n=o.EnumNumberMember;return s(n.id,r,"id",e,1),s(n.init,r,"init",t,1),r},t.enumStringBody=function(e){let t={type:"EnumStringBody",members:e,explicitType:null,hasUnknownMembers:null};return s(o.EnumStringBody.members,t,"members",e,1),t},t.enumStringMember=function(e,t){let r={type:"EnumStringMember",id:e,init:t},n=o.EnumStringMember;return s(n.id,r,"id",e,1),s(n.init,r,"init",t,1),r},t.enumSymbolBody=function(e){let t={type:"EnumSymbolBody",members:e,hasUnknownMembers:null};return s(o.EnumSymbolBody.members,t,"members",e,1),t},t.existsTypeAnnotation=function(){return{type:"ExistsTypeAnnotation"}},t.exportAllDeclaration=function(e){let t={type:"ExportAllDeclaration",source:e};return s(o.ExportAllDeclaration.source,t,"source",e,1),t},t.exportDefaultDeclaration=function(e){let t={type:"ExportDefaultDeclaration",declaration:e};return s(o.ExportDefaultDeclaration.declaration,t,"declaration",e,1),t},t.exportDefaultSpecifier=function(e){let t={type:"ExportDefaultSpecifier",exported:e};return s(o.ExportDefaultSpecifier.exported,t,"exported",e,1),t},t.exportNamedDeclaration=function(e=null,t=[],r=null){let n={type:"ExportNamedDeclaration",declaration:e,specifiers:t,source:r},i=o.ExportNamedDeclaration;return s(i.declaration,n,"declaration",e,1),s(i.specifiers,n,"specifiers",t,1),s(i.source,n,"source",r,1),n},t.exportNamespaceSpecifier=function(e){let t={type:"ExportNamespaceSpecifier",exported:e};return s(o.ExportNamespaceSpecifier.exported,t,"exported",e,1),t},t.exportSpecifier=function(e,t){let r={type:"ExportSpecifier",local:e,exported:t},n=o.ExportSpecifier;return s(n.local,r,"local",e,1),s(n.exported,r,"exported",t,1),r},t.expressionStatement=function(e){let t={type:"ExpressionStatement",expression:e};return s(o.ExpressionStatement.expression,t,"expression",e,1),t},t.file=function(e,t=null,r=null){let n={type:"File",program:e,comments:t,tokens:r},i=o.File;return s(i.program,n,"program",e,1),s(i.comments,n,"comments",t,1),s(i.tokens,n,"tokens",r),n},t.forInStatement=function(e,t,r){let n={type:"ForInStatement",left:e,right:t,body:r},i=o.ForInStatement;return s(i.left,n,"left",e,1),s(i.right,n,"right",t,1),s(i.body,n,"body",r,1),n},t.forOfStatement=function(e,t,r,n=!1){let i={type:"ForOfStatement",left:e,right:t,body:r,await:n},a=o.ForOfStatement;return s(a.left,i,"left",e,1),s(a.right,i,"right",t,1),s(a.body,i,"body",r,1),s(a.await,i,"await",n),i},t.forStatement=function(e=null,t=null,r=null,n){let i={type:"ForStatement",init:e,test:t,update:r,body:n},a=o.ForStatement;return s(a.init,i,"init",e,1),s(a.test,i,"test",t,1),s(a.update,i,"update",r,1),s(a.body,i,"body",n,1),i},t.functionDeclaration=function(e=null,t,r,n=!1,i=!1){let a={type:"FunctionDeclaration",id:e,params:t,body:r,generator:n,async:i},l=o.FunctionDeclaration;return s(l.id,a,"id",e,1),s(l.params,a,"params",t,1),s(l.body,a,"body",r,1),s(l.generator,a,"generator",n),s(l.async,a,"async",i),a},t.functionExpression=function(e=null,t,r,n=!1,i=!1){let a={type:"FunctionExpression",id:e,params:t,body:r,generator:n,async:i},l=o.FunctionExpression;return s(l.id,a,"id",e,1),s(l.params,a,"params",t,1),s(l.body,a,"body",r,1),s(l.generator,a,"generator",n),s(l.async,a,"async",i),a},t.functionTypeAnnotation=function(e=null,t,r=null,n){let i={type:"FunctionTypeAnnotation",typeParameters:e,params:t,rest:r,returnType:n},a=o.FunctionTypeAnnotation;return s(a.typeParameters,i,"typeParameters",e,1),s(a.params,i,"params",t,1),s(a.rest,i,"rest",r,1),s(a.returnType,i,"returnType",n,1),i},t.functionTypeParam=function(e=null,t){let r={type:"FunctionTypeParam",name:e,typeAnnotation:t},n=o.FunctionTypeParam;return s(n.name,r,"name",e,1),s(n.typeAnnotation,r,"typeAnnotation",t,1),r},t.genericTypeAnnotation=function(e,t=null){let r={type:"GenericTypeAnnotation",id:e,typeParameters:t},n=o.GenericTypeAnnotation;return s(n.id,r,"id",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.identifier=function(e){let t={type:"Identifier",name:e};return s(o.Identifier.name,t,"name",e),t},t.ifStatement=function(e,t,r=null){let n={type:"IfStatement",test:e,consequent:t,alternate:r},i=o.IfStatement;return s(i.test,n,"test",e,1),s(i.consequent,n,"consequent",t,1),s(i.alternate,n,"alternate",r,1),n},t.import=function(){return{type:"Import"}},t.importAttribute=function(e,t){let r={type:"ImportAttribute",key:e,value:t},n=o.ImportAttribute;return s(n.key,r,"key",e,1),s(n.value,r,"value",t,1),r},t.importDeclaration=function(e,t){let r={type:"ImportDeclaration",specifiers:e,source:t},n=o.ImportDeclaration;return s(n.specifiers,r,"specifiers",e,1),s(n.source,r,"source",t,1),r},t.importDefaultSpecifier=function(e){let t={type:"ImportDefaultSpecifier",local:e};return s(o.ImportDefaultSpecifier.local,t,"local",e,1),t},t.importExpression=function(e,t=null){let r={type:"ImportExpression",source:e,options:t},n=o.ImportExpression;return s(n.source,r,"source",e,1),s(n.options,r,"options",t,1),r},t.importNamespaceSpecifier=function(e){let t={type:"ImportNamespaceSpecifier",local:e};return s(o.ImportNamespaceSpecifier.local,t,"local",e,1),t},t.importSpecifier=function(e,t){let r={type:"ImportSpecifier",local:e,imported:t},n=o.ImportSpecifier;return s(n.local,r,"local",e,1),s(n.imported,r,"imported",t,1),r},t.indexedAccessType=function(e,t){let r={type:"IndexedAccessType",objectType:e,indexType:t},n=o.IndexedAccessType;return s(n.objectType,r,"objectType",e,1),s(n.indexType,r,"indexType",t,1),r},t.inferredPredicate=function(){return{type:"InferredPredicate"}},t.interfaceDeclaration=function(e,t=null,r=null,n){let i={type:"InterfaceDeclaration",id:e,typeParameters:t,extends:r,body:n},a=o.InterfaceDeclaration;return s(a.id,i,"id",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.extends,i,"extends",r,1),s(a.body,i,"body",n,1),i},t.interfaceExtends=function(e,t=null){let r={type:"InterfaceExtends",id:e,typeParameters:t},n=o.InterfaceExtends;return s(n.id,r,"id",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.interfaceTypeAnnotation=function(e=null,t){let r={type:"InterfaceTypeAnnotation",extends:e,body:t},n=o.InterfaceTypeAnnotation;return s(n.extends,r,"extends",e,1),s(n.body,r,"body",t,1),r},t.interpreterDirective=function(e){let t={type:"InterpreterDirective",value:e};return s(o.InterpreterDirective.value,t,"value",e),t},t.intersectionTypeAnnotation=function(e){let t={type:"IntersectionTypeAnnotation",types:e};return s(o.IntersectionTypeAnnotation.types,t,"types",e,1),t},t.jSXAttribute=t.jsxAttribute=function(e,t=null){let r={type:"JSXAttribute",name:e,value:t},n=o.JSXAttribute;return s(n.name,r,"name",e,1),s(n.value,r,"value",t,1),r},t.jSXClosingElement=t.jsxClosingElement=function(e){let t={type:"JSXClosingElement",name:e};return s(o.JSXClosingElement.name,t,"name",e,1),t},t.jSXClosingFragment=t.jsxClosingFragment=function(){return{type:"JSXClosingFragment"}},t.jSXElement=t.jsxElement=function(e,t=null,r,n=null){let i={type:"JSXElement",openingElement:e,closingElement:t,children:r,selfClosing:n},a=o.JSXElement;return s(a.openingElement,i,"openingElement",e,1),s(a.closingElement,i,"closingElement",t,1),s(a.children,i,"children",r,1),s(a.selfClosing,i,"selfClosing",n),i},t.jSXEmptyExpression=t.jsxEmptyExpression=function(){return{type:"JSXEmptyExpression"}},t.jSXExpressionContainer=t.jsxExpressionContainer=function(e){let t={type:"JSXExpressionContainer",expression:e};return s(o.JSXExpressionContainer.expression,t,"expression",e,1),t},t.jSXFragment=t.jsxFragment=function(e,t,r){let n={type:"JSXFragment",openingFragment:e,closingFragment:t,children:r},i=o.JSXFragment;return s(i.openingFragment,n,"openingFragment",e,1),s(i.closingFragment,n,"closingFragment",t,1),s(i.children,n,"children",r,1),n},t.jSXIdentifier=t.jsxIdentifier=function(e){let t={type:"JSXIdentifier",name:e};return s(o.JSXIdentifier.name,t,"name",e),t},t.jSXMemberExpression=t.jsxMemberExpression=function(e,t){let r={type:"JSXMemberExpression",object:e,property:t},n=o.JSXMemberExpression;return s(n.object,r,"object",e,1),s(n.property,r,"property",t,1),r},t.jSXNamespacedName=t.jsxNamespacedName=function(e,t){let r={type:"JSXNamespacedName",namespace:e,name:t},n=o.JSXNamespacedName;return s(n.namespace,r,"namespace",e,1),s(n.name,r,"name",t,1),r},t.jSXOpeningElement=t.jsxOpeningElement=function(e,t,r=!1){let n={type:"JSXOpeningElement",name:e,attributes:t,selfClosing:r},i=o.JSXOpeningElement;return s(i.name,n,"name",e,1),s(i.attributes,n,"attributes",t,1),s(i.selfClosing,n,"selfClosing",r),n},t.jSXOpeningFragment=t.jsxOpeningFragment=function(){return{type:"JSXOpeningFragment"}},t.jSXSpreadAttribute=t.jsxSpreadAttribute=function(e){let t={type:"JSXSpreadAttribute",argument:e};return s(o.JSXSpreadAttribute.argument,t,"argument",e,1),t},t.jSXSpreadChild=t.jsxSpreadChild=function(e){let t={type:"JSXSpreadChild",expression:e};return s(o.JSXSpreadChild.expression,t,"expression",e,1),t},t.jSXText=t.jsxText=function(e){let t={type:"JSXText",value:e};return s(o.JSXText.value,t,"value",e),t},t.labeledStatement=function(e,t){let r={type:"LabeledStatement",label:e,body:t},n=o.LabeledStatement;return s(n.label,r,"label",e,1),s(n.body,r,"body",t,1),r},t.logicalExpression=function(e,t,r){let n={type:"LogicalExpression",operator:e,left:t,right:r},i=o.LogicalExpression;return s(i.operator,n,"operator",e),s(i.left,n,"left",t,1),s(i.right,n,"right",r,1),n},t.memberExpression=function(e,t,r=!1,n=null){let i={type:"MemberExpression",object:e,property:t,computed:r,optional:n},a=o.MemberExpression;return s(a.object,i,"object",e,1),s(a.property,i,"property",t,1),s(a.computed,i,"computed",r),s(a.optional,i,"optional",n),i},t.metaProperty=function(e,t){let r={type:"MetaProperty",meta:e,property:t},n=o.MetaProperty;return s(n.meta,r,"meta",e,1),s(n.property,r,"property",t,1),r},t.mixedTypeAnnotation=function(){return{type:"MixedTypeAnnotation"}},t.moduleExpression=function(e){let t={type:"ModuleExpression",body:e};return s(o.ModuleExpression.body,t,"body",e,1),t},t.newExpression=function(e,t){let r={type:"NewExpression",callee:e,arguments:t},n=o.NewExpression;return s(n.callee,r,"callee",e,1),s(n.arguments,r,"arguments",t,1),r},t.noop=function(){return{type:"Noop"}},t.nullLiteral=function(){return{type:"NullLiteral"}},t.nullLiteralTypeAnnotation=function(){return{type:"NullLiteralTypeAnnotation"}},t.nullableTypeAnnotation=function(e){let t={type:"NullableTypeAnnotation",typeAnnotation:e};return s(o.NullableTypeAnnotation.typeAnnotation,t,"typeAnnotation",e,1),t},t.numberLiteral=function(e){return(0,i.default)("NumberLiteral","NumericLiteral","The node type "),l(e)},t.numberLiteralTypeAnnotation=function(e){let t={type:"NumberLiteralTypeAnnotation",value:e};return s(o.NumberLiteralTypeAnnotation.value,t,"value",e),t},t.numberTypeAnnotation=function(){return{type:"NumberTypeAnnotation"}},t.numericLiteral=l,t.objectExpression=function(e){let t={type:"ObjectExpression",properties:e};return s(o.ObjectExpression.properties,t,"properties",e,1),t},t.objectMethod=function(e="method",t,r,n,i=!1,a=!1,l=!1){let u={type:"ObjectMethod",kind:e,key:t,params:r,body:n,computed:i,generator:a,async:l},c=o.ObjectMethod;return s(c.kind,u,"kind",e),s(c.key,u,"key",t,1),s(c.params,u,"params",r,1),s(c.body,u,"body",n,1),s(c.computed,u,"computed",i),s(c.generator,u,"generator",a),s(c.async,u,"async",l),u},t.objectPattern=function(e){let t={type:"ObjectPattern",properties:e};return s(o.ObjectPattern.properties,t,"properties",e,1),t},t.objectProperty=function(e,t,r=!1,n=!1,i=null){let a={type:"ObjectProperty",key:e,value:t,computed:r,shorthand:n,decorators:i},l=o.ObjectProperty;return s(l.key,a,"key",e,1),s(l.value,a,"value",t,1),s(l.computed,a,"computed",r),s(l.shorthand,a,"shorthand",n),s(l.decorators,a,"decorators",i,1),a},t.objectTypeAnnotation=function(e,t=[],r=[],n=[],i=!1){let a={type:"ObjectTypeAnnotation",properties:e,indexers:t,callProperties:r,internalSlots:n,exact:i},l=o.ObjectTypeAnnotation;return s(l.properties,a,"properties",e,1),s(l.indexers,a,"indexers",t,1),s(l.callProperties,a,"callProperties",r,1),s(l.internalSlots,a,"internalSlots",n,1),s(l.exact,a,"exact",i),a},t.objectTypeCallProperty=function(e){let t={type:"ObjectTypeCallProperty",value:e,static:null};return s(o.ObjectTypeCallProperty.value,t,"value",e,1),t},t.objectTypeIndexer=function(e=null,t,r,n=null){let i={type:"ObjectTypeIndexer",id:e,key:t,value:r,variance:n,static:null},a=o.ObjectTypeIndexer;return s(a.id,i,"id",e,1),s(a.key,i,"key",t,1),s(a.value,i,"value",r,1),s(a.variance,i,"variance",n,1),i},t.objectTypeInternalSlot=function(e,t,r,n,i){let a={type:"ObjectTypeInternalSlot",id:e,value:t,optional:r,static:n,method:i},l=o.ObjectTypeInternalSlot;return s(l.id,a,"id",e,1),s(l.value,a,"value",t,1),s(l.optional,a,"optional",r),s(l.static,a,"static",n),s(l.method,a,"method",i),a},t.objectTypeProperty=function(e,t,r=null){let n={type:"ObjectTypeProperty",key:e,value:t,variance:r,kind:null,method:null,optional:null,proto:null,static:null},i=o.ObjectTypeProperty;return s(i.key,n,"key",e,1),s(i.value,n,"value",t,1),s(i.variance,n,"variance",r,1),n},t.objectTypeSpreadProperty=function(e){let t={type:"ObjectTypeSpreadProperty",argument:e};return s(o.ObjectTypeSpreadProperty.argument,t,"argument",e,1),t},t.opaqueType=function(e,t=null,r=null,n){let i={type:"OpaqueType",id:e,typeParameters:t,supertype:r,impltype:n},a=o.OpaqueType;return s(a.id,i,"id",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.supertype,i,"supertype",r,1),s(a.impltype,i,"impltype",n,1),i},t.optionalCallExpression=function(e,t,r){let n={type:"OptionalCallExpression",callee:e,arguments:t,optional:r},i=o.OptionalCallExpression;return s(i.callee,n,"callee",e,1),s(i.arguments,n,"arguments",t,1),s(i.optional,n,"optional",r),n},t.optionalIndexedAccessType=function(e,t){let r={type:"OptionalIndexedAccessType",objectType:e,indexType:t,optional:null},n=o.OptionalIndexedAccessType;return s(n.objectType,r,"objectType",e,1),s(n.indexType,r,"indexType",t,1),r},t.optionalMemberExpression=function(e,t,r=!1,n){let i={type:"OptionalMemberExpression",object:e,property:t,computed:r,optional:n},a=o.OptionalMemberExpression;return s(a.object,i,"object",e,1),s(a.property,i,"property",t,1),s(a.computed,i,"computed",r),s(a.optional,i,"optional",n),i},t.parenthesizedExpression=function(e){let t={type:"ParenthesizedExpression",expression:e};return s(o.ParenthesizedExpression.expression,t,"expression",e,1),t},t.pipelineBareFunction=function(e){let t={type:"PipelineBareFunction",callee:e};return s(o.PipelineBareFunction.callee,t,"callee",e,1),t},t.pipelinePrimaryTopicReference=function(){return{type:"PipelinePrimaryTopicReference"}},t.pipelineTopicExpression=function(e){let t={type:"PipelineTopicExpression",expression:e};return s(o.PipelineTopicExpression.expression,t,"expression",e,1),t},t.placeholder=function(e,t){let r={type:"Placeholder",expectedNode:e,name:t},n=o.Placeholder;return s(n.expectedNode,r,"expectedNode",e),s(n.name,r,"name",t,1),r},t.privateName=function(e){let t={type:"PrivateName",id:e};return s(o.PrivateName.id,t,"id",e,1),t},t.program=function(e,t=[],r="script",n=null){let i={type:"Program",body:e,directives:t,sourceType:r,interpreter:n},a=o.Program;return s(a.body,i,"body",e,1),s(a.directives,i,"directives",t,1),s(a.sourceType,i,"sourceType",r),s(a.interpreter,i,"interpreter",n,1),i},t.qualifiedTypeIdentifier=function(e,t){let r={type:"QualifiedTypeIdentifier",id:e,qualification:t},n=o.QualifiedTypeIdentifier;return s(n.id,r,"id",e,1),s(n.qualification,r,"qualification",t,1),r},t.recordExpression=function(e){let t={type:"RecordExpression",properties:e};return s(o.RecordExpression.properties,t,"properties",e,1),t},t.regExpLiteral=u,t.regexLiteral=function(e,t=""){return(0,i.default)("RegexLiteral","RegExpLiteral","The node type "),u(e,t)},t.restElement=c,t.restProperty=function(e){return(0,i.default)("RestProperty","RestElement","The node type "),c(e)},t.returnStatement=function(e=null){let t={type:"ReturnStatement",argument:e};return s(o.ReturnStatement.argument,t,"argument",e,1),t},t.sequenceExpression=function(e){let t={type:"SequenceExpression",expressions:e};return s(o.SequenceExpression.expressions,t,"expressions",e,1),t},t.spreadElement=d,t.spreadProperty=function(e){return(0,i.default)("SpreadProperty","SpreadElement","The node type "),d(e)},t.staticBlock=function(e){let t={type:"StaticBlock",body:e};return s(o.StaticBlock.body,t,"body",e,1),t},t.stringLiteral=function(e){let t={type:"StringLiteral",value:e};return s(o.StringLiteral.value,t,"value",e),t},t.stringLiteralTypeAnnotation=function(e){let t={type:"StringLiteralTypeAnnotation",value:e};return s(o.StringLiteralTypeAnnotation.value,t,"value",e),t},t.stringTypeAnnotation=function(){return{type:"StringTypeAnnotation"}},t.super=function(){return{type:"Super"}},t.switchCase=function(e=null,t){let r={type:"SwitchCase",test:e,consequent:t},n=o.SwitchCase;return s(n.test,r,"test",e,1),s(n.consequent,r,"consequent",t,1),r},t.switchStatement=function(e,t){let r={type:"SwitchStatement",discriminant:e,cases:t},n=o.SwitchStatement;return s(n.discriminant,r,"discriminant",e,1),s(n.cases,r,"cases",t,1),r},t.symbolTypeAnnotation=function(){return{type:"SymbolTypeAnnotation"}},t.taggedTemplateExpression=function(e,t){let r={type:"TaggedTemplateExpression",tag:e,quasi:t},n=o.TaggedTemplateExpression;return s(n.tag,r,"tag",e,1),s(n.quasi,r,"quasi",t,1),r},t.templateElement=function(e,t=!1){let r={type:"TemplateElement",value:e,tail:t},n=o.TemplateElement;return s(n.value,r,"value",e),s(n.tail,r,"tail",t),r},t.templateLiteral=function(e,t){let r={type:"TemplateLiteral",quasis:e,expressions:t},n=o.TemplateLiteral;return s(n.quasis,r,"quasis",e,1),s(n.expressions,r,"expressions",t,1),r},t.thisExpression=function(){return{type:"ThisExpression"}},t.thisTypeAnnotation=function(){return{type:"ThisTypeAnnotation"}},t.throwStatement=function(e){let t={type:"ThrowStatement",argument:e};return s(o.ThrowStatement.argument,t,"argument",e,1),t},t.topicReference=function(){return{type:"TopicReference"}},t.tryStatement=function(e,t=null,r=null){let n={type:"TryStatement",block:e,handler:t,finalizer:r},i=o.TryStatement;return s(i.block,n,"block",e,1),s(i.handler,n,"handler",t,1),s(i.finalizer,n,"finalizer",r,1),n},t.tSAnyKeyword=t.tsAnyKeyword=function(){return{type:"TSAnyKeyword"}},t.tSArrayType=t.tsArrayType=function(e){let t={type:"TSArrayType",elementType:e};return s(o.TSArrayType.elementType,t,"elementType",e,1),t},t.tSAsExpression=t.tsAsExpression=function(e,t){let r={type:"TSAsExpression",expression:e,typeAnnotation:t},n=o.TSAsExpression;return s(n.expression,r,"expression",e,1),s(n.typeAnnotation,r,"typeAnnotation",t,1),r},t.tSBigIntKeyword=t.tsBigIntKeyword=function(){return{type:"TSBigIntKeyword"}},t.tSBooleanKeyword=t.tsBooleanKeyword=function(){return{type:"TSBooleanKeyword"}},t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=function(e=null,t,r=null){let n={type:"TSCallSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r},i=o.TSCallSignatureDeclaration;return s(i.typeParameters,n,"typeParameters",e,1),s(i.parameters,n,"parameters",t,1),s(i.typeAnnotation,n,"typeAnnotation",r,1),n},t.tSConditionalType=t.tsConditionalType=function(e,t,r,n){let i={type:"TSConditionalType",checkType:e,extendsType:t,trueType:r,falseType:n},a=o.TSConditionalType;return s(a.checkType,i,"checkType",e,1),s(a.extendsType,i,"extendsType",t,1),s(a.trueType,i,"trueType",r,1),s(a.falseType,i,"falseType",n,1),i},t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=function(e=null,t,r=null){let n={type:"TSConstructSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r},i=o.TSConstructSignatureDeclaration;return s(i.typeParameters,n,"typeParameters",e,1),s(i.parameters,n,"parameters",t,1),s(i.typeAnnotation,n,"typeAnnotation",r,1),n},t.tSConstructorType=t.tsConstructorType=function(e=null,t,r=null){let n={type:"TSConstructorType",typeParameters:e,parameters:t,typeAnnotation:r},i=o.TSConstructorType;return s(i.typeParameters,n,"typeParameters",e,1),s(i.parameters,n,"parameters",t,1),s(i.typeAnnotation,n,"typeAnnotation",r,1),n},t.tSDeclareFunction=t.tsDeclareFunction=function(e=null,t=null,r,n=null){let i={type:"TSDeclareFunction",id:e,typeParameters:t,params:r,returnType:n},a=o.TSDeclareFunction;return s(a.id,i,"id",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.params,i,"params",r,1),s(a.returnType,i,"returnType",n,1),i},t.tSDeclareMethod=t.tsDeclareMethod=function(e=null,t,r=null,n,i=null){let a={type:"TSDeclareMethod",decorators:e,key:t,typeParameters:r,params:n,returnType:i},l=o.TSDeclareMethod;return s(l.decorators,a,"decorators",e,1),s(l.key,a,"key",t,1),s(l.typeParameters,a,"typeParameters",r,1),s(l.params,a,"params",n,1),s(l.returnType,a,"returnType",i,1),a},t.tSEnumBody=t.tsEnumBody=function(e){let t={type:"TSEnumBody",members:e};return s(o.TSEnumBody.members,t,"members",e,1),t},t.tSEnumDeclaration=t.tsEnumDeclaration=function(e,t){let r={type:"TSEnumDeclaration",id:e,members:t},n=o.TSEnumDeclaration;return s(n.id,r,"id",e,1),s(n.members,r,"members",t,1),r},t.tSEnumMember=t.tsEnumMember=function(e,t=null){let r={type:"TSEnumMember",id:e,initializer:t},n=o.TSEnumMember;return s(n.id,r,"id",e,1),s(n.initializer,r,"initializer",t,1),r},t.tSExportAssignment=t.tsExportAssignment=function(e){let t={type:"TSExportAssignment",expression:e};return s(o.TSExportAssignment.expression,t,"expression",e,1),t},t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=function(e,t=null){let r={type:"TSExpressionWithTypeArguments",expression:e,typeParameters:t},n=o.TSExpressionWithTypeArguments;return s(n.expression,r,"expression",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.tSExternalModuleReference=t.tsExternalModuleReference=function(e){let t={type:"TSExternalModuleReference",expression:e};return s(o.TSExternalModuleReference.expression,t,"expression",e,1),t},t.tSFunctionType=t.tsFunctionType=function(e=null,t,r=null){let n={type:"TSFunctionType",typeParameters:e,parameters:t,typeAnnotation:r},i=o.TSFunctionType;return s(i.typeParameters,n,"typeParameters",e,1),s(i.parameters,n,"parameters",t,1),s(i.typeAnnotation,n,"typeAnnotation",r,1),n},t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=function(e,t){let r={type:"TSImportEqualsDeclaration",id:e,moduleReference:t,isExport:null},n=o.TSImportEqualsDeclaration;return s(n.id,r,"id",e,1),s(n.moduleReference,r,"moduleReference",t,1),r},t.tSImportType=t.tsImportType=function(e,t=null,r=null){let n={type:"TSImportType",argument:e,qualifier:t,typeParameters:r},i=o.TSImportType;return s(i.argument,n,"argument",e,1),s(i.qualifier,n,"qualifier",t,1),s(i.typeParameters,n,"typeParameters",r,1),n},t.tSIndexSignature=t.tsIndexSignature=function(e,t=null){let r={type:"TSIndexSignature",parameters:e,typeAnnotation:t},n=o.TSIndexSignature;return s(n.parameters,r,"parameters",e,1),s(n.typeAnnotation,r,"typeAnnotation",t,1),r},t.tSIndexedAccessType=t.tsIndexedAccessType=function(e,t){let r={type:"TSIndexedAccessType",objectType:e,indexType:t},n=o.TSIndexedAccessType;return s(n.objectType,r,"objectType",e,1),s(n.indexType,r,"indexType",t,1),r},t.tSInferType=t.tsInferType=function(e){let t={type:"TSInferType",typeParameter:e};return s(o.TSInferType.typeParameter,t,"typeParameter",e,1),t},t.tSInstantiationExpression=t.tsInstantiationExpression=function(e,t=null){let r={type:"TSInstantiationExpression",expression:e,typeParameters:t},n=o.TSInstantiationExpression;return s(n.expression,r,"expression",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.tSInterfaceBody=t.tsInterfaceBody=function(e){let t={type:"TSInterfaceBody",body:e};return s(o.TSInterfaceBody.body,t,"body",e,1),t},t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=function(e,t=null,r=null,n){let i={type:"TSInterfaceDeclaration",id:e,typeParameters:t,extends:r,body:n},a=o.TSInterfaceDeclaration;return s(a.id,i,"id",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.extends,i,"extends",r,1),s(a.body,i,"body",n,1),i},t.tSIntersectionType=t.tsIntersectionType=function(e){let t={type:"TSIntersectionType",types:e};return s(o.TSIntersectionType.types,t,"types",e,1),t},t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=function(){return{type:"TSIntrinsicKeyword"}},t.tSLiteralType=t.tsLiteralType=function(e){let t={type:"TSLiteralType",literal:e};return s(o.TSLiteralType.literal,t,"literal",e,1),t},t.tSMappedType=t.tsMappedType=function(e,t=null,r=null){let n={type:"TSMappedType",typeParameter:e,typeAnnotation:t,nameType:r},i=o.TSMappedType;return s(i.typeParameter,n,"typeParameter",e,1),s(i.typeAnnotation,n,"typeAnnotation",t,1),s(i.nameType,n,"nameType",r,1),n},t.tSMethodSignature=t.tsMethodSignature=function(e,t=null,r,n=null){let i={type:"TSMethodSignature",key:e,typeParameters:t,parameters:r,typeAnnotation:n,kind:null},a=o.TSMethodSignature;return s(a.key,i,"key",e,1),s(a.typeParameters,i,"typeParameters",t,1),s(a.parameters,i,"parameters",r,1),s(a.typeAnnotation,i,"typeAnnotation",n,1),i},t.tSModuleBlock=t.tsModuleBlock=function(e){let t={type:"TSModuleBlock",body:e};return s(o.TSModuleBlock.body,t,"body",e,1),t},t.tSModuleDeclaration=t.tsModuleDeclaration=function(e,t){let r={type:"TSModuleDeclaration",id:e,body:t,kind:null},n=o.TSModuleDeclaration;return s(n.id,r,"id",e,1),s(n.body,r,"body",t,1),r},t.tSNamedTupleMember=t.tsNamedTupleMember=function(e,t,r=!1){let n={type:"TSNamedTupleMember",label:e,elementType:t,optional:r},i=o.TSNamedTupleMember;return s(i.label,n,"label",e,1),s(i.elementType,n,"elementType",t,1),s(i.optional,n,"optional",r),n},t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=function(e){let t={type:"TSNamespaceExportDeclaration",id:e};return s(o.TSNamespaceExportDeclaration.id,t,"id",e,1),t},t.tSNeverKeyword=t.tsNeverKeyword=function(){return{type:"TSNeverKeyword"}},t.tSNonNullExpression=t.tsNonNullExpression=function(e){let t={type:"TSNonNullExpression",expression:e};return s(o.TSNonNullExpression.expression,t,"expression",e,1),t},t.tSNullKeyword=t.tsNullKeyword=function(){return{type:"TSNullKeyword"}},t.tSNumberKeyword=t.tsNumberKeyword=function(){return{type:"TSNumberKeyword"}},t.tSObjectKeyword=t.tsObjectKeyword=function(){return{type:"TSObjectKeyword"}},t.tSOptionalType=t.tsOptionalType=function(e){let t={type:"TSOptionalType",typeAnnotation:e};return s(o.TSOptionalType.typeAnnotation,t,"typeAnnotation",e,1),t},t.tSParameterProperty=t.tsParameterProperty=function(e){let t={type:"TSParameterProperty",parameter:e};return s(o.TSParameterProperty.parameter,t,"parameter",e,1),t},t.tSParenthesizedType=t.tsParenthesizedType=function(e){let t={type:"TSParenthesizedType",typeAnnotation:e};return s(o.TSParenthesizedType.typeAnnotation,t,"typeAnnotation",e,1),t},t.tSPropertySignature=t.tsPropertySignature=function(e,t=null){let r={type:"TSPropertySignature",key:e,typeAnnotation:t},n=o.TSPropertySignature;return s(n.key,r,"key",e,1),s(n.typeAnnotation,r,"typeAnnotation",t,1),r},t.tSQualifiedName=t.tsQualifiedName=function(e,t){let r={type:"TSQualifiedName",left:e,right:t},n=o.TSQualifiedName;return s(n.left,r,"left",e,1),s(n.right,r,"right",t,1),r},t.tSRestType=t.tsRestType=function(e){let t={type:"TSRestType",typeAnnotation:e};return s(o.TSRestType.typeAnnotation,t,"typeAnnotation",e,1),t},t.tSSatisfiesExpression=t.tsSatisfiesExpression=function(e,t){let r={type:"TSSatisfiesExpression",expression:e,typeAnnotation:t},n=o.TSSatisfiesExpression;return s(n.expression,r,"expression",e,1),s(n.typeAnnotation,r,"typeAnnotation",t,1),r},t.tSStringKeyword=t.tsStringKeyword=function(){return{type:"TSStringKeyword"}},t.tSSymbolKeyword=t.tsSymbolKeyword=function(){return{type:"TSSymbolKeyword"}},t.tSTemplateLiteralType=t.tsTemplateLiteralType=function(e,t){let r={type:"TSTemplateLiteralType",quasis:e,types:t},n=o.TSTemplateLiteralType;return s(n.quasis,r,"quasis",e,1),s(n.types,r,"types",t,1),r},t.tSThisType=t.tsThisType=function(){return{type:"TSThisType"}},t.tSTupleType=t.tsTupleType=function(e){let t={type:"TSTupleType",elementTypes:e};return s(o.TSTupleType.elementTypes,t,"elementTypes",e,1),t},t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=function(e,t=null,r){let n={type:"TSTypeAliasDeclaration",id:e,typeParameters:t,typeAnnotation:r},i=o.TSTypeAliasDeclaration;return s(i.id,n,"id",e,1),s(i.typeParameters,n,"typeParameters",t,1),s(i.typeAnnotation,n,"typeAnnotation",r,1),n},t.tSTypeAnnotation=t.tsTypeAnnotation=function(e){let t={type:"TSTypeAnnotation",typeAnnotation:e};return s(o.TSTypeAnnotation.typeAnnotation,t,"typeAnnotation",e,1),t},t.tSTypeAssertion=t.tsTypeAssertion=function(e,t){let r={type:"TSTypeAssertion",typeAnnotation:e,expression:t},n=o.TSTypeAssertion;return s(n.typeAnnotation,r,"typeAnnotation",e,1),s(n.expression,r,"expression",t,1),r},t.tSTypeLiteral=t.tsTypeLiteral=function(e){let t={type:"TSTypeLiteral",members:e};return s(o.TSTypeLiteral.members,t,"members",e,1),t},t.tSTypeOperator=t.tsTypeOperator=function(e){let t={type:"TSTypeOperator",typeAnnotation:e,operator:null};return s(o.TSTypeOperator.typeAnnotation,t,"typeAnnotation",e,1),t},t.tSTypeParameter=t.tsTypeParameter=function(e=null,t=null,r){let n={type:"TSTypeParameter",constraint:e,default:t,name:r},i=o.TSTypeParameter;return s(i.constraint,n,"constraint",e,1),s(i.default,n,"default",t,1),s(i.name,n,"name",r),n},t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=function(e){let t={type:"TSTypeParameterDeclaration",params:e};return s(o.TSTypeParameterDeclaration.params,t,"params",e,1),t},t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=function(e){let t={type:"TSTypeParameterInstantiation",params:e};return s(o.TSTypeParameterInstantiation.params,t,"params",e,1),t},t.tSTypePredicate=t.tsTypePredicate=function(e,t=null,r=null){let n={type:"TSTypePredicate",parameterName:e,typeAnnotation:t,asserts:r},i=o.TSTypePredicate;return s(i.parameterName,n,"parameterName",e,1),s(i.typeAnnotation,n,"typeAnnotation",t,1),s(i.asserts,n,"asserts",r),n},t.tSTypeQuery=t.tsTypeQuery=function(e,t=null){let r={type:"TSTypeQuery",exprName:e,typeParameters:t},n=o.TSTypeQuery;return s(n.exprName,r,"exprName",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.tSTypeReference=t.tsTypeReference=function(e,t=null){let r={type:"TSTypeReference",typeName:e,typeParameters:t},n=o.TSTypeReference;return s(n.typeName,r,"typeName",e,1),s(n.typeParameters,r,"typeParameters",t,1),r},t.tSUndefinedKeyword=t.tsUndefinedKeyword=function(){return{type:"TSUndefinedKeyword"}},t.tSUnionType=t.tsUnionType=function(e){let t={type:"TSUnionType",types:e};return s(o.TSUnionType.types,t,"types",e,1),t},t.tSUnknownKeyword=t.tsUnknownKeyword=function(){return{type:"TSUnknownKeyword"}},t.tSVoidKeyword=t.tsVoidKeyword=function(){return{type:"TSVoidKeyword"}},t.tupleExpression=function(e=[]){let t={type:"TupleExpression",elements:e};return s(o.TupleExpression.elements,t,"elements",e,1),t},t.tupleTypeAnnotation=function(e){let t={type:"TupleTypeAnnotation",types:e};return s(o.TupleTypeAnnotation.types,t,"types",e,1),t},t.typeAlias=function(e,t=null,r){let n={type:"TypeAlias",id:e,typeParameters:t,right:r},i=o.TypeAlias;return s(i.id,n,"id",e,1),s(i.typeParameters,n,"typeParameters",t,1),s(i.right,n,"right",r,1),n},t.typeAnnotation=function(e){let t={type:"TypeAnnotation",typeAnnotation:e};return s(o.TypeAnnotation.typeAnnotation,t,"typeAnnotation",e,1),t},t.typeCastExpression=function(e,t){let r={type:"TypeCastExpression",expression:e,typeAnnotation:t},n=o.TypeCastExpression;return s(n.expression,r,"expression",e,1),s(n.typeAnnotation,r,"typeAnnotation",t,1),r},t.typeParameter=function(e=null,t=null,r=null){let n={type:"TypeParameter",bound:e,default:t,variance:r,name:null},i=o.TypeParameter;return s(i.bound,n,"bound",e,1),s(i.default,n,"default",t,1),s(i.variance,n,"variance",r,1),n},t.typeParameterDeclaration=function(e){let t={type:"TypeParameterDeclaration",params:e};return s(o.TypeParameterDeclaration.params,t,"params",e,1),t},t.typeParameterInstantiation=function(e){let t={type:"TypeParameterInstantiation",params:e};return s(o.TypeParameterInstantiation.params,t,"params",e,1),t},t.typeofTypeAnnotation=function(e){let t={type:"TypeofTypeAnnotation",argument:e};return s(o.TypeofTypeAnnotation.argument,t,"argument",e,1),t},t.unaryExpression=function(e,t,r=!0){let n={type:"UnaryExpression",operator:e,argument:t,prefix:r},i=o.UnaryExpression;return s(i.operator,n,"operator",e),s(i.argument,n,"argument",t,1),s(i.prefix,n,"prefix",r),n},t.unionTypeAnnotation=function(e){let t={type:"UnionTypeAnnotation",types:e};return s(o.UnionTypeAnnotation.types,t,"types",e,1),t},t.updateExpression=function(e,t,r=!1){let n={type:"UpdateExpression",operator:e,argument:t,prefix:r},i=o.UpdateExpression;return s(i.operator,n,"operator",e),s(i.argument,n,"argument",t,1),s(i.prefix,n,"prefix",r),n},t.v8IntrinsicIdentifier=function(e){let t={type:"V8IntrinsicIdentifier",name:e};return s(o.V8IntrinsicIdentifier.name,t,"name",e),t},t.variableDeclaration=function(e,t){let r={type:"VariableDeclaration",kind:e,declarations:t},n=o.VariableDeclaration;return s(n.kind,r,"kind",e),s(n.declarations,r,"declarations",t,1),r},t.variableDeclarator=function(e,t=null){let r={type:"VariableDeclarator",id:e,init:t},n=o.VariableDeclarator;return s(n.id,r,"id",e,1),s(n.init,r,"init",t,1),r},t.variance=function(e){let t={type:"Variance",kind:e};return s(o.Variance.kind,t,"kind",e),t},t.voidTypeAnnotation=function(){return{type:"VoidTypeAnnotation"}},t.whileStatement=function(e,t){let r={type:"WhileStatement",test:e,body:t},n=o.WhileStatement;return s(n.test,r,"test",e,1),s(n.body,r,"body",t,1),r},t.withStatement=function(e,t){let r={type:"WithStatement",object:e,body:t},n=o.WithStatement;return s(n.object,r,"object",e,1),s(n.body,r,"body",t,1),r},t.yieldExpression=function(e=null,t=!1){let r={type:"YieldExpression",argument:e,delegate:t},n=o.YieldExpression;return s(n.argument,r,"argument",e,1),s(n.delegate,r,"delegate",t),r};var n=r(15340),i=r(9144),a=r(64514);let{validateInternal:s}=n,{NODE_FIELDS:o}=a;function l(e){let t={type:"NumericLiteral",value:e};return s(o.NumericLiteral.value,t,"value",e),t}function u(e,t=""){let r={type:"RegExpLiteral",pattern:e,flags:t},n=o.RegExpLiteral;return s(n.pattern,r,"pattern",e),s(n.flags,r,"flags",t),r}function c(e){let t={type:"RestElement",argument:e};return s(o.RestElement.argument,t,"argument",e,1),t}function d(e){let t={type:"SpreadElement",argument:e};return s(o.SpreadElement.argument,t,"argument",e,1),t}},62032:(e,t,r)=>{"use strict";let n=Object.assign({},r(44392)),i=Object.keys(n);Object.defineProperty(n,"random",{get(){let e=Math.floor(Math.random()*i.length);return n[i[e]]}}),e.exports=n},62039:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!!(e[3]||e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},62077:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(r(7380),t),i(r(32423),t),i(r(21760),t),i(r(75897),t),i(r(54042),t),i(r(8152),t),i(r(58884),t);var a=r(36257);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return a.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return a.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return a.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return a.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return a.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return a.hasChildren}})},62112:e=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")},62217:(e,t)=>{"use strict";function r(e){if(Array.isArray(e))return e;if(e.split("[").length-1!=e.split("]").length-1)throw Error(`Path is invalid. Has unbalanced brackets: ${e}`);return e.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"toPath",{enumerable:!0,get:function(){return r}})},62503:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(42518)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(n,s,o):n[s]=e[s]}return n.default=e,r&&r.set(e,n),n}(r(65433));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).nodes||(r.nodes=[]),r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e);var r,n=t.prototype;return n.append=function(e){return e.parent=this,this.nodes.push(e),this},n.prepend=function(e){return e.parent=this,this.nodes.unshift(e),this},n.at=function(e){return this.nodes[e]},n.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},n.removeChild=function(e){var t;for(var r in e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this},n.removeAll=function(){for(var e,t=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return s(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}}(e))){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(this.nodes);!(e=t()).done;)e.value.parent=void 0;return this.nodes=[],this},n.empty=function(){return this.removeAll()},n.insertAfter=function(e,t){t.parent=this;var r,n=this.index(e);for(var i in this.nodes.splice(n+1,0,t),t.parent=this,this.indexes)n<=(r=this.indexes[i])&&(this.indexes[i]=r+1);return this},n.insertBefore=function(e,t){t.parent=this;var r,n=this.index(e);for(var i in this.nodes.splice(n,0,t),t.parent=this,this.indexes)(r=this.indexes[i])<=n&&(this.indexes[i]=r+1);return this},n._findChildAtPosition=function(e,t){var r=void 0;return this.each(function(n){if(n.atPosition){var i=n.atPosition(e,t);if(i)return r=i,!1}else if(n.isAtPosition(e,t))return r=n,!1}),r},n.atPosition=function(e,t){return this.isAtPosition(e,t)?this._findChildAtPosition(e,t)||this:void 0},n._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},n.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var t,r,n=this.lastEach;if(this.indexes[n]=0,this.length){for(;this.indexes[n]<this.length&&(t=this.indexes[n],!1!==(r=e(this.at(t),t)));)this.indexes[n]+=1;if(delete this.indexes[n],!1===r)return!1}},n.walk=function(e){return this.each(function(t,r){var n=e(t,r);if(!1!==n&&t.length&&(n=t.walk(e)),!1===n)return!1})},n.walkAttributes=function(e){var t=this;return this.walk(function(r){if(r.type===i.ATTRIBUTE)return e.call(t,r)})},n.walkClasses=function(e){var t=this;return this.walk(function(r){if(r.type===i.CLASS)return e.call(t,r)})},n.walkCombinators=function(e){var t=this;return this.walk(function(r){if(r.type===i.COMBINATOR)return e.call(t,r)})},n.walkComments=function(e){var t=this;return this.walk(function(r){if(r.type===i.COMMENT)return e.call(t,r)})},n.walkIds=function(e){var t=this;return this.walk(function(r){if(r.type===i.ID)return e.call(t,r)})},n.walkNesting=function(e){var t=this;return this.walk(function(r){if(r.type===i.NESTING)return e.call(t,r)})},n.walkPseudos=function(e){var t=this;return this.walk(function(r){if(r.type===i.PSEUDO)return e.call(t,r)})},n.walkTags=function(e){var t=this;return this.walk(function(r){if(r.type===i.TAG)return e.call(t,r)})},n.walkUniversals=function(e){var t=this;return this.walk(function(r){if(r.type===i.UNIVERSAL)return e.call(t,r)})},n.split=function(e){var t=this,r=[];return this.reduce(function(n,i,a){var s=e.call(t,i);return r.push(i),s?(n.push(r),r=[]):a===t.length-1&&n.push(r),n},[])},n.map=function(e){return this.nodes.map(e)},n.reduce=function(e,t){return this.nodes.reduce(e,t)},n.every=function(e){return this.nodes.every(e)},n.some=function(e){return this.nodes.some(e)},n.filter=function(e){return this.nodes.filter(e)},n.sort=function(e){return this.nodes.sort(e)},n.toString=function(){return this.map(String).join("")},r=[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(n.default),e.exports=t.default},62824:e=>{!function(){"use strict";function t(e,n,i){if(!e)return null;t.caseSensitive||(e=e.toLowerCase());var a,s=null===t.threshold?null:t.threshold*e.length,o=t.thresholdAbsolute;a=null!==s&&null!==o?Math.min(s,o):null!==s?s:null!==o?o:null;var l,u,c,d,p,h=n.length;for(p=0;p<h;p++)if(u=n[p],i&&(u=u[i]),u&&(d=function(e,t,n){n=n||0===n?n:r;var i=e.length,a=t.length;if(0===i)return Math.min(n+1,a);if(0===a)return Math.min(n+1,i);if(Math.abs(i-a)>n)return n+1;var s,o,l,u,c,d=[];for(s=0;s<=a;s++)d[s]=[s];for(o=0;o<=i;o++)d[0][o]=o;for(s=1;s<=a;s++){for(l=r,u=1,s>n&&(u=s-n),(c=a+1)>n+s&&(c=n+s),o=1;o<=i;o++)o<u||o>c?d[s][o]=n+1:t.charAt(s-1)===e.charAt(o-1)?d[s][o]=d[s-1][o-1]:d[s][o]=Math.min(d[s-1][o-1]+1,Math.min(d[s][o-1]+1,d[s-1][o]+1)),d[s][o]<l&&(l=d[s][o]);if(l>n)return n+1}return d[a][i]}(e,t.caseSensitive?u:u.toLowerCase(),a),null===a||d<a)&&(a=d,l=i&&t.returnWinningObject?n[p]:u,t.returnFirstMatch))return l;return l||t.nullResultValue}t.threshold=.4,t.thresholdAbsolute=20,t.caseSensitive=!1,t.nullResultValue=null,t.returnWinningObject=null,t.returnFirstMatch=!1,e.exports?e.exports=t:window.didYouMean=t;var r=0xffffffff}()},62993:(e,t,r)=>{try{var n=r(28354);if("function"!=typeof n.inherits)throw"";e.exports=n.inherits}catch(t){e.exports=r(13398)}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63628:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t)))&&(!!((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t)))||(0,n.isScopable)(e))};var n=r(48390)},63831:(e,t)=>{"use strict";function r(e){return(e=Array.isArray(e)?e:[e]).map(e=>{let t=e.values.map(e=>void 0!==e.raw?e.raw:[e.min&&`(min-width: ${e.min})`,e.max&&`(max-width: ${e.max})`].filter(Boolean).join(" and "));return e.not?`not all and ${t}`:t}).join(", ")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},63884:(e,t,r)=>{"use strict";t.__esModule=!0;var n=r(65433);Object.keys(n).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||(t[e]=n[e]))});var i=r(31571);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||(t[e]=i[e]))});var a=r(88968);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||(t[e]=a[e]))})},63987:(e,t,r)=>{var n=r(56554),i=r(71045),a=r(6969).C,s=r(90180).P;function o(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._ignoreInvalidMapping=i.getArg(e,"ignoreInvalidMapping",!1),this._sources=new a,this._names=new a,this._mappings=new s,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(e,t){var r=e.sourceRoot,n=new o(Object.assign(t||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(t.source=e.source,null!=r&&(t.source=i.relative(r,t.source)),t.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(t.name=e.name)),n.addMapping(t)}),e.sources.forEach(function(t){var a=t;null!==r&&(a=i.relative(r,t)),n._sources.has(a)||n._sources.add(a);var s=e.sourceContentFor(t);null!=s&&n.setSourceContent(t,s)}),n},o.prototype.addMapping=function(e){var t=i.getArg(e,"generated"),r=i.getArg(e,"original",null),n=i.getArg(e,"source",null),a=i.getArg(e,"name",null);(this._skipValidation||!1!==this._validateMapping(t,r,n,a))&&(null!=n&&(n=String(n),this._sources.has(n)||this._sources.add(n)),null!=a&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:n,name:a}))},o.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=i.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(e,t,r){var n=t;if(null==t){if(null==e.file)throw Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');n=e.file}var s=this._sourceRoot;null!=s&&(n=i.relative(s,n));var o=new a,l=new a;this._mappings.unsortedForEach(function(t){if(t.source===n&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=r&&(t.source=i.join(r,t.source)),null!=s&&(t.source=i.relative(s,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var u=t.source;null==u||o.has(u)||o.add(u);var c=t.name;null==c||l.has(c)||l.add(c)},this),this._sources=o,this._names=l,e.sources.forEach(function(t){var n=e.sourceContentFor(t);null!=n&&(null!=r&&(t=i.join(r,t)),null!=s&&(t=i.relative(s,t)),this.setSourceContent(t,n))},this)},o.prototype._validateMapping=function(e,t,r,n){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column){var i="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return"undefined"!=typeof console&&console.warn&&console.warn(i),!1;throw Error(i)}if(!e||!("line"in e)||!("column"in e)||!(e.line>0)||!(e.column>=0)||t||r||n){if(!e||!("line"in e)||!("column"in e)||!t||!("line"in t)||!("column"in t)||!(e.line>0)||!(e.column>=0)||!(t.line>0)||!(t.column>=0)||!r){var i="Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n});if(this._ignoreInvalidMapping)return"undefined"!=typeof console&&console.warn&&console.warn(i),!1;throw Error(i)}}},o.prototype._serializeMappings=function(){for(var e,t,r,a,s=0,o=1,l=0,u=0,c=0,d=0,p="",h=this._mappings.toArray(),m=0,f=h.length;m<f;m++){if(t=h[m],e="",t.generatedLine!==o)for(s=0;t.generatedLine!==o;)e+=";",o++;else if(m>0){if(!i.compareByGeneratedPositionsInflated(t,h[m-1]))continue;e+=","}e+=n.encode(t.generatedColumn-s),s=t.generatedColumn,null!=t.source&&(a=this._sources.indexOf(t.source),e+=n.encode(a-d),d=a,e+=n.encode(t.originalLine-1-u),u=t.originalLine-1,e+=n.encode(t.originalColumn-l),l=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=n.encode(r-c),c=r)),p+=e}return p},o.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=i.relative(t,e));var r=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},o.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.x=o},64073:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.render=void 0;var o=s(r(31736)),l=r(84812),u=r(30321),c=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function d(e){return e.replace(/"/g,"&quot;")}var p=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function h(e,t){void 0===t&&(t={});for(var r=("length"in e)?e:[e],i="",a=0;a<r.length;a++)i+=function(e,t){var r,i,a;switch(e.type){case o.Root:return h(e.children,t);case o.Doctype:case o.Directive:return r=e,"<".concat(r.data,">");case o.Comment:return i=e,"\x3c!--".concat(i.data,"--\x3e");case o.CDATA:return a=e,"<![CDATA[".concat(a.children[0].data,"]]>");case o.Script:case o.Style:case o.Tag:return function(e,t){"foreign"===t.xmlMode&&(e.name=null!=(r=u.elementNames.get(e.name))?r:e.name,e.parent&&m.has(e.parent.name)&&(t=n(n({},t),{xmlMode:!1}))),!t.xmlMode&&f.has(e.name)&&(t=n(n({},t),{xmlMode:"foreign"}));var r,i="<".concat(e.name),a=function(e,t){if(e){var r,n=(null!=(r=t.encodeEntities)?r:t.decodeEntities)===!1?d:t.xmlMode||"utf8"!==t.encodeEntities?l.encodeXML:l.escapeAttribute;return Object.keys(e).map(function(r){var i,a,s=null!=(i=e[r])?i:"";return("foreign"===t.xmlMode&&(r=null!=(a=u.attributeNames.get(r))?a:r),t.emptyAttrs||t.xmlMode||""!==s)?"".concat(r,'="').concat(n(s),'"'):r}).join(" ")}}(e.attribs,t);return a&&(i+=" ".concat(a)),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&p.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=h(e.children,t)),(t.xmlMode||!p.has(e.name))&&(i+="</".concat(e.name,">"))),i}(e,t);case o.Text:return function(e,t){var r,n=e.data||"";return(null!=(r=t.encodeEntities)?r:t.decodeEntities)===!1||!t.xmlMode&&e.parent&&c.has(e.parent.name)||(n=t.xmlMode||"utf8"!==t.encodeEntities?(0,l.encodeXML)(n):(0,l.escapeText)(n)),n}(e,t)}}(r[a],t);return i}t.render=h,t.default=h;var m=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),f=new Set(["svg","math"])},64180:(e,t,r)=>{Promise.resolve().then(r.bind(r,82043)),Promise.resolve().then(r.bind(r,29772)),Promise.resolve().then(r.bind(r,95499)),Promise.resolve().then(r.bind(r,88134))},64476:(e,t,r)=>{"use strict";let n;e=r.nmd(e);let i=(e,t)=>(...r)=>{let n=e(...r);return`\u001B[${n+t}m`},a=(e,t)=>(...r)=>{let n=e(...r);return`\u001B[${38+t};5;${n}m`},s=(e,t)=>(...r)=>{let n=e(...r);return`\u001B[${38+t};2;${n[0]};${n[1]};${n[2]}m`},o=e=>e,l=(e,t,r)=>[e,t,r],u=(e,t,r)=>{Object.defineProperty(e,t,{get:()=>{let n=r();return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})},c=(e,t,i,a)=>{void 0===n&&(n=r(86854));let s=10*!!a,o={};for(let[r,a]of Object.entries(n)){let n="ansi16"===r?"ansi":r;r===t?o[n]=e(i,s):"object"==typeof a&&(o[n]=e(a[t],s))}return o};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],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],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],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};for(let[r,n]of(t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright,Object.entries(t))){for(let[r,i]of Object.entries(n))t[r]={open:`\u001B[${i[0]}m`,close:`\u001B[${i[1]}m`},n[r]=t[r],e.set(i[0],i[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1b[39m",t.bgColor.close="\x1b[49m",u(t.color,"ansi",()=>c(i,"ansi16",o,!1)),u(t.color,"ansi256",()=>c(a,"ansi256",o,!1)),u(t.color,"ansi16m",()=>c(s,"rgb",l,!1)),u(t.bgColor,"ansi",()=>c(i,"ansi16",o,!0)),u(t.bgColor,"ansi256",()=>c(a,"ansi256",o,!0)),u(t.bgColor,"ansi16m",()=>c(s,"rgb",l,!0)),t}})},64514:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.allExpandedTypes=t.VISITOR_KEYS=t.NODE_PARENT_VALIDATIONS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.ALIAS_KEYS=void 0,t.arrayOf=m,t.arrayOfType=f,t.assertEach=y,t.assertNodeOrValueType=function(...e){function t(t,r,a){let s=p(a);for(let o of e)if(s===o||(0,n.default)(o,a))return void(0,i.validateChild)(t,r,a);throw TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(null==a?void 0:a.type)}`)}return t.oneOfNodeOrValueTypes=e,t},t.assertNodeType=b,t.assertOneOf=function(...e){function t(t,r,n){if(!e.includes(n))throw TypeError(`Property ${r} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(n)}`)}return t.oneOf=e,t},t.assertOptionalChainStart=function(){return function(e){var t;let r=e;for(;e;){let{type:e}=r;if("OptionalCallExpression"===e){if(r.optional)return;r=r.callee;continue}if("OptionalMemberExpression"===e){if(r.optional)return;r=r.object;continue}break}throw TypeError(`Non-optional ${e.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${null==(t=r)?void 0:t.type}`)}},t.assertShape=function(e){let t=Object.keys(e);function r(r,n,a){let s=[];for(let n of t)try{(0,i.validateField)(r,n,a[n],e[n])}catch(e){if(e instanceof TypeError){s.push(e.message);continue}throw e}if(s.length)throw TypeError(`Property ${n} of ${r.type} expected to have the following:
232
232
  ${s.join("\n")}`)}return r.shapeOf=e,r},t.assertValueType=w,t.chain=v,t.default=E,t.defineAliasedType=function(...e){return(t,r={})=>{let n=r.aliases;if(!n){var i;r.inherits&&(n=null==(i=S[r.inherits].aliases)?void 0:i.slice()),null!=n||(n=[]),r.aliases=n}let a=e.filter(e=>!n.includes(e));n.unshift(...a),E(t,r)}},t.validate=h,t.validateArrayOfType=function(...e){return h(f(...e))},t.validateOptional=function(e){return{validate:e,optional:!0}},t.validateOptionalType=function(...e){return{validate:b(...e),optional:!0}},t.validateType=function(...e){return h(b(...e))};var n=r(14814),i=r(15340);let a=t.VISITOR_KEYS={},s=t.ALIAS_KEYS={},o=t.FLIPPED_ALIAS_KEYS={},l=t.NODE_FIELDS={},u=t.BUILDER_KEYS={},c=t.DEPRECATED_KEYS={},d=t.NODE_PARENT_VALIDATIONS={};function p(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function h(e){return{validate:e}}function m(e){return v(w("array"),y(e))}function f(...e){return m(b(...e))}function y(e){let t=process.env.BABEL_TYPES_8_BREAKING?i.validateChild:()=>{};function r(r,n,i){if(!Array.isArray(i))return;let a=0,s={toString:()=>`${n}[${a}]`};for(;a<i.length;a++){let n=i[a];e(r,s,n),t(r,s,n)}}return r.each=e,r}let g=t.allExpandedTypes=[];function b(...e){let t=new Set;function r(r,a,s){let o=null==s?void 0:s.type;if(null!=o){if(t.has(o))return void(0,i.validateChild)(r,a,s);if("Placeholder"===o){for(let t of e)if((0,n.default)(t,s))return void(0,i.validateChild)(r,a,s)}}throw TypeError(`Property ${a} of ${r.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(o)}`)}return g.push({types:e,set:t}),r.oneOfNodeTypes=e,r}function w(e){function t(t,r,n){if(p(n)!==e)throw TypeError(`Property ${r} expected type of ${e} but got ${p(n)}`)}return t.type=e,t}function v(...e){function t(...r){for(let t of e)t(...r)}if(t.chainOf=e,e.length>=2&&"type"in e[0]&&"array"===e[0].type&&!("each"in e[1]))throw Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return t}let k=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),x=new Set(["default","optional","deprecated","validate"]),S={};function E(e,t={}){let r=t.inherits&&S[t.inherits]||{},n=t.fields;if(!n&&(n={},r.fields))for(let e of Object.getOwnPropertyNames(r.fields)){let t=r.fields[e],i=t.default;if(Array.isArray(i)?i.length>0:i&&"object"==typeof i)throw Error("field defaults can only be primitives or empty arrays currently");n[e]={default:Array.isArray(i)?[]:i,optional:t.optional,deprecated:t.deprecated,validate:t.validate}}let i=t.visitor||r.visitor||[],h=t.aliases||r.aliases||[],m=t.builder||r.builder||t.visitor||[];for(let r of Object.keys(t))if(!k.has(r))throw Error(`Unknown type option "${r}" on ${e}`);for(let r of(t.deprecatedAlias&&(c[t.deprecatedAlias]=e),i.concat(m)))n[r]=n[r]||{};for(let t of Object.keys(n)){let r=n[t];for(let n of(void 0===r.default||m.includes(t)||(r.optional=!0),void 0===r.default?r.default=null:r.validate||null==r.default||(r.validate=w(p(r.default))),Object.keys(r)))if(!x.has(n))throw Error(`Unknown field key "${n}" on ${e}.${t}`)}a[e]=t.visitor=i,u[e]=t.builder=m,l[e]=t.fields=n,s[e]=t.aliases=h,h.forEach(t=>{o[t]=o[t]||[],o[t].push(e)}),t.validate&&(d[e]=t.validate),S[e]=t}},64599:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return c},RedirectType:function(){return i.RedirectType},forbidden:function(){return s.forbidden},notFound:function(){return a.notFound},permanentRedirect:function(){return n.permanentRedirect},redirect:function(){return n.redirect},unauthorized:function(){return o.unauthorized},unstable_rethrow:function(){return l.unstable_rethrow}});let n=r(34016),i=r(55391),a=r(69090),s=r(34339),o=r(85574),l=r(70418);class u extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class c extends URLSearchParams{append(){throw new u}delete(){throw new u}set(){throw new u}sort(){throw new u}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},64731:(e,t,r)=>{"use strict";let n;r.r(t),r.d(t,{getEmailComponent:()=>tb});var i,a,s,o,l,u,c=r(76760),d=r.n(c),p=r(69322);!function(e){e.assertEqual=e=>e,e.assertIs=function(e){},e.assertNever=function(e){throw Error()},e.arrayToEnum=e=>{let t={};for(let r of e)t[r]=r;return t},e.getValidEnumValues=t=>{let r=e.objectKeys(t).filter(e=>"number"!=typeof t[t[e]]),n={};for(let e of r)n[e]=t[e];return e.objectValues(n)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},e.find=(e,t)=>{for(let r of e)if(t(r))return r},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(i||(i={})),(a||(a={})).mergeShapes=(e,t)=>({...e,...t});let h=i.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),m=e=>{switch(typeof e){case"undefined":return h.undefined;case"string":return h.string;case"number":return isNaN(e)?h.nan:h.number;case"boolean":return h.boolean;case"function":return h.function;case"bigint":return h.bigint;case"symbol":return h.symbol;case"object":if(Array.isArray(e))return h.array;if(null===e)return h.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return h.promise;if("undefined"!=typeof Map&&e instanceof Map)return h.map;if("undefined"!=typeof Set&&e instanceof Set)return h.set;if("undefined"!=typeof Date&&e instanceof Date)return h.date;return h.object;default:return h.unknown}},f=i.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class y extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){let t=e||function(e){return e.message},r={_errors:[]},n=e=>{for(let i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(n);else if("invalid_return_type"===i.code)n(i.returnTypeError);else if("invalid_arguments"===i.code)n(i.argumentsError);else if(0===i.path.length)r._errors.push(t(i));else{let e=r,n=0;for(;n<i.path.length;){let r=i.path[n];n===i.path.length-1?(e[r]=e[r]||{_errors:[]},e[r]._errors.push(t(i))):e[r]=e[r]||{_errors:[]},e=e[r],n++}}};return n(this),r}static assert(e){if(!(e instanceof y))throw Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,i.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t={},r=[];for(let n of this.issues)n.path.length>0?(t[n.path[0]]=t[n.path[0]]||[],t[n.path[0]].push(e(n))):r.push(e(n));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}y.create=e=>new y(e);let g=(e,t)=>{let r;switch(e.code){case f.invalid_type:r=e.received===h.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case f.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,i.jsonStringifyReplacer)}`;break;case f.unrecognized_keys:r=`Unrecognized key(s) in object: ${i.joinValues(e.keys,", ")}`;break;case f.invalid_union:r="Invalid input";break;case f.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${i.joinValues(e.options)}`;break;case f.invalid_enum_value:r=`Invalid enum value. Expected ${i.joinValues(e.options)}, received '${e.received}'`;break;case f.invalid_arguments:r="Invalid function arguments";break;case f.invalid_return_type:r="Invalid function return type";break;case f.invalid_date:r="Invalid date";break;case f.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:i.assertNever(e.validation):r="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case f.too_small:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case f.too_big:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case f.custom:r="Invalid input";break;case f.invalid_intersection_types:r="Intersection results could not be merged";break;case f.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case f.not_finite:r="Number must be finite";break;default:r=t.defaultError,i.assertNever(e)}return{message:r}},b=g;function w(){return b}let v=e=>{let{data:t,path:r,errorMaps:n,issueData:i}=e,a=[...r,...i.path||[]],s={...i,path:a};if(void 0!==i.message)return{...i,path:a,message:i.message};let o="";for(let e of n.filter(e=>!!e).slice().reverse())o=e(s,{data:t,defaultError:o}).message;return{...i,path:a,message:o}};function k(e,t){let r=w(),n=v({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===g?void 0:g].filter(e=>!!e)});e.common.issues.push(n)}class x{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let r=[];for(let n of t){if("aborted"===n.status)return S;"dirty"===n.status&&e.dirty(),r.push(n.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){let r=[];for(let e of t){let t=await e.key,n=await e.value;r.push({key:t,value:n})}return x.mergeObjectSync(e,r)}static mergeObjectSync(e,t){let r={};for(let n of t){let{key:t,value:i}=n;if("aborted"===t.status||"aborted"===i.status)return S;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==i.value||n.alwaysSet)&&(r[t.value]=i.value)}return{status:e.value,value:r}}}let S=Object.freeze({status:"aborted"}),E=e=>({status:"dirty",value:e}),T=e=>({status:"valid",value:e}),_=e=>"aborted"===e.status,A=e=>"dirty"===e.status,C=e=>"valid"===e.status,P=e=>"undefined"!=typeof Promise&&e instanceof Promise;function D(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function I(e,t,r,n,i){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r}"function"==typeof SuppressedError&&SuppressedError,function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:null==e?void 0:e.message}(s||(s={}));class O{constructor(e,t,r,n){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=n}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let N=(e,t)=>{if(C(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new y(e.common.issues);return this._error=t,this._error}}};function L(e){if(!e)return{};let{errorMap:t,invalid_type_error:r,required_error:n,description:i}=e;if(t&&(r||n))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:i}:{errorMap:(t,i)=>{var a,s;let{message:o}=e;return"invalid_enum_value"===t.code?{message:null!=o?o:i.defaultError}:void 0===i.data?{message:null!=(a=null!=o?o:n)?a:i.defaultError}:"invalid_type"!==t.code?{message:i.defaultError}:{message:null!=(s=null!=o?o:r)?s:i.defaultError}},description:i}}class R{get description(){return this._def.description}_getType(e){return m(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:m(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new x,ctx:{common:e.parent.common,data:e.data,parsedType:m(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(P(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){var r;let n={common:{issues:[],async:null!=(r=null==t?void 0:t.async)&&r,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:m(e)},i=this._parseSync({data:e,path:n.path,parent:n});return N(n,i)}"~validate"(e){var t,r;let n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:m(e)};if(!this["~standard"].async)try{let t=this._parseSync({data:e,path:[],parent:n});return C(t)?{value:t.value}:{issues:n.common.issues}}catch(e){(null==(r=null==(t=null==e?void 0:e.message)?void 0:t.toLowerCase())?void 0:r.includes("encountered"))&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:n}).then(e=>C(e)?{value:e.value}:{issues:n.common.issues})}async parseAsync(e,t){let r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){let r={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:m(e)},n=this._parse({data:e,path:r.path,parent:r});return N(r,await (P(n)?n:Promise.resolve(n)))}refine(e,t){let r=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,n)=>{let i=e(t),a=()=>n.addIssue({code:f.custom,...r(t)});return"undefined"!=typeof Promise&&i instanceof Promise?i.then(e=>!!e||(a(),!1)):!!i||(a(),!1)})}refinement(e,t){return this._refinement((r,n)=>!!e(r)||(n.addIssue("function"==typeof t?t(r,n):t),!1))}_refinement(e){return new eP({schema:this,typeName:u.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return eD.create(this,this._def)}nullable(){return eI.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ep.create(this)}promise(){return eC.create(this,this._def)}or(e){return em.create([this,e],this._def)}and(e){return eg.create(this,e,this._def)}transform(e){return new eP({...L(this._def),schema:this,typeName:u.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new eO({...L(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:u.ZodDefault})}brand(){return new eM({typeName:u.ZodBranded,type:this,...L(this._def)})}catch(e){return new eN({...L(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:u.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return eF.create(this,e)}readonly(){return eB.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let M=/^c[^\s-]{8,}$/i,F=/^[0-9a-z]+$/,B=/^[0-9A-HJKMNP-TV-Z]{26}$/i,j=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,U=/^[a-z0-9_-]{21}$/i,$=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,q=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,z=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,V=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,H=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,G=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,W=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,K=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Y=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,X="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",Z=RegExp(`^${X}$`);function J(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`),t}function Q(e){let t=`${X}T${J(e)}`,r=[];return r.push(e.local?"Z?":"Z"),e.offset&&r.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${r.join("|")})`,RegExp(`^${t}$`)}class ee extends R{_parse(e){var t,r,a,s;let o;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==h.string){let t=this._getOrReturnCtx(e);return k(t,{code:f.invalid_type,expected:h.string,received:t.parsedType}),S}let l=new x;for(let u of this._def.checks)if("min"===u.kind)e.data.length<u.value&&(k(o=this._getOrReturnCtx(e,o),{code:f.too_small,minimum:u.value,type:"string",inclusive:!0,exact:!1,message:u.message}),l.dirty());else if("max"===u.kind)e.data.length>u.value&&(k(o=this._getOrReturnCtx(e,o),{code:f.too_big,maximum:u.value,type:"string",inclusive:!0,exact:!1,message:u.message}),l.dirty());else if("length"===u.kind){let t=e.data.length>u.value,r=e.data.length<u.value;(t||r)&&(o=this._getOrReturnCtx(e,o),t?k(o,{code:f.too_big,maximum:u.value,type:"string",inclusive:!0,exact:!0,message:u.message}):r&&k(o,{code:f.too_small,minimum:u.value,type:"string",inclusive:!0,exact:!0,message:u.message}),l.dirty())}else if("email"===u.kind)z.test(e.data)||(k(o=this._getOrReturnCtx(e,o),{validation:"email",code:f.invalid_string,message:u.message}),l.dirty());else if("emoji"===u.kind)n||(n=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),n.test(e.data)||(k(o=this._getOrReturnCtx(e,o),{validation:"emoji",code:f.invalid_string,message:u.message}),l.dirty());else if("uuid"===u.kind)j.test(e.data)||(k(o=this._getOrReturnCtx(e,o),{validation:"uuid",code:f.invalid_string,message:u.message}),l.dirty());else if("nanoid"===u.kind)U.test(e.data)||(k(o=this._getOrReturnCtx(e,o),{validation:"nanoid",code:f.invalid_string,message:u.message}),l.dirty());else if("cuid"===u.kind)M.test(e.data)||(k(o=this._getOrReturnCtx(e,o),{validation:"cuid",code:f.invalid_string,message:u.message}),l.dirty());else if("cuid2"===u.kind)F.test(e.data)||(k(o=this._getOrReturnCtx(e,o),{validation:"cuid2",code:f.invalid_string,message:u.message}),l.dirty());else if("ulid"===u.kind)B.test(e.data)||(k(o=this._getOrReturnCtx(e,o),{validation:"ulid",code:f.invalid_string,message:u.message}),l.dirty());else if("url"===u.kind)try{new URL(e.data)}catch(t){k(o=this._getOrReturnCtx(e,o),{validation:"url",code:f.invalid_string,message:u.message}),l.dirty()}else"regex"===u.kind?(u.regex.lastIndex=0,u.regex.test(e.data)||(k(o=this._getOrReturnCtx(e,o),{validation:"regex",code:f.invalid_string,message:u.message}),l.dirty())):"trim"===u.kind?e.data=e.data.trim():"includes"===u.kind?e.data.includes(u.value,u.position)||(k(o=this._getOrReturnCtx(e,o),{code:f.invalid_string,validation:{includes:u.value,position:u.position},message:u.message}),l.dirty()):"toLowerCase"===u.kind?e.data=e.data.toLowerCase():"toUpperCase"===u.kind?e.data=e.data.toUpperCase():"startsWith"===u.kind?e.data.startsWith(u.value)||(k(o=this._getOrReturnCtx(e,o),{code:f.invalid_string,validation:{startsWith:u.value},message:u.message}),l.dirty()):"endsWith"===u.kind?e.data.endsWith(u.value)||(k(o=this._getOrReturnCtx(e,o),{code:f.invalid_string,validation:{endsWith:u.value},message:u.message}),l.dirty()):"datetime"===u.kind?Q(u).test(e.data)||(k(o=this._getOrReturnCtx(e,o),{code:f.invalid_string,validation:"datetime",message:u.message}),l.dirty()):"date"===u.kind?Z.test(e.data)||(k(o=this._getOrReturnCtx(e,o),{code:f.invalid_string,validation:"date",message:u.message}),l.dirty()):"time"===u.kind?RegExp(`^${J(u)}$`).test(e.data)||(k(o=this._getOrReturnCtx(e,o),{code:f.invalid_string,validation:"time",message:u.message}),l.dirty()):"duration"===u.kind?q.test(e.data)||(k(o=this._getOrReturnCtx(e,o),{validation:"duration",code:f.invalid_string,message:u.message}),l.dirty()):"ip"===u.kind?(t=e.data,!(("v4"===(r=u.version)||!r)&&V.test(t)||("v6"===r||!r)&&G.test(t))&&1&&(k(o=this._getOrReturnCtx(e,o),{validation:"ip",code:f.invalid_string,message:u.message}),l.dirty())):"jwt"===u.kind?!function(e,t){if(!$.test(e))return!1;try{let[r]=e.split("."),n=r.replace(/-/g,"+").replace(/_/g,"/").padEnd(r.length+(4-r.length%4)%4,"="),i=JSON.parse(atob(n));if("object"!=typeof i||null===i||!i.typ||!i.alg||t&&i.alg!==t)return!1;return!0}catch(e){return!1}}(e.data,u.alg)&&(k(o=this._getOrReturnCtx(e,o),{validation:"jwt",code:f.invalid_string,message:u.message}),l.dirty()):"cidr"===u.kind?(a=e.data,!(("v4"===(s=u.version)||!s)&&H.test(a)||("v6"===s||!s)&&W.test(a))&&1&&(k(o=this._getOrReturnCtx(e,o),{validation:"cidr",code:f.invalid_string,message:u.message}),l.dirty())):"base64"===u.kind?K.test(e.data)||(k(o=this._getOrReturnCtx(e,o),{validation:"base64",code:f.invalid_string,message:u.message}),l.dirty()):"base64url"===u.kind?Y.test(e.data)||(k(o=this._getOrReturnCtx(e,o),{validation:"base64url",code:f.invalid_string,message:u.message}),l.dirty()):i.assertNever(u);return{status:l.value,value:e.data}}_regex(e,t,r){return this.refinement(t=>e.test(t),{validation:t,code:f.invalid_string,...s.errToObj(r)})}_addCheck(e){return new ee({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...s.errToObj(e)})}url(e){return this._addCheck({kind:"url",...s.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...s.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...s.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...s.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...s.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...s.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...s.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...s.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...s.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...s.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...s.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...s.errToObj(e)})}datetime(e){var t,r;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!=(t=null==e?void 0:e.offset)&&t,local:null!=(r=null==e?void 0:e.local)&&r,...s.errToObj(null==e?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,...s.errToObj(null==e?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...s.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...s.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...s.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...s.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...s.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...s.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...s.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...s.errToObj(t)})}nonempty(e){return this.min(1,s.errToObj(e))}trim(){return new ee({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ee({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ee({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}ee.create=e=>{var t;return new ee({checks:[],typeName:u.ZodString,coerce:null!=(t=null==e?void 0:e.coerce)&&t,...L(e)})};class et extends R{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==h.number){let t=this._getOrReturnCtx(e);return k(t,{code:f.invalid_type,expected:h.number,received:t.parsedType}),S}let r=new x;for(let n of this._def.checks)"int"===n.kind?i.isInteger(e.data)||(k(t=this._getOrReturnCtx(e,t),{code:f.invalid_type,expected:"integer",received:"float",message:n.message}),r.dirty()):"min"===n.kind?(n.inclusive?e.data<n.value:e.data<=n.value)&&(k(t=this._getOrReturnCtx(e,t),{code:f.too_small,minimum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),r.dirty()):"max"===n.kind?(n.inclusive?e.data>n.value:e.data>=n.value)&&(k(t=this._getOrReturnCtx(e,t),{code:f.too_big,maximum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),r.dirty()):"multipleOf"===n.kind?0!==function(e,t){let r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,i=r>n?r:n;return parseInt(e.toFixed(i).replace(".",""))%parseInt(t.toFixed(i).replace(".",""))/Math.pow(10,i)}(e.data,n.value)&&(k(t=this._getOrReturnCtx(e,t),{code:f.not_multiple_of,multipleOf:n.value,message:n.message}),r.dirty()):"finite"===n.kind?Number.isFinite(e.data)||(k(t=this._getOrReturnCtx(e,t),{code:f.not_finite,message:n.message}),r.dirty()):i.assertNever(n);return{status:r.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,s.toString(t))}gt(e,t){return this.setLimit("min",e,!1,s.toString(t))}lte(e,t){return this.setLimit("max",e,!0,s.toString(t))}lt(e,t){return this.setLimit("max",e,!1,s.toString(t))}setLimit(e,t,r,n){return new et({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:s.toString(n)}]})}_addCheck(e){return new et({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:s.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:s.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:s.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:s.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:s.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:s.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:s.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:s.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:s.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&i.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let r of this._def.checks)if("finite"===r.kind||"int"===r.kind||"multipleOf"===r.kind)return!0;else"min"===r.kind?(null===t||r.value>t)&&(t=r.value):"max"===r.kind&&(null===e||r.value<e)&&(e=r.value);return Number.isFinite(t)&&Number.isFinite(e)}}et.create=e=>new et({checks:[],typeName:u.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...L(e)});class er extends R{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce)try{e.data=BigInt(e.data)}catch(t){return this._getInvalidInput(e)}if(this._getType(e)!==h.bigint)return this._getInvalidInput(e);let r=new x;for(let n of this._def.checks)"min"===n.kind?(n.inclusive?e.data<n.value:e.data<=n.value)&&(k(t=this._getOrReturnCtx(e,t),{code:f.too_small,type:"bigint",minimum:n.value,inclusive:n.inclusive,message:n.message}),r.dirty()):"max"===n.kind?(n.inclusive?e.data>n.value:e.data>=n.value)&&(k(t=this._getOrReturnCtx(e,t),{code:f.too_big,type:"bigint",maximum:n.value,inclusive:n.inclusive,message:n.message}),r.dirty()):"multipleOf"===n.kind?e.data%n.value!==BigInt(0)&&(k(t=this._getOrReturnCtx(e,t),{code:f.not_multiple_of,multipleOf:n.value,message:n.message}),r.dirty()):i.assertNever(n);return{status:r.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return k(t,{code:f.invalid_type,expected:h.bigint,received:t.parsedType}),S}gte(e,t){return this.setLimit("min",e,!0,s.toString(t))}gt(e,t){return this.setLimit("min",e,!1,s.toString(t))}lte(e,t){return this.setLimit("max",e,!0,s.toString(t))}lt(e,t){return this.setLimit("max",e,!1,s.toString(t))}setLimit(e,t,r,n){return new er({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:s.toString(n)}]})}_addCheck(e){return new er({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:s.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:s.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:s.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:s.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:s.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}er.create=e=>{var t;return new er({checks:[],typeName:u.ZodBigInt,coerce:null!=(t=null==e?void 0:e.coerce)&&t,...L(e)})};class en extends R{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==h.boolean){let t=this._getOrReturnCtx(e);return k(t,{code:f.invalid_type,expected:h.boolean,received:t.parsedType}),S}return T(e.data)}}en.create=e=>new en({typeName:u.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...L(e)});class ei extends R{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==h.date){let t=this._getOrReturnCtx(e);return k(t,{code:f.invalid_type,expected:h.date,received:t.parsedType}),S}if(isNaN(e.data.getTime()))return k(this._getOrReturnCtx(e),{code:f.invalid_date}),S;let r=new x;for(let n of this._def.checks)"min"===n.kind?e.data.getTime()<n.value&&(k(t=this._getOrReturnCtx(e,t),{code:f.too_small,message:n.message,inclusive:!0,exact:!1,minimum:n.value,type:"date"}),r.dirty()):"max"===n.kind?e.data.getTime()>n.value&&(k(t=this._getOrReturnCtx(e,t),{code:f.too_big,message:n.message,inclusive:!0,exact:!1,maximum:n.value,type:"date"}),r.dirty()):i.assertNever(n);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new ei({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:s.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:s.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}ei.create=e=>new ei({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:u.ZodDate,...L(e)});class ea extends R{_parse(e){if(this._getType(e)!==h.symbol){let t=this._getOrReturnCtx(e);return k(t,{code:f.invalid_type,expected:h.symbol,received:t.parsedType}),S}return T(e.data)}}ea.create=e=>new ea({typeName:u.ZodSymbol,...L(e)});class es extends R{_parse(e){if(this._getType(e)!==h.undefined){let t=this._getOrReturnCtx(e);return k(t,{code:f.invalid_type,expected:h.undefined,received:t.parsedType}),S}return T(e.data)}}es.create=e=>new es({typeName:u.ZodUndefined,...L(e)});class eo extends R{_parse(e){if(this._getType(e)!==h.null){let t=this._getOrReturnCtx(e);return k(t,{code:f.invalid_type,expected:h.null,received:t.parsedType}),S}return T(e.data)}}eo.create=e=>new eo({typeName:u.ZodNull,...L(e)});class el extends R{constructor(){super(...arguments),this._any=!0}_parse(e){return T(e.data)}}el.create=e=>new el({typeName:u.ZodAny,...L(e)});class eu extends R{constructor(){super(...arguments),this._unknown=!0}_parse(e){return T(e.data)}}eu.create=e=>new eu({typeName:u.ZodUnknown,...L(e)});class ec extends R{_parse(e){let t=this._getOrReturnCtx(e);return k(t,{code:f.invalid_type,expected:h.never,received:t.parsedType}),S}}ec.create=e=>new ec({typeName:u.ZodNever,...L(e)});class ed extends R{_parse(e){if(this._getType(e)!==h.undefined){let t=this._getOrReturnCtx(e);return k(t,{code:f.invalid_type,expected:h.void,received:t.parsedType}),S}return T(e.data)}}ed.create=e=>new ed({typeName:u.ZodVoid,...L(e)});class ep extends R{_parse(e){let{ctx:t,status:r}=this._processInputParams(e),n=this._def;if(t.parsedType!==h.array)return k(t,{code:f.invalid_type,expected:h.array,received:t.parsedType}),S;if(null!==n.exactLength){let e=t.data.length>n.exactLength.value,i=t.data.length<n.exactLength.value;(e||i)&&(k(t,{code:e?f.too_big:f.too_small,minimum:i?n.exactLength.value:void 0,maximum:e?n.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:n.exactLength.message}),r.dirty())}if(null!==n.minLength&&t.data.length<n.minLength.value&&(k(t,{code:f.too_small,minimum:n.minLength.value,type:"array",inclusive:!0,exact:!1,message:n.minLength.message}),r.dirty()),null!==n.maxLength&&t.data.length>n.maxLength.value&&(k(t,{code:f.too_big,maximum:n.maxLength.value,type:"array",inclusive:!0,exact:!1,message:n.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map((e,r)=>n.type._parseAsync(new O(t,e,t.path,r)))).then(e=>x.mergeArray(r,e));let i=[...t.data].map((e,r)=>n.type._parseSync(new O(t,e,t.path,r)));return x.mergeArray(r,i)}get element(){return this._def.type}min(e,t){return new ep({...this._def,minLength:{value:e,message:s.toString(t)}})}max(e,t){return new ep({...this._def,maxLength:{value:e,message:s.toString(t)}})}length(e,t){return new ep({...this._def,exactLength:{value:e,message:s.toString(t)}})}nonempty(e){return this.min(1,e)}}ep.create=(e,t)=>new ep({type:e,minLength:null,maxLength:null,exactLength:null,typeName:u.ZodArray,...L(t)});class eh extends R{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=i.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==h.object){let t=this._getOrReturnCtx(e);return k(t,{code:f.invalid_type,expected:h.object,received:t.parsedType}),S}let{status:t,ctx:r}=this._processInputParams(e),{shape:n,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof ec&&"strip"===this._def.unknownKeys))for(let e in r.data)i.includes(e)||a.push(e);let s=[];for(let e of i){let t=n[e],i=r.data[e];s.push({key:{status:"valid",value:e},value:t._parse(new O(r,i,r.path,e)),alwaysSet:e in r.data})}if(this._def.catchall instanceof ec){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of a)s.push({key:{status:"valid",value:e},value:{status:"valid",value:r.data[e]}});else if("strict"===e)a.length>0&&(k(r,{code:f.unrecognized_keys,keys:a}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of a){let n=r.data[t];s.push({key:{status:"valid",value:t},value:e._parse(new O(r,n,r.path,t)),alwaysSet:t in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of s){let r=await t.key,n=await t.value;e.push({key:r,value:n,alwaysSet:t.alwaysSet})}return e}).then(e=>x.mergeObjectSync(t,e)):x.mergeObjectSync(t,s)}get shape(){return this._def.shape()}strict(e){return s.errToObj,new eh({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,r)=>{var n,i,a,o;let l=null!=(a=null==(i=(n=this._def).errorMap)?void 0:i.call(n,t,r).message)?a:r.defaultError;return"unrecognized_keys"===t.code?{message:null!=(o=s.errToObj(e).message)?o:l}:{message:l}}}:{}})}strip(){return new eh({...this._def,unknownKeys:"strip"})}passthrough(){return new eh({...this._def,unknownKeys:"passthrough"})}extend(e){return new eh({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new eh({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:u.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new eh({...this._def,catchall:e})}pick(e){let t={};return i.objectKeys(e).forEach(r=>{e[r]&&this.shape[r]&&(t[r]=this.shape[r])}),new eh({...this._def,shape:()=>t})}omit(e){let t={};return i.objectKeys(this.shape).forEach(r=>{e[r]||(t[r]=this.shape[r])}),new eh({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof eh){let r={};for(let n in t.shape){let i=t.shape[n];r[n]=eD.create(e(i))}return new eh({...t._def,shape:()=>r})}if(t instanceof ep)return new ep({...t._def,type:e(t.element)});if(t instanceof eD)return eD.create(e(t.unwrap()));if(t instanceof eI)return eI.create(e(t.unwrap()));if(t instanceof eb)return eb.create(t.items.map(t=>e(t)));else return t}(this)}partial(e){let t={};return i.objectKeys(this.shape).forEach(r=>{let n=this.shape[r];e&&!e[r]?t[r]=n:t[r]=n.optional()}),new eh({...this._def,shape:()=>t})}required(e){let t={};return i.objectKeys(this.shape).forEach(r=>{if(e&&!e[r])t[r]=this.shape[r];else{let e=this.shape[r];for(;e instanceof eD;)e=e._def.innerType;t[r]=e}}),new eh({...this._def,shape:()=>t})}keyof(){return eT(i.objectKeys(this.shape))}}eh.create=(e,t)=>new eh({shape:()=>e,unknownKeys:"strip",catchall:ec.create(),typeName:u.ZodObject,...L(t)}),eh.strictCreate=(e,t)=>new eh({shape:()=>e,unknownKeys:"strict",catchall:ec.create(),typeName:u.ZodObject,...L(t)}),eh.lazycreate=(e,t)=>new eh({shape:e,unknownKeys:"strip",catchall:ec.create(),typeName:u.ZodObject,...L(t)});class em extends R{_parse(e){let{ctx:t}=this._processInputParams(e),r=this._def.options;if(t.common.async)return Promise.all(r.map(async e=>{let r={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),r.result;let r=e.map(e=>new y(e.ctx.common.issues));return k(t,{code:f.invalid_union,unionErrors:r}),S});{let e,n=[];for(let i of r){let r={...t,common:{...t.common,issues:[]},parent:null},a=i._parseSync({data:t.data,path:t.path,parent:r});if("valid"===a.status)return a;"dirty"!==a.status||e||(e={result:a,ctx:r}),r.common.issues.length&&n.push(r.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=n.map(e=>new y(e));return k(t,{code:f.invalid_union,unionErrors:i}),S}}get options(){return this._def.options}}em.create=(e,t)=>new em({options:e,typeName:u.ZodUnion,...L(t)});let ef=e=>{if(e instanceof eS)return ef(e.schema);if(e instanceof eP)return ef(e.innerType());if(e instanceof eE)return[e.value];if(e instanceof e_)return e.options;if(e instanceof eA)return i.objectValues(e.enum);else if(e instanceof eO)return ef(e._def.innerType);else if(e instanceof es)return[void 0];else if(e instanceof eo)return[null];else if(e instanceof eD)return[void 0,...ef(e.unwrap())];else if(e instanceof eI)return[null,...ef(e.unwrap())];else if(e instanceof eM)return ef(e.unwrap());else if(e instanceof eB)return ef(e.unwrap());else if(e instanceof eN)return ef(e._def.innerType);else return[]};class ey extends R{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==h.object)return k(t,{code:f.invalid_type,expected:h.object,received:t.parsedType}),S;let r=this.discriminator,n=t.data[r],i=this.optionsMap.get(n);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(k(t,{code:f.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),S)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){let n=new Map;for(let r of t){let t=ef(r.shape[e]);if(!t.length)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let i of t){if(n.has(i))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(i)}`);n.set(i,r)}}return new ey({typeName:u.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:n,...L(r)})}}class eg extends R{_parse(e){let{status:t,ctx:r}=this._processInputParams(e),n=(e,n)=>{if(_(e)||_(n))return S;let a=function e(t,r){let n=m(t),a=m(r);if(t===r)return{valid:!0,data:t};if(n===h.object&&a===h.object){let n=i.objectKeys(r),a=i.objectKeys(t).filter(e=>-1!==n.indexOf(e)),s={...t,...r};for(let n of a){let i=e(t[n],r[n]);if(!i.valid)return{valid:!1};s[n]=i.data}return{valid:!0,data:s}}if(n===h.array&&a===h.array){if(t.length!==r.length)return{valid:!1};let n=[];for(let i=0;i<t.length;i++){let a=e(t[i],r[i]);if(!a.valid)return{valid:!1};n.push(a.data)}return{valid:!0,data:n}}if(n===h.date&&a===h.date&&+t==+r)return{valid:!0,data:t};return{valid:!1}}(e.value,n.value);return a.valid?((A(e)||A(n))&&t.dirty(),{status:t.value,value:a.data}):(k(r,{code:f.invalid_intersection_types}),S)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([e,t])=>n(e,t)):n(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}eg.create=(e,t,r)=>new eg({left:e,right:t,typeName:u.ZodIntersection,...L(r)});class eb extends R{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==h.array)return k(r,{code:f.invalid_type,expected:h.array,received:r.parsedType}),S;if(r.data.length<this._def.items.length)return k(r,{code:f.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),S;!this._def.rest&&r.data.length>this._def.items.length&&(k(r,{code:f.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let n=[...r.data].map((e,t)=>{let n=this._def.items[t]||this._def.rest;return n?n._parse(new O(r,e,r.path,t)):null}).filter(e=>!!e);return r.common.async?Promise.all(n).then(e=>x.mergeArray(t,e)):x.mergeArray(t,n)}get items(){return this._def.items}rest(e){return new eb({...this._def,rest:e})}}eb.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new eb({items:e,typeName:u.ZodTuple,rest:null,...L(t)})};class ew extends R{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==h.object)return k(r,{code:f.invalid_type,expected:h.object,received:r.parsedType}),S;let n=[],i=this._def.keyType,a=this._def.valueType;for(let e in r.data)n.push({key:i._parse(new O(r,e,r.path,e)),value:a._parse(new O(r,r.data[e],r.path,e)),alwaysSet:e in r.data});return r.common.async?x.mergeObjectAsync(t,n):x.mergeObjectSync(t,n)}get element(){return this._def.valueType}static create(e,t,r){return new ew(t instanceof R?{keyType:e,valueType:t,typeName:u.ZodRecord,...L(r)}:{keyType:ee.create(),valueType:e,typeName:u.ZodRecord,...L(t)})}}class ev extends R{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==h.map)return k(r,{code:f.invalid_type,expected:h.map,received:r.parsedType}),S;let n=this._def.keyType,i=this._def.valueType,a=[...r.data.entries()].map(([e,t],a)=>({key:n._parse(new O(r,e,r.path,[a,"key"])),value:i._parse(new O(r,t,r.path,[a,"value"]))}));if(r.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let r of a){let n=await r.key,i=await r.value;if("aborted"===n.status||"aborted"===i.status)return S;("dirty"===n.status||"dirty"===i.status)&&t.dirty(),e.set(n.value,i.value)}return{status:t.value,value:e}})}{let e=new Map;for(let r of a){let n=r.key,i=r.value;if("aborted"===n.status||"aborted"===i.status)return S;("dirty"===n.status||"dirty"===i.status)&&t.dirty(),e.set(n.value,i.value)}return{status:t.value,value:e}}}}ev.create=(e,t,r)=>new ev({valueType:t,keyType:e,typeName:u.ZodMap,...L(r)});class ek extends R{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==h.set)return k(r,{code:f.invalid_type,expected:h.set,received:r.parsedType}),S;let n=this._def;null!==n.minSize&&r.data.size<n.minSize.value&&(k(r,{code:f.too_small,minimum:n.minSize.value,type:"set",inclusive:!0,exact:!1,message:n.minSize.message}),t.dirty()),null!==n.maxSize&&r.data.size>n.maxSize.value&&(k(r,{code:f.too_big,maximum:n.maxSize.value,type:"set",inclusive:!0,exact:!1,message:n.maxSize.message}),t.dirty());let i=this._def.valueType;function a(e){let r=new Set;for(let n of e){if("aborted"===n.status)return S;"dirty"===n.status&&t.dirty(),r.add(n.value)}return{status:t.value,value:r}}let s=[...r.data.values()].map((e,t)=>i._parse(new O(r,e,r.path,t)));return r.common.async?Promise.all(s).then(e=>a(e)):a(s)}min(e,t){return new ek({...this._def,minSize:{value:e,message:s.toString(t)}})}max(e,t){return new ek({...this._def,maxSize:{value:e,message:s.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}ek.create=(e,t)=>new ek({valueType:e,minSize:null,maxSize:null,typeName:u.ZodSet,...L(t)});class ex extends R{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==h.function)return k(t,{code:f.invalid_type,expected:h.function,received:t.parsedType}),S;function r(e,r){return v({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,w(),g].filter(e=>!!e),issueData:{code:f.invalid_arguments,argumentsError:r}})}function n(e,r){return v({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,w(),g].filter(e=>!!e),issueData:{code:f.invalid_return_type,returnTypeError:r}})}let i={errorMap:t.common.contextualErrorMap},a=t.data;if(this._def.returns instanceof eC){let e=this;return T(async function(...t){let s=new y([]),o=await e._def.args.parseAsync(t,i).catch(e=>{throw s.addIssue(r(t,e)),s}),l=await Reflect.apply(a,this,o);return await e._def.returns._def.type.parseAsync(l,i).catch(e=>{throw s.addIssue(n(l,e)),s})})}{let e=this;return T(function(...t){let s=e._def.args.safeParse(t,i);if(!s.success)throw new y([r(t,s.error)]);let o=Reflect.apply(a,this,s.data),l=e._def.returns.safeParse(o,i);if(!l.success)throw new y([n(o,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ex({...this._def,args:eb.create(e).rest(eu.create())})}returns(e){return new ex({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,r){return new ex({args:e||eb.create([]).rest(eu.create()),returns:t||eu.create(),typeName:u.ZodFunction,...L(r)})}}class eS extends R{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}eS.create=(e,t)=>new eS({getter:e,typeName:u.ZodLazy,...L(t)});class eE extends R{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return k(t,{received:t.data,code:f.invalid_literal,expected:this._def.value}),S}return{status:"valid",value:e.data}}get value(){return this._def.value}}function eT(e,t){return new e_({values:e,typeName:u.ZodEnum,...L(t)})}eE.create=(e,t)=>new eE({value:e,typeName:u.ZodLiteral,...L(t)});class e_ extends R{constructor(){super(...arguments),o.set(this,void 0)}_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),r=this._def.values;return k(t,{expected:i.joinValues(r),received:t.parsedType,code:f.invalid_type}),S}if(D(this,o,"f")||I(this,o,new Set(this._def.values),"f"),!D(this,o,"f").has(e.data)){let t=this._getOrReturnCtx(e),r=this._def.values;return k(t,{received:t.data,code:f.invalid_enum_value,options:r}),S}return T(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return e_.create(e,{...this._def,...t})}exclude(e,t=this._def){return e_.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}o=new WeakMap,e_.create=eT;class eA extends R{constructor(){super(...arguments),l.set(this,void 0)}_parse(e){let t=i.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==h.string&&r.parsedType!==h.number){let e=i.objectValues(t);return k(r,{expected:i.joinValues(e),received:r.parsedType,code:f.invalid_type}),S}if(D(this,l,"f")||I(this,l,new Set(i.getValidEnumValues(this._def.values)),"f"),!D(this,l,"f").has(e.data)){let e=i.objectValues(t);return k(r,{received:r.data,code:f.invalid_enum_value,options:e}),S}return T(e.data)}get enum(){return this._def.values}}l=new WeakMap,eA.create=(e,t)=>new eA({values:e,typeName:u.ZodNativeEnum,...L(t)});class eC extends R{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==h.promise&&!1===t.common.async?(k(t,{code:f.invalid_type,expected:h.promise,received:t.parsedType}),S):T((t.parsedType===h.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}eC.create=(e,t)=>new eC({type:e,typeName:u.ZodPromise,...L(t)});class eP extends R{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===u.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:r}=this._processInputParams(e),n=this._def.effect||null,a={addIssue:e=>{k(r,e),e.fatal?t.abort():t.dirty()},get path(){return r.path}};if(a.addIssue=a.addIssue.bind(a),"preprocess"===n.type){let e=n.transform(r.data,a);if(r.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return S;let n=await this._def.schema._parseAsync({data:e,path:r.path,parent:r});return"aborted"===n.status?S:"dirty"===n.status||"dirty"===t.value?E(n.value):n});{if("aborted"===t.value)return S;let n=this._def.schema._parseSync({data:e,path:r.path,parent:r});return"aborted"===n.status?S:"dirty"===n.status||"dirty"===t.value?E(n.value):n}}if("refinement"===n.type){let e=e=>{let t=n.refinement(e,a);if(r.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(r=>"aborted"===r.status?S:("dirty"===r.status&&t.dirty(),e(r.value).then(()=>({status:t.value,value:r.value}))));{let n=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===n.status?S:("dirty"===n.status&&t.dirty(),e(n.value),{status:t.value,value:n.value})}}if("transform"===n.type)if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(e=>C(e)?Promise.resolve(n.transform(e.value,a)).then(e=>({status:t.value,value:e})):e);else{let e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!C(e))return e;let i=n.transform(e.value,a);if(i instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:i}}i.assertNever(n)}}eP.create=(e,t,r)=>new eP({schema:e,typeName:u.ZodEffects,effect:t,...L(r)}),eP.createWithPreprocess=(e,t,r)=>new eP({schema:t,effect:{type:"preprocess",transform:e},typeName:u.ZodEffects,...L(r)});class eD extends R{_parse(e){return this._getType(e)===h.undefined?T(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eD.create=(e,t)=>new eD({innerType:e,typeName:u.ZodOptional,...L(t)});class eI extends R{_parse(e){return this._getType(e)===h.null?T(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eI.create=(e,t)=>new eI({innerType:e,typeName:u.ZodNullable,...L(t)});class eO extends R{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return t.parsedType===h.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}eO.create=(e,t)=>new eO({innerType:e,typeName:u.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...L(t)});class eN extends R{_parse(e){let{ctx:t}=this._processInputParams(e),r={...t,common:{...t.common,issues:[]}},n=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return P(n)?n.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new y(r.common.issues)},input:r.data})})):{status:"valid",value:"valid"===n.status?n.value:this._def.catchValue({get error(){return new y(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}eN.create=(e,t)=>new eN({innerType:e,typeName:u.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...L(t)});class eL extends R{_parse(e){if(this._getType(e)!==h.nan){let t=this._getOrReturnCtx(e);return k(t,{code:f.invalid_type,expected:h.nan,received:t.parsedType}),S}return{status:"valid",value:e.data}}}eL.create=e=>new eL({typeName:u.ZodNaN,...L(e)});let eR=Symbol("zod_brand");class eM extends R{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class eF extends R{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?S:"dirty"===e.status?(t.dirty(),E(e.value)):this._def.out._parseAsync({data:e.value,path:r.path,parent:r})})();{let e=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?S:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:r.path,parent:r})}}static create(e,t){return new eF({in:e,out:t,typeName:u.ZodPipeline})}}class eB extends R{_parse(e){let t=this._def.innerType._parse(e),r=e=>(C(e)&&(e.value=Object.freeze(e.value)),e);return P(t)?t.then(e=>r(e)):r(t)}unwrap(){return this._def.innerType}}function ej(e,t){let r="function"==typeof e?e(t):"string"==typeof e?{message:e}:e;return"string"==typeof r?{message:r}:r}function eU(e,t={},r){return e?el.create().superRefine((n,i)=>{var a,s;let o=e(n);if(o instanceof Promise)return o.then(e=>{var a,s;if(!e){let e=ej(t,n),o=null==(s=null!=(a=e.fatal)?a:r)||s;i.addIssue({code:"custom",...e,fatal:o})}});if(!o){let e=ej(t,n),o=null==(s=null!=(a=e.fatal)?a:r)||s;i.addIssue({code:"custom",...e,fatal:o})}}):el.create()}eB.create=(e,t)=>new eB({innerType:e,typeName:u.ZodReadonly,...L(t)});let e$={object:eh.lazycreate};!function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(u||(u={}));let eq=ee.create,ez=et.create,eV=eL.create,eH=er.create,eG=en.create,eW=ei.create,eK=ea.create,eY=es.create,eX=eo.create,eZ=el.create,eJ=eu.create,eQ=ec.create,e0=ed.create,e2=ep.create,e1=eh.create,e3=eh.strictCreate,e4=em.create,e9=ey.create,e5=eg.create,e6=eb.create,e8=ew.create,e7=ev.create,te=ek.create,tt=ex.create,tr=eS.create,tn=eE.create,ti=e_.create,ta=eA.create,ts=eC.create,to=eP.create,tl=eD.create,tu=eI.create,tc=eP.createWithPreprocess,td=eF.create;var tp=Object.freeze({__proto__:null,defaultErrorMap:g,setErrorMap:function(e){b=e},getErrorMap:w,makeIssue:v,EMPTY_PATH:[],addIssueToContext:k,ParseStatus:x,INVALID:S,DIRTY:E,OK:T,isAborted:_,isDirty:A,isValid:C,isAsync:P,get util(){return i},get objectUtil(){return a},ZodParsedType:h,getParsedType:m,ZodType:R,datetimeRegex:Q,ZodString:ee,ZodNumber:et,ZodBigInt:er,ZodBoolean:en,ZodDate:ei,ZodSymbol:ea,ZodUndefined:es,ZodNull:eo,ZodAny:el,ZodUnknown:eu,ZodNever:ec,ZodVoid:ed,ZodArray:ep,ZodObject:eh,ZodUnion:em,ZodDiscriminatedUnion:ey,ZodIntersection:eg,ZodTuple:eb,ZodRecord:ew,ZodMap:ev,ZodSet:ek,ZodFunction:ex,ZodLazy:eS,ZodLiteral:eE,ZodEnum:e_,ZodNativeEnum:eA,ZodPromise:eC,ZodEffects:eP,ZodTransformer:eP,ZodOptional:eD,ZodNullable:eI,ZodDefault:eO,ZodCatch:eN,ZodNaN:eL,BRAND:eR,ZodBranded:eM,ZodPipeline:eF,ZodReadonly:eB,custom:eU,Schema:R,ZodSchema:R,late:e$,get ZodFirstPartyTypeKind(){return u},coerce:{string:e=>ee.create({...e,coerce:!0}),number:e=>et.create({...e,coerce:!0}),boolean:e=>en.create({...e,coerce:!0}),bigint:e=>er.create({...e,coerce:!0}),date:e=>ei.create({...e,coerce:!0})},any:eZ,array:e2,bigint:eH,boolean:eG,date:eW,discriminatedUnion:e9,effect:to,enum:ti,function:tt,instanceof:(e,t={message:`Input not instance of ${e.name}`})=>eU(t=>t instanceof e,t),intersection:e5,lazy:tr,literal:tn,map:e7,nan:eV,nativeEnum:ta,never:eQ,null:eX,nullable:tu,number:ez,object:e1,oboolean:()=>eG().optional(),onumber:()=>ez().optional(),optional:tl,ostring:()=>eq().optional(),pipeline:td,preprocess:tc,promise:ts,record:e8,set:te,strictObject:e3,string:eq,symbol:eK,transformer:to,tuple:e6,undefined:eY,union:e4,unknown:eJ,void:e0,NEVER:S,ZodIssueCode:f,quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),ZodError:y}),th=r(96601),tm=r(42827),tf=r(33192),ty=r(21175);let tg=tp.object({default:tp.any(),render:tp.function(),reactEmailCreateReactElement:tp.function()}),tb=async e=>{let t;try{t=(await (0,p.build)({bundle:!0,entryPoints:[e],plugins:[(0,th.renderingUtilitiesExporter)([e])],platform:"node",write:!1,format:"cjs",jsx:"automatic",logLevel:"silent",loader:{".js":"jsx"},outdir:"stdout",sourcemap:"external"})).outputFiles}catch(e){return{error:{message:e.message,stack:e.stack,name:e.name,cause:e.cause}}}let r=t[0],n=t[1].text,i=JSON.parse(r.text);i.sourceRoot=d().resolve(r.path,"../.."),i.sources=i.sources.map(e=>d().resolve(r.path,"..",e));let a=(0,ty.runBundledCode)(n,e);if((0,tf.isErr)(a)){let{error:t}=a;if(t instanceof Error)return t.stack&&=t.stack.split("at Script.runInContext (node:vm")[0],{error:(0,tm.improveErrorWithSourceMap)(t,e,i)};throw t}let s=tg.safeParse(a.value);if(s.error)return{error:(0,tm.improveErrorWithSourceMap)(Error(`The email component at ${e} does not contain the expected exports`,{cause:s.error}),e,i)};if("function"!=typeof s.data.default)return{error:(0,tm.improveErrorWithSourceMap)(Error(`The email component at ${e} does not contain a default exported function`,{cause:s.error}),e,i)};let{data:o}=s;return{emailComponent:o.default,render:o.render,createElement:o.reactEmailCreateReactElement,sourceMapToOriginalFile:i}}},65252:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.find=function(e){let t=this;do if(e(t))return t;while(t=t.parentPath);return null},t.findParent=function(e){let t=this;for(;t=t.parentPath;)if(e(t))return t;return null},t.getAncestry=function(){let e=this,t=[];do t.push(e);while(e=e.parentPath);return t},t.getDeepestCommonAncestorFrom=function(e,t){let r,n;if(!e.length)return this;if(1===e.length)return e[0];let i=1/0,a=e.map(e=>{let t=[];do t.unshift(e);while((e=e.parentPath)&&e!==this);return t.length<i&&(i=t.length),t}),s=a[0];r:for(let e=0;e<i;e++){let t=s[e];for(let r of a)if(r[e]!==t)break r;r=e,n=t}if(n)if(t)return t(n,r,a);else return n;throw Error("Couldn't find intersection")},t.getEarliestCommonAncestorFrom=function(e){return this.getDeepestCommonAncestorFrom(e,function(e,t,r){let i,a=n[e.type];for(let e of r){let r=e[t+1];if(!i||r.listKey&&i.listKey===r.listKey&&r.key<i.key){i=r;continue}a.indexOf(i.parentKey)>a.indexOf(r.parentKey)&&(i=r)}return i})},t.getFunctionParent=function(){return this.findParent(e=>e.isFunction())},t.getStatementParent=function(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())break;e=e.parentPath}while(e);if(e&&(e.isProgram()||e.isFile()))throw Error("File/Program node, we can't possibly find a statement parent to this");return e},t.inType=function(...e){let t=this;for(;t;){if(e.includes(t.node.type))return!0;t=t.parentPath}return!1},t.isAncestor=function(e){return e.isDescendant(this)},t.isDescendant=function(e){return!!this.findParent(t=>t===e)};let{VISITOR_KEYS:n}=r(40838)},65433:(e,t)=>{"use strict";t.__esModule=!0,t.UNIVERSAL=t.TAG=t.STRING=t.SELECTOR=t.ROOT=t.PSEUDO=t.NESTING=t.ID=t.COMMENT=t.COMBINATOR=t.CLASS=t.ATTRIBUTE=void 0,t.TAG="tag",t.STRING="string",t.SELECTOR="selector",t.ROOT="root",t.PSEUDO="pseudo",t.NESTING="nesting",t.ID="id",t.COMMENT="comment",t.COMBINATOR="combinator",t.CLASS="class",t.ATTRIBUTE="attribute",t.UNIVERSAL="universal"},65550:(e,t,r)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0});var i=r(76327),a=r(62039),s=r(74496);let o=(e,t)=>r=>e(t(r));function l(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:o(o(e.white,e.bgRed),e.bold),gutter:e.gray,marker:o(e.red,e.bold),message:o(e.red,e.bold),reset:e.reset}}let u=l(i.createColors(!0)),c=l(i.createColors(!1)),d=new Set(["as","async","from","get","of","set"]),p=/\r\n|[\n\r\u2028\u2029]/,h=/^[()[\]{}]$/;{let e=/^[a-z][\w-]*$/i,t=function(t,r,n){if("name"===t.type){if(s.isKeyword(t.value)||s.isStrictReservedWord(t.value,!0)||d.has(t.value))return"keyword";if(e.test(t.value)&&("<"===n[r-1]||"</"===n.slice(r-2,r)))return"jsxIdentifier";if(t.value[0]!==t.value[0].toLowerCase())return"capitalized"}return"punctuator"===t.type&&h.test(t.value)?"bracket":"invalid"===t.type&&("@"===t.value||"#"===t.value)?"punctuator":t.type};n=function*(e){let r;for(;r=a.default.exec(e);){let n=a.matchToToken(r);yield{type:t(n,r.index,e),value:n.value}}}}function m(e){if(""===e)return"";let t="";for(let{type:r,value:i}of n(e))r in u?t+=i.split(p).map(e=>u[r](e)).join("\n"):t+=i;return t}let f=!1,y=/\r\n|[\n\r\u2028\u2029]/;function g(e,t,r={}){let n=r.forceColor||("object"!=typeof process||"0"!==process.env.FORCE_COLOR&&"false"!==process.env.FORCE_COLOR)&&i.isColorSupported&&r.highlightCode,a=n?u:c,{start:s,end:o,markerLines:l}=function(e,t,r){let n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),{linesAbove:a=2,linesBelow:s=3}=r||{},o=n.line,l=n.column,u=i.line,c=i.column,d=Math.max(o-(a+1),0),p=Math.min(t.length,u+s);-1===o&&(d=0),-1===u&&(p=t.length);let h=u-o,m={};if(h)for(let e=0;e<=h;e++){let r=e+o;if(l)if(0===e){let e=t[r-1].length;m[r]=[l,e-l+1]}else if(e===h)m[r]=[0,c];else{let n=t[r-e].length;m[r]=[0,n]}else m[r]=!0}else l===c?l?m[o]=[l,0]:m[o]=!0:m[o]=[l,c-l];return{start:d,end:p,markerLines:m}}(t,e.split(y),r),d=t.start&&"number"==typeof t.start.column,p=String(o).length,h=(n?m(e):e).split(y,o).slice(s,o).map((e,t)=>{let n=s+1+t,i=` ${n}`.slice(-p),o=` ${i} |`,u=l[n],c=!l[n+1];if(!u)return` ${a.gutter(o)}${e.length>0?` ${e}`:""}`;{let t="";if(Array.isArray(u)){let n=e.slice(0,Math.max(u[0]-1,0)).replace(/[^\t]/g," "),i=u[1]||1;t=["\n ",a.gutter(o.replace(/\d/g," "))," ",n,a.marker("^").repeat(i)].join(""),c&&r.message&&(t+=" "+a.message(r.message))}return[a.marker(">"),a.gutter(o),e.length>0?` ${e}`:"",t].join("")}}).join("\n");return(r.message&&!d&&(h=`${" ".repeat(p+1)}${r.message}
233
- ${h}`),n)?a.reset(h):h}t.codeFrameColumns=g,t.default=function(e,t,r,n={}){if(!f){f=!0;let e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";process.emitWarning?process.emitWarning(e,"DeprecationWarning"):(Error(e).name="DeprecationWarning",console.warn(Error(e)))}return g(e,{start:{column:r=Math.max(r,0),line:t}},n)},t.highlight=m},65739:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.defineProperties,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&h(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&h(e,r,t[r]);return e},f=(e,t)=>a(e,o(t)),y=(e,t)=>{var r={};for(var n in e)d.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))0>t.indexOf(n)&&p.call(e,n)&&(r[n]=e[n]);return r},g=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))d.call(e,a)||a===r||i(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable});return e},b={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(b,{Markdown:()=>x}),e.exports=g(i({},"__esModule",{value:!0}),b);var w=r(14698),v=((e,t,r)=>(r=null!=e?n(c(e)):{},g(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(64949)),k=r(82348),x=v.forwardRef((e,t)=>{var{children:r,markdownContainerStyles:n,markdownCustomStyles:i}=e,a=y(e,["children","markdownContainerStyles","markdownCustomStyles"]);let s=(0,w.parseMarkdownToJSX)({markdown:r,customStyles:i});return(0,k.jsx)("div",f(m({},a),{dangerouslySetInnerHTML:{__html:s},"data-id":"react-email-markdown",ref:t,style:n}))});x.displayName="Markdown"},65742:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.defineProperties,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&h(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&h(e,r,t[r]);return e},f=(e,t)=>a(e,o(t)),y=(e,t)=>{var r={};for(var n in e)d.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))0>t.indexOf(n)&&p.call(e,n)&&(r[n]=e[n]);return r},g=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))d.call(e,a)||a===r||i(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable});return e},b={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(b,{Head:()=>k}),e.exports=g(i({},"__esModule",{value:!0}),b);var w=((e,t,r)=>(r=null!=e?n(c(e)):{},g(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(64949)),v=r(82348),k=w.forwardRef((e,t)=>{var{children:r}=e,n=y(e,["children"]);return(0,v.jsxs)("head",f(m({},n),{ref:t,children:[(0,v.jsx)("meta",{content:"text/html; charset=UTF-8",httpEquiv:"Content-Type"}),(0,v.jsx)("meta",{name:"x-apple-disable-message-reformatting"}),r]}))});k.displayName="Head"},65753:(e,t,r)=>{"use strict";r.a(e,async(e,n)=>{try{r.d(t,{P:()=>v});var i=r(5945);r(84183);var a=r(73297),s=r(41093),o=r(42416),l=r(38970),u=r(10721),c=r(25283),d=r(84996),p=r(29226),h=r(67634),m=r(68372),f=r(83397),y=r(73424),g=r(72495),b=e([l]);l=(b.then?(await b)():b)[0];let w=["gmail","apple-mail","outlook","yahoo"],v=async(e,t)=>{let r=(0,a.parse)(e,{strictMode:!1,errorRecovery:!0,sourceType:"unambiguous",plugins:["jsx","typescript","decorators"]}),n=t=>{let r=e.split(/\n|\r|\r\n/);return r.slice(Math.max(t.start.line-2,0),Math.min(t.end.line+2,r.length)).join("\n")},i=(0,o.getObjectVariables)(r),g=await (0,l.getUsedStyleProperties)(r,e,t,i);return new ReadableStream({async start(t){for(let i of y.S){let a=(0,u.getCompatibilityStatsForEntry)(i,w);if(0!==Object.keys(a.perEmailClient).length&&"success"!==a.status&&"warning"!==a.status){if("html"===i.category){let e=(0,f.getElementNames)(i.title,i.keywords),l=(0,m.getElementAttributes)(i.title),u=e.length>0?"element":l.length>0?"attribute":void 0;if(!u)continue;let c=!1;"element"===u?(0,s.default)(r,{JSXOpeningElement(r){if("JSXIdentifier"===r.node.name.type&&!c){let s=r.node.name.name;e.includes(s)&&r.node.name.loc&&(c=!0,t.enqueue({entry:i,source:n(r.node.name.loc),location:(0,o.convertLocationIntoObject)(r.node.name.loc),statsPerEmailClient:a.perEmailClient,status:a.status}))}}}):(0,s.default)(r,{JSXAttribute(e){if("JSXIdentifier"===e.node.name.type&&!c){let r=e.node.name.name;l.includes(r)&&e.node.name.loc&&(c=!0,t.enqueue({entry:i,source:n(e.node.name.loc),location:(0,o.convertLocationIntoObject)(e.node.name.loc),statsPerEmailClient:a.perEmailClient,status:a.status}))}}})}if("css"===i.category){let s=(0,p.getCssPropertyWithValue)(i.title),u=(0,d.getCssPropertyNames)(i.title,i.keywords),m=(0,h.getCssUnit)(i.title),f=(0,c.getCssFunctions)(i.title),y=s?.name&&s.value?"full property":f.length>0?"function":m?"unit":u.length>0?"property name":void 0;if(!y)continue;let b=e=>{t.enqueue({entry:i,location:(0,o.convertLocationIntoObject)(e.location),source:n(e.location),statsPerEmailClient:a.perEmailClient,status:a.status})};for(let t of g){if(!(0,l.doesPropertyHaveLocation)(t))throw Error("One of the properties' node did not contain the proper location for it on the source code. This must be an issue because we always need access to the source.",{cause:{property:t,entry:i,reactCode:e,ast:r}});if("full property"===y){if(k(t.name)===k(s.name)&&t.value===s.value){b(t);break}}else if("function"===y){let e=/(?<functionName>[a-zA-Z_][a-zA-Z0-9_-]*)\s*\(/g,r=e.exec(t.value)?.groups?.functionName;if(void 0!==r&&f.includes(r)){b(t);break}}else if("unit"===y){let e=t.value.match(/[0-9](?<unit>[a-zA-Z%]+)$/g);if(e){let r=e.groups?.unit;if(m&&r&&m===r){b(t);break}}}else if(u.some(e=>k(t.name)===k(e))){b(t);break}}}}}t.close()}})},k=e=>e.toLowerCase().replace(/-+([a-z])/g,(e,t)=>t.toUpperCase());(0,g.D)([v]),(0,i.A)(v,"7fbc43968c8d354e3604fb701880a533772dbaa2c5",null),n()}catch(e){n(e)}})},65870:(e,t,r)=>{"use strict";let n=r(43243);e.exports=e=>"string"==typeof e?e.replace(n(),""):e},65925:(e,t,r)=>{"use strict";r.d(t,{$:()=>b});var n=r(64949),i=r(82348),a=Object.defineProperty,s=Object.defineProperties,o=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,d=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))u.call(t,r)&&d(e,r,t[r]);if(l)for(var r of l(t))c.call(t,r)&&d(e,r,t[r]);return e},h=(e,t)=>s(e,o(t)),m=(e,t)=>{var r={};for(var n in e)u.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&l)for(var n of l(e))0>t.indexOf(n)&&c.call(e,n)&&(r[n]=e[n]);return r};function f(e){let t=0;if(!e)return t;if("number"==typeof e)return e;let r=/^([\d.]+)(px|em|rem|%)$/.exec(e);if(r&&3===r.length){let e=Number.parseFloat(r[1]);switch(r[2]){case"px":default:return e;case"em":case"rem":return 16*e;case"%":return e/100*600}}return 0}var y=e=>"number"!=typeof e||Number.isNaN(Number(e))?void 0:3*e/4;function g(e){if(0===e)return[0,0];let t=0,r=()=>t>0?e/t/2:Number.POSITIVE_INFINITY;for(;r()>5;)t++;return[r(),t]}var b=n.forwardRef((e,t)=>{var{children:r,style:n,target:a="_blank"}=e,s=m(e,["children","style","target"]);let{paddingTop:o,paddingRight:l,paddingBottom:u,paddingLeft:c}=function(e){let t,r,n,i;for(let[a,s]of Object.entries(e))"padding"===a?{paddingTop:t,paddingBottom:n,paddingLeft:i,paddingRight:r}=function(e){if("number"==typeof e)return{paddingTop:e,paddingBottom:e,paddingLeft:e,paddingRight:e};if("string"==typeof e){let t=e.toString().trim().split(/\s+/);if(1===t.length)return{paddingTop:t[0],paddingBottom:t[0],paddingLeft:t[0],paddingRight:t[0]};if(2===t.length)return{paddingTop:t[0],paddingRight:t[1],paddingBottom:t[0],paddingLeft:t[1]};if(3===t.length)return{paddingTop:t[0],paddingRight:t[1],paddingBottom:t[2],paddingLeft:t[1]};if(4===t.length)return{paddingTop:t[0],paddingRight:t[1],paddingBottom:t[2],paddingLeft:t[3]}}return{paddingTop:void 0,paddingBottom:void 0,paddingLeft:void 0,paddingRight:void 0}}(s):"paddingTop"===a?t=s:"paddingRight"===a?r=s:"paddingBottom"===a?n=s:"paddingLeft"===a&&(i=s);return{paddingTop:t?f(t):void 0,paddingRight:r?f(r):void 0,paddingBottom:n?f(n):void 0,paddingLeft:i?f(i):void 0}}(null!=n?n:{}),d=y((null!=o?o:0)+(null!=u?u:0)),[b,w]=g(null!=c?c:0),[v,k]=g(null!=l?l:0);return(0,i.jsxs)("a",h(p({},s),{ref:t,style:h(p({lineHeight:"100%",textDecoration:"none",display:"inline-block",maxWidth:"100%",msoPaddingAlt:"0px"},n),{paddingTop:o,paddingRight:l,paddingBottom:u,paddingLeft:c}),target:a,children:[(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:`<!--[if mso]><i style="mso-font-width:${100*b}%;mso-text-raise:${d}" hidden>${"&#8202;".repeat(w)}</i><![endif]-->`}}),(0,i.jsx)("span",{style:{maxWidth:"100%",display:"inline-block",lineHeight:"120%",msoPaddingAlt:"0px",msoTextRaise:y(u)},children:r}),(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:`<!--[if mso]><i style="mso-font-width:${100*v}%" hidden>${"&#8202;".repeat(k)}&#8203;</i><![endif]-->`}})]}))});b.displayName="Button"},65991:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return n.COMMENT_KEYS.forEach(t=>{e[t]=null}),e};var n=r(54836)},66058:function(e,t,r){(function(e,t,r,n){"use strict";class i{constructor({file:e,sourceRoot:r}={}){this._names=new t.SetArray,this._sources=new t.SetArray,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=r,this._ignoreList=new t.SetArray}}function a(e){let{_mappings:t,_sources:r,_sourcesContent:n,_names:i,_ignoreList:a}=e;return function(e){let{length:t}=e,r=t;for(let t=r-1;t>=0&&!(e[t].length>0);r=t,t--);r<t&&(e.length=r)}(t),{version:3,file:e.file||void 0,names:i.array,sourceRoot:e.sourceRoot||void 0,sources:r.array,sourcesContent:n,mappings:t,ignoreList:a.array}}function s(e,r,n,i,a,s,l,u,c){let{_mappings:d,_sources:p,_sourcesContent:h,_names:m}=r,f=function(e,t){for(let r=e.length;r<=t;r++)e[r]=[];return e[t]}(d,n),y=function(e,t){let r=e.length;for(let n=r-1;n>=0&&!(t>=e[n][0]);r=n--);return r}(f,i);if(!a){var g,b;if(e&&(g=f,0===(b=y)||1===g[b-1].length))return;return o(f,y,[i])}let w=t.put(p,a),v=u?t.put(m,u):-1;if(w===h.length&&(h[w]=null!=c?c:null),!(e&&function(e,t,r,n,i,a){if(0===t)return!1;let s=e[t-1];return 1!==s.length&&r===s[1]&&n===s[2]&&i===s[3]&&a===(5===s.length?s[4]:-1)}(f,y,w,s,l,v)))return o(f,y,u?[i,w,s,l,v]:[i,w,s,l])}function o(e,t,r){for(let r=e.length;r>t;r--)e[r]=e[r-1];e[t]=r}function l(e,r){for(let n=0;n<r.length;n++)t.put(e,r[n])}function u(e,t,r){let{generated:n,source:i,original:a,name:o,content:l}=r;return i?s(e,t,n.line-1,n.column,i,a.line-1,a.column,o,l):s(e,t,n.line-1,n.column,null,null,null,null,null)}e.GenMapping=i,e.addMapping=function(e,t){return u(!1,e,t)},e.addSegment=function(e,t,r,n,i,a,o,l){return s(!1,e,t,r,n,i,a,o,l)},e.allMappings=function(e){let t=[],{_mappings:r,_sources:n,_names:i}=e;for(let e=0;e<r.length;e++){let a=r[e];for(let r=0;r<a.length;r++){let s,o,l,u=a[r],c={line:e+1,column:u[0]};1!==u.length&&(s=n.array[u[1]],o={line:u[2]+1,column:u[3]},5===u.length&&(l=i.array[u[4]])),t.push({generated:c,source:s,original:o,name:l})}}return t},e.fromMap=function(e){let t=new n.TraceMap(e),r=new i({file:t.file,sourceRoot:t.sourceRoot});return l(r._names,t.names),l(r._sources,t.sources),r._sourcesContent=t.sourcesContent||t.sources.map(()=>null),r._mappings=n.decodedMappings(t),t.ignoreList&&l(r._ignoreList,t.ignoreList),r},e.maybeAddMapping=(e,t)=>u(!0,e,t),e.maybeAddSegment=(e,t,r,n,i,a,o,l)=>s(!0,e,t,r,n,i,a,o,l),e.setIgnore=function(e,r,n=!0){let{_sources:i,_sourcesContent:a,_ignoreList:s}=e,o=t.put(i,r);o===a.length&&(a[o]=null),n?t.put(s,o):t.remove(s,o)},e.setSourceContent=function(e,r,n){let{_sources:i,_sourcesContent:a}=e;a[t.put(i,r)]=n},e.toDecodedMap=a,e.toEncodedMap=function(e){let t=a(e);return Object.assign(Object.assign({},t),{mappings:r.encode(t.mappings)})},Object.defineProperty(e,"__esModule",{value:!0})})(t,r(10110),r(86238),r(23598))},66063:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEPRECATED_ALIASES=void 0,t.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}},66078:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getLineAndColumnFromOffset:()=>n});let n=(e,t)=>{let r=[...t.slice(0,e).matchAll(/\n|\r|\r\n/g)];return[r.length+1,e-(r[r.length-1]?.index??0)]}},66198:(e,t)=>{var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<r.length)return r[e];throw TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},66266:(e,t,r)=>{"use strict";r.d(t,{w:()=>o});var n=r(37067),i=r.n(n),a=r(44708),s=r.n(a);let o=e=>new Promise((t,r)=>{("https:"===e.protocol?s():i()).get(e,e=>{t(e)}).on("error",e=>r(e))})},66408:(e,t,r)=>{var n=r(27910);"disable"===process.env.READABLE_STREAM&&n?(e.exports=n.Readable,Object.assign(e.exports,n),e.exports.Stream=n):((t=e.exports=r(14690)).Stream=n||t,t.Readable=t,t.Writable=r(16830),t.Duplex=r(71184),t.Transform=r(29152),t.PassThrough=r(58854),t.finished=r(55996),t.pipeline=r(55256))},66753:(e,t,r)=>{var n=global.process;let i=function(e){return e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on};if(i(n)){var a,s=r(12412),o=r(62112),l=/^win/i.test(n.platform),u=r(94735);"function"!=typeof u&&(u=u.EventEmitter),n.__signal_exit_emitter__?a=n.__signal_exit_emitter__:((a=n.__signal_exit_emitter__=new u).count=0,a.emitted={}),a.infinite||(a.setMaxListeners(1/0),a.infinite=!0),e.exports=function(e,t){if(!i(global.process))return function(){};s.equal(typeof e,"function","a callback must be provided for exit handler"),!1===h&&m();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),a.on(r,e),function(){a.removeListener(r,e),0===a.listeners("exit").length&&0===a.listeners("afterexit").length&&c()}};var c=function(){h&&i(global.process)&&(h=!1,o.forEach(function(e){try{n.removeListener(e,p[e])}catch(e){}}),n.emit=g,n.reallyExit=f,a.count-=1)};e.exports.unload=c;var d=function(e,t,r){a.emitted[e]||(a.emitted[e]=!0,a.emit(e,t,r))},p={};o.forEach(function(e){p[e]=function(){i(global.process)&&n.listeners(e).length===a.count&&(c(),d("exit",null,e),d("afterexit",null,e),l&&"SIGHUP"===e&&(e="SIGINT"),n.kill(n.pid,e))}}),e.exports.signals=function(){return o};var h=!1,m=function(){!h&&i(global.process)&&(h=!0,a.count+=1,o=o.filter(function(e){try{return n.on(e,p[e]),!0}catch(e){return!1}}),n.emit=b,n.reallyExit=y)};e.exports.load=m;var f=n.reallyExit,y=function(e){i(global.process)&&(n.exitCode=e||0,d("exit",n.exitCode,null),d("afterexit",n.exitCode,null),f.call(n,n.exitCode))},g=n.emit,b=function(e,t){if(!("exit"===e&&i(global.process)))return g.apply(this,arguments);void 0!==t&&(n.exitCode=t);var r=g.apply(this,arguments);return d("exit",n.exitCode,null),d("afterexit",n.exitCode,null),r}}else e.exports=function(){return function(){}}},67228:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.patternLikeCommon=t.importAttributes=t.functionTypeAnnotationCommon=t.functionDeclarationCommon=t.functionCommon=t.classMethodOrPropertyCommon=t.classMethodOrDeclareMethodCommon=void 0;var n=r(14814),i=r(84937),a=r(99742),s=r(85032),o=r(54836),l=r(64514);let u=(0,l.defineAliasedType)("Standardized");u("ArrayExpression",{fields:{elements:{validate:(0,l.arrayOf)((0,l.assertNodeOrValueType)("null","Expression","SpreadElement")),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),u("AssignmentExpression",{fields:{operator:{validate:process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(){let e=(0,l.assertOneOf)(...o.ASSIGNMENT_OPERATORS),t=(0,l.assertOneOf)("=");return function(r,i,a){((0,n.default)("Pattern",r.left)?t:e)(r,i,a)}}(),{type:"string"}):(0,l.assertValueType)("string")},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,l.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,l.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),u("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,l.assertOneOf)(...o.BINARY_OPERATORS)},left:{validate:function(){let e=(0,l.assertNodeType)("Expression"),t=(0,l.assertNodeType)("Expression","PrivateName");return Object.assign(function(r,n,i){("in"===r.operator?t:e)(r,n,i)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:(0,l.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),u("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}}}),u("Directive",{visitor:["value"],fields:{value:{validate:(0,l.assertNodeType)("DirectiveLiteral")}}}),u("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}}}),u("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,l.arrayOfType)("Directive"),default:[]},body:(0,l.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]}),u("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,l.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),u("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,l.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:(0,l.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),typeArguments:{validate:(0,l.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{optional:{validate:(0,l.assertValueType)("boolean"),optional:!0},typeParameters:{validate:(0,l.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,l.assertValueType)("boolean"),optional:!0}})}),u("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,l.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),u("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},consequent:{validate:(0,l.assertNodeType)("Expression")},alternate:{validate:(0,l.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),u("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,l.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),u("DebuggerStatement",{aliases:["Statement"]}),u("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),u("EmptyStatement",{aliases:["Statement"]}),u("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,l.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),u("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,l.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.assertEach)((0,l.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,l.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}}),u("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,l.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}}}),u("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,l.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,l.assertNodeType)("Expression"),optional:!0},update:{validate:(0,l.assertNodeType)("Expression"),optional:!0},body:{validate:(0,l.assertNodeType)("Statement")}}});let c=()=>({params:(0,l.validateArrayOfType)("Identifier","Pattern","RestElement"),generator:{default:!1},async:{default:!1}});t.functionCommon=c;let d=()=>({returnType:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});t.functionTypeAnnotationCommon=d;let p=()=>Object.assign({},c(),{declare:{validate:(0,l.assertValueType)("boolean"),optional:!0},id:{validate:(0,l.assertNodeType)("Identifier"),optional:!0}});t.functionDeclarationCommon=p,u("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},p(),d(),{body:{validate:(0,l.assertNodeType)("BlockStatement")},predicate:{validate:(0,l.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:process.env.BABEL_TYPES_8_BREAKING?function(){let e=(0,l.assertNodeType)("Identifier");return function(t,r,i){(0,n.default)("ExportDefaultDeclaration",t)||e(i,"id",i.id)}}():void 0}),u("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},c(),d(),{id:{validate:(0,l.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,l.assertNodeType)("BlockStatement")},predicate:{validate:(0,l.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});let h=()=>({typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,l.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:!0}});t.patternLikeCommon=h,u("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},h(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertValueType)("string"),Object.assign(function(e,t,r){if(!(0,i.default)(r,!1))throw TypeError(`"${r}" is not a valid identifier name`)},{type:"string"})):(0,l.assertValueType)("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(e,t,r){let i=/\.(\w+)$/.exec(t.toString());if(!i)return;let[,s]=i,o={computed:!1};if("property"===s){if((0,n.default)("MemberExpression",e,o)||(0,n.default)("OptionalMemberExpression",e,o))return}else if("key"===s){if((0,n.default)("Property",e,o)||(0,n.default)("Method",e,o))return}else if("exported"===s){if((0,n.default)("ExportSpecifier",e))return}else if("imported"===s){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if("meta"===s&&(0,n.default)("MetaProperty",e,{meta:r}))return;if(((0,a.isKeyword)(r.name)||(0,a.isReservedWord)(r.name,!1))&&"this"!==r.name)throw TypeError(`"${r.name}" is not a valid identifier`)}:void 0}),u("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},consequent:{validate:(0,l.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,l.assertNodeType)("Statement")}}}),u("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,l.assertNodeType)("Identifier")},body:{validate:(0,l.assertNodeType)("Statement")}}}),u("StringLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),u("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,l.chain)((0,l.assertValueType)("number"),Object.assign(function(e,t,r){(1/r<0||!Number.isFinite(r))&&Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${r}) instead.`)},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]}),u("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),u("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),u("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,l.assertValueType)("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertValueType)("string"),Object.assign(function(e,t,r){let n=/[^gimsuy]/.exec(r);if(n)throw TypeError(`"${n[0]}" is not a valid RegExp flag`)},{type:"string"})):(0,l.assertValueType)("string"),default:""}}}),u("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,l.assertOneOf)(...o.LOGICAL_OPERATORS)},left:{validate:(0,l.assertNodeType)("Expression")},right:{validate:(0,l.assertNodeType)("Expression")}}}),u("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,l.assertNodeType)("Expression","Super")},property:{validate:function(){let e=(0,l.assertNodeType)("Identifier","PrivateName"),t=(0,l.assertNodeType)("Expression"),r=function(r,n,i){(r.computed?t:e)(r,n,i)};return r.oneOfNodeTypes=["Expression","Identifier","PrivateName"],r}()},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,l.assertValueType)("boolean"),optional:!0}})}),u("NewExpression",{inherits:"CallExpression"}),u("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,l.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,l.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,l.arrayOfType)("Directive"),default:[]},body:(0,l.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block"]}),u("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,l.validateArrayOfType)("ObjectMethod","ObjectProperty","SpreadElement")}}),u("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},c(),d(),{kind:Object.assign({validate:(0,l.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:function(){let e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=(0,l.assertNodeType)("Expression"),r=function(r,n,i){(r.computed?t:e)(r,n,i)};return r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],r}()},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:!0},body:{validate:(0,l.assertNodeType)("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),u("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:function(){let e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),t=(0,l.assertNodeType)("Expression");return Object.assign(function(r,n,i){(r.computed?t:e)(r,n,i)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})}()},value:{validate:(0,l.assertNodeType)("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertValueType)("boolean"),Object.assign(function(e,t,r){if(r){if(e.computed)throw TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!(0,n.default)("Identifier",e.key))throw TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}},{type:"boolean"})):(0,l.assertValueType)("boolean"),default:!1},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:process.env.BABEL_TYPES_8_BREAKING?function(){let e=(0,l.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),t=(0,l.assertNodeType)("Expression");return function(r,i,a){((0,n.default)("ObjectPattern",r)?e:t)(a,"value",a.value)}}():void 0}),u("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},h(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,l.assertNodeType)("LVal")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(e,t){let r=/(\w+)\[(\d+)\]/.exec(t.toString());if(!r)throw Error("Internal Babel error: malformed key.");let[,n,i]=r;if(e[n].length>+i+1)throw TypeError(`RestElement must be last element of ${n}`)}:void 0}),u("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,l.assertNodeType)("Expression"),optional:!0}}}),u("SequenceExpression",{visitor:["expressions"],fields:{expressions:(0,l.validateArrayOfType)("Expression")},aliases:["Expression"]}),u("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,l.assertNodeType)("Expression")}}}),u("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,l.assertNodeType)("Expression"),optional:!0},consequent:(0,l.validateArrayOfType)("Statement")}}),u("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,l.assertNodeType)("Expression")},cases:(0,l.validateArrayOfType)("SwitchCase")}}),u("ThisExpression",{aliases:["Expression"]}),u("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,l.assertNodeType)("Expression")}}}),u("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!e.handler&&!e.finalizer)throw TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):(0,l.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,l.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,l.assertNodeType)("BlockStatement")}}}),u("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,l.assertNodeType)("Expression")},operator:{validate:(0,l.assertOneOf)(...o.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),u("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("Identifier","MemberExpression"):(0,l.assertNodeType)("Expression")},operator:{validate:(0,l.assertOneOf)(...o.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),u("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,l.assertValueType)("boolean"),optional:!0},kind:{validate:(0,l.assertOneOf)("var","let","const","using","await using")},declarations:(0,l.validateArrayOfType)("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(()=>{let e=(0,l.assertNodeType)("Identifier","Placeholder"),t=(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","Placeholder");return function(r,i,a){let{kind:s,declarations:o}=a,l=(0,n.default)("ForXStatement",r,{left:a});if(l&&1!==o.length)throw TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${r.type}`);for(let r of o)("const"===s||"let"===s||"var"===s)&&(l||r.init)?t(r,"id",r.id):e(r,"id",r.id)}})():void 0}),u("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"):(0,l.assertNodeType)("LVal")},definite:{optional:!0,validate:(0,l.assertValueType)("boolean")},init:{optional:!0,validate:(0,l.assertNodeType)("Expression")}}}),u("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}}}),u("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}}}),u("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},h(),{left:{validate:(0,l.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,l.assertNodeType)("Expression")},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:!0}})}),u("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},h(),{elements:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeOrValueType)("null","PatternLike","LVal")))}})}),u("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},c(),d(),{expression:{validate:(0,l.assertValueType)("boolean")},body:{validate:(0,l.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,l.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})}),u("ClassBody",{visitor:["body"],fields:{body:(0,l.validateArrayOfType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}}),u("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,l.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,l.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,l.assertNodeType)("Expression")},superTypeParameters:{validate:(0,l.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,l.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,l.assertNodeType)("InterfaceExtends"),optional:!0}}}),u("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,l.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,l.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,l.assertNodeType)("Expression")},superTypeParameters:{validate:(0,l.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,l.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,l.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,l.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,l.assertValueType)("boolean"),optional:!0}},validate:process.env.BABEL_TYPES_8_BREAKING?function(){let e=(0,l.assertNodeType)("Identifier");return function(t,r,i){(0,n.default)("ExportDefaultDeclaration",t)||e(i,"id",i.id)}}():void 0});let m=t.importAttributes={attributes:{optional:!0,validate:(0,l.arrayOfType)("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:(0,l.arrayOfType)("ImportAttribute")}};u("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:(0,l.assertNodeType)("StringLiteral")},exportKind:(0,l.validateOptional)((0,l.assertOneOf)("type","value"))},m)}),u("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:(0,l.validateType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:(0,l.validateOptional)((0,l.assertOneOf)("value"))}}),u("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:process.env?["declaration","specifiers","source","attributes"]:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(r&&e.specifiers.length)throw TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(r&&e.source)throw TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):(0,l.assertNodeType)("Declaration")}},m,{specifiers:{default:[],validate:(0,l.arrayOf)(function(){let e=(0,l.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),t=(0,l.assertNodeType)("ExportSpecifier");return process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(r,n,i){(r.source?e:t)(r,n,i)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]}):e}())},source:{validate:(0,l.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,l.validateOptional)((0,l.assertOneOf)("type","value"))})}),u("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")},exported:{validate:(0,l.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,l.assertOneOf)("type","value"),optional:!0}}}),u("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,l.assertNodeType)("VariableDeclaration","LVal");let e=(0,l.assertNodeType)("VariableDeclaration"),t=(0,l.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(r,i,a){(0,n.default)("VariableDeclaration",a)?e(r,i,a):t(r,i,a)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})}()},right:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")},await:{default:!1}}}),u("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},m,{module:{optional:!0,validate:(0,l.assertValueType)("boolean")},phase:{default:null,validate:(0,l.assertOneOf)("source","defer")},specifiers:(0,l.validateArrayOfType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:(0,l.assertNodeType)("StringLiteral")},importKind:{validate:(0,l.assertOneOf)("type","typeof","value"),optional:!0}})}),u("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")}}}),u("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")}}}),u("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")},imported:{validate:(0,l.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,l.assertOneOf)("type","typeof","value"),optional:!0}}}),u("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,l.assertOneOf)("source","defer")},source:{validate:(0,l.assertNodeType)("Expression")},options:{validate:(0,l.assertNodeType)("Expression"),optional:!0}}}),u("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertNodeType)("Identifier"),Object.assign(function(e,t,r){let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta"}if(!(0,n.default)("Identifier",e.property,{name:i}))throw TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):(0,l.assertNodeType)("Identifier")},property:{validate:(0,l.assertNodeType)("Identifier")}}});let f=()=>({abstract:{validate:(0,l.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,l.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,l.assertValueType)("boolean"),optional:!0},key:{validate:(0,l.chain)(function(){let e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=(0,l.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}(),(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});t.classMethodOrPropertyCommon=f;let y=()=>Object.assign({},c(),f(),{params:(0,l.validateArrayOfType)("Identifier","Pattern","RestElement","TSParameterProperty"),kind:{validate:(0,l.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,l.chain)((0,l.assertValueType)("string"),(0,l.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:!0}});t.classMethodOrDeclareMethodCommon=y,u("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},y(),d(),{body:{validate:(0,l.assertNodeType)("BlockStatement")}})}),u("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},h(),{properties:(0,l.validateArrayOfType)("RestElement","ObjectProperty")})}),u("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,l.assertNodeType)("Expression")}}}),u("Super",{aliases:["Expression"]}),u("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,l.assertNodeType)("Expression")},quasi:{validate:(0,l.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),u("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,l.chain)((0,l.assertShape)({raw:{validate:(0,l.assertValueType)("string")},cooked:{validate:(0,l.assertValueType)("string"),optional:!0}}),function(e){let t=e.value.raw,r=!1,n=()=>{throw Error("Internal @babel/types error.")},{str:i,firstInvalidLoc:a}=(0,s.readStringContents)("template",t,0,0,0,{unterminated(){r=!0},strictNumericEscape:n,invalidEscapeSequence:n,numericSeparatorInEscapeSequence:n,unexpectedNumericSeparator:n,invalidDigit:n,invalidCodePoint:n});if(!r)throw Error("Invalid raw");e.value.cooked=a?null:i})},tail:{default:!1}}}),u("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:(0,l.validateArrayOfType)("TemplateElement"),expressions:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1)throw TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.
233
+ ${h}`),n)?a.reset(h):h}t.codeFrameColumns=g,t.default=function(e,t,r,n={}){if(!f){f=!0;let e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";process.emitWarning?process.emitWarning(e,"DeprecationWarning"):(Error(e).name="DeprecationWarning",console.warn(Error(e)))}return g(e,{start:{column:r=Math.max(r,0),line:t}},n)},t.highlight=m},65739:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.defineProperties,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&h(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&h(e,r,t[r]);return e},f=(e,t)=>a(e,o(t)),y=(e,t)=>{var r={};for(var n in e)d.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))0>t.indexOf(n)&&p.call(e,n)&&(r[n]=e[n]);return r},g=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))d.call(e,a)||a===r||i(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable});return e},b={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(b,{Markdown:()=>x}),e.exports=g(i({},"__esModule",{value:!0}),b);var w=r(14698),v=((e,t,r)=>(r=null!=e?n(c(e)):{},g(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(64949)),k=r(82348),x=v.forwardRef((e,t)=>{var{children:r,markdownContainerStyles:n,markdownCustomStyles:i}=e,a=y(e,["children","markdownContainerStyles","markdownCustomStyles"]);let s=(0,w.parseMarkdownToJSX)({markdown:r,customStyles:i});return(0,k.jsx)("div",f(m({},a),{dangerouslySetInnerHTML:{__html:s},"data-id":"react-email-markdown",ref:t,style:n}))});x.displayName="Markdown"},65742:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.defineProperties,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&h(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&h(e,r,t[r]);return e},f=(e,t)=>a(e,o(t)),y=(e,t)=>{var r={};for(var n in e)d.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))0>t.indexOf(n)&&p.call(e,n)&&(r[n]=e[n]);return r},g=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))d.call(e,a)||a===r||i(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable});return e},b={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(b,{Head:()=>k}),e.exports=g(i({},"__esModule",{value:!0}),b);var w=((e,t,r)=>(r=null!=e?n(c(e)):{},g(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(64949)),v=r(82348),k=w.forwardRef((e,t)=>{var{children:r}=e,n=y(e,["children"]);return(0,v.jsxs)("head",f(m({},n),{ref:t,children:[(0,v.jsx)("meta",{content:"text/html; charset=UTF-8",httpEquiv:"Content-Type"}),(0,v.jsx)("meta",{name:"x-apple-disable-message-reformatting"}),r]}))});k.displayName="Head"},65753:(e,t,r)=>{"use strict";r.a(e,async(e,n)=>{try{r.d(t,{P:()=>v});var i=r(5945);r(84183);var a=r(73297),s=r(41093),o=r(42416),l=r(38970),u=r(10721),c=r(25283),d=r(84996),p=r(29226),h=r(67634),m=r(68372),f=r(83397),y=r(73424),g=r(72495),b=e([l]);l=(b.then?(await b)():b)[0];let w=["gmail","apple-mail","outlook","yahoo"],v=async(e,t)=>{let r=(0,a.parse)(e,{strictMode:!1,errorRecovery:!0,sourceType:"unambiguous",plugins:["jsx","typescript","decorators"]}),n=t=>{let r=e.split(/\n|\r|\r\n/);return r.slice(Math.max(t.start.line-2,0),Math.min(t.end.line+2,r.length)).join("\n")},i=(0,o.getObjectVariables)(r),g=await (0,l.getUsedStyleProperties)(r,e,t,i);return new ReadableStream({async start(t){for(let i of y.S){let a=(0,u.getCompatibilityStatsForEntry)(i,w);if(0!==Object.keys(a.perEmailClient).length&&"success"!==a.status&&"warning"!==a.status){if("html"===i.category){let e=(0,f.getElementNames)(i.title,i.keywords),l=(0,m.getElementAttributes)(i.title),u=e.length>0?"element":l.length>0?"attribute":void 0;if(!u)continue;let c=!1;"element"===u?(0,s.default)(r,{JSXOpeningElement(r){if("JSXIdentifier"===r.node.name.type&&!c){let s=r.node.name.name;e.includes(s)&&r.node.name.loc&&(c=!0,t.enqueue({entry:i,source:n(r.node.name.loc),location:(0,o.convertLocationIntoObject)(r.node.name.loc),statsPerEmailClient:a.perEmailClient,status:a.status}))}}}):(0,s.default)(r,{JSXAttribute(e){if("JSXIdentifier"===e.node.name.type&&!c){let r=e.node.name.name;l.includes(r)&&e.node.name.loc&&(c=!0,t.enqueue({entry:i,source:n(e.node.name.loc),location:(0,o.convertLocationIntoObject)(e.node.name.loc),statsPerEmailClient:a.perEmailClient,status:a.status}))}}})}if("css"===i.category){let s=(0,p.getCssPropertyWithValue)(i.title),u=(0,d.getCssPropertyNames)(i.title,i.keywords),m=(0,h.getCssUnit)(i.title),f=(0,c.getCssFunctions)(i.title),y=s?.name&&s.value?"full property":f.length>0?"function":m?"unit":u.length>0?"property name":void 0;if(!y)continue;let b=e=>{t.enqueue({entry:i,location:(0,o.convertLocationIntoObject)(e.location),source:n(e.location),statsPerEmailClient:a.perEmailClient,status:a.status})};for(let t of g){if(!(0,l.doesPropertyHaveLocation)(t))throw Error("One of the properties' node did not contain the proper location for it on the source code. This must be an issue because we always need access to the source.",{cause:{property:t,entry:i,reactCode:e,ast:r}});if("full property"===y){if(k(t.name)===k(s.name)&&t.value===s.value){b(t);break}}else if("function"===y){let e=/(?<functionName>[a-zA-Z_][a-zA-Z0-9_-]*)\s*\(/g,r=e.exec(t.value)?.groups?.functionName;if(void 0!==r&&f.includes(r)){b(t);break}}else if("unit"===y){let e=t.value.match(/[0-9](?<unit>[a-zA-Z%]+)$/g);if(e){let r=e.groups?.unit;if(m&&r&&m===r){b(t);break}}}else if(u.some(e=>k(t.name)===k(e))){b(t);break}}}}}t.close()}})},k=e=>e.toLowerCase().replace(/-+([a-z])/g,(e,t)=>t.toUpperCase());(0,g.D)([v]),(0,i.A)(v,"7fdcc8cb2bf203521dba3ca789f1e78fda9e781a0d",null),n()}catch(e){n(e)}})},65870:(e,t,r)=>{"use strict";let n=r(43243);e.exports=e=>"string"==typeof e?e.replace(n(),""):e},65925:(e,t,r)=>{"use strict";r.d(t,{$:()=>b});var n=r(64949),i=r(82348),a=Object.defineProperty,s=Object.defineProperties,o=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,d=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))u.call(t,r)&&d(e,r,t[r]);if(l)for(var r of l(t))c.call(t,r)&&d(e,r,t[r]);return e},h=(e,t)=>s(e,o(t)),m=(e,t)=>{var r={};for(var n in e)u.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&l)for(var n of l(e))0>t.indexOf(n)&&c.call(e,n)&&(r[n]=e[n]);return r};function f(e){let t=0;if(!e)return t;if("number"==typeof e)return e;let r=/^([\d.]+)(px|em|rem|%)$/.exec(e);if(r&&3===r.length){let e=Number.parseFloat(r[1]);switch(r[2]){case"px":default:return e;case"em":case"rem":return 16*e;case"%":return e/100*600}}return 0}var y=e=>"number"!=typeof e||Number.isNaN(Number(e))?void 0:3*e/4;function g(e){if(0===e)return[0,0];let t=0,r=()=>t>0?e/t/2:Number.POSITIVE_INFINITY;for(;r()>5;)t++;return[r(),t]}var b=n.forwardRef((e,t)=>{var{children:r,style:n,target:a="_blank"}=e,s=m(e,["children","style","target"]);let{paddingTop:o,paddingRight:l,paddingBottom:u,paddingLeft:c}=function(e){let t,r,n,i;for(let[a,s]of Object.entries(e))"padding"===a?{paddingTop:t,paddingBottom:n,paddingLeft:i,paddingRight:r}=function(e){if("number"==typeof e)return{paddingTop:e,paddingBottom:e,paddingLeft:e,paddingRight:e};if("string"==typeof e){let t=e.toString().trim().split(/\s+/);if(1===t.length)return{paddingTop:t[0],paddingBottom:t[0],paddingLeft:t[0],paddingRight:t[0]};if(2===t.length)return{paddingTop:t[0],paddingRight:t[1],paddingBottom:t[0],paddingLeft:t[1]};if(3===t.length)return{paddingTop:t[0],paddingRight:t[1],paddingBottom:t[2],paddingLeft:t[1]};if(4===t.length)return{paddingTop:t[0],paddingRight:t[1],paddingBottom:t[2],paddingLeft:t[3]}}return{paddingTop:void 0,paddingBottom:void 0,paddingLeft:void 0,paddingRight:void 0}}(s):"paddingTop"===a?t=s:"paddingRight"===a?r=s:"paddingBottom"===a?n=s:"paddingLeft"===a&&(i=s);return{paddingTop:t?f(t):void 0,paddingRight:r?f(r):void 0,paddingBottom:n?f(n):void 0,paddingLeft:i?f(i):void 0}}(null!=n?n:{}),d=y((null!=o?o:0)+(null!=u?u:0)),[b,w]=g(null!=c?c:0),[v,k]=g(null!=l?l:0);return(0,i.jsxs)("a",h(p({},s),{ref:t,style:h(p({lineHeight:"100%",textDecoration:"none",display:"inline-block",maxWidth:"100%",msoPaddingAlt:"0px"},n),{paddingTop:o,paddingRight:l,paddingBottom:u,paddingLeft:c}),target:a,children:[(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:`<!--[if mso]><i style="mso-font-width:${100*b}%;mso-text-raise:${d}" hidden>${"&#8202;".repeat(w)}</i><![endif]-->`}}),(0,i.jsx)("span",{style:{maxWidth:"100%",display:"inline-block",lineHeight:"120%",msoPaddingAlt:"0px",msoTextRaise:y(u)},children:r}),(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:`<!--[if mso]><i style="mso-font-width:${100*v}%" hidden>${"&#8202;".repeat(k)}&#8203;</i><![endif]-->`}})]}))});b.displayName="Button"},65991:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return n.COMMENT_KEYS.forEach(t=>{e[t]=null}),e};var n=r(54836)},66058:function(e,t,r){(function(e,t,r,n){"use strict";class i{constructor({file:e,sourceRoot:r}={}){this._names=new t.SetArray,this._sources=new t.SetArray,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=r,this._ignoreList=new t.SetArray}}function a(e){let{_mappings:t,_sources:r,_sourcesContent:n,_names:i,_ignoreList:a}=e;return function(e){let{length:t}=e,r=t;for(let t=r-1;t>=0&&!(e[t].length>0);r=t,t--);r<t&&(e.length=r)}(t),{version:3,file:e.file||void 0,names:i.array,sourceRoot:e.sourceRoot||void 0,sources:r.array,sourcesContent:n,mappings:t,ignoreList:a.array}}function s(e,r,n,i,a,s,l,u,c){let{_mappings:d,_sources:p,_sourcesContent:h,_names:m}=r,f=function(e,t){for(let r=e.length;r<=t;r++)e[r]=[];return e[t]}(d,n),y=function(e,t){let r=e.length;for(let n=r-1;n>=0&&!(t>=e[n][0]);r=n--);return r}(f,i);if(!a){var g,b;if(e&&(g=f,0===(b=y)||1===g[b-1].length))return;return o(f,y,[i])}let w=t.put(p,a),v=u?t.put(m,u):-1;if(w===h.length&&(h[w]=null!=c?c:null),!(e&&function(e,t,r,n,i,a){if(0===t)return!1;let s=e[t-1];return 1!==s.length&&r===s[1]&&n===s[2]&&i===s[3]&&a===(5===s.length?s[4]:-1)}(f,y,w,s,l,v)))return o(f,y,u?[i,w,s,l,v]:[i,w,s,l])}function o(e,t,r){for(let r=e.length;r>t;r--)e[r]=e[r-1];e[t]=r}function l(e,r){for(let n=0;n<r.length;n++)t.put(e,r[n])}function u(e,t,r){let{generated:n,source:i,original:a,name:o,content:l}=r;return i?s(e,t,n.line-1,n.column,i,a.line-1,a.column,o,l):s(e,t,n.line-1,n.column,null,null,null,null,null)}e.GenMapping=i,e.addMapping=function(e,t){return u(!1,e,t)},e.addSegment=function(e,t,r,n,i,a,o,l){return s(!1,e,t,r,n,i,a,o,l)},e.allMappings=function(e){let t=[],{_mappings:r,_sources:n,_names:i}=e;for(let e=0;e<r.length;e++){let a=r[e];for(let r=0;r<a.length;r++){let s,o,l,u=a[r],c={line:e+1,column:u[0]};1!==u.length&&(s=n.array[u[1]],o={line:u[2]+1,column:u[3]},5===u.length&&(l=i.array[u[4]])),t.push({generated:c,source:s,original:o,name:l})}}return t},e.fromMap=function(e){let t=new n.TraceMap(e),r=new i({file:t.file,sourceRoot:t.sourceRoot});return l(r._names,t.names),l(r._sources,t.sources),r._sourcesContent=t.sourcesContent||t.sources.map(()=>null),r._mappings=n.decodedMappings(t),t.ignoreList&&l(r._ignoreList,t.ignoreList),r},e.maybeAddMapping=(e,t)=>u(!0,e,t),e.maybeAddSegment=(e,t,r,n,i,a,o,l)=>s(!0,e,t,r,n,i,a,o,l),e.setIgnore=function(e,r,n=!0){let{_sources:i,_sourcesContent:a,_ignoreList:s}=e,o=t.put(i,r);o===a.length&&(a[o]=null),n?t.put(s,o):t.remove(s,o)},e.setSourceContent=function(e,r,n){let{_sources:i,_sourcesContent:a}=e;a[t.put(i,r)]=n},e.toDecodedMap=a,e.toEncodedMap=function(e){let t=a(e);return Object.assign(Object.assign({},t),{mappings:r.encode(t.mappings)})},Object.defineProperty(e,"__esModule",{value:!0})})(t,r(10110),r(86238),r(23598))},66063:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEPRECATED_ALIASES=void 0,t.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}},66078:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getLineAndColumnFromOffset:()=>n});let n=(e,t)=>{let r=[...t.slice(0,e).matchAll(/\n|\r|\r\n/g)];return[r.length+1,e-(r[r.length-1]?.index??0)]}},66198:(e,t)=>{var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<r.length)return r[e];throw TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},66266:(e,t,r)=>{"use strict";r.d(t,{w:()=>o});var n=r(37067),i=r.n(n),a=r(44708),s=r.n(a);let o=e=>new Promise((t,r)=>{("https:"===e.protocol?s():i()).get(e,e=>{t(e)}).on("error",e=>r(e))})},66408:(e,t,r)=>{var n=r(27910);"disable"===process.env.READABLE_STREAM&&n?(e.exports=n.Readable,Object.assign(e.exports,n),e.exports.Stream=n):((t=e.exports=r(14690)).Stream=n||t,t.Readable=t,t.Writable=r(16830),t.Duplex=r(71184),t.Transform=r(29152),t.PassThrough=r(58854),t.finished=r(55996),t.pipeline=r(55256))},66753:(e,t,r)=>{var n=global.process;let i=function(e){return e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on};if(i(n)){var a,s=r(12412),o=r(62112),l=/^win/i.test(n.platform),u=r(94735);"function"!=typeof u&&(u=u.EventEmitter),n.__signal_exit_emitter__?a=n.__signal_exit_emitter__:((a=n.__signal_exit_emitter__=new u).count=0,a.emitted={}),a.infinite||(a.setMaxListeners(1/0),a.infinite=!0),e.exports=function(e,t){if(!i(global.process))return function(){};s.equal(typeof e,"function","a callback must be provided for exit handler"),!1===h&&m();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),a.on(r,e),function(){a.removeListener(r,e),0===a.listeners("exit").length&&0===a.listeners("afterexit").length&&c()}};var c=function(){h&&i(global.process)&&(h=!1,o.forEach(function(e){try{n.removeListener(e,p[e])}catch(e){}}),n.emit=g,n.reallyExit=f,a.count-=1)};e.exports.unload=c;var d=function(e,t,r){a.emitted[e]||(a.emitted[e]=!0,a.emit(e,t,r))},p={};o.forEach(function(e){p[e]=function(){i(global.process)&&n.listeners(e).length===a.count&&(c(),d("exit",null,e),d("afterexit",null,e),l&&"SIGHUP"===e&&(e="SIGINT"),n.kill(n.pid,e))}}),e.exports.signals=function(){return o};var h=!1,m=function(){!h&&i(global.process)&&(h=!0,a.count+=1,o=o.filter(function(e){try{return n.on(e,p[e]),!0}catch(e){return!1}}),n.emit=b,n.reallyExit=y)};e.exports.load=m;var f=n.reallyExit,y=function(e){i(global.process)&&(n.exitCode=e||0,d("exit",n.exitCode,null),d("afterexit",n.exitCode,null),f.call(n,n.exitCode))},g=n.emit,b=function(e,t){if(!("exit"===e&&i(global.process)))return g.apply(this,arguments);void 0!==t&&(n.exitCode=t);var r=g.apply(this,arguments);return d("exit",n.exitCode,null),d("afterexit",n.exitCode,null),r}}else e.exports=function(){return function(){}}},67228:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.patternLikeCommon=t.importAttributes=t.functionTypeAnnotationCommon=t.functionDeclarationCommon=t.functionCommon=t.classMethodOrPropertyCommon=t.classMethodOrDeclareMethodCommon=void 0;var n=r(14814),i=r(84937),a=r(99742),s=r(85032),o=r(54836),l=r(64514);let u=(0,l.defineAliasedType)("Standardized");u("ArrayExpression",{fields:{elements:{validate:(0,l.arrayOf)((0,l.assertNodeOrValueType)("null","Expression","SpreadElement")),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),u("AssignmentExpression",{fields:{operator:{validate:process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(){let e=(0,l.assertOneOf)(...o.ASSIGNMENT_OPERATORS),t=(0,l.assertOneOf)("=");return function(r,i,a){((0,n.default)("Pattern",r.left)?t:e)(r,i,a)}}(),{type:"string"}):(0,l.assertValueType)("string")},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,l.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,l.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),u("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,l.assertOneOf)(...o.BINARY_OPERATORS)},left:{validate:function(){let e=(0,l.assertNodeType)("Expression"),t=(0,l.assertNodeType)("Expression","PrivateName");return Object.assign(function(r,n,i){("in"===r.operator?t:e)(r,n,i)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:(0,l.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),u("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}}}),u("Directive",{visitor:["value"],fields:{value:{validate:(0,l.assertNodeType)("DirectiveLiteral")}}}),u("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}}}),u("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,l.arrayOfType)("Directive"),default:[]},body:(0,l.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]}),u("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,l.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),u("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,l.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:(0,l.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),typeArguments:{validate:(0,l.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{optional:{validate:(0,l.assertValueType)("boolean"),optional:!0},typeParameters:{validate:(0,l.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,l.assertValueType)("boolean"),optional:!0}})}),u("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,l.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),u("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},consequent:{validate:(0,l.assertNodeType)("Expression")},alternate:{validate:(0,l.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),u("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,l.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),u("DebuggerStatement",{aliases:["Statement"]}),u("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),u("EmptyStatement",{aliases:["Statement"]}),u("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,l.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),u("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,l.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.assertEach)((0,l.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,l.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}}),u("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,l.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}}}),u("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,l.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,l.assertNodeType)("Expression"),optional:!0},update:{validate:(0,l.assertNodeType)("Expression"),optional:!0},body:{validate:(0,l.assertNodeType)("Statement")}}});let c=()=>({params:(0,l.validateArrayOfType)("Identifier","Pattern","RestElement"),generator:{default:!1},async:{default:!1}});t.functionCommon=c;let d=()=>({returnType:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});t.functionTypeAnnotationCommon=d;let p=()=>Object.assign({},c(),{declare:{validate:(0,l.assertValueType)("boolean"),optional:!0},id:{validate:(0,l.assertNodeType)("Identifier"),optional:!0}});t.functionDeclarationCommon=p,u("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},p(),d(),{body:{validate:(0,l.assertNodeType)("BlockStatement")},predicate:{validate:(0,l.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:process.env.BABEL_TYPES_8_BREAKING?function(){let e=(0,l.assertNodeType)("Identifier");return function(t,r,i){(0,n.default)("ExportDefaultDeclaration",t)||e(i,"id",i.id)}}():void 0}),u("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},c(),d(),{id:{validate:(0,l.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,l.assertNodeType)("BlockStatement")},predicate:{validate:(0,l.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});let h=()=>({typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,l.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:!0}});t.patternLikeCommon=h,u("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},h(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertValueType)("string"),Object.assign(function(e,t,r){if(!(0,i.default)(r,!1))throw TypeError(`"${r}" is not a valid identifier name`)},{type:"string"})):(0,l.assertValueType)("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(e,t,r){let i=/\.(\w+)$/.exec(t.toString());if(!i)return;let[,s]=i,o={computed:!1};if("property"===s){if((0,n.default)("MemberExpression",e,o)||(0,n.default)("OptionalMemberExpression",e,o))return}else if("key"===s){if((0,n.default)("Property",e,o)||(0,n.default)("Method",e,o))return}else if("exported"===s){if((0,n.default)("ExportSpecifier",e))return}else if("imported"===s){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if("meta"===s&&(0,n.default)("MetaProperty",e,{meta:r}))return;if(((0,a.isKeyword)(r.name)||(0,a.isReservedWord)(r.name,!1))&&"this"!==r.name)throw TypeError(`"${r.name}" is not a valid identifier`)}:void 0}),u("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},consequent:{validate:(0,l.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,l.assertNodeType)("Statement")}}}),u("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,l.assertNodeType)("Identifier")},body:{validate:(0,l.assertNodeType)("Statement")}}}),u("StringLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),u("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,l.chain)((0,l.assertValueType)("number"),Object.assign(function(e,t,r){(1/r<0||!Number.isFinite(r))&&Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${r}) instead.`)},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]}),u("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),u("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),u("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,l.assertValueType)("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertValueType)("string"),Object.assign(function(e,t,r){let n=/[^gimsuy]/.exec(r);if(n)throw TypeError(`"${n[0]}" is not a valid RegExp flag`)},{type:"string"})):(0,l.assertValueType)("string"),default:""}}}),u("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,l.assertOneOf)(...o.LOGICAL_OPERATORS)},left:{validate:(0,l.assertNodeType)("Expression")},right:{validate:(0,l.assertNodeType)("Expression")}}}),u("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,l.assertNodeType)("Expression","Super")},property:{validate:function(){let e=(0,l.assertNodeType)("Identifier","PrivateName"),t=(0,l.assertNodeType)("Expression"),r=function(r,n,i){(r.computed?t:e)(r,n,i)};return r.oneOfNodeTypes=["Expression","Identifier","PrivateName"],r}()},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,l.assertValueType)("boolean"),optional:!0}})}),u("NewExpression",{inherits:"CallExpression"}),u("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,l.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,l.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,l.arrayOfType)("Directive"),default:[]},body:(0,l.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block"]}),u("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,l.validateArrayOfType)("ObjectMethod","ObjectProperty","SpreadElement")}}),u("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},c(),d(),{kind:Object.assign({validate:(0,l.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:function(){let e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=(0,l.assertNodeType)("Expression"),r=function(r,n,i){(r.computed?t:e)(r,n,i)};return r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],r}()},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:!0},body:{validate:(0,l.assertNodeType)("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),u("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:function(){let e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),t=(0,l.assertNodeType)("Expression");return Object.assign(function(r,n,i){(r.computed?t:e)(r,n,i)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})}()},value:{validate:(0,l.assertNodeType)("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertValueType)("boolean"),Object.assign(function(e,t,r){if(r){if(e.computed)throw TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!(0,n.default)("Identifier",e.key))throw TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}},{type:"boolean"})):(0,l.assertValueType)("boolean"),default:!1},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:process.env.BABEL_TYPES_8_BREAKING?function(){let e=(0,l.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),t=(0,l.assertNodeType)("Expression");return function(r,i,a){((0,n.default)("ObjectPattern",r)?e:t)(a,"value",a.value)}}():void 0}),u("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},h(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,l.assertNodeType)("LVal")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(e,t){let r=/(\w+)\[(\d+)\]/.exec(t.toString());if(!r)throw Error("Internal Babel error: malformed key.");let[,n,i]=r;if(e[n].length>+i+1)throw TypeError(`RestElement must be last element of ${n}`)}:void 0}),u("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,l.assertNodeType)("Expression"),optional:!0}}}),u("SequenceExpression",{visitor:["expressions"],fields:{expressions:(0,l.validateArrayOfType)("Expression")},aliases:["Expression"]}),u("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,l.assertNodeType)("Expression")}}}),u("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,l.assertNodeType)("Expression"),optional:!0},consequent:(0,l.validateArrayOfType)("Statement")}}),u("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,l.assertNodeType)("Expression")},cases:(0,l.validateArrayOfType)("SwitchCase")}}),u("ThisExpression",{aliases:["Expression"]}),u("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,l.assertNodeType)("Expression")}}}),u("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertNodeType)("BlockStatement"),Object.assign(function(e){if(!e.handler&&!e.finalizer)throw TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):(0,l.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,l.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,l.assertNodeType)("BlockStatement")}}}),u("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,l.assertNodeType)("Expression")},operator:{validate:(0,l.assertOneOf)(...o.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),u("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("Identifier","MemberExpression"):(0,l.assertNodeType)("Expression")},operator:{validate:(0,l.assertOneOf)(...o.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),u("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,l.assertValueType)("boolean"),optional:!0},kind:{validate:(0,l.assertOneOf)("var","let","const","using","await using")},declarations:(0,l.validateArrayOfType)("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(()=>{let e=(0,l.assertNodeType)("Identifier","Placeholder"),t=(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","Placeholder");return function(r,i,a){let{kind:s,declarations:o}=a,l=(0,n.default)("ForXStatement",r,{left:a});if(l&&1!==o.length)throw TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${r.type}`);for(let r of o)("const"===s||"let"===s||"var"===s)&&(l||r.init)?t(r,"id",r.id):e(r,"id",r.id)}})():void 0}),u("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"):(0,l.assertNodeType)("LVal")},definite:{optional:!0,validate:(0,l.assertValueType)("boolean")},init:{optional:!0,validate:(0,l.assertNodeType)("Expression")}}}),u("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}}}),u("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}}}),u("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},h(),{left:{validate:(0,l.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,l.assertNodeType)("Expression")},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:!0}})}),u("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},h(),{elements:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeOrValueType)("null","PatternLike","LVal")))}})}),u("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},c(),d(),{expression:{validate:(0,l.assertValueType)("boolean")},body:{validate:(0,l.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,l.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})}),u("ClassBody",{visitor:["body"],fields:{body:(0,l.validateArrayOfType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}}),u("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,l.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,l.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,l.assertNodeType)("Expression")},superTypeParameters:{validate:(0,l.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,l.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,l.assertNodeType)("InterfaceExtends"),optional:!0}}}),u("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,l.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,l.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,l.assertNodeType)("Expression")},superTypeParameters:{validate:(0,l.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,l.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,l.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,l.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,l.assertValueType)("boolean"),optional:!0}},validate:process.env.BABEL_TYPES_8_BREAKING?function(){let e=(0,l.assertNodeType)("Identifier");return function(t,r,i){(0,n.default)("ExportDefaultDeclaration",t)||e(i,"id",i.id)}}():void 0});let m=t.importAttributes={attributes:{optional:!0,validate:(0,l.arrayOfType)("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:(0,l.arrayOfType)("ImportAttribute")}};u("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:(0,l.assertNodeType)("StringLiteral")},exportKind:(0,l.validateOptional)((0,l.assertOneOf)("type","value"))},m)}),u("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:(0,l.validateType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:(0,l.validateOptional)((0,l.assertOneOf)("value"))}}),u("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:process.env?["declaration","specifiers","source","attributes"]:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertNodeType)("Declaration"),Object.assign(function(e,t,r){if(r&&e.specifiers.length)throw TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(r&&e.source)throw TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):(0,l.assertNodeType)("Declaration")}},m,{specifiers:{default:[],validate:(0,l.arrayOf)(function(){let e=(0,l.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),t=(0,l.assertNodeType)("ExportSpecifier");return process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(r,n,i){(r.source?e:t)(r,n,i)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]}):e}())},source:{validate:(0,l.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,l.validateOptional)((0,l.assertOneOf)("type","value"))})}),u("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")},exported:{validate:(0,l.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,l.assertOneOf)("type","value"),optional:!0}}}),u("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,l.assertNodeType)("VariableDeclaration","LVal");let e=(0,l.assertNodeType)("VariableDeclaration"),t=(0,l.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(r,i,a){(0,n.default)("VariableDeclaration",a)?e(r,i,a):t(r,i,a)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})}()},right:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")},await:{default:!1}}}),u("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},m,{module:{optional:!0,validate:(0,l.assertValueType)("boolean")},phase:{default:null,validate:(0,l.assertOneOf)("source","defer")},specifiers:(0,l.validateArrayOfType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:(0,l.assertNodeType)("StringLiteral")},importKind:{validate:(0,l.assertOneOf)("type","typeof","value"),optional:!0}})}),u("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")}}}),u("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")}}}),u("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")},imported:{validate:(0,l.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,l.assertOneOf)("type","typeof","value"),optional:!0}}}),u("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,l.assertOneOf)("source","defer")},source:{validate:(0,l.assertNodeType)("Expression")},options:{validate:(0,l.assertNodeType)("Expression"),optional:!0}}}),u("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertNodeType)("Identifier"),Object.assign(function(e,t,r){let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta"}if(!(0,n.default)("Identifier",e.property,{name:i}))throw TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):(0,l.assertNodeType)("Identifier")},property:{validate:(0,l.assertNodeType)("Identifier")}}});let f=()=>({abstract:{validate:(0,l.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,l.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,l.assertValueType)("boolean"),optional:!0},key:{validate:(0,l.chain)(function(){let e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=(0,l.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}(),(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});t.classMethodOrPropertyCommon=f;let y=()=>Object.assign({},c(),f(),{params:(0,l.validateArrayOfType)("Identifier","Pattern","RestElement","TSParameterProperty"),kind:{validate:(0,l.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,l.chain)((0,l.assertValueType)("string"),(0,l.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:!0}});t.classMethodOrDeclareMethodCommon=y,u("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},y(),d(),{body:{validate:(0,l.assertNodeType)("BlockStatement")}})}),u("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},h(),{properties:(0,l.validateArrayOfType)("RestElement","ObjectProperty")})}),u("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,l.assertNodeType)("Expression")}}}),u("Super",{aliases:["Expression"]}),u("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,l.assertNodeType)("Expression")},quasi:{validate:(0,l.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),u("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,l.chain)((0,l.assertShape)({raw:{validate:(0,l.assertValueType)("string")},cooked:{validate:(0,l.assertValueType)("string"),optional:!0}}),function(e){let t=e.value.raw,r=!1,n=()=>{throw Error("Internal @babel/types error.")},{str:i,firstInvalidLoc:a}=(0,s.readStringContents)("template",t,0,0,0,{unterminated(){r=!0},strictNumericEscape:n,invalidEscapeSequence:n,numericSeparatorInEscapeSequence:n,unexpectedNumericSeparator:n,invalidDigit:n,invalidCodePoint:n});if(!r)throw Error("Invalid raw");e.value.cooked=a?null:i})},tail:{default:!1}}}),u("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:(0,l.validateArrayOfType)("TemplateElement"),expressions:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Expression","TSType")),function(e,t,r){if(e.quasis.length!==r.length+1)throw TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.
234
234
  Expected ${r.length+1} quasis but got ${e.quasis.length}`)})}}}),u("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertValueType)("boolean"),Object.assign(function(e,t,r){if(r&&!e.argument)throw TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):(0,l.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,l.assertNodeType)("Expression")}}}),u("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,l.assertNodeType)("Expression")}}}),u("Import",{aliases:["Expression"]}),u("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),u("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,l.assertNodeType)("Identifier")}}}),u("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,l.assertNodeType)("Expression")},property:{validate:function(){let e=(0,l.assertNodeType)("Identifier"),t=(0,l.assertNodeType)("Expression");return Object.assign(function(r,n,i){(r.computed?t:e)(r,n,i)},{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertValueType)("boolean"),(0,l.assertOptionalChainStart)()):(0,l.assertValueType)("boolean")}}}),u("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,l.assertNodeType)("Expression")},arguments:(0,l.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,l.chain)((0,l.assertValueType)("boolean"),(0,l.assertOptionalChainStart)()):(0,l.assertValueType)("boolean")},typeArguments:{validate:(0,l.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,l.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),u("ClassProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},f(),{value:{validate:(0,l.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,l.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,l.assertValueType)("boolean"),optional:!0},declare:{validate:(0,l.assertValueType)("boolean"),optional:!0},variance:{validate:(0,l.assertNodeType)("Variance"),optional:!0}})}),u("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},f(),{key:{validate:(0,l.chain)(function(){let e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),t=(0,l.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}(),(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,l.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,l.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,l.assertValueType)("boolean"),optional:!0},declare:{validate:(0,l.assertValueType)("boolean"),optional:!0},variance:{validate:(0,l.assertNodeType)("Variance"),optional:!0}})}),u("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,l.assertNodeType)("PrivateName")},value:{validate:(0,l.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,l.arrayOfType)("Decorator"),optional:!0},static:{validate:(0,l.assertValueType)("boolean"),default:!1},readonly:{validate:(0,l.assertValueType)("boolean"),optional:!0},optional:{validate:(0,l.assertValueType)("boolean"),optional:!0},definite:{validate:(0,l.assertValueType)("boolean"),optional:!0},variance:{validate:(0,l.assertNodeType)("Variance"),optional:!0}}}),u("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},y(),d(),{kind:{validate:(0,l.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,l.assertNodeType)("PrivateName")},body:{validate:(0,l.assertNodeType)("BlockStatement")}})}),u("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,l.assertNodeType)("Identifier")}}}),u("StaticBlock",{visitor:["body"],fields:{body:(0,l.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]}),u("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,l.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,l.assertNodeType)("StringLiteral")}}})},67310:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.compileToken=t.compileUnsafe=t.compile=void 0;var o=r(38037),l=s(r(81832)),u=a(r(61835)),c=r(27607),d=r(54466);function p(e,t,r){return g("string"==typeof e?(0,o.parse)(e):e,t,r)}function h(e){return e.type===o.SelectorType.Pseudo&&("scope"===e.name||Array.isArray(e.data)&&e.data.some(function(e){return e.some(h)}))}t.compile=function(e,t,r){var n=p(e,t,r);return(0,d.ensureIsTag)(n,t.adapter)},t.compileUnsafe=p;var m={type:o.SelectorType.Descendant},f={type:"_flexibleDescendant"},y={type:o.SelectorType.Pseudo,name:"scope",data:null};function g(e,t,r){e.forEach(u.default);var n,i=Array.isArray(r=null!=(n=t.context)?n:r),a=r&&(Array.isArray(r)?r:[r]);if(!1!==t.relativeSelector)for(var s=t.adapter,p=!!(null==a?void 0:a.every(function(e){var t=s.isTag(e)&&s.getParent(e);return e===d.PLACEHOLDER_ELEMENT||t&&s.isTag(t)})),w=0;w<e.length;w++){var v=e[w];if(v.length>0&&(0,u.isTraversal)(v[0])&&v[0].type!==o.SelectorType.Descendant);else{if(!p||v.some(h))continue;v.unshift(m)}v.unshift(y)}else if(e.some(function(e){return e.length>0&&(0,u.isTraversal)(e[0])}))throw Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");var k=!1,x=e.map(function(e){if(e.length>=2){var r,n,s,u,d=e[0],p=e[1];d.type!==o.SelectorType.Pseudo||"scope"!==d.name||(i&&p.type===o.SelectorType.Descendant?e[1]=f:(p.type===o.SelectorType.Adjacent||p.type===o.SelectorType.Sibling)&&(k=!0))}return r=e,n=t,s=a,r.reduce(function(e,t){return e===l.default.falseFunc?l.default.falseFunc:(0,c.compileGeneralSelector)(e,t,n,s,g)},null!=(u=n.rootFunc)?u:l.default.trueFunc)}).reduce(b,l.default.falseFunc);return x.shouldTestNextSiblings=k,x}function b(e,t){return t===l.default.falseFunc||e===l.default.trueFunc?e:e===l.default.falseFunc||t===l.default.trueFunc?t:function(r){return e(r)||t(r)}}t.compileToken=g},67491:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.defineProperties,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&h(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&h(e,r,t[r]);return e},f=(e,t)=>a(e,o(t)),y=(e,t)=>{var r={};for(var n in e)d.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))0>t.indexOf(n)&&p.call(e,n)&&(r[n]=e[n]);return r},g=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))d.call(e,a)||a===r||i(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable});return e},b={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(b,{Section:()=>k}),e.exports=g(i({},"__esModule",{value:!0}),b);var w=((e,t,r)=>(r=null!=e?n(c(e)):{},g(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(64949)),v=r(82348),k=w.forwardRef((e,t)=>{var{children:r,style:n}=e,i=y(e,["children","style"]);return(0,v.jsx)("table",f(m({align:"center",width:"100%",border:0,cellPadding:"0",cellSpacing:"0",role:"presentation"},i),{ref:t,style:n,children:(0,v.jsx)("tbody",{children:(0,v.jsx)("tr",{children:(0,v.jsx)("td",{children:r})})})}))});k.displayName="Section"},67634:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getCssUnit:()=>n});let n=e=>e.endsWith(" unit")?e.replace(" unit",""):void 0},67679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){let{placeholderWhitelist:n,placeholderPattern:s,preserveComments:o,syntacticPlaceholders:l}=r,u=function(e,t,r){let n=(t.plugins||[]).slice();!1!==r&&n.push("placeholders"),t=Object.assign({allowAwaitOutsideFunction:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowYieldOutsideFunction:!0,sourceType:"module"},t,{plugins:n});try{return(0,i.parse)(e,t)}catch(r){let t=r.loc;throw t&&(r.message+="\n"+(0,a.codeFrameColumns)(e,{start:t}),r.code="BABEL_TEMPLATE_PARSE_ERROR"),r}}(t,r.parser,l);f(u,{preserveComments:o}),e.validate(u);let c={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:n,placeholderPattern:s,syntacticPlaceholders:l};return y(u,b,c),Object.assign({ast:u},c.syntactic.placeholders.length?c.syntactic:c.legacy)};var n=r(40838),i=r(91908),a=r(71248);let{isCallExpression:s,isExpressionStatement:o,isFunction:l,isIdentifier:u,isJSXIdentifier:c,isNewExpression:d,isPlaceholder:p,isStatement:h,isStringLiteral:m,removePropertiesDeep:f,traverse:y}=n,g=/^[_$A-Z0-9]+$/;function b(e,t,r){var n;let i,a,f=r.syntactic.placeholders.length>0;if(p(e)){if(!1===r.syntacticPlaceholders)throw Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");i=e.name.name,f=!0}else if(f||r.syntacticPlaceholders)return;else if(u(e)||c(e))i=e.name;else{if(!m(e))return;i=e.value}if(f&&(null!=r.placeholderPattern||null!=r.placeholderWhitelist))throw Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!f&&(!1===r.placeholderPattern||!(r.placeholderPattern||g).test(i))&&!(null!=(n=r.placeholderWhitelist)&&n.has(i)))return;let{node:y,key:b}=(t=t.slice())[t.length-1];m(e)||p(e,{expectedNode:"StringLiteral"})?a="string":d(y)&&"arguments"===b||s(y)&&"arguments"===b||l(y)&&"params"===b?a="param":o(y)&&!p(e)?(a="statement",t=t.slice(0,-1)):a=h(e)&&p(e)?"statement":"other";let{placeholders:w,placeholderNames:v}=f?r.syntactic:r.legacy;w.push({name:i,type:a,resolve:e=>(function(e,t){let r=e;for(let e=0;e<t.length-1;e++){let{key:n,index:i}=t[e];r=void 0===i?r[n]:r[n][i]}let{key:n,index:i}=t[t.length-1];return{parent:r,key:n,index:i}})(e,t),isDuplicate:v.has(i)}),v.add(i)}},67791:(e,t,r)=>{"use strict";let n=r(77394),i=new WeakMap,a=(e,t={})=>{let r;if("function"!=typeof e)throw TypeError("Expected a function");let a=0,s=e.displayName||e.name||"<anonymous>",o=function(...n){if(i.set(o,++a),1===a)r=e.apply(this,n),e=null;else if(!0===t.throw)throw Error(`Function \`${s}\` can only be called once`);return r};return n(o,e),i.set(o,a),o};e.exports=a,e.exports.default=a,e.exports.callCount=e=>{if(!i.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return i.get(e)}},67825:(e,t,r)=>{"use strict";r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{default:()=>E,dynamic:()=>S,dynamicParams:()=>x,generateMetadata:()=>k});var i=r(82348),a=r(76760),s=r.n(a),o=r(30287),l=r(64949),u=r(65753),c=r(14597),d=r(12816),p=r(77830),h=r(78209),m=r(45888),f=r(97699),y=r(41974),g=r(93230),b=r(71188),w=r(43850),v=e([u]);u=(v.then?(await v)():v)[0];let x=!0,S="force-dynamic";async function k({params:e}){let{slug:t}=await e;return{title:`${s().basename(t.join("/"))} — React Email`}}let E=async({params:e})=>{let t,r,n,a,v=await e,k=decodeURIComponent(v.slug.join("/")),x=await (0,f.getEmailsDirectoryMetadata)(b.Z8);if(void 0===x)throw Error(`Could not find the emails directory specified under ${b.Z8}!
235
235
 
236
236
  This is most likely not an issue with the preview server. Maybe there was a typo on the "--dir" flag?`);try{t=await (0,c.j)(k)}catch(e){throw e instanceof Error&&(console.warn(e.message),(0,o.redirect)("/")),e}let S=await (0,d.P)(t);if(b.Hf){if("error"in S)throw Error(S.error.message,{cause:S.error});let e=(0,y.getLintingSources)(S.markup,"");for await(let t of(n=[],(0,y.loadLintingRowsFrom)(e)))n.push(t);for await(let e of(n.sort((e,t)=>"error"===e.result.status&&"warning"===t.result.status?-1:+("warning"===e.result.status&&"error"===t.result.status)),a=[],(0,g.loadStream)(await (0,u.P)(S.reactMarkup,t))))a.push(e);let i=await fetch("https://react.email/api/check-spam",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({html:S.markup,plainText:S.plainText})}),s=await i.json();if("error"in s)throw Error(`Failed doing Spam Check. ${s.error}`,{cause:s});r=s}return(0,i.jsx)(m.PreviewProvider,{emailSlug:k,emailPath:t,serverRenderingResult:S,children:(0,i.jsx)(p.Shell,{currentEmailOpenSlug:k,children:(0,i.jsxs)(l.Suspense,{children:[(0,i.jsx)(w.default,{emailTitle:s().basename(t)}),(0,i.jsx)(h.Toolbar,{serverLintingRows:n,serverSpamCheckingResult:r,serverCompatibilityResults:a})]})})})};n()}catch(e){n(e)}})},67923:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierChar=c,t.isIdentifierName=function(e){let t=!0;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if((64512&n)==55296&&r+1<e.length){let t=e.charCodeAt(++r);(64512&t)==56320&&(n=65536+((1023&n)<<10)+(1023&t))}if(t){if(t=!1,!u(n))return!1}else if(!c(n))return!1}return!t},t.isIdentifierStart=u;let r="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",n="\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",i=RegExp("["+r+"]"),a=RegExp("["+r+n+"]");r=n=null;let s=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function l(e,t){let r=65536;for(let n=0,i=t.length;n<i&&!((r+=t[n])>e);n+=2)if((r+=t[n+1])>=e)return!0;return!1}function u(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&i.test(String.fromCharCode(e)):l(e,s)))}function c(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&a.test(String.fromCharCode(e)):l(e,s)||l(e,o))))}},68211:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var n=r(11188),i=r(65925),a=r(64949),s=r(49166);let o=function(){return(0,s.jsxDEV)(n.E,{children:(0,s.jsxDEV)(i.$,{href:"https://example.com",style:{background:"#000",color:"#fff",padding:"12px 20px"},children:"Click me"},void 0,!1,{fileName:"/Users/david/src/silencia-ai/silencia/proto/emails-raw/em1.mdx",lineNumber:7,columnNumber:7},this)},void 0,!1,{fileName:"/Users/david/src/silencia-ai/silencia/proto/emails-raw/em1.mdx",lineNumber:6,columnNumber:5},this)};function l(e){let t={h1:"h1",...(0,a.useMDXComponents)(),...e.components};return(0,s.jsxDEV)(s.Fragment,{children:[(0,s.jsxDEV)(t.h1,{children:"Hello!"},void 0,!1,{fileName:"/Users/david/src/silencia-ai/silencia/proto/emails-raw/em1.mdx",lineNumber:17,columnNumber:1},this),"\n",(0,s.jsxDEV)(Email,{},void 0,!1,{fileName:"/Users/david/src/silencia-ai/silencia/proto/emails-raw/em1.mdx",lineNumber:19,columnNumber:1},this)]},void 0,!0,{fileName:"/Users/david/src/silencia-ai/silencia/proto/emails-raw/em1.mdx",lineNumber:1,columnNumber:1},this)}function u(e={}){return(0,s.jsxDEV)(o,{...e,children:(0,s.jsxDEV)(l,{...e},void 0,!1,{fileName:"/Users/david/src/silencia-ai/silencia/proto/emails-raw/em1.mdx"},this)},void 0,!1,{fileName:"/Users/david/src/silencia-ai/silencia/proto/emails-raw/em1.mdx"},this)}},68372:(e,t,r)=>{"use strict";function n(e){return e.endsWith(" attribute")?[e.replace(" attribute","")]:[]}r.r(t),r.d(t,{getElementAttributes:()=>n})},68965:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBindingIdentifier=function(){let{node:e,parent:t}=this,r=this.parentPath.parent;return c(e)&&n(e,t,r)},t.isBlockScoped=function(){return i(this.node)},t.isExpression=function(){return this.isIdentifier()?this.isReferencedIdentifier():s(this.node)},t.isFlow=function(){let{node:e}=this;return!!o(e)||(d(e)?"type"===e.importKind||"typeof"===e.importKind:a(e)?"type"===e.exportKind:!!p(e)&&("type"===e.importKind||"typeof"===e.importKind))},t.isForAwaitStatement=function(){return S(this.node,{await:!0})},t.isGenerated=function(){return!this.isUser()},t.isPure=function(e){return this.scope.isPure(this.node,e)},t.isReferenced=function(){return g(this.node,this.parent)},t.isReferencedIdentifier=function(e){let{node:t,parent:r}=this;if(!c(t,e)&&!m(r,e)){if(!h(t,e))return!1;else if(E(t.name))return!1}return g(t,r,this.parentPath.parent)},t.isReferencedMemberExpression=function(){let{node:e,parent:t}=this;return f(e)&&g(e,t)},t.isRestProperty=function(){var e;return y(this.node)&&(null==(e=this.parentPath)?void 0:e.isObjectPattern())},t.isScope=function(){return b(this.node,this.parent)},t.isSpreadProperty=function(){var e;return y(this.node)&&(null==(e=this.parentPath)?void 0:e.isObjectExpression())},t.isStatement=function(){let{node:e,parent:t}=this;return!(!w(e)||k(e)&&(u(t,{left:e})||l(t,{init:e})))&&!0},t.isUser=function(){return this.node&&!!this.node.loc},t.isVar=function(){return v(this.node)};let{isBinding:n,isBlockScoped:i,isExportDeclaration:a,isExpression:s,isFlow:o,isForStatement:l,isForXStatement:u,isIdentifier:c,isImportDeclaration:d,isImportSpecifier:p,isJSXIdentifier:h,isJSXMemberExpression:m,isMemberExpression:f,isRestElement:y,isReferenced:g,isScope:b,isStatement:w,isVar:v,isVariableDeclaration:k,react:x,isForOfStatement:S}=r(40838),{isCompatTag:E}=x;t.isExistentialTypeParam=function(){throw Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},t.isNumericLiteralTypeAnnotation=function(){throw Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}},69090:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"notFound",{enumerable:!0,get:function(){return i}});let n=""+r(21963).HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function i(){let e=Object.defineProperty(Error(n),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw e.digest=n,e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69322:e=>{"use strict";e.exports=require("esbuild")},69808:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExportAllDeclaration=function(e){var t,r;this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,!1)):this.print(e.source),this.semicolon()},t.ExportDefaultDeclaration=function(e){p(this,e),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=i.TokenContext.exportDefault;let t=e.declaration;this.print(t),c(t)||this.semicolon()},t.ExportDefaultSpecifier=function(e){this.print(e.exported)},t.ExportNamedDeclaration=function(e){if(p(this,e),this.word("export"),this.space(),e.declaration){let t=e.declaration;this.print(t),c(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());let n=e.specifiers.slice(0),i=!1;for(;;){let e=n[0];if(s(e)||o(e))i=!0,this.print(n.shift()),n.length&&(this.tokenChar(44),this.space());else break}let a=!1;if(!n.length&&(n.length||i)||(a=!0,this.tokenChar(123),n.length&&(this.space(),this.printList(n,this.shouldPrintTrailingComma("}")),this.space()),this.tokenChar(125)),e.source){var t,r;this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,a)):this.print(e.source)}this.semicolon()}},t.ExportNamespaceSpecifier=function(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported)},t.ExportSpecifier=function(e){"type"===e.exportKind&&(this.word("type"),this.space()),this.print(e.local),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported))},t.ImportAttribute=function(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)},t.ImportDeclaration=function(e){var t,r;this.word("import"),this.space();let n="type"===e.importKind||"typeof"===e.importKind;n?(this.noIndentInnerCommentsHere(),this.word(e.importKind),this.space()):e.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):e.phase&&(this.noIndentInnerCommentsHere(),this.word(e.phase),this.space());let i=e.specifiers.slice(0),a=!!i.length;for(;a;){let e=i[0];if(l(e)||u(e))this.print(i.shift()),i.length&&(this.tokenChar(44),this.space());else break}let s=!1;i.length?(s=!0,this.tokenChar(123),this.space(),this.printList(i,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125)):n&&!a&&(s=!0,this.tokenChar(123),this.tokenChar(125)),(a||n)&&(this.space(),this.word("from"),this.space()),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,s)):this.print(e.source),this.semicolon()},t.ImportDefaultSpecifier=function(e){this.print(e.local)},t.ImportExpression=function(e){this.word("import"),e.phase&&(this.tokenChar(46),this.word(e.phase)),this.tokenChar(40),this.print(e.source),null!=e.options&&(this.tokenChar(44),this.space(),this.print(e.options)),this.tokenChar(41)},t.ImportNamespaceSpecifier=function(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local)},t.ImportSpecifier=function(e){("type"===e.importKind||"typeof"===e.importKind)&&(this.word(e.importKind),this.space()),this.print(e.imported),e.local&&e.local.name!==e.imported.name&&(this.space(),this.word("as"),this.space(),this.print(e.local))},t._printAttributes=function(e,t){var r;let{importAttributesKeyword:n}=this.format,{attributes:i,assertions:a}=e;i&&!n&&e.extra&&(e.extra.deprecatedAssertSyntax||e.extra.deprecatedWithLegacySyntax)&&!d&&(d=!0,console.warn(`\
@@ -290,7 +290,7 @@ ${e}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}t.smart=i(e=>e.lengt
290
290
  ${e}
291
291
  )`,validate:e=>{if(e.program.body.length>1)throw Error("Found multiple statements but wanted one");if(0===a.unwrap(e).start)throw Error("Parse result included parens.")},unwrap:({program:e})=>{let[t]=e.body;return n(t),t.expression}};t.program={code:e=>e,validate:()=>{},unwrap:e=>e.program}},80661:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUnionType=function(e){return e.every(e=>s(e))?n?n(e):a(e):e.every(e=>o(e))&&i?i(e):void 0};let{createFlowUnionType:n,createTSUnionType:i,createUnionTypeAnnotation:a,isFlowType:s,isTSType:o}=r(40838)},80929:(e,t,r)=>{"use strict";r.d(t,{RG:()=>k,bL:()=>D,q7:()=>I});var n=r(14148),i=r(82695),a=r(35352),s=r(32468),o=r(81836),l=r(9927),u=r(37419),c=r(80679),d=r(81495),p=r(45157),h=r(92374),m="rovingFocusGroup.onEntryFocus",f={bubbles:!1,cancelable:!0},y="RovingFocusGroup",[g,b,w]=(0,a.N)(y),[v,k]=(0,o.A)(y,[w]),[x,S]=v(y),E=n.forwardRef((e,t)=>(0,h.jsx)(g.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,h.jsx)(g.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,h.jsx)(T,{...e,ref:t})})}));E.displayName=y;var T=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:a,loop:o=!1,dir:l,currentTabStopId:g,defaultCurrentTabStopId:w,onCurrentTabStopIdChange:v,onEntryFocus:k,preventScrollOnEntryFocus:S=!1,...E}=e,T=n.useRef(null),_=(0,s.s)(t,T),A=(0,p.jH)(l),[C,D]=(0,d.i)({prop:g,defaultProp:w??null,onChange:v,caller:y}),[I,O]=n.useState(!1),N=(0,c.c)(k),L=b(r),R=n.useRef(!1),[M,F]=n.useState(0);return n.useEffect(()=>{let e=T.current;if(e)return e.addEventListener(m,N),()=>e.removeEventListener(m,N)},[N]),(0,h.jsx)(x,{scope:r,orientation:a,dir:A,loop:o,currentTabStopId:C,onItemFocus:n.useCallback(e=>D(e),[D]),onItemShiftTab:n.useCallback(()=>O(!0),[]),onFocusableItemAdd:n.useCallback(()=>F(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>F(e=>e-1),[]),children:(0,h.jsx)(u.sG.div,{tabIndex:I||0===M?-1:0,"data-orientation":a,...E,ref:_,style:{outline:"none",...e.style},onMouseDown:(0,i.m)(e.onMouseDown,()=>{R.current=!0}),onFocus:(0,i.m)(e.onFocus,e=>{let t=!R.current;if(e.target===e.currentTarget&&t&&!I){let t=new CustomEvent(m,f);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=L().filter(e=>e.focusable);P([e.find(e=>e.active),e.find(e=>e.id===C),...e].filter(Boolean).map(e=>e.ref.current),S)}}R.current=!1}),onBlur:(0,i.m)(e.onBlur,()=>O(!1))})})}),_="RovingFocusGroupItem",A=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:a=!0,active:s=!1,tabStopId:o,children:c,...d}=e,p=(0,l.B)(),m=o||p,f=S(_,r),y=f.currentTabStopId===m,w=b(r),{onFocusableItemAdd:v,onFocusableItemRemove:k}=f;return n.useEffect(()=>{if(a)return v(),()=>k()},[a,v,k]),(0,h.jsx)(g.ItemSlot,{scope:r,id:m,focusable:a,active:s,children:(0,h.jsx)(u.sG.span,{tabIndex:y?0:-1,"data-orientation":f.orientation,...d,ref:t,onMouseDown:(0,i.m)(e.onMouseDown,e=>{a?f.onItemFocus(m):e.preventDefault()}),onFocus:(0,i.m)(e.onFocus,()=>f.onItemFocus(m)),onKeyDown:(0,i.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void f.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let i=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return C[i]}(e,f.orientation,f.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=w().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=f.loop?function(e,t){return e.map((r,n)=>e[(t+n)%e.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>P(r))}}),children:"function"==typeof c?c({isCurrentTabStop:y}):c})})});A.displayName=_;var C={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function P(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var D=E,I=A},80959:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=e.key||e.property){return!e.computed&&(0,n.isIdentifier)(t)&&(t=(0,i.stringLiteral)(t.name)),t};var n=r(48390),i=r(95285)},81058:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!e&&/^[a-z]/.test(e)}},81466:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=function(e){return e&&e.__esModule?e:{default:e}}(r(12337));function i(e,t,r=!1){if(""===e)return t;let a="string"==typeof t?(0,n.default)().astSync(t):t;return a.walkClasses(t=>{let n=t.value;t.value=r&&n.startsWith("-")?`-${e}${n.slice(1)}`:`${e}${n}`}),"string"==typeof t?a.toString():a}},81523:(e,t,r)=>{"use strict";let n,i=r(4984),a=r(51474),s=r(29357),o=r(62032),l=r(36602),u=r(65870),c=r(45783),d=r(77336),p=r(42724),{BufferListStream:h}=r(23372),m=Symbol("text"),f=Symbol("prefixText");class y{constructor(){this.requests=0,this.mutedStream=new h,this.mutedStream.pipe(process.stdout);let e=this;this.ourEmit=function(t,r,...n){let{stdin:i}=process;if(e.requests>0||i.emit===e.ourEmit){if("keypress"===t)return;"data"===t&&r.includes(3)&&process.emit("SIGINT"),Reflect.apply(e.oldEmit,this,[t,r,...n])}else Reflect.apply(process.stdin.emit,this,[t,r,...n])}}start(){this.requests++,1===this.requests&&this.realStart()}stop(){if(this.requests<=0)throw Error("`stop` called more times than `start`");this.requests--,0===this.requests&&this.realStop()}realStart(){"win32"!==process.platform&&(this.rl=i.createInterface({input:process.stdin,output:this.mutedStream}),this.rl.on("SIGINT",()=>{0===process.listenerCount("SIGINT")?process.emit("SIGINT"):(this.rl.close(),process.kill(process.pid,"SIGINT"))}))}realStop(){"win32"!==process.platform&&(this.rl.close(),this.rl=void 0)}}class g{constructor(e){n||(n=new y),"string"==typeof e&&(e={text:e}),this.options={text:"",color:"cyan",stream:process.stderr,discardStdin:!0,...e},this.spinner=this.options.spinner,this.color=this.options.color,this.hideCursor=!1!==this.options.hideCursor,this.interval=this.options.interval||this.spinner.interval||100,this.stream=this.options.stream,this.id=void 0,this.isEnabled="boolean"==typeof this.options.isEnabled?this.options.isEnabled:d({stream:this.stream}),this.isSilent="boolean"==typeof this.options.isSilent&&this.options.isSilent,this.text=this.options.text,this.prefixText=this.options.prefixText,this.linesToClear=0,this.indent=this.options.indent,this.discardStdin=this.options.discardStdin,this.isDiscardingStdin=!1}get indent(){return this._indent}set indent(e=0){if(!(e>=0&&Number.isInteger(e)))throw Error("The `indent` option must be an integer from 0 and up");this._indent=e}_updateInterval(e){void 0!==e&&(this.interval=e)}get spinner(){return this._spinner}set spinner(e){if(this.frameIndex=0,"object"==typeof e){if(void 0===e.frames)throw Error("The given spinner must have a `frames` property");this._spinner=e}else if(p())if(void 0===e)this._spinner=o.dots;else if("default"!==e&&o[e])this._spinner=o[e];else throw Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`);else this._spinner=o.line;this._updateInterval(this._spinner.interval)}get text(){return this[m]}set text(e){this[m]=e,this.updateLineCount()}get prefixText(){return this[f]}set prefixText(e){this[f]=e,this.updateLineCount()}get isSpinning(){return void 0!==this.id}getFullPrefixText(e=this[f],t=" "){return"string"==typeof e?e+t:"function"==typeof e?e()+t:""}updateLineCount(){let e=this.stream.columns||80,t=this.getFullPrefixText(this.prefixText,"-");for(let r of(this.lineCount=0,u(t+"--"+this[m]).split("\n")))this.lineCount+=Math.max(1,Math.ceil(c(r)/e))}get isEnabled(){return this._isEnabled&&!this.isSilent}set isEnabled(e){if("boolean"!=typeof e)throw TypeError("The `isEnabled` option must be a boolean");this._isEnabled=e}get isSilent(){return this._isSilent}set isSilent(e){if("boolean"!=typeof e)throw TypeError("The `isSilent` option must be a boolean");this._isSilent=e}frame(){let{frames:e}=this.spinner,t=e[this.frameIndex];return this.color&&(t=a[this.color](t)),this.frameIndex=++this.frameIndex%e.length,("string"==typeof this.prefixText&&""!==this.prefixText?this.prefixText+" ":"")+t+("string"==typeof this.text?" "+this.text:"")}clear(){if(!this.isEnabled||!this.stream.isTTY)return this;for(let e=0;e<this.linesToClear;e++)e>0&&this.stream.moveCursor(0,-1),this.stream.clearLine(),this.stream.cursorTo(this.indent);return this.linesToClear=0,this}render(){return this.isSilent||(this.clear(),this.stream.write(this.frame()),this.linesToClear=this.lineCount),this}start(e){return e&&(this.text=e),this.isSilent||(this.isEnabled?this.isSpinning||(this.hideCursor&&s.hide(this.stream),this.discardStdin&&process.stdin.isTTY&&(this.isDiscardingStdin=!0,n.start()),this.render(),this.id=setInterval(this.render.bind(this),this.interval)):this.text&&this.stream.write(`- ${this.text}
292
292
  `)),this}stop(){return this.isEnabled&&(clearInterval(this.id),this.id=void 0,this.frameIndex=0,this.clear(),this.hideCursor&&s.show(this.stream),this.discardStdin&&process.stdin.isTTY&&this.isDiscardingStdin&&(n.stop(),this.isDiscardingStdin=!1)),this}succeed(e){return this.stopAndPersist({symbol:l.success,text:e})}fail(e){return this.stopAndPersist({symbol:l.error,text:e})}warn(e){return this.stopAndPersist({symbol:l.warning,text:e})}info(e){return this.stopAndPersist({symbol:l.info,text:e})}stopAndPersist(e={}){if(this.isSilent)return this;let t=e.prefixText||this.prefixText,r=e.text||this.text;return this.stop(),this.stream.write(`${this.getFullPrefixText(t," ")}${e.symbol||" "}${"string"==typeof r?" "+r:""}
293
- `),this}}e.exports=function(e){return new g(e)},e.exports.promise=(e,t)=>{if("function"!=typeof e.then)throw TypeError("Parameter `action` must be a Promise");let r=new g(t);return r.start(),(async()=>{try{await e,r.succeed()}catch{r.fail()}})(),r}},81630:e=>{"use strict";e.exports=require("http")},81832:e=>{e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},81939:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{updateAllClasses:function(){return c},asValue:function(){return p},parseColorFormat:function(){return f},asColor:function(){return g},asLookupValue:function(){return b},typeMap:function(){return v},coerceValue:function(){return x},getMatchingTypes:function(){return S}});let n=u(r(46540)),i=r(31403),a=r(22474),s=u(r(24748)),o=r(23825),l=r(21341);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){e.walkClasses(e=>{e.value=t(e.value),e.raws&&e.raws.value&&(e.raws.value=(0,n.default)(e.raws.value))})}function d(e,t){if(!h(e))return;let r=e.slice(1,-1);if(t(r))return(0,a.normalize)(r)}function p(e,t={},{validate:r=()=>!0}={}){var n;let i=null==(n=t.values)?void 0:n[e];return void 0!==i?i:t.supportsNegativeValues&&e.startsWith("-")?function(e,t={},r){let n=t[e];if(void 0!==n)return(0,s.default)(n);if(h(e)){let t=d(e,r);if(void 0===t)return;return(0,s.default)(t)}}(e.slice(1),t.values,r):d(e,r)}function h(e){return e.startsWith("[")&&e.endsWith("]")}function m(e){let t=e.lastIndexOf("/"),r=e.lastIndexOf("[",t),n=e.indexOf("]",t);return("]"!==e[t-1]&&"["!==e[t+1]&&-1!==r&&-1!==n&&r<t&&t<n&&(t=e.lastIndexOf("/",r)),-1===t||t===e.length-1||h(e)&&!e.includes("]/["))?[e,void 0]:[e.slice(0,t),e.slice(t+1)]}function f(e){return"string"==typeof e&&e.includes("<alpha-value>")?({opacityValue:t=1})=>e.replace("<alpha-value>",t):e}function y(e){return(0,a.normalize)(e.slice(1,-1))}function g(e,t={},{tailwindConfig:r={}}={}){var n,s,o,l,u,c;if((null==(n=t.values)?void 0:n[e])!==void 0)return f(null==(s=t.values)?void 0:s[e]);let[d,b]=m(e);if(void 0!==b){let e=null!=(c=null==(o=t.values)?void 0:o[d])?c:h(d)?d.slice(1,-1):void 0;if(void 0===e)return;if(e=f(e),h(b))return(0,i.withAlphaValue)(e,y(b));if((null==(l=r.theme)||null==(u=l.opacity)?void 0:u[b])===void 0)return;return(0,i.withAlphaValue)(e,r.theme.opacity[b])}return p(e,t,{validate:a.color})}function b(e,t={}){var r;return null==(r=t.values)?void 0:r[e]}function w(e){return(t,r)=>p(t,r,{validate:e})}let v={any:p,color:g,url:w(a.url),image:w(a.image),length:w(a.length),percentage:w(a.percentage),position:w(a.position),lookup:b,"generic-name":w(a.genericName),"family-name":w(a.familyName),number:w(a.number),"line-width":w(a.lineWidth),"absolute-size":w(a.absoluteSize),"relative-size":w(a.relativeSize),shadow:w(a.shadow),size:w(o.backgroundSize)},k=Object.keys(v);function x(e,t,r,n){if(r.values&&t in r.values)for(let{type:i}of null!=e?e:[]){let e=v[i](t,r,{tailwindConfig:n});if(void 0!==e)return[e,i,null]}if(h(t)){let e,n=t.slice(1,-1),[i,a]=-1===(e=n.indexOf(":"))?[void 0,n]:[n.slice(0,e),n.slice(e+1)];if(/^[\w-_]+$/g.test(i)){if(void 0!==i&&!k.includes(i))return[]}else a=n;if(a.length>0&&k.includes(i))return[p(`[${a}]`,r),i,null]}for(let i of S(e,t,r,n))return i;return[]}function*S(e,t,r,n){let i=(0,l.flagEnabled)(n,"generalizedModifiers"),[a,s]=m(t);if(i&&null!=r.modifiers&&("any"===r.modifiers||"object"==typeof r.modifiers&&(s&&h(s)||s in r.modifiers))||(a=t,s=void 0),void 0!==s&&""===a&&(a="DEFAULT"),void 0!==s&&"object"==typeof r.modifiers){var o,u;let e=null!=(u=null==(o=r.modifiers)?void 0:o[s])?u:null;null!==e?s=e:h(s)&&(s=y(s))}for(let{type:t}of null!=e?e:[]){let e=v[t](a,r,{tailwindConfig:n});void 0!==e&&(yield[e,t,null!=s?s:null])}}},82043:(e,t,r)=>{"use strict";r.d(t,{default:()=>r0});var n,i,a=r(92374),s=r(87744),o=r(14148),l=r(70110),u=r(90708),c=r(96256),d=r(63355);r(56312),r(25349),r(34753);var p=r(39339),h=r(56037);let m=o.forwardRef(({as:e="span",size:t="2",color:r="gray",transform:n,weight:i="normal",className:s,children:o,...l},u)=>(0,a.jsx)(p.DX,{className:(0,h.cn)(s,n,f(t),y(r),g(i)),ref:u,...l,children:(0,a.jsx)(e,{children:o})})),f=e=>{switch(e){case"1":return"text-xs";case void 0:case"2":return"text-sm";case"3":return"text-base";case"4":return"text-lg";case"5":return["text-17px","md:text-xl tracking-[-0.16px]"];case"6":return"text-2xl tracking-[-0.288px]";case"7":return"text-[28px] leading-[34px] tracking-[-0.416px]";case"8":return"text-[35px] leading-[42px] tracking-[-0.64px]";case"9":return"text-6xl leading-[73px] tracking-[-0.896px]";default:return(0,h.HB)(e)}},y=e=>{switch(e){case"white":return"text-slate-12";case void 0:case"gray":return"text-slate-11";default:return(0,h.HB)(e)}},g=e=>{switch(e){case void 0:case"normal":return"font-normal";case"medium":return"font-medium";default:return(0,h.HB)(e)}};m.displayName="Text";var b=r(19002),w=r(14431),v=r(3916);let k={type:"spring",stiffness:2e3,damping:80,mass:1};var x=r(19022);let S=o.forwardRef(({children:e,className:t,...r},n)=>(0,a.jsx)("button",{type:"button",...r,className:(0,h.cn)("focus:ring-gray-8 rounded text-slate-11 transition duration-200 ease-in-out hover:text-slate-12 focus:text-slate-12 focus:outline-none focus:ring-2",t),ref:n,children:e}));S.displayName="IconButton";var E=r(58409),T=r(73566);let _=o.forwardRef(({...e},t)=>(0,a.jsxs)(T.z,{ref:t,...e,children:[(0,a.jsx)("path",{d:"M9 6.75H7.75C6.64543 6.75 5.75 7.64543 5.75 8.75V17.25C5.75 18.3546 6.64543 19.25 7.75 19.25H16.25C17.3546 19.25 18.25 18.3546 18.25 17.25V8.75C18.25 7.64543 17.3546 6.75 16.25 6.75H15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,a.jsx)("path",{d:"M14 8.25H10C9.44772 8.25 9 7.80228 9 7.25V5.75C9 5.19772 9.44772 4.75 10 4.75H14C14.5523 4.75 15 5.19772 15 5.75V7.25C15 7.80228 14.5523 8.25 14 8.25Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,a.jsx)("path",{d:"M9.75 12.25H14.25",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,a.jsx)("path",{d:"M9.75 15.25H14.25",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})]}));_.displayName="IconClipboard";let A=o.forwardRef(({...e},t)=>(0,a.jsx)(T.z,{ref:t,...e,children:(0,a.jsx)("path",{d:"M4.75 14.75v1.5a3 3 0 0 0 3 3h8.5a3 3 0 0 0 3-3v-1.5M12 14.25v-9.5M8.75 10.75l3.25 3.5 3.25-3.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})}));A.displayName="IconDownload";var C=r(1096);let P=({markups:e,activeLang:t,setActiveLang:r})=>{let n=e.find(({language:e})=>t===e);if(!n)throw Error("No markup found for the active language!",{cause:{activeLang:t,markups:e}});let i=o.useId();return(0,a.jsxs)("div",{className:"relative max-h-[650px] w-full h-full whitespace-pre rounded-md border border-slate-6 text-sm",style:{lineHeight:"130%",background:"linear-gradient(145.37deg, rgba(255, 255, 255, 0.09) -8.75%, rgba(255, 255, 255, 0.027) 83.95%)",boxShadow:"rgb(0 0 0 / 10%) 0px 5px 30px -5px"},children:[(0,a.jsxs)("div",{className:"h-9 border-b border-slate-6",children:[(0,a.jsx)("div",{className:"flex",children:(0,a.jsx)(w.o,{id:i,children:e.map(({language:e})=>{let n=t===e;return(0,a.jsxs)(v.P.button,{className:`relative px-4 py-[8px] font-sans text-sm font-medium transition duration-200 ease-in-out hover:text-slate-12 ${t!==e?"text-slate-11":"text-slate-12"}`,onClick:()=>{r(e)},children:[n?(0,a.jsx)(v.P.span,{animate:{opacity:1},className:"absolute bottom-0 left-0 right-0 top-0 bg-slate-4",exit:{opacity:0},initial:{opacity:0},layoutId:"code",transition:k}):null,x.A[e]]},e)})})}),(0,a.jsx)(D,{content:n.content}),(0,a.jsx)(I,{content:n.content,filename:`email.${n.language}`})]}),(0,a.jsx)("div",{className:"h-[calc(100%-2.25rem)]",children:(0,a.jsx)(d.Code,{language:t,children:n.content})})]})},D=({content:e})=>{let[t,r]=o.useState(!1),n=o.useRef(void 0);return o.useEffect(()=>{r(!1),clearTimeout(n.current),n.current=void 0},[e]),(0,a.jsxs)(C.m,{children:[(0,a.jsx)(C.m.Trigger,{asChild:!0,className:"absolute right-2 top-2 hidden md:block",children:(0,a.jsx)(S,{onClick:async()=>{r(!0),await (0,h.eM)(e),n.current=setTimeout(()=>{r(!1)},3e3)},children:t?(0,a.jsx)(E.i,{}):(0,a.jsx)(_,{})})}),(0,a.jsx)(C.m.Content,{children:"Copy to Clipboard"})]})},I=({content:e,filename:t})=>{let r=o.useMemo(()=>{let r=new File([e],t);return URL.createObjectURL(r)},[e,t]),n=o.useSyncExternalStore(()=>()=>{},()=>r,()=>void 0);return(0,a.jsxs)(C.m,{children:[(0,a.jsx)(C.m.Trigger,{asChild:!0,className:"text-gray-11 absolute right-8 top-2 hidden md:block",children:(0,a.jsx)("a",{className:"text-slate-11 transition duration-200 ease-in-out hover:text-slate-12",download:t,href:n,children:(0,a.jsx)(A,{})})}),(0,a.jsx)(C.m.Content,{children:"Download"})]})},O=e=>{let t=t=>{let r=e.getBoundingClientRect();document.dispatchEvent(new MouseEvent("mousemove",{...t,clientX:t.clientX+r.x,clientY:t.clientY+r.y}))},r=e=>{document.dispatchEvent(new MouseEvent("mouseup",e))};return e.contentDocument?.addEventListener("mousemove",t),e.contentDocument?.addEventListener("mouseup",r),()=>{e.contentDocument?.removeEventListener("mousemove",t),e.contentDocument?.removeEventListener("mouseup",r)}},N=({width:e,height:t,onResize:r,onResizeEnd:n,children:i,maxHeight:s,maxWidth:l,minHeight:u,minWidth:c,...d})=>{let m=(0,o.useRef)(null),f=(0,o.useRef)(null),y=(0,o.useCallback)(()=>{f.current&&document.removeEventListener("mousemove",f.current),document.removeEventListener("mouseup",y),n?.()},[]),g=e=>{f.current=t=>{if(0===t.button&&m.current){let n="east"===e||"west"===e,i=n?t.clientX:t.clientY,a=m.current.getBoundingClientRect();r(2*Math.abs(i-(n?a.x+a.width/2:a.y+a.height/2)),e)}else y()},document.addEventListener("mouseup",y),document.addEventListener("mousemove",f.current)};return(0,o.useEffect)(()=>{if(window.document)return()=>{y()}},[]),(0,a.jsxs)("div",{...d,className:(0,h.cn)("relative mx-auto my-auto box-content",d.className),children:[(0,a.jsx)("div",{"aria-label":"resize-west","aria-valuenow":e,"aria-valuemin":c,"aria-valuemax":l,className:"-translate-x-1/2 -translate-y-1/2 absolute top-1/2 left-2 cursor-w-resize p-2 [user-drag:none]",onDragStart:e=>e.preventDefault(),draggable:"false",onMouseDown:()=>{g("west")},role:"slider",tabIndex:0,children:(0,a.jsx)("div",{className:"h-8 w-1 rounded-md bg-black/30"})}),(0,a.jsx)("div",{"aria-label":"resize-east","aria-valuenow":e,"aria-valuemin":c,"aria-valuemax":l,onDragStart:e=>e.preventDefault(),className:"-translate-x-full -translate-y-1/2 absolute top-1/2 left-full cursor-e-resize p-2 [user-drag:none]",draggable:"false",onMouseDown:()=>{g("east")},role:"slider",tabIndex:0,children:(0,a.jsx)("div",{className:"h-8 w-1 rounded-md bg-black/30"})}),(0,a.jsx)("div",{"aria-label":"resize-north","aria-valuenow":t,"aria-valuemin":u,"aria-valuemax":s,onDragStart:e=>e.preventDefault(),className:"-translate-x-1/2 -translate-y-1/2 absolute top-0 left-1/2 cursor-n-resize p-2 [user-drag:none]",draggable:"false",onMouseDown:()=>{g("north")},role:"slider",tabIndex:0,children:(0,a.jsx)("div",{className:"h-1 w-8 rounded-md bg-black/30"})}),(0,a.jsx)("div",{"aria-label":"resize-south","aria-valuenow":t,"aria-valuemin":u,"aria-valuemax":s,onDragStart:e=>e.preventDefault(),className:"-translate-x-1/2 -translate-y-1/2 absolute top-full left-1/2 cursor-s-resize p-2 [user-drag:none]",draggable:"false",onMouseDown:()=>{g("south")},role:"slider",tabIndex:0,children:(0,a.jsx)("div",{className:"h-1 w-8 rounded-md bg-black/30"})}),(0,a.jsx)(p.DX,{ref:m,children:i})]})};var L=r(82695),R=r(32468),M=r(81836),F=r(12109),B=0;function j(){o.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??U()),document.body.insertAdjacentElement("beforeend",e[1]??U()),B++,()=>{1===B&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),B--}},[])}function U(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var $=r(37419),q=r(80679),z="focusScope.autoFocusOnMount",V="focusScope.autoFocusOnUnmount",H={bubbles:!1,cancelable:!0},G=o.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...l}=e,[u,c]=o.useState(null),d=(0,q.c)(i),p=(0,q.c)(s),h=o.useRef(null),m=(0,R.s)(t,e=>c(e)),f=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(n){let e=function(e){if(f.paused||!u)return;let t=e.target;u.contains(t)?h.current=t:Y(h.current,{select:!0})},t=function(e){if(f.paused||!u)return;let t=e.relatedTarget;null!==t&&(u.contains(t)||Y(h.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&Y(u)});return u&&r.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,u,f.paused]),o.useEffect(()=>{if(u){X.add(f);let e=document.activeElement;if(!u.contains(e)){let t=new CustomEvent(z,H);u.addEventListener(z,d),u.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(Y(n,{select:t}),document.activeElement!==r)return}(W(u).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&Y(u))}return()=>{u.removeEventListener(z,d),setTimeout(()=>{let t=new CustomEvent(V,H);u.addEventListener(V,p),u.dispatchEvent(t),t.defaultPrevented||Y(e??document.body,{select:!0}),u.removeEventListener(V,p),X.remove(f)},0)}}},[u,d,p,f]);let y=o.useCallback(e=>{if(!r&&!n||f.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[n,a]=function(e){let t=W(e);return[K(t,e),K(t.reverse(),e)]}(t);n&&a?e.shiftKey||i!==a?e.shiftKey&&i===n&&(e.preventDefault(),r&&Y(a,{select:!0})):(e.preventDefault(),r&&Y(n,{select:!0})):i===t&&e.preventDefault()}},[r,n,f.paused]);return(0,a.jsx)($.sG.div,{tabIndex:-1,...l,ref:m,onKeyDown:y})});function W(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function K(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function Y(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}G.displayName="FocusScope";var X=function(){let e=[];return{add(t){let r=e[0];t!==r&&r?.pause(),(e=Z(e,t)).unshift(t)},remove(t){e=Z(e,t),e[0]?.resume()}}}();function Z(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var J=r(9927),Q=r(9616),ee=r(30090),et=r(13057),er=r(81495),en=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},ei=new WeakMap,ea=new WeakMap,es={},eo=0,el=function(e){return e&&(e.host||el(e.parentNode))},eu=function(e,t,r,n){var i=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=el(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});es[r]||(es[r]=new WeakMap);var a=es[r],s=[],o=new Set,l=new Set(i),u=function(e){!e||o.has(e)||(o.add(e),u(e.parentNode))};i.forEach(u);var c=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(o.has(e))c(e);else try{var t=e.getAttribute(n),i=null!==t&&"false"!==t,l=(ei.get(e)||0)+1,u=(a.get(e)||0)+1;ei.set(e,l),a.set(e,u),s.push(e),1===l&&i&&ea.set(e,!0),1===u&&e.setAttribute(r,"true"),i||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),o.clear(),eo++,function(){s.forEach(function(e){var t=ei.get(e)-1,i=a.get(e)-1;ei.set(e,t),a.set(e,i),t||(ea.has(e)||e.removeAttribute(n),ea.delete(e)),i||e.removeAttribute(r)}),--eo||(ei=new WeakMap,ei=new WeakMap,ea=new WeakMap,es={})}},ec=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||en(e);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),eu(n,i,r,"aria-hidden")):function(){return null}},ed=function(){return(ed=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function ep(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}Object.create;Object.create;var eh=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),em="width-before-scroll-bar";function ef(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var ey="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,eg=new WeakMap;function eb(e){return e}var ew=function(e){void 0===e&&(e={});var t,r,n,i,a=(t=null,void 0===r&&(r=eb),n=[],i=!1,{read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var t=r(e,i);return n.push(t),function(){n=n.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){i=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var a=function(){var r=t;t=[],r.forEach(e)},s=function(){return Promise.resolve().then(a)};s(),n={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),n}}}});return a.options=ed({async:!0,ssr:!1},e),a}(),ev=function(){},ek=o.forwardRef(function(e,t){var r,n,i,a,s=o.useRef(null),l=o.useState({onScrollCapture:ev,onWheelCapture:ev,onTouchMoveCapture:ev}),u=l[0],c=l[1],d=e.forwardProps,p=e.children,h=e.className,m=e.removeScrollBar,f=e.enabled,y=e.shards,g=e.sideCar,b=e.noIsolation,w=e.inert,v=e.allowPinchZoom,k=e.as,x=e.gapMode,S=ep(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=(r=[s,t],n=function(e){return r.forEach(function(t){return ef(t,e)})},(i=(0,o.useState)(function(){return{value:null,callback:n,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=n,a=i.facade,ey(function(){var e=eg.get(a);if(e){var t=new Set(e),n=new Set(r),i=a.current;t.forEach(function(e){n.has(e)||ef(e,null)}),n.forEach(function(e){t.has(e)||ef(e,i)})}eg.set(a,r)},[r]),a),T=ed(ed({},S),u);return o.createElement(o.Fragment,null,f&&o.createElement(g,{sideCar:ew,removeScrollBar:m,shards:y,noIsolation:b,inert:w,setCallbacks:c,allowPinchZoom:!!v,lockRef:s,gapMode:x}),d?o.cloneElement(o.Children.only(p),ed(ed({},T),{ref:E})):o.createElement(void 0===k?"div":k,ed({},T,{className:h,ref:E}),p))});ek.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ek.classNames={fullWidth:em,zeroRight:eh};var ex=function(e){var t=e.sideCar,r=ep(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return o.createElement(n,ed({},r))};ex.isSideCarExport=!0;var eS=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=i||r.nc;return t&&e.setAttribute("nonce",t),e}())){var a,s;(a=t).styleSheet?a.styleSheet.cssText=n:a.appendChild(document.createTextNode(n)),s=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(s)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},eE=function(){var e=eS();return function(t,r){o.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},eT=function(){var e=eE();return function(t){return e(t.styles,t.dynamic),null}},e_={left:0,top:0,right:0,gap:0},eA=function(e){return parseInt(e||"",10)||0},eC=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[eA(r),eA(n),eA(i)]},eP=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return e_;var t=eC(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},eD=eT(),eI="data-scroll-locked",eO=function(e,t,r,n){var i=e.left,a=e.top,s=e.right,o=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(o,"px ").concat(n,";\n }\n body[").concat(eI,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(o,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(o,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(eh," {\n right: ").concat(o,"px ").concat(n,";\n }\n \n .").concat(em," {\n margin-right: ").concat(o,"px ").concat(n,";\n }\n \n .").concat(eh," .").concat(eh," {\n right: 0 ").concat(n,";\n }\n \n .").concat(em," .").concat(em," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(eI,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(o,"px;\n }\n")},eN=function(){var e=parseInt(document.body.getAttribute(eI)||"0",10);return isFinite(e)?e:0},eL=function(){o.useEffect(function(){return document.body.setAttribute(eI,(eN()+1).toString()),function(){var e=eN()-1;e<=0?document.body.removeAttribute(eI):document.body.setAttribute(eI,e.toString())}},[])},eR=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=void 0===n?"margin":n;eL();var a=o.useMemo(function(){return eP(i)},[i]);return o.createElement(eD,{styles:eO(a,!t,i,r?"":"!important")})},eM=!1;if("undefined"!=typeof window)try{var eF=Object.defineProperty({},"passive",{get:function(){return eM=!0,!0}});window.addEventListener("test",eF,eF),window.removeEventListener("test",eF,eF)}catch(e){eM=!1}var eB=!!eM&&{passive:!1},ej=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},eU=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),e$(e,n)){var i=eq(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},e$=function(e,t){return"v"===e?ej(t,"overflowY"):ej(t,"overflowX")},eq=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},ez=function(e,t,r,n,i){var a,s=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),o=s*n,l=r.target,u=t.contains(l),c=!1,d=o>0,p=0,h=0;do{var m=eq(e,l),f=m[0],y=m[1]-m[2]-s*f;(f||y)&&e$(e,l)&&(p+=y,h+=f),l=l instanceof ShadowRoot?l.host:l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(i&&1>Math.abs(p)||!i&&o>p)?c=!0:!d&&(i&&1>Math.abs(h)||!i&&-o>h)&&(c=!0),c},eV=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eH=function(e){return[e.deltaX,e.deltaY]},eG=function(e){return e&&"current"in e?e.current:e},eW=0,eK=[];let eY=(n=function(e){var t=o.useRef([]),r=o.useRef([0,0]),n=o.useRef(),i=o.useState(eW++)[0],a=o.useState(eT)[0],s=o.useRef(e);o.useEffect(function(){s.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(eG),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var l=o.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var i,a=eV(e),o=r.current,l="deltaX"in e?e.deltaX:o[0]-a[0],u="deltaY"in e?e.deltaY:o[1]-a[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var p=eU(d,c);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=eU(d,c)),!p)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=i),!i)return!0;var h=n.current||i;return ez(h,t,e,"h"===h?l:u,!0)},[]),u=o.useCallback(function(e){if(eK.length&&eK[eK.length-1]===a){var r="deltaY"in e?eH(e):eV(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var i=(s.current.shards||[]).map(eG).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?l(e,i[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=o.useCallback(function(e,r,n,i){var a={name:e,delta:r,target:n,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=o.useCallback(function(e){r.current=eV(e),n.current=void 0},[]),p=o.useCallback(function(t){c(t.type,eH(t),t.target,l(t,e.lockRef.current))},[]),h=o.useCallback(function(t){c(t.type,eV(t),t.target,l(t,e.lockRef.current))},[]);o.useEffect(function(){return eK.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",u,eB),document.addEventListener("touchmove",u,eB),document.addEventListener("touchstart",d,eB),function(){eK=eK.filter(function(e){return e!==a}),document.removeEventListener("wheel",u,eB),document.removeEventListener("touchmove",u,eB),document.removeEventListener("touchstart",d,eB)}},[]);var m=e.removeScrollBar,f=e.inert;return o.createElement(o.Fragment,null,f?o.createElement(a,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,m?o.createElement(eR,{gapMode:e.gapMode}):null)},ew.useMedium(n),ex);var eX=o.forwardRef(function(e,t){return o.createElement(ek,ed({},e,{ref:t,sideCar:eY}))});eX.classNames=ek.classNames;var eZ="Popover",[eJ,eQ]=(0,M.A)(eZ,[Q.Bk]),e0=(0,Q.Bk)(),[e2,e1]=eJ(eZ),e3=e=>{let{__scopePopover:t,children:r,open:n,defaultOpen:i,onOpenChange:s,modal:l=!1}=e,u=e0(t),c=o.useRef(null),[d,p]=o.useState(!1),[h,m]=(0,er.i)({prop:n,defaultProp:i??!1,onChange:s,caller:eZ});return(0,a.jsx)(Q.bL,{...u,children:(0,a.jsx)(e2,{scope:t,contentId:(0,J.B)(),triggerRef:c,open:h,onOpenChange:m,onOpenToggle:o.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:d,onCustomAnchorAdd:o.useCallback(()=>p(!0),[]),onCustomAnchorRemove:o.useCallback(()=>p(!1),[]),modal:l,children:r})})};e3.displayName=eZ;var e4="PopoverAnchor",e9=o.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=e1(e4,r),s=e0(r),{onCustomAnchorAdd:l,onCustomAnchorRemove:u}=i;return o.useEffect(()=>(l(),()=>u()),[l,u]),(0,a.jsx)(Q.Mz,{...s,...n,ref:t})});e9.displayName=e4;var e5="PopoverTrigger",e6=o.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=e1(e5,r),s=e0(r),o=(0,R.s)(t,i.triggerRef),l=(0,a.jsx)($.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":tu(i.open),...n,ref:o,onClick:(0,L.m)(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?l:(0,a.jsx)(Q.Mz,{asChild:!0,...s,children:l})});e6.displayName=e5;var e8="PopoverPortal",[e7,te]=eJ(e8,{forceMount:void 0}),tt=e=>{let{__scopePopover:t,forceMount:r,children:n,container:i}=e,s=e1(e8,t);return(0,a.jsx)(e7,{scope:t,forceMount:r,children:(0,a.jsx)(et.C,{present:r||s.open,children:(0,a.jsx)(ee.Z,{asChild:!0,container:i,children:n})})})};tt.displayName=e8;var tr="PopoverContent",tn=o.forwardRef((e,t)=>{let r=te(tr,e.__scopePopover),{forceMount:n=r.forceMount,...i}=e,s=e1(tr,e.__scopePopover);return(0,a.jsx)(et.C,{present:n||s.open,children:s.modal?(0,a.jsx)(ta,{...i,ref:t}):(0,a.jsx)(ts,{...i,ref:t})})});tn.displayName=tr;var ti=(0,p.TL)("PopoverContent.RemoveScroll"),ta=o.forwardRef((e,t)=>{let r=e1(tr,e.__scopePopover),n=o.useRef(null),i=(0,R.s)(t,n),s=o.useRef(!1);return o.useEffect(()=>{let e=n.current;if(e)return ec(e)},[]),(0,a.jsx)(eX,{as:ti,allowPinchZoom:!0,children:(0,a.jsx)(to,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,L.m)(e.onCloseAutoFocus,e=>{e.preventDefault(),s.current||r.triggerRef.current?.focus()}),onPointerDownOutside:(0,L.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;s.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,L.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),ts=o.forwardRef((e,t)=>{let r=e1(tr,e.__scopePopover),n=o.useRef(!1),i=o.useRef(!1);return(0,a.jsx)(to,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let a=t.target;r.triggerRef.current?.contains(a)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),to=o.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:o,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onInteractOutside:d,...p}=e,h=e1(tr,r),m=e0(r);return j(),(0,a.jsx)(G,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:s,children:(0,a.jsx)(F.qW,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:d,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onDismiss:()=>h.onOpenChange(!1),children:(0,a.jsx)(Q.UC,{"data-state":tu(h.open),role:"dialog",id:h.contentId,...m,...p,ref:t,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),tl="PopoverClose";function tu(e){return e?"open":"closed"}o.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=e1(tl,r);return(0,a.jsx)($.sG.button,{type:"button",...n,ref:t,onClick:(0,L.m)(e.onClick,()=>i.onOpenChange(!1))})}).displayName=tl,o.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=e0(r);return(0,a.jsx)(Q.i3,{...i,...n,ref:t})}).displayName="PopoverArrow";let tc=({markup:e})=>{let[t,r]=o.useState(""),[n,i]=o.useState("Testing React Email"),[s,l]=o.useState(!1),[d,p]=o.useState(!1),h=async r=>{try{r.preventDefault(),l(!0);let i=await fetch("https://react.email/api/send/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({to:t,subject:n,html:e})});if(429===i.status){let{error:e}=await i.json();u.oR.error(e)}u.oR.success("Email sent! Check your inbox.")}catch(e){u.oR.error("Something went wrong. Please try again.")}finally{l(!1)}},f=o.useId(),y=o.useId();return(0,a.jsxs)(e3,{onOpenChange:()=>{d?(document.body.classList.remove("popup-open"),p(!1)):(document.body.classList.add("popup-open"),p(!0))},open:d,children:[(0,a.jsx)(e6,{asChild:!0,children:(0,a.jsx)("button",{className:"box-border flex h-5 w-20 items-center justify-center self-center rounded-lg border border-slate-6 bg-slate-2 px-4 py-4 text-center font-sans text-sm text-slate-11 outline-none transition duration-300 ease-in-out hover:border-slate-10 hover:text-slate-12",type:"submit",children:"Send"})}),(0,a.jsx)(e9,{}),(0,a.jsx)(tt,{children:(0,a.jsx)(tn,{align:"end",className:"-mt-10 w-80 rounded-lg border border-slate-6 bg-black/70 p-3 text-slate-11 shadow-md backdrop-blur-lg font-sans",sideOffset:48,children:(0,a.jsxs)("form",{className:"mt-1",onSubmit:e=>void h(e),children:[(0,a.jsx)("label",{className:"mb-2 block text-xs uppercase text-slate-10",htmlFor:f,children:"Recipient"}),(0,a.jsx)("input",{autoFocus:!0,className:"mb-3 w-full appearance-none rounded-lg border border-slate-6 bg-slate-3 px-2 py-1 text-sm text-slate-12 placeholder-slate-10 outline-none transition duration-300 ease-in-out focus:ring-1 focus:ring-slate-10",defaultValue:t,id:f,onChange:e=>{r(e.target.value)},placeholder:"you@example.com",required:!0,type:"email"}),(0,a.jsx)("label",{className:"mb-2 mt-1 block text-xs uppercase text-slate-10",htmlFor:y,children:"Subject"}),(0,a.jsx)("input",{className:"mb-3 w-full appearance-none rounded-lg border border-slate-6 bg-slate-3 px-2 py-1 text-sm text-slate-12 placeholder-slate-10 outline-none transition duration-300 ease-in-out focus:ring-1 focus:ring-slate-10",defaultValue:n,id:y,onChange:e=>{i(e.target.value)},placeholder:"My Email",required:!0,type:"text"}),(0,a.jsx)("input",{className:"appearance-none checked:bg-blue-500",type:"checkbox"}),(0,a.jsxs)("div",{className:"mt-3 flex items-center justify-between",children:[(0,a.jsxs)(m,{className:"inline-block",size:"1",children:["Powered by"," ",(0,a.jsx)("a",{className:"text-white/85 transition duration-300 ease-in-out hover:text-slate-12",href:"https://resend.com",rel:"noreferrer",target:"_blank",children:"Resend"})]}),(0,a.jsx)(c.Button,{className:"disabled:border-transparent disabled:bg-slate-11",disabled:0===n.length||0===t.length||s,type:"submit",children:"Send"})]})]})})})]})};var td=r(48811),tp=r(80929),th="Toggle",tm=o.forwardRef((e,t)=>{let{pressed:r,defaultPressed:n,onPressedChange:i,...s}=e,[o,l]=(0,er.i)({prop:r,onChange:i,defaultProp:n??!1,caller:th});return(0,a.jsx)($.sG.button,{type:"button","aria-pressed":o,"data-state":o?"on":"off","data-disabled":e.disabled?"":void 0,...s,ref:t,onClick:(0,L.m)(e.onClick,()=>{e.disabled||l(!o)})})});tm.displayName=th;var tf=r(45157),ty="ToggleGroup",[tg,tb]=(0,M.A)(ty,[tp.RG]),tw=(0,tp.RG)(),tv=o.forwardRef((e,t)=>{let{type:r,...n}=e;if("single"===r)return(0,a.jsx)(tS,{...n,ref:t});if("multiple"===r)return(0,a.jsx)(tE,{...n,ref:t});throw Error(`Missing prop \`type\` expected on \`${ty}\``)});tv.displayName=ty;var[tk,tx]=tg(ty),tS=o.forwardRef((e,t)=>{let{value:r,defaultValue:n,onValueChange:i=()=>{},...s}=e,[l,u]=(0,er.i)({prop:r,defaultProp:n??"",onChange:i,caller:ty});return(0,a.jsx)(tk,{scope:e.__scopeToggleGroup,type:"single",value:o.useMemo(()=>l?[l]:[],[l]),onItemActivate:u,onItemDeactivate:o.useCallback(()=>u(""),[u]),children:(0,a.jsx)(tA,{...s,ref:t})})}),tE=o.forwardRef((e,t)=>{let{value:r,defaultValue:n,onValueChange:i=()=>{},...s}=e,[l,u]=(0,er.i)({prop:r,defaultProp:n??[],onChange:i,caller:ty}),c=o.useCallback(e=>u((t=[])=>[...t,e]),[u]),d=o.useCallback(e=>u((t=[])=>t.filter(t=>t!==e)),[u]);return(0,a.jsx)(tk,{scope:e.__scopeToggleGroup,type:"multiple",value:l,onItemActivate:c,onItemDeactivate:d,children:(0,a.jsx)(tA,{...s,ref:t})})});tv.displayName=ty;var[tT,t_]=tg(ty),tA=o.forwardRef((e,t)=>{let{__scopeToggleGroup:r,disabled:n=!1,rovingFocus:i=!0,orientation:s,dir:o,loop:l=!0,...u}=e,c=tw(r),d=(0,tf.jH)(o),p={role:"group",dir:d,...u};return(0,a.jsx)(tT,{scope:r,rovingFocus:i,disabled:n,children:i?(0,a.jsx)(tp.bL,{asChild:!0,...c,orientation:s,dir:d,loop:l,children:(0,a.jsx)($.sG.div,{...p,ref:t})}):(0,a.jsx)($.sG.div,{...p,ref:t})})}),tC="ToggleGroupItem",tP=o.forwardRef((e,t)=>{let r=tx(tC,e.__scopeToggleGroup),n=t_(tC,e.__scopeToggleGroup),i=tw(e.__scopeToggleGroup),s=r.value.includes(e.value),l=n.disabled||e.disabled,u={...e,pressed:s,disabled:l},c=o.useRef(null);return n.rovingFocus?(0,a.jsx)(tp.q7,{asChild:!0,...i,focusable:!l,active:s,ref:c,children:(0,a.jsx)(tD,{...u,ref:t})}):(0,a.jsx)(tD,{...u,ref:t})});tP.displayName=tC;var tD=o.forwardRef((e,t)=>{let{__scopeToggleGroup:r,value:n,...i}=e,s=tx(tC,r),o={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},l="single"===s.type?o:void 0;return(0,a.jsx)(tm,{...l,...i,ref:t,onPressedChange:e=>{e?s.onItemActivate(n):s.onItemDeactivate(n)}})});let tI=o.forwardRef(({...e},t)=>(0,a.jsx)(T.z,{ref:t,...e,children:(0,a.jsx)("path",{d:"M9.75 15.25H17.25C18.3546 15.25 19.25 14.3546 19.25 13.25V6.75C19.25 5.64543 18.3546 4.75 17.25 4.75H6.75C5.64543 4.75 4.75 5.64543 4.75 6.75V13.25C4.75 14.3546 5.64543 15.25 6.75 15.25H9.75ZM9.75 15.25C9.75 15.25 10 18.25 8 19.25H16C14 18.25 14.25 15.25 14.25 15.25",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})}));tI.displayName="IconMonitor";let tO=o.forwardRef(({...e},t)=>(0,a.jsx)(T.z,{ref:t,...e,children:(0,a.jsx)("path",{d:"M17.4 15L21 11.5L17.4 8M6.6 8L3 11.5L6.6 15M14.25 4.5L9.75 18.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})}));tO.displayName="IconSource";let tN=({activeView:e,setActiveView:t})=>(0,a.jsxs)(tv,{"aria-label":"View mode",className:"inline-block items-center bg-slate-2 border border-slate-6 rounded-md overflow-hidden h-[36px]",onValueChange:e=>{e&&t(e)},type:"single",value:e,children:[(0,a.jsx)(tP,{value:"preview",children:(0,a.jsxs)(C.m,{children:[(0,a.jsx)(C.m.Trigger,{asChild:!0,children:(0,a.jsxs)("div",{className:(0,h.cn)("px-3 py-2 transition ease-in-out duration-200 relative hover:text-slate-12",{"text-slate-11":"desktop"!==e,"text-slate-12":"desktop"===e}),children:["preview"===e&&(0,a.jsx)(v.P.span,{animate:{opacity:1},className:"absolute left-0 right-0 top-0 bottom-0 bg-slate-4",exit:{opacity:0},initial:{opacity:0},layoutId:"topbar-tabs",transition:k}),(0,a.jsx)(tI,{})]})}),(0,a.jsx)(C.m.Content,{children:"Preview"})]})}),(0,a.jsx)(tP,{value:"source",children:(0,a.jsxs)(C.m,{children:[(0,a.jsx)(C.m.Trigger,{asChild:!0,children:(0,a.jsxs)("div",{className:(0,h.cn)("px-3 py-2 transition ease-in-out duration-200 relative hover:text-slate-12",{"text-slate-11":"source"!==e,"text-slate-12":"source"===e}),children:["source"===e&&(0,a.jsx)(v.P.span,{animate:{opacity:1},className:"absolute left-0 right-0 top-0 bottom-0 bg-slate-4",exit:{opacity:0},initial:{opacity:0},layoutId:"topbar-tabs",transition:k}),(0,a.jsx)(tO,{})]})}),(0,a.jsx)(C.m.Content,{children:"Code"})]})})]});var tL=r(35352),tR=["Enter"," "],tM=["ArrowUp","PageDown","End"],tF=["ArrowDown","PageUp","Home",...tM],tB={ltr:[...tR,"ArrowRight"],rtl:[...tR,"ArrowLeft"]},tj={ltr:["ArrowLeft"],rtl:["ArrowRight"]},tU="Menu",[t$,tq,tz]=(0,tL.N)(tU),[tV,tH]=(0,M.A)(tU,[tz,Q.Bk,tp.RG]),tG=(0,Q.Bk)(),tW=(0,tp.RG)(),[tK,tY]=tV(tU),[tX,tZ]=tV(tU),tJ=e=>{let{__scopeMenu:t,open:r=!1,children:n,dir:i,onOpenChange:s,modal:l=!0}=e,u=tG(t),[c,d]=o.useState(null),p=o.useRef(!1),h=(0,q.c)(s),m=(0,tf.jH)(i);return o.useEffect(()=>{let e=()=>{p.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>p.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,a.jsx)(Q.bL,{...u,children:(0,a.jsx)(tK,{scope:t,open:r,onOpenChange:h,content:c,onContentChange:d,children:(0,a.jsx)(tX,{scope:t,onClose:o.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:p,dir:m,modal:l,children:n})})})};tJ.displayName=tU;var tQ=o.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,i=tG(r);return(0,a.jsx)(Q.Mz,{...i,...n,ref:t})});tQ.displayName="MenuAnchor";var t0="MenuPortal",[t2,t1]=tV(t0,{forceMount:void 0}),t3=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:i}=e,s=tY(t0,t);return(0,a.jsx)(t2,{scope:t,forceMount:r,children:(0,a.jsx)(et.C,{present:r||s.open,children:(0,a.jsx)(ee.Z,{asChild:!0,container:i,children:n})})})};t3.displayName=t0;var t4="MenuContent",[t9,t5]=tV(t4),t6=o.forwardRef((e,t)=>{let r=t1(t4,e.__scopeMenu),{forceMount:n=r.forceMount,...i}=e,s=tY(t4,e.__scopeMenu),o=tZ(t4,e.__scopeMenu);return(0,a.jsx)(t$.Provider,{scope:e.__scopeMenu,children:(0,a.jsx)(et.C,{present:n||s.open,children:(0,a.jsx)(t$.Slot,{scope:e.__scopeMenu,children:o.modal?(0,a.jsx)(t8,{...i,ref:t}):(0,a.jsx)(t7,{...i,ref:t})})})})}),t8=o.forwardRef((e,t)=>{let r=tY(t4,e.__scopeMenu),n=o.useRef(null),i=(0,R.s)(t,n);return o.useEffect(()=>{let e=n.current;if(e)return ec(e)},[]),(0,a.jsx)(rt,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:(0,L.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),t7=o.forwardRef((e,t)=>{let r=tY(t4,e.__scopeMenu);return(0,a.jsx)(rt,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),re=(0,p.TL)("MenuContent.ScrollLock"),rt=o.forwardRef((e,t)=>{let{__scopeMenu:r,loop:n=!1,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:l,disableOutsidePointerEvents:u,onEntryFocus:c,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:h,onInteractOutside:m,onDismiss:f,disableOutsideScroll:y,...g}=e,b=tY(t4,r),w=tZ(t4,r),v=tG(r),k=tW(r),x=tq(r),[S,E]=o.useState(null),T=o.useRef(null),_=(0,R.s)(t,T,b.onContentChange),A=o.useRef(0),C=o.useRef(""),P=o.useRef(0),D=o.useRef(null),I=o.useRef("right"),O=o.useRef(0),N=y?eX:o.Fragment,M=e=>{let t=C.current+e,r=x().filter(e=>!e.disabled),n=document.activeElement,i=r.find(e=>e.ref.current===n)?.textValue,a=function(e,t,r){var n;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,a=r?e.indexOf(r):-1,s=(n=Math.max(a,0),e.map((t,r)=>e[(n+r)%e.length]));1===i.length&&(s=s.filter(e=>e!==r));let o=s.find(e=>e.toLowerCase().startsWith(i.toLowerCase()));return o!==r?o:void 0}(r.map(e=>e.textValue),t,i),s=r.find(e=>e.textValue===a)?.ref.current;!function e(t){C.current=t,window.clearTimeout(A.current),""!==t&&(A.current=window.setTimeout(()=>e(""),1e3))}(t),s&&setTimeout(()=>s.focus())};o.useEffect(()=>()=>window.clearTimeout(A.current),[]),j();let B=o.useCallback(e=>I.current===D.current?.side&&function(e,t){return!!t&&function(e,t){let{x:r,y:n}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let s=t[e],o=t[a],l=s.x,u=s.y,c=o.x,d=o.y;u>n!=d>n&&r<(c-l)*(n-u)/(d-u)+l&&(i=!i)}return i}({x:e.clientX,y:e.clientY},t)}(e,D.current?.area),[]);return(0,a.jsx)(t9,{scope:r,searchRef:C,onItemEnter:o.useCallback(e=>{B(e)&&e.preventDefault()},[B]),onItemLeave:o.useCallback(e=>{B(e)||(T.current?.focus(),E(null))},[B]),onTriggerLeave:o.useCallback(e=>{B(e)&&e.preventDefault()},[B]),pointerGraceTimerRef:P,onPointerGraceIntentChange:o.useCallback(e=>{D.current=e},[]),children:(0,a.jsx)(N,{...y?{as:re,allowPinchZoom:!0}:void 0,children:(0,a.jsx)(G,{asChild:!0,trapped:i,onMountAutoFocus:(0,L.m)(s,e=>{e.preventDefault(),T.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:(0,a.jsx)(F.qW,{asChild:!0,disableOutsidePointerEvents:u,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:h,onInteractOutside:m,onDismiss:f,children:(0,a.jsx)(tp.bL,{asChild:!0,...k,dir:w.dir,orientation:"vertical",loop:n,currentTabStopId:S,onCurrentTabStopIdChange:E,onEntryFocus:(0,L.m)(c,e=>{w.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,a.jsx)(Q.UC,{role:"menu","aria-orientation":"vertical","data-state":rA(b.open),"data-radix-menu-content":"",dir:w.dir,...v,...g,ref:_,style:{outline:"none",...g.style},onKeyDown:(0,L.m)(g.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,n=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!r&&n&&M(e.key));let i=T.current;if(e.target!==i||!tF.includes(e.key))return;e.preventDefault();let a=x().filter(e=>!e.disabled).map(e=>e.ref.current);tM.includes(e.key)&&a.reverse(),function(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}(a)}),onBlur:(0,L.m)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(A.current),C.current="")}),onPointerMove:(0,L.m)(e.onPointerMove,rD(e=>{let t=e.target,r=O.current!==e.clientX;e.currentTarget.contains(t)&&r&&(I.current=e.clientX>O.current?"right":"left",O.current=e.clientX)}))})})})})})})});t6.displayName=t4;var rr=o.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,a.jsx)($.sG.div,{role:"group",...n,ref:t})});rr.displayName="MenuGroup";var rn=o.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,a.jsx)($.sG.div,{...n,ref:t})});rn.displayName="MenuLabel";var ri="MenuItem",ra="menu.itemSelect",rs=o.forwardRef((e,t)=>{let{disabled:r=!1,onSelect:n,...i}=e,s=o.useRef(null),l=tZ(ri,e.__scopeMenu),u=t5(ri,e.__scopeMenu),c=(0,R.s)(t,s),d=o.useRef(!1);return(0,a.jsx)(ro,{...i,ref:c,disabled:r,onClick:(0,L.m)(e.onClick,()=>{let e=s.current;if(!r&&e){let t=new CustomEvent(ra,{bubbles:!0,cancelable:!0});e.addEventListener(ra,e=>n?.(e),{once:!0}),(0,$.hO)(e,t),t.defaultPrevented?d.current=!1:l.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),d.current=!0},onPointerUp:(0,L.m)(e.onPointerUp,e=>{d.current||e.currentTarget?.click()}),onKeyDown:(0,L.m)(e.onKeyDown,e=>{let t=""!==u.searchRef.current;r||t&&" "===e.key||tR.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});rs.displayName=ri;var ro=o.forwardRef((e,t)=>{let{__scopeMenu:r,disabled:n=!1,textValue:i,...s}=e,l=t5(ri,r),u=tW(r),c=o.useRef(null),d=(0,R.s)(t,c),[p,h]=o.useState(!1),[m,f]=o.useState("");return o.useEffect(()=>{let e=c.current;e&&f((e.textContent??"").trim())},[s.children]),(0,a.jsx)(t$.ItemSlot,{scope:r,disabled:n,textValue:i??m,children:(0,a.jsx)(tp.q7,{asChild:!0,...u,focusable:!n,children:(0,a.jsx)($.sG.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0,...s,ref:d,onPointerMove:(0,L.m)(e.onPointerMove,rD(e=>{n?l.onItemLeave(e):(l.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,L.m)(e.onPointerLeave,rD(e=>l.onItemLeave(e))),onFocus:(0,L.m)(e.onFocus,()=>h(!0)),onBlur:(0,L.m)(e.onBlur,()=>h(!1))})})})}),rl=o.forwardRef((e,t)=>{let{checked:r=!1,onCheckedChange:n,...i}=e;return(0,a.jsx)(ry,{scope:e.__scopeMenu,checked:r,children:(0,a.jsx)(rs,{role:"menuitemcheckbox","aria-checked":rC(r)?"mixed":r,...i,ref:t,"data-state":rP(r),onSelect:(0,L.m)(i.onSelect,()=>n?.(!!rC(r)||!r),{checkForDefaultPrevented:!1})})})});rl.displayName="MenuCheckboxItem";var ru="MenuRadioGroup",[rc,rd]=tV(ru,{value:void 0,onValueChange:()=>{}}),rp=o.forwardRef((e,t)=>{let{value:r,onValueChange:n,...i}=e,s=(0,q.c)(n);return(0,a.jsx)(rc,{scope:e.__scopeMenu,value:r,onValueChange:s,children:(0,a.jsx)(rr,{...i,ref:t})})});rp.displayName=ru;var rh="MenuRadioItem",rm=o.forwardRef((e,t)=>{let{value:r,...n}=e,i=rd(rh,e.__scopeMenu),s=r===i.value;return(0,a.jsx)(ry,{scope:e.__scopeMenu,checked:s,children:(0,a.jsx)(rs,{role:"menuitemradio","aria-checked":s,...n,ref:t,"data-state":rP(s),onSelect:(0,L.m)(n.onSelect,()=>i.onValueChange?.(r),{checkForDefaultPrevented:!1})})})});rm.displayName=rh;var rf="MenuItemIndicator",[ry,rg]=tV(rf,{checked:!1}),rb=o.forwardRef((e,t)=>{let{__scopeMenu:r,forceMount:n,...i}=e,s=rg(rf,r);return(0,a.jsx)(et.C,{present:n||rC(s.checked)||!0===s.checked,children:(0,a.jsx)($.sG.span,{...i,ref:t,"data-state":rP(s.checked)})})});rb.displayName=rf;var rw=o.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,a.jsx)($.sG.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});rw.displayName="MenuSeparator";var rv=o.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,i=tG(r);return(0,a.jsx)(Q.i3,{...i,...n,ref:t})});rv.displayName="MenuArrow";var[rk,rx]=tV("MenuSub"),rS="MenuSubTrigger",rE=o.forwardRef((e,t)=>{let r=tY(rS,e.__scopeMenu),n=tZ(rS,e.__scopeMenu),i=rx(rS,e.__scopeMenu),s=t5(rS,e.__scopeMenu),l=o.useRef(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:c}=s,d={__scopeMenu:e.__scopeMenu},p=o.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return o.useEffect(()=>p,[p]),o.useEffect(()=>{let e=u.current;return()=>{window.clearTimeout(e),c(null)}},[u,c]),(0,a.jsx)(tQ,{asChild:!0,...d,children:(0,a.jsx)(ro,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":i.contentId,"data-state":rA(r.open),...e,ref:(0,R.t)(t,i.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:(0,L.m)(e.onPointerMove,rD(t=>{s.onItemEnter(t),!t.defaultPrevented&&(e.disabled||r.open||l.current||(s.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{r.onOpenChange(!0),p()},100)))})),onPointerLeave:(0,L.m)(e.onPointerLeave,rD(e=>{p();let t=r.content?.getBoundingClientRect();if(t){let n=r.content?.dataset.side,i="right"===n,a=t[i?"left":"right"],o=t[i?"right":"left"];s.onPointerGraceIntentChange({area:[{x:e.clientX+(i?-5:5),y:e.clientY},{x:a,y:t.top},{x:o,y:t.top},{x:o,y:t.bottom},{x:a,y:t.bottom}],side:n}),window.clearTimeout(u.current),u.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(e),e.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:(0,L.m)(e.onKeyDown,t=>{let i=""!==s.searchRef.current;e.disabled||i&&" "===t.key||tB[n.dir].includes(t.key)&&(r.onOpenChange(!0),r.content?.focus(),t.preventDefault())})})})});rE.displayName=rS;var rT="MenuSubContent",r_=o.forwardRef((e,t)=>{let r=t1(t4,e.__scopeMenu),{forceMount:n=r.forceMount,...i}=e,s=tY(t4,e.__scopeMenu),l=tZ(t4,e.__scopeMenu),u=rx(rT,e.__scopeMenu),c=o.useRef(null),d=(0,R.s)(t,c);return(0,a.jsx)(t$.Provider,{scope:e.__scopeMenu,children:(0,a.jsx)(et.C,{present:n||s.open,children:(0,a.jsx)(t$.Slot,{scope:e.__scopeMenu,children:(0,a.jsx)(rt,{id:u.contentId,"aria-labelledby":u.triggerId,...i,ref:d,align:"start",side:"rtl"===l.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{l.isUsingKeyboardRef.current&&c.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,L.m)(e.onFocusOutside,e=>{e.target!==u.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:(0,L.m)(e.onEscapeKeyDown,e=>{l.onClose(),e.preventDefault()}),onKeyDown:(0,L.m)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),r=tj[l.dir].includes(e.key);t&&r&&(s.onOpenChange(!1),u.trigger?.focus(),e.preventDefault())})})})})})});function rA(e){return e?"open":"closed"}function rC(e){return"indeterminate"===e}function rP(e){return rC(e)?"indeterminate":e?"checked":"unchecked"}function rD(e){return t=>"mouse"===t.pointerType?e(t):void 0}r_.displayName=rT;var rI="DropdownMenu",[rO,rN]=(0,M.A)(rI,[tH]),rL=tH(),[rR,rM]=rO(rI),rF=e=>{let{__scopeDropdownMenu:t,children:r,dir:n,open:i,defaultOpen:s,onOpenChange:l,modal:u=!0}=e,c=rL(t),d=o.useRef(null),[p,h]=(0,er.i)({prop:i,defaultProp:s??!1,onChange:l,caller:rI});return(0,a.jsx)(rR,{scope:t,triggerId:(0,J.B)(),triggerRef:d,contentId:(0,J.B)(),open:p,onOpenChange:h,onOpenToggle:o.useCallback(()=>h(e=>!e),[h]),modal:u,children:(0,a.jsx)(tJ,{...c,open:p,onOpenChange:h,dir:n,modal:u,children:r})})};rF.displayName=rI;var rB="DropdownMenuTrigger",rj=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,disabled:n=!1,...i}=e,s=rM(rB,r),o=rL(r);return(0,a.jsx)(tQ,{asChild:!0,...o,children:(0,a.jsx)($.sG.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...i,ref:(0,R.t)(t,s.triggerRef),onPointerDown:(0,L.m)(e.onPointerDown,e=>{!n&&0===e.button&&!1===e.ctrlKey&&(s.onOpenToggle(),s.open||e.preventDefault())}),onKeyDown:(0,L.m)(e.onKeyDown,e=>{!n&&(["Enter"," "].includes(e.key)&&s.onOpenToggle(),"ArrowDown"===e.key&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});rj.displayName=rB;var rU=e=>{let{__scopeDropdownMenu:t,...r}=e,n=rL(t);return(0,a.jsx)(t3,{...n,...r})};rU.displayName="DropdownMenuPortal";var r$="DropdownMenuContent",rq=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rM(r$,r),s=rL(r),l=o.useRef(!1);return(0,a.jsx)(t6,{id:i.contentId,"aria-labelledby":i.triggerId,...s,...n,ref:t,onCloseAutoFocus:(0,L.m)(e.onCloseAutoFocus,e=>{l.current||i.triggerRef.current?.focus(),l.current=!1,e.preventDefault()}),onInteractOutside:(0,L.m)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;(!i.modal||n)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});rq.displayName=r$,o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rr,{...i,...n,ref:t})}).displayName="DropdownMenuGroup",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rn,{...i,...n,ref:t})}).displayName="DropdownMenuLabel";var rz=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rs,{...i,...n,ref:t})});rz.displayName="DropdownMenuItem",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rl,{...i,...n,ref:t})}).displayName="DropdownMenuCheckboxItem",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rp,{...i,...n,ref:t})}).displayName="DropdownMenuRadioGroup",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rm,{...i,...n,ref:t})}).displayName="DropdownMenuRadioItem",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rb,{...i,...n,ref:t})}).displayName="DropdownMenuItemIndicator",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rw,{...i,...n,ref:t})}).displayName="DropdownMenuSeparator",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rv,{...i,...n,ref:t})}).displayName="DropdownMenuArrow",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rE,{...i,...n,ref:t})}).displayName="DropdownMenuSubTrigger",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(r_,{...i,...n,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}).displayName="DropdownMenuSubContent";var rV=r(81301);let rH=[{name:"Desktop",dimensions:{width:600,height:1024}},{name:"Mobile",dimensions:{width:375,height:812}}],rG={active:{width:"3.5rem",padding:"0 0 0 0.5rem"},inactive:{width:"0"}},rW=({icon:e,isActive:t,label:r,onBlur:n,onChange:i,setIsActive:s,value:l,hasBorder:u})=>{let c=o.useRef(null);return o.useEffect(()=>{t&&c.current&&c.current.focus()},[t]),(0,a.jsx)(C.m.Provider,{children:(0,a.jsxs)(C.m,{children:[(0,a.jsx)(C.m.Trigger,{asChild:!0,children:(0,a.jsxs)(v.P.button,{onClick:()=>{t?s(!1):s(!0)},className:(0,h.cn)("relative flex items-center justify-center p-2",{"border-slate-6 border-r":u}),children:[e,(0,a.jsx)(v.P.input,{ref:c,initial:!1,animate:t?"active":"inactive",className:"arrow-hide relative flex h-8 items-center justify-center bg-black text-sm outline-none",onChange:e=>i(Number.parseInt(e.currentTarget.value)),onBlur:n,type:"number",value:l,variants:rG})]})}),(0,a.jsxs)(C.m.Content,{children:[(0,a.jsxs)("span",{children:[r,": "]}),(0,a.jsxs)("span",{className:"font-mono",children:[l,"px"]})]})]})})},rK=({name:e,dimensions:t,onSelect:r})=>(0,a.jsxs)(rz,{className:"group flex w-full cursor-pointer select-none items-center justify-between rounded-md py-1.5 pr-1 pl-2 text-sm outline-none transition-colors data-[highlighted]:bg-slate-5",onClick:()=>r(t),children:[e,(0,a.jsxs)("span",{className:"flex h-fit items-center rounded-full bg-slate-6 px-2 py-1 font-medium text-slate-11 text-xs",children:[t.width,"x",t.height]})]}),rY=({viewWidth:e,viewHeight:t,setViewWidth:r,setViewHeight:n})=>{let[i,s]=o.useState(!1),[l,u]=o.useState(null),c=e=>{r(e.width),n(e.height)},d=()=>{u(null)};return(0,a.jsxs)("div",{className:"relative flex h-9 w-fit overflow-hidden rounded-lg border border-slate-6 text-sm transition-colors duration-300 ease-in-out focus-within:border-slate-8 hover:border-slate-8",children:[(0,a.jsx)(rW,{icon:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("path",{d:"M21 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3"}),(0,a.jsx)("path",{d:"M21 16v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3"}),(0,a.jsx)("path",{d:"M4 12H2"}),(0,a.jsx)("path",{d:"M10 12H8"}),(0,a.jsx)("path",{d:"M16 12h-2"}),(0,a.jsx)("path",{d:"M22 12h-2"})]}),value:e,onChange:r,isActive:"width"===l,setIsActive:e=>u(e?"width":null),onBlur:d,label:"Width",hasBorder:!0}),(0,a.jsx)(rW,{icon:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("path",{d:"M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3"}),(0,a.jsx)("path",{d:"M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3"}),(0,a.jsx)("path",{d:"M12 20v2"}),(0,a.jsx)("path",{d:"M12 14v2"}),(0,a.jsx)("path",{d:"M12 8v2"}),(0,a.jsx)("path",{d:"M12 2v2"})]}),value:t,onChange:n,isActive:"height"===l,setIsActive:e=>u(e?"height":null),onBlur:d,label:"Height"}),(0,a.jsxs)(rF,{open:i,onOpenChange:s,children:[(0,a.jsx)(rj,{asChild:!0,children:(0,a.jsxs)("button",{type:"button",className:"relative flex items-center justify-center overflow-hidden bg-slate-5 p-2 text-slate-11 text-sm leading-none outline-none transition-colors ease-linear focus-within:text-slate-12 hover:text-slate-12 focus:text-slate-12",children:[(0,a.jsx)("span",{className:"sr-only",children:"View presets"}),(0,a.jsx)(rV.R,{className:(0,h.cn)("transform transition-transform duration-200 ease-[cubic-bezier(.36,.66,.6,1)]",{"-rotate-180":i})})]})}),(0,a.jsx)(rU,{children:(0,a.jsx)(rq,{align:"end",className:"flex min-w-[12rem] flex-col gap-2 rounded-md border border-slate-8 border-solid bg-black px-2 py-2 text-white",sideOffset:5,children:rH.map(e=>(0,a.jsx)(rK,{name:e.name,dimensions:e.dimensions,onSelect:c},e.name))})})]})]})};var rX=r(20657);let rZ=(e,t,r)=>Math.min(Math.max(e,t),r),rJ=(e,t,r)=>{let[n,i]=(0,o.useState)(e);return[rZ(n,t,r),e=>{"function"==typeof e?i(n=>{let i=rZ(n,t,r);return rZ(e(i),t,r)}):i(rZ(e,t,r))}]},rQ=e=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"absolute inset-0 z-50 bg-black/80"}),(0,a.jsx)("div",{className:"absolute left-[50%] top-[50%] z-50 grid min-h-[50vh] w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 rounded-t-sm border border-t-4 bg-white p-6 text-black shadow-lg duration-200 sm:rounded-lg md:max-w-[568px] lg:max-w-[968px]",children:(0,a.jsxs)("div",{className:"flex min-w-0 max-w-full flex-col space-y-1.5",children:[(0,a.jsxs)("h2",{className:"flex flex-shrink items-center gap-4 pb-2 text-lg font-semibold leading-none tracking-tight",children:[(0,a.jsxs)("svg",{className:"h-6 w-6 font-extrabold text-red-600",fill:"none",height:"24",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"}),(0,a.jsx)("path",{d:"M12 9v4"}),(0,a.jsx)("path",{d:"M12 17h.01"})]}),e.error.name,": ",e.error.message]}),e.error.stack?(0,a.jsx)("div",{className:"flex-grow scroll-px-4 overflow-x-auto rounded-lg bg-red-500 p-2 text-sm text-gray-100",children:(0,a.jsx)("pre",{className:"w-full min-w-0 font-mono leading-7",children:e.error.stack})}):void 0]})})]}),r0=({emailTitle:e,className:t,...r})=>{let{renderingResult:n,renderedEmailMetadata:i}=(0,o.use)(rX.o),c=(0,s.useRouter)(),d=(0,s.usePathname)(),p=(0,s.useSearchParams)(),m=p.get("view")??"preview",f=p.get("lang")??"jsx",y=void 0!==i,g="error"in n,[w,v]=(0,o.useState)(Number.POSITIVE_INFINITY),[k,x]=(0,o.useState)(Number.POSITIVE_INFINITY),S=p.get("width"),E=p.get("height"),[T,_]=rJ(S?Number.parseInt(S):600,100,w),[A,D]=rJ(E?Number.parseInt(E):1024,100,k),I=function(e,t,r){var n=this,i=(0,o.useRef)(null),a=(0,o.useRef)(0),s=(0,o.useRef)(null),l=(0,o.useRef)([]),u=(0,o.useRef)(),c=(0,o.useRef)(),d=(0,o.useRef)(e),p=(0,o.useRef)(!0);d.current=e;var h="undefined"!=typeof window,m=!t&&0!==t&&h;if("function"!=typeof e)throw TypeError("Expected a function");t=+t||0;var f=!!(r=r||{}).leading,y=!("trailing"in r)||!!r.trailing,g="maxWait"in r,b="debounceOnServer"in r&&!!r.debounceOnServer,w=g?Math.max(+r.maxWait||0,t):null;return(0,o.useEffect)(function(){return p.current=!0,function(){p.current=!1}},[]),(0,o.useMemo)(function(){var e=function(e){var t=l.current,r=u.current;return l.current=u.current=null,a.current=e,c.current=d.current.apply(r,t)},r=function(e,t){m&&cancelAnimationFrame(s.current),s.current=m?requestAnimationFrame(e):setTimeout(e,t)},o=function(e){if(!p.current)return!1;var r=e-i.current;return!i.current||r>=t||r<0||g&&e-a.current>=w},v=function(t){return s.current=null,y&&l.current?e(t):(l.current=u.current=null,c.current)},k=function e(){var n=Date.now();if(o(n))return v(n);if(p.current){var s=t-(n-i.current);r(e,g?Math.min(s,w-(n-a.current)):s)}},x=function(){if(h||b){var d=Date.now(),m=o(d);if(l.current=[].slice.call(arguments),u.current=n,i.current=d,m){if(!s.current&&p.current)return a.current=i.current,r(k,t),f?e(i.current):c.current;if(g)return r(k,t),e(i.current)}return s.current||r(k,t),c.current}};return x.cancel=function(){s.current&&(m?cancelAnimationFrame(s.current):clearTimeout(s.current)),a.current=0,l.current=i.current=u.current=s.current=null},x.isPending=function(){return!!s.current},x.flush=function(){return s.current?v(Date.now()):c.current},x},[f,g,t,w,y,m,h,b])}(()=>{let e=new URLSearchParams(p);e.set("width",T.toString()),e.set("height",A.toString()),c.push(`${d}?${e.toString()}${location.hash}`)},300),{toggled:L}=(0,td.S)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(b.Topbar,{emailTitle:e,children:[(0,a.jsx)(rY,{setViewHeight:e=>{D(e),(0,l.flushSync)(()=>{I()})},setViewWidth:e=>{_(e),(0,l.flushSync)(()=>{I()})},viewHeight:A,viewWidth:T}),(0,a.jsx)(tN,{activeView:m,setActiveView:e=>{let t=new URLSearchParams(p);t.set("view",e),c.push(`${d}?${t.toString()}${location.hash}`)}}),y?(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsx)(tc,{markup:i.markup})}):null]}),(0,a.jsxs)("div",{...r,className:(0,h.cn)("h-[calc(100%-3.5rem-2.375rem)] will-change-[height] flex p-4 transition-[height] duration-300","preview"===m&&"bg-gray-200",L&&"h-[calc(100%-3.5rem-13rem)]",t),ref:e=>{let t=new ResizeObserver(e=>{let[t]=e;t&&(v(t.contentRect.width),x(t.contentRect.height))});return e&&t.observe(e),()=>{t.disconnect()}},children:[g?(0,a.jsx)(rQ,{error:n.error}):null,y?(0,a.jsxs)(a.Fragment,{children:["preview"===m&&(0,a.jsx)(N,{minHeight:100,minWidth:100,maxHeight:k,maxWidth:w,height:A,onResizeEnd:()=>{I()},onResize:(e,t)=>{"east"===t||"west"===t?_(Math.round(e)):D(Math.round(e))},width:T,children:(0,a.jsx)("iframe",{className:"max-h-full rounded-lg bg-white [color-scheme:auto]",ref:e=>{if(e)return O(e)},srcDoc:i.markup,style:{width:`${T}px`,height:`${A}px`},title:e})}),"source"===m&&(0,a.jsx)("div",{className:"h-full w-full",children:(0,a.jsx)("div",{className:"m-auto h-full flex max-w-3xl p-6",children:(0,a.jsx)(C.m.Provider,{children:(0,a.jsx)(P,{activeLang:f,markups:[{language:"jsx",content:i.reactMarkup},{language:"markup",content:i.markup},{language:"markdown",content:i.plainText}],setActiveLang:e=>{let t=new URLSearchParams(p);t.set("view","source"),t.set("lang",e);let r=p.get("lang")===e;c.push(`${d}?${t.toString()}${r?location.hash:""}`)}})})})})]}):null,(0,a.jsx)(u.l$,{})]})]})}},82105:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrowFunctionToExpression=function({allowInsertArrow:e=!0,allowInsertArrowWithRest:t=e,noNewArrows:r=!(e=>null==(e=arguments[0])?void 0:e.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let n=this;if(!r){var i;n=null!=(i=n.ensureFunctionName(!1))?i:n}let{thisBinding:a,fnPath:s}=V(n,r,e,t);if(s.ensureBlock(),s.node.type="FunctionExpression",!r){let e=a?null:s.scope.generateUidIdentifier("arrowCheckId");return e&&s.parentPath.scope.push({id:e,init:x([])}),s.get("body").unshiftContainer("body",h(d(this.hub.addHelper("newArrowCheck"),[P(),e?m(e.name):m(a)]))),s.replaceWith(d(w(s.node,m("bind")),[e?m(e.name):P()])),s.get("callee.object")}return s},t.ensureBlock=function(){let e,t,r=this.get("body"),n=r.node;if(Array.isArray(r))throw Error("Can't convert array path to a block statement");if(!n)throw Error("Can't convert node without a body");if(r.isBlockStatement())return n;let i=[],a="body";r.isStatement()?(t="body",e=0,i.push(r.node)):(a+=".body.0",this.isFunction()?(e="argument",i.push(E(r.node))):(e="expression",i.push(h(r.node)))),this.node.body=c(i);let o=this.get(a);return s.setup.call(r,o,t?o.node[t]:o.node,t,e),this.node},t.ensureFunctionName=function(e){if(this.node.id)return this;let t=M(this.node,this.parent);if(null==t)return this;let{name:r}=t;if(!e&&/[\uD800-\uDFFF]/.test(r)||r.startsWith("get ")||r.startsWith("set "))return null;let n=m(r=O(r.replace(/[/ ]/g,"_")));q(n,t.originalNode);let a={needsRename:!1,name:r},{scope:s}=this,o=s.getOwnBinding(r);if(o?"param"===o.kind&&(a.needsRename=!0):(s.parent.hasBinding(r)||s.hasGlobal(r))&&this.traverse(Y,a),!a.needsRename)return this.node.id=n,s.getProgramParent().references[n.name]=!0,this;if(s.hasBinding(n.name)&&!s.hasGlobal(n.name))return s.rename(n.name),this.node.id=n,s.getProgramParent().references[n.name]=!0,this;if(!N(this.node))return null;let l=s.generateUidIdentifier(n.name),u=[];for(let e=0,t=function(e){let t=e.params.findIndex(e=>L(e)||R(e));return -1===t?e.params.length:t}(this.node);e<t;e++)u.push(s.generateUidIdentifier("x"));let c=i.default.expression.ast`
293
+ `),this}}e.exports=function(e){return new g(e)},e.exports.promise=(e,t)=>{if("function"!=typeof e.then)throw TypeError("Parameter `action` must be a Promise");let r=new g(t);return r.start(),(async()=>{try{await e,r.succeed()}catch{r.fail()}})(),r}},81630:e=>{"use strict";e.exports=require("http")},81832:e=>{e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},81939:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{updateAllClasses:function(){return c},asValue:function(){return p},parseColorFormat:function(){return f},asColor:function(){return g},asLookupValue:function(){return b},typeMap:function(){return v},coerceValue:function(){return x},getMatchingTypes:function(){return S}});let n=u(r(46540)),i=r(31403),a=r(22474),s=u(r(24748)),o=r(23825),l=r(21341);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){e.walkClasses(e=>{e.value=t(e.value),e.raws&&e.raws.value&&(e.raws.value=(0,n.default)(e.raws.value))})}function d(e,t){if(!h(e))return;let r=e.slice(1,-1);if(t(r))return(0,a.normalize)(r)}function p(e,t={},{validate:r=()=>!0}={}){var n;let i=null==(n=t.values)?void 0:n[e];return void 0!==i?i:t.supportsNegativeValues&&e.startsWith("-")?function(e,t={},r){let n=t[e];if(void 0!==n)return(0,s.default)(n);if(h(e)){let t=d(e,r);if(void 0===t)return;return(0,s.default)(t)}}(e.slice(1),t.values,r):d(e,r)}function h(e){return e.startsWith("[")&&e.endsWith("]")}function m(e){let t=e.lastIndexOf("/"),r=e.lastIndexOf("[",t),n=e.indexOf("]",t);return("]"!==e[t-1]&&"["!==e[t+1]&&-1!==r&&-1!==n&&r<t&&t<n&&(t=e.lastIndexOf("/",r)),-1===t||t===e.length-1||h(e)&&!e.includes("]/["))?[e,void 0]:[e.slice(0,t),e.slice(t+1)]}function f(e){return"string"==typeof e&&e.includes("<alpha-value>")?({opacityValue:t=1})=>e.replace("<alpha-value>",t):e}function y(e){return(0,a.normalize)(e.slice(1,-1))}function g(e,t={},{tailwindConfig:r={}}={}){var n,s,o,l,u,c;if((null==(n=t.values)?void 0:n[e])!==void 0)return f(null==(s=t.values)?void 0:s[e]);let[d,b]=m(e);if(void 0!==b){let e=null!=(c=null==(o=t.values)?void 0:o[d])?c:h(d)?d.slice(1,-1):void 0;if(void 0===e)return;if(e=f(e),h(b))return(0,i.withAlphaValue)(e,y(b));if((null==(l=r.theme)||null==(u=l.opacity)?void 0:u[b])===void 0)return;return(0,i.withAlphaValue)(e,r.theme.opacity[b])}return p(e,t,{validate:a.color})}function b(e,t={}){var r;return null==(r=t.values)?void 0:r[e]}function w(e){return(t,r)=>p(t,r,{validate:e})}let v={any:p,color:g,url:w(a.url),image:w(a.image),length:w(a.length),percentage:w(a.percentage),position:w(a.position),lookup:b,"generic-name":w(a.genericName),"family-name":w(a.familyName),number:w(a.number),"line-width":w(a.lineWidth),"absolute-size":w(a.absoluteSize),"relative-size":w(a.relativeSize),shadow:w(a.shadow),size:w(o.backgroundSize)},k=Object.keys(v);function x(e,t,r,n){if(r.values&&t in r.values)for(let{type:i}of null!=e?e:[]){let e=v[i](t,r,{tailwindConfig:n});if(void 0!==e)return[e,i,null]}if(h(t)){let e,n=t.slice(1,-1),[i,a]=-1===(e=n.indexOf(":"))?[void 0,n]:[n.slice(0,e),n.slice(e+1)];if(/^[\w-_]+$/g.test(i)){if(void 0!==i&&!k.includes(i))return[]}else a=n;if(a.length>0&&k.includes(i))return[p(`[${a}]`,r),i,null]}for(let i of S(e,t,r,n))return i;return[]}function*S(e,t,r,n){let i=(0,l.flagEnabled)(n,"generalizedModifiers"),[a,s]=m(t);if(i&&null!=r.modifiers&&("any"===r.modifiers||"object"==typeof r.modifiers&&(s&&h(s)||s in r.modifiers))||(a=t,s=void 0),void 0!==s&&""===a&&(a="DEFAULT"),void 0!==s&&"object"==typeof r.modifiers){var o,u;let e=null!=(u=null==(o=r.modifiers)?void 0:o[s])?u:null;null!==e?s=e:h(s)&&(s=y(s))}for(let{type:t}of null!=e?e:[]){let e=v[t](a,r,{tailwindConfig:n});void 0!==e&&(yield[e,t,null!=s?s:null])}}},82043:(e,t,r)=>{"use strict";r.d(t,{default:()=>r0});var n,i,a=r(92374),s=r(87744),o=r(14148),l=r(70110),u=r(90708),c=r(96256),d=r(63355);r(56312),r(25349),r(34753);var p=r(39339),h=r(56037);let m=o.forwardRef(({as:e="span",size:t="2",color:r="gray",transform:n,weight:i="normal",className:s,children:o,...l},u)=>(0,a.jsx)(p.DX,{className:(0,h.cn)(s,n,f(t),y(r),g(i)),ref:u,...l,children:(0,a.jsx)(e,{children:o})})),f=e=>{switch(e){case"1":return"text-xs";case void 0:case"2":return"text-sm";case"3":return"text-base";case"4":return"text-lg";case"5":return["text-17px","md:text-xl tracking-[-0.16px]"];case"6":return"text-2xl tracking-[-0.288px]";case"7":return"text-[28px] leading-[34px] tracking-[-0.416px]";case"8":return"text-[35px] leading-[42px] tracking-[-0.64px]";case"9":return"text-6xl leading-[73px] tracking-[-0.896px]";default:return(0,h.HB)(e)}},y=e=>{switch(e){case"white":return"text-slate-12";case void 0:case"gray":return"text-slate-11";default:return(0,h.HB)(e)}},g=e=>{switch(e){case void 0:case"normal":return"font-normal";case"medium":return"font-medium";default:return(0,h.HB)(e)}};m.displayName="Text";var b=r(19002),w=r(14431),v=r(3916);let k={type:"spring",stiffness:2e3,damping:80,mass:1};var x=r(19022);let S=o.forwardRef(({children:e,className:t,...r},n)=>(0,a.jsx)("button",{type:"button",...r,className:(0,h.cn)("focus:ring-gray-8 rounded text-slate-11 transition duration-200 ease-in-out hover:text-slate-12 focus:text-slate-12 focus:outline-none focus:ring-2",t),ref:n,children:e}));S.displayName="IconButton";var E=r(58409),T=r(73566);let _=o.forwardRef(({...e},t)=>(0,a.jsxs)(T.z,{ref:t,...e,children:[(0,a.jsx)("path",{d:"M9 6.75H7.75C6.64543 6.75 5.75 7.64543 5.75 8.75V17.25C5.75 18.3546 6.64543 19.25 7.75 19.25H16.25C17.3546 19.25 18.25 18.3546 18.25 17.25V8.75C18.25 7.64543 17.3546 6.75 16.25 6.75H15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,a.jsx)("path",{d:"M14 8.25H10C9.44772 8.25 9 7.80228 9 7.25V5.75C9 5.19772 9.44772 4.75 10 4.75H14C14.5523 4.75 15 5.19772 15 5.75V7.25C15 7.80228 14.5523 8.25 14 8.25Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,a.jsx)("path",{d:"M9.75 12.25H14.25",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),(0,a.jsx)("path",{d:"M9.75 15.25H14.25",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})]}));_.displayName="IconClipboard";let A=o.forwardRef(({...e},t)=>(0,a.jsx)(T.z,{ref:t,...e,children:(0,a.jsx)("path",{d:"M4.75 14.75v1.5a3 3 0 0 0 3 3h8.5a3 3 0 0 0 3-3v-1.5M12 14.25v-9.5M8.75 10.75l3.25 3.5 3.25-3.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})}));A.displayName="IconDownload";var C=r(1096);let P=({markups:e,activeLang:t,setActiveLang:r})=>{let n=e.find(({language:e})=>t===e);if(!n)throw Error("No markup found for the active language!",{cause:{activeLang:t,markups:e}});let i=o.useId();return(0,a.jsxs)("div",{className:"relative max-h-[650px] w-full h-full whitespace-pre rounded-md border border-slate-6 text-sm",style:{lineHeight:"130%",background:"linear-gradient(145.37deg, rgba(255, 255, 255, 0.09) -8.75%, rgba(255, 255, 255, 0.027) 83.95%)",boxShadow:"rgb(0 0 0 / 10%) 0px 5px 30px -5px"},children:[(0,a.jsxs)("div",{className:"h-9 border-b border-slate-6",children:[(0,a.jsx)("div",{className:"flex",children:(0,a.jsx)(w.o,{id:i,children:e.map(({language:e})=>{let n=t===e;return(0,a.jsxs)(v.P.button,{className:`relative px-4 py-[8px] font-sans text-sm font-medium transition duration-200 ease-in-out hover:text-slate-12 ${t!==e?"text-slate-11":"text-slate-12"}`,onClick:()=>{r(e)},children:[n?(0,a.jsx)(v.P.span,{animate:{opacity:1},className:"absolute bottom-0 left-0 right-0 top-0 bg-slate-4",exit:{opacity:0},initial:{opacity:0},layoutId:"code",transition:k}):null,x.A[e]]},e)})})}),(0,a.jsx)(D,{content:n.content}),(0,a.jsx)(I,{content:n.content,filename:`email.${n.language}`})]}),(0,a.jsx)("div",{className:"h-[calc(100%-2.25rem)]",children:(0,a.jsx)(d.Code,{language:t,children:n.content})})]})},D=({content:e})=>{let[t,r]=o.useState(!1),n=o.useRef(void 0);return o.useEffect(()=>{r(!1),clearTimeout(n.current),n.current=void 0},[e]),(0,a.jsxs)(C.m,{children:[(0,a.jsx)(C.m.Trigger,{asChild:!0,className:"absolute right-2 top-2 hidden md:block",children:(0,a.jsx)(S,{onClick:async()=>{r(!0),await (0,h.eM)(e),n.current=setTimeout(()=>{r(!1)},3e3)},children:t?(0,a.jsx)(E.i,{}):(0,a.jsx)(_,{})})}),(0,a.jsx)(C.m.Content,{children:"Copy to Clipboard"})]})},I=({content:e,filename:t})=>{let r=o.useMemo(()=>{let r=new File([e],t);return URL.createObjectURL(r)},[e,t]),n=o.useSyncExternalStore(()=>()=>{},()=>r,()=>void 0);return(0,a.jsxs)(C.m,{children:[(0,a.jsx)(C.m.Trigger,{asChild:!0,className:"text-gray-11 absolute right-8 top-2 hidden md:block",children:(0,a.jsx)("a",{className:"text-slate-11 transition duration-200 ease-in-out hover:text-slate-12",download:t,href:n,children:(0,a.jsx)(A,{})})}),(0,a.jsx)(C.m.Content,{children:"Download"})]})},O=e=>{let t=t=>{let r=e.getBoundingClientRect();document.dispatchEvent(new MouseEvent("mousemove",{...t,clientX:t.clientX+r.x,clientY:t.clientY+r.y}))},r=e=>{document.dispatchEvent(new MouseEvent("mouseup",e))};return e.contentDocument?.addEventListener("mousemove",t),e.contentDocument?.addEventListener("mouseup",r),()=>{e.contentDocument?.removeEventListener("mousemove",t),e.contentDocument?.removeEventListener("mouseup",r)}},N=({width:e,height:t,onResize:r,onResizeEnd:n,children:i,maxHeight:s,maxWidth:l,minHeight:u,minWidth:c,...d})=>{let m=(0,o.useRef)(null),f=(0,o.useRef)(null),y=(0,o.useCallback)(()=>{f.current&&document.removeEventListener("mousemove",f.current),document.removeEventListener("mouseup",y),n?.()},[]),g=e=>{f.current=t=>{if(0===t.button&&m.current){let n="east"===e||"west"===e,i=n?t.clientX:t.clientY,a=m.current.getBoundingClientRect();r(2*Math.abs(i-(n?a.x+a.width/2:a.y+a.height/2)),e)}else y()},document.addEventListener("mouseup",y),document.addEventListener("mousemove",f.current)};return(0,o.useEffect)(()=>{if(window.document)return()=>{y()}},[]),(0,a.jsxs)("div",{...d,className:(0,h.cn)("relative mx-auto my-auto box-content",d.className),children:[(0,a.jsx)("div",{"aria-label":"resize-west","aria-valuenow":e,"aria-valuemin":c,"aria-valuemax":l,className:"-translate-x-1/2 -translate-y-1/2 absolute top-1/2 left-2 cursor-w-resize p-2 [user-drag:none]",onDragStart:e=>e.preventDefault(),draggable:"false",onMouseDown:()=>{g("west")},role:"slider",tabIndex:0,children:(0,a.jsx)("div",{className:"h-8 w-1 rounded-md bg-black/30"})}),(0,a.jsx)("div",{"aria-label":"resize-east","aria-valuenow":e,"aria-valuemin":c,"aria-valuemax":l,onDragStart:e=>e.preventDefault(),className:"-translate-x-full -translate-y-1/2 absolute top-1/2 left-full cursor-e-resize p-2 [user-drag:none]",draggable:"false",onMouseDown:()=>{g("east")},role:"slider",tabIndex:0,children:(0,a.jsx)("div",{className:"h-8 w-1 rounded-md bg-black/30"})}),(0,a.jsx)("div",{"aria-label":"resize-north","aria-valuenow":t,"aria-valuemin":u,"aria-valuemax":s,onDragStart:e=>e.preventDefault(),className:"-translate-x-1/2 -translate-y-1/2 absolute top-0 left-1/2 cursor-n-resize p-2 [user-drag:none]",draggable:"false",onMouseDown:()=>{g("north")},role:"slider",tabIndex:0,children:(0,a.jsx)("div",{className:"h-1 w-8 rounded-md bg-black/30"})}),(0,a.jsx)("div",{"aria-label":"resize-south","aria-valuenow":t,"aria-valuemin":u,"aria-valuemax":s,onDragStart:e=>e.preventDefault(),className:"-translate-x-1/2 -translate-y-1/2 absolute top-full left-1/2 cursor-s-resize p-2 [user-drag:none]",draggable:"false",onMouseDown:()=>{g("south")},role:"slider",tabIndex:0,children:(0,a.jsx)("div",{className:"h-1 w-8 rounded-md bg-black/30"})}),(0,a.jsx)(p.DX,{ref:m,children:i})]})};var L=r(82695),R=r(32468),M=r(81836),F=r(12109),B=0;function j(){o.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??U()),document.body.insertAdjacentElement("beforeend",e[1]??U()),B++,()=>{1===B&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),B--}},[])}function U(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var $=r(37419),q=r(80679),z="focusScope.autoFocusOnMount",V="focusScope.autoFocusOnUnmount",H={bubbles:!1,cancelable:!0},G=o.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...l}=e,[u,c]=o.useState(null),d=(0,q.c)(i),p=(0,q.c)(s),h=o.useRef(null),m=(0,R.s)(t,e=>c(e)),f=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(n){let e=function(e){if(f.paused||!u)return;let t=e.target;u.contains(t)?h.current=t:Y(h.current,{select:!0})},t=function(e){if(f.paused||!u)return;let t=e.relatedTarget;null!==t&&(u.contains(t)||Y(h.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&Y(u)});return u&&r.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,u,f.paused]),o.useEffect(()=>{if(u){X.add(f);let e=document.activeElement;if(!u.contains(e)){let t=new CustomEvent(z,H);u.addEventListener(z,d),u.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(Y(n,{select:t}),document.activeElement!==r)return}(W(u).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&Y(u))}return()=>{u.removeEventListener(z,d),setTimeout(()=>{let t=new CustomEvent(V,H);u.addEventListener(V,p),u.dispatchEvent(t),t.defaultPrevented||Y(e??document.body,{select:!0}),u.removeEventListener(V,p),X.remove(f)},0)}}},[u,d,p,f]);let y=o.useCallback(e=>{if(!r&&!n||f.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[n,a]=function(e){let t=W(e);return[K(t,e),K(t.reverse(),e)]}(t);n&&a?e.shiftKey||i!==a?e.shiftKey&&i===n&&(e.preventDefault(),r&&Y(a,{select:!0})):(e.preventDefault(),r&&Y(n,{select:!0})):i===t&&e.preventDefault()}},[r,n,f.paused]);return(0,a.jsx)($.sG.div,{tabIndex:-1,...l,ref:m,onKeyDown:y})});function W(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function K(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function Y(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}G.displayName="FocusScope";var X=function(){let e=[];return{add(t){let r=e[0];t!==r&&r?.pause(),(e=Z(e,t)).unshift(t)},remove(t){e=Z(e,t),e[0]?.resume()}}}();function Z(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var J=r(9927),Q=r(9616),ee=r(30090),et=r(13057),er=r(81495),en=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},ei=new WeakMap,ea=new WeakMap,es={},eo=0,el=function(e){return e&&(e.host||el(e.parentNode))},eu=function(e,t,r,n){var i=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=el(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});es[r]||(es[r]=new WeakMap);var a=es[r],s=[],o=new Set,l=new Set(i),u=function(e){!e||o.has(e)||(o.add(e),u(e.parentNode))};i.forEach(u);var c=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(o.has(e))c(e);else try{var t=e.getAttribute(n),i=null!==t&&"false"!==t,l=(ei.get(e)||0)+1,u=(a.get(e)||0)+1;ei.set(e,l),a.set(e,u),s.push(e),1===l&&i&&ea.set(e,!0),1===u&&e.setAttribute(r,"true"),i||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),o.clear(),eo++,function(){s.forEach(function(e){var t=ei.get(e)-1,i=a.get(e)-1;ei.set(e,t),a.set(e,i),t||(ea.has(e)||e.removeAttribute(n),ea.delete(e)),i||e.removeAttribute(r)}),--eo||(ei=new WeakMap,ei=new WeakMap,ea=new WeakMap,es={})}},ec=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||en(e);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),eu(n,i,r,"aria-hidden")):function(){return null}},ed=function(){return(ed=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function ep(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}Object.create;Object.create;var eh=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),em="width-before-scroll-bar";function ef(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var ey="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,eg=new WeakMap;function eb(e){return e}var ew=function(e){void 0===e&&(e={});var t,r,n,i,a=(t=null,void 0===r&&(r=eb),n=[],i=!1,{read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var t=r(e,i);return n.push(t),function(){n=n.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){i=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var a=function(){var r=t;t=[],r.forEach(e)},s=function(){return Promise.resolve().then(a)};s(),n={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),n}}}});return a.options=ed({async:!0,ssr:!1},e),a}(),ev=function(){},ek=o.forwardRef(function(e,t){var r,n,i,a,s=o.useRef(null),l=o.useState({onScrollCapture:ev,onWheelCapture:ev,onTouchMoveCapture:ev}),u=l[0],c=l[1],d=e.forwardProps,p=e.children,h=e.className,m=e.removeScrollBar,f=e.enabled,y=e.shards,g=e.sideCar,b=e.noIsolation,w=e.inert,v=e.allowPinchZoom,k=e.as,x=e.gapMode,S=ep(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=(r=[s,t],n=function(e){return r.forEach(function(t){return ef(t,e)})},(i=(0,o.useState)(function(){return{value:null,callback:n,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=n,a=i.facade,ey(function(){var e=eg.get(a);if(e){var t=new Set(e),n=new Set(r),i=a.current;t.forEach(function(e){n.has(e)||ef(e,null)}),n.forEach(function(e){t.has(e)||ef(e,i)})}eg.set(a,r)},[r]),a),T=ed(ed({},S),u);return o.createElement(o.Fragment,null,f&&o.createElement(g,{sideCar:ew,removeScrollBar:m,shards:y,noIsolation:b,inert:w,setCallbacks:c,allowPinchZoom:!!v,lockRef:s,gapMode:x}),d?o.cloneElement(o.Children.only(p),ed(ed({},T),{ref:E})):o.createElement(void 0===k?"div":k,ed({},T,{className:h,ref:E}),p))});ek.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ek.classNames={fullWidth:em,zeroRight:eh};var ex=function(e){var t=e.sideCar,r=ep(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return o.createElement(n,ed({},r))};ex.isSideCarExport=!0;var eS=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=i||r.nc;return t&&e.setAttribute("nonce",t),e}())){var a,s;(a=t).styleSheet?a.styleSheet.cssText=n:a.appendChild(document.createTextNode(n)),s=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(s)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},eE=function(){var e=eS();return function(t,r){o.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},eT=function(){var e=eE();return function(t){return e(t.styles,t.dynamic),null}},e_={left:0,top:0,right:0,gap:0},eA=function(e){return parseInt(e||"",10)||0},eC=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[eA(r),eA(n),eA(i)]},eP=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return e_;var t=eC(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},eD=eT(),eI="data-scroll-locked",eO=function(e,t,r,n){var i=e.left,a=e.top,s=e.right,o=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(o,"px ").concat(n,";\n }\n body[").concat(eI,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(o,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(o,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(eh," {\n right: ").concat(o,"px ").concat(n,";\n }\n \n .").concat(em," {\n margin-right: ").concat(o,"px ").concat(n,";\n }\n \n .").concat(eh," .").concat(eh," {\n right: 0 ").concat(n,";\n }\n \n .").concat(em," .").concat(em," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(eI,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(o,"px;\n }\n")},eN=function(){var e=parseInt(document.body.getAttribute(eI)||"0",10);return isFinite(e)?e:0},eL=function(){o.useEffect(function(){return document.body.setAttribute(eI,(eN()+1).toString()),function(){var e=eN()-1;e<=0?document.body.removeAttribute(eI):document.body.setAttribute(eI,e.toString())}},[])},eR=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=void 0===n?"margin":n;eL();var a=o.useMemo(function(){return eP(i)},[i]);return o.createElement(eD,{styles:eO(a,!t,i,r?"":"!important")})},eM=!1;if("undefined"!=typeof window)try{var eF=Object.defineProperty({},"passive",{get:function(){return eM=!0,!0}});window.addEventListener("test",eF,eF),window.removeEventListener("test",eF,eF)}catch(e){eM=!1}var eB=!!eM&&{passive:!1},ej=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},eU=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),e$(e,n)){var i=eq(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},e$=function(e,t){return"v"===e?ej(t,"overflowY"):ej(t,"overflowX")},eq=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},ez=function(e,t,r,n,i){var a,s=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),o=s*n,l=r.target,u=t.contains(l),c=!1,d=o>0,p=0,h=0;do{var m=eq(e,l),f=m[0],y=m[1]-m[2]-s*f;(f||y)&&e$(e,l)&&(p+=y,h+=f),l=l instanceof ShadowRoot?l.host:l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(i&&1>Math.abs(p)||!i&&o>p)?c=!0:!d&&(i&&1>Math.abs(h)||!i&&-o>h)&&(c=!0),c},eV=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eH=function(e){return[e.deltaX,e.deltaY]},eG=function(e){return e&&"current"in e?e.current:e},eW=0,eK=[];let eY=(n=function(e){var t=o.useRef([]),r=o.useRef([0,0]),n=o.useRef(),i=o.useState(eW++)[0],a=o.useState(eT)[0],s=o.useRef(e);o.useEffect(function(){s.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(eG),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var l=o.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var i,a=eV(e),o=r.current,l="deltaX"in e?e.deltaX:o[0]-a[0],u="deltaY"in e?e.deltaY:o[1]-a[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var p=eU(d,c);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=eU(d,c)),!p)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=i),!i)return!0;var h=n.current||i;return ez(h,t,e,"h"===h?l:u,!0)},[]),u=o.useCallback(function(e){if(eK.length&&eK[eK.length-1]===a){var r="deltaY"in e?eH(e):eV(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var i=(s.current.shards||[]).map(eG).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?l(e,i[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=o.useCallback(function(e,r,n,i){var a={name:e,delta:r,target:n,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=o.useCallback(function(e){r.current=eV(e),n.current=void 0},[]),p=o.useCallback(function(t){c(t.type,eH(t),t.target,l(t,e.lockRef.current))},[]),h=o.useCallback(function(t){c(t.type,eV(t),t.target,l(t,e.lockRef.current))},[]);o.useEffect(function(){return eK.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",u,eB),document.addEventListener("touchmove",u,eB),document.addEventListener("touchstart",d,eB),function(){eK=eK.filter(function(e){return e!==a}),document.removeEventListener("wheel",u,eB),document.removeEventListener("touchmove",u,eB),document.removeEventListener("touchstart",d,eB)}},[]);var m=e.removeScrollBar,f=e.inert;return o.createElement(o.Fragment,null,f?o.createElement(a,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,m?o.createElement(eR,{gapMode:e.gapMode}):null)},ew.useMedium(n),ex);var eX=o.forwardRef(function(e,t){return o.createElement(ek,ed({},e,{ref:t,sideCar:eY}))});eX.classNames=ek.classNames;var eZ="Popover",[eJ,eQ]=(0,M.A)(eZ,[Q.Bk]),e0=(0,Q.Bk)(),[e2,e1]=eJ(eZ),e3=e=>{let{__scopePopover:t,children:r,open:n,defaultOpen:i,onOpenChange:s,modal:l=!1}=e,u=e0(t),c=o.useRef(null),[d,p]=o.useState(!1),[h,m]=(0,er.i)({prop:n,defaultProp:i??!1,onChange:s,caller:eZ});return(0,a.jsx)(Q.bL,{...u,children:(0,a.jsx)(e2,{scope:t,contentId:(0,J.B)(),triggerRef:c,open:h,onOpenChange:m,onOpenToggle:o.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:d,onCustomAnchorAdd:o.useCallback(()=>p(!0),[]),onCustomAnchorRemove:o.useCallback(()=>p(!1),[]),modal:l,children:r})})};e3.displayName=eZ;var e4="PopoverAnchor",e9=o.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=e1(e4,r),s=e0(r),{onCustomAnchorAdd:l,onCustomAnchorRemove:u}=i;return o.useEffect(()=>(l(),()=>u()),[l,u]),(0,a.jsx)(Q.Mz,{...s,...n,ref:t})});e9.displayName=e4;var e5="PopoverTrigger",e6=o.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=e1(e5,r),s=e0(r),o=(0,R.s)(t,i.triggerRef),l=(0,a.jsx)($.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":tu(i.open),...n,ref:o,onClick:(0,L.m)(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?l:(0,a.jsx)(Q.Mz,{asChild:!0,...s,children:l})});e6.displayName=e5;var e8="PopoverPortal",[e7,te]=eJ(e8,{forceMount:void 0}),tt=e=>{let{__scopePopover:t,forceMount:r,children:n,container:i}=e,s=e1(e8,t);return(0,a.jsx)(e7,{scope:t,forceMount:r,children:(0,a.jsx)(et.C,{present:r||s.open,children:(0,a.jsx)(ee.Z,{asChild:!0,container:i,children:n})})})};tt.displayName=e8;var tr="PopoverContent",tn=o.forwardRef((e,t)=>{let r=te(tr,e.__scopePopover),{forceMount:n=r.forceMount,...i}=e,s=e1(tr,e.__scopePopover);return(0,a.jsx)(et.C,{present:n||s.open,children:s.modal?(0,a.jsx)(ta,{...i,ref:t}):(0,a.jsx)(ts,{...i,ref:t})})});tn.displayName=tr;var ti=(0,p.TL)("PopoverContent.RemoveScroll"),ta=o.forwardRef((e,t)=>{let r=e1(tr,e.__scopePopover),n=o.useRef(null),i=(0,R.s)(t,n),s=o.useRef(!1);return o.useEffect(()=>{let e=n.current;if(e)return ec(e)},[]),(0,a.jsx)(eX,{as:ti,allowPinchZoom:!0,children:(0,a.jsx)(to,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,L.m)(e.onCloseAutoFocus,e=>{e.preventDefault(),s.current||r.triggerRef.current?.focus()}),onPointerDownOutside:(0,L.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;s.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,L.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),ts=o.forwardRef((e,t)=>{let r=e1(tr,e.__scopePopover),n=o.useRef(!1),i=o.useRef(!1);return(0,a.jsx)(to,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let a=t.target;r.triggerRef.current?.contains(a)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),to=o.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:o,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onInteractOutside:d,...p}=e,h=e1(tr,r),m=e0(r);return j(),(0,a.jsx)(G,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:s,children:(0,a.jsx)(F.qW,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:d,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onDismiss:()=>h.onOpenChange(!1),children:(0,a.jsx)(Q.UC,{"data-state":tu(h.open),role:"dialog",id:h.contentId,...m,...p,ref:t,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),tl="PopoverClose";function tu(e){return e?"open":"closed"}o.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=e1(tl,r);return(0,a.jsx)($.sG.button,{type:"button",...n,ref:t,onClick:(0,L.m)(e.onClick,()=>i.onOpenChange(!1))})}).displayName=tl,o.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=e0(r);return(0,a.jsx)(Q.i3,{...i,...n,ref:t})}).displayName="PopoverArrow";let tc=({markup:e})=>{let[t,r]=o.useState(""),[n,i]=o.useState("Testing React Email"),[s,l]=o.useState(!1),[d,p]=o.useState(!1),h=async r=>{try{r.preventDefault(),l(!0);let i=await fetch("https://react.email/api/send/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({to:t,subject:n,html:e})});if(429===i.status){let{error:e}=await i.json();u.oR.error(e)}u.oR.success("Email sent! Check your inbox.")}catch(e){u.oR.error("Something went wrong. Please try again.")}finally{l(!1)}},f=o.useId(),y=o.useId();return(0,a.jsxs)(e3,{onOpenChange:()=>{d?(document.body.classList.remove("popup-open"),p(!1)):(document.body.classList.add("popup-open"),p(!0))},open:d,children:[(0,a.jsx)(e6,{asChild:!0,children:(0,a.jsx)("button",{className:"box-border flex h-5 w-20 items-center justify-center self-center rounded-lg border border-slate-6 bg-slate-2 px-4 py-4 text-center font-sans text-sm text-slate-11 outline-none transition duration-300 ease-in-out hover:border-slate-10 hover:text-slate-12",type:"submit",children:"Send"})}),(0,a.jsx)(e9,{}),(0,a.jsx)(tt,{children:(0,a.jsx)(tn,{align:"end",className:"-mt-10 w-80 rounded-lg border border-slate-6 bg-black/70 p-3 text-slate-11 shadow-md backdrop-blur-lg font-sans",sideOffset:48,children:(0,a.jsxs)("form",{className:"mt-1",onSubmit:e=>void h(e),children:[(0,a.jsx)("label",{className:"mb-2 block text-xs uppercase text-slate-10",htmlFor:f,children:"Recipient"}),(0,a.jsx)("input",{autoFocus:!0,className:"mb-3 w-full appearance-none rounded-lg border border-slate-6 bg-slate-3 px-2 py-1 text-sm text-slate-12 placeholder-slate-10 outline-none transition duration-300 ease-in-out focus:ring-1 focus:ring-slate-10",defaultValue:t,id:f,onChange:e=>{r(e.target.value)},placeholder:"you@example.com",required:!0,type:"email"}),(0,a.jsx)("label",{className:"mb-2 mt-1 block text-xs uppercase text-slate-10",htmlFor:y,children:"Subject"}),(0,a.jsx)("input",{className:"mb-3 w-full appearance-none rounded-lg border border-slate-6 bg-slate-3 px-2 py-1 text-sm text-slate-12 placeholder-slate-10 outline-none transition duration-300 ease-in-out focus:ring-1 focus:ring-slate-10",defaultValue:n,id:y,onChange:e=>{i(e.target.value)},placeholder:"My Email",required:!0,type:"text"}),(0,a.jsx)("input",{className:"appearance-none checked:bg-blue-500",type:"checkbox"}),(0,a.jsxs)("div",{className:"mt-3 flex items-center justify-between",children:[(0,a.jsxs)(m,{className:"inline-block",size:"1",children:["Powered by"," ",(0,a.jsx)("a",{className:"text-white/85 transition duration-300 ease-in-out hover:text-slate-12",href:"https://resend.com",rel:"noreferrer",target:"_blank",children:"Resend"})]}),(0,a.jsx)(c.Button,{className:"disabled:border-transparent disabled:bg-slate-11",disabled:0===n.length||0===t.length||s,type:"submit",children:"Send"})]})]})})})]})};var td=r(95499),tp=r(80929),th="Toggle",tm=o.forwardRef((e,t)=>{let{pressed:r,defaultPressed:n,onPressedChange:i,...s}=e,[o,l]=(0,er.i)({prop:r,onChange:i,defaultProp:n??!1,caller:th});return(0,a.jsx)($.sG.button,{type:"button","aria-pressed":o,"data-state":o?"on":"off","data-disabled":e.disabled?"":void 0,...s,ref:t,onClick:(0,L.m)(e.onClick,()=>{e.disabled||l(!o)})})});tm.displayName=th;var tf=r(45157),ty="ToggleGroup",[tg,tb]=(0,M.A)(ty,[tp.RG]),tw=(0,tp.RG)(),tv=o.forwardRef((e,t)=>{let{type:r,...n}=e;if("single"===r)return(0,a.jsx)(tS,{...n,ref:t});if("multiple"===r)return(0,a.jsx)(tE,{...n,ref:t});throw Error(`Missing prop \`type\` expected on \`${ty}\``)});tv.displayName=ty;var[tk,tx]=tg(ty),tS=o.forwardRef((e,t)=>{let{value:r,defaultValue:n,onValueChange:i=()=>{},...s}=e,[l,u]=(0,er.i)({prop:r,defaultProp:n??"",onChange:i,caller:ty});return(0,a.jsx)(tk,{scope:e.__scopeToggleGroup,type:"single",value:o.useMemo(()=>l?[l]:[],[l]),onItemActivate:u,onItemDeactivate:o.useCallback(()=>u(""),[u]),children:(0,a.jsx)(tA,{...s,ref:t})})}),tE=o.forwardRef((e,t)=>{let{value:r,defaultValue:n,onValueChange:i=()=>{},...s}=e,[l,u]=(0,er.i)({prop:r,defaultProp:n??[],onChange:i,caller:ty}),c=o.useCallback(e=>u((t=[])=>[...t,e]),[u]),d=o.useCallback(e=>u((t=[])=>t.filter(t=>t!==e)),[u]);return(0,a.jsx)(tk,{scope:e.__scopeToggleGroup,type:"multiple",value:l,onItemActivate:c,onItemDeactivate:d,children:(0,a.jsx)(tA,{...s,ref:t})})});tv.displayName=ty;var[tT,t_]=tg(ty),tA=o.forwardRef((e,t)=>{let{__scopeToggleGroup:r,disabled:n=!1,rovingFocus:i=!0,orientation:s,dir:o,loop:l=!0,...u}=e,c=tw(r),d=(0,tf.jH)(o),p={role:"group",dir:d,...u};return(0,a.jsx)(tT,{scope:r,rovingFocus:i,disabled:n,children:i?(0,a.jsx)(tp.bL,{asChild:!0,...c,orientation:s,dir:d,loop:l,children:(0,a.jsx)($.sG.div,{...p,ref:t})}):(0,a.jsx)($.sG.div,{...p,ref:t})})}),tC="ToggleGroupItem",tP=o.forwardRef((e,t)=>{let r=tx(tC,e.__scopeToggleGroup),n=t_(tC,e.__scopeToggleGroup),i=tw(e.__scopeToggleGroup),s=r.value.includes(e.value),l=n.disabled||e.disabled,u={...e,pressed:s,disabled:l},c=o.useRef(null);return n.rovingFocus?(0,a.jsx)(tp.q7,{asChild:!0,...i,focusable:!l,active:s,ref:c,children:(0,a.jsx)(tD,{...u,ref:t})}):(0,a.jsx)(tD,{...u,ref:t})});tP.displayName=tC;var tD=o.forwardRef((e,t)=>{let{__scopeToggleGroup:r,value:n,...i}=e,s=tx(tC,r),o={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},l="single"===s.type?o:void 0;return(0,a.jsx)(tm,{...l,...i,ref:t,onPressedChange:e=>{e?s.onItemActivate(n):s.onItemDeactivate(n)}})});let tI=o.forwardRef(({...e},t)=>(0,a.jsx)(T.z,{ref:t,...e,children:(0,a.jsx)("path",{d:"M9.75 15.25H17.25C18.3546 15.25 19.25 14.3546 19.25 13.25V6.75C19.25 5.64543 18.3546 4.75 17.25 4.75H6.75C5.64543 4.75 4.75 5.64543 4.75 6.75V13.25C4.75 14.3546 5.64543 15.25 6.75 15.25H9.75ZM9.75 15.25C9.75 15.25 10 18.25 8 19.25H16C14 18.25 14.25 15.25 14.25 15.25",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})}));tI.displayName="IconMonitor";let tO=o.forwardRef(({...e},t)=>(0,a.jsx)(T.z,{ref:t,...e,children:(0,a.jsx)("path",{d:"M17.4 15L21 11.5L17.4 8M6.6 8L3 11.5L6.6 15M14.25 4.5L9.75 18.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})}));tO.displayName="IconSource";let tN=({activeView:e,setActiveView:t})=>(0,a.jsxs)(tv,{"aria-label":"View mode",className:"inline-block items-center bg-slate-2 border border-slate-6 rounded-md overflow-hidden h-[36px]",onValueChange:e=>{e&&t(e)},type:"single",value:e,children:[(0,a.jsx)(tP,{value:"preview",children:(0,a.jsxs)(C.m,{children:[(0,a.jsx)(C.m.Trigger,{asChild:!0,children:(0,a.jsxs)("div",{className:(0,h.cn)("px-3 py-2 transition ease-in-out duration-200 relative hover:text-slate-12",{"text-slate-11":"desktop"!==e,"text-slate-12":"desktop"===e}),children:["preview"===e&&(0,a.jsx)(v.P.span,{animate:{opacity:1},className:"absolute left-0 right-0 top-0 bottom-0 bg-slate-4",exit:{opacity:0},initial:{opacity:0},layoutId:"topbar-tabs",transition:k}),(0,a.jsx)(tI,{})]})}),(0,a.jsx)(C.m.Content,{children:"Preview"})]})}),(0,a.jsx)(tP,{value:"source",children:(0,a.jsxs)(C.m,{children:[(0,a.jsx)(C.m.Trigger,{asChild:!0,children:(0,a.jsxs)("div",{className:(0,h.cn)("px-3 py-2 transition ease-in-out duration-200 relative hover:text-slate-12",{"text-slate-11":"source"!==e,"text-slate-12":"source"===e}),children:["source"===e&&(0,a.jsx)(v.P.span,{animate:{opacity:1},className:"absolute left-0 right-0 top-0 bottom-0 bg-slate-4",exit:{opacity:0},initial:{opacity:0},layoutId:"topbar-tabs",transition:k}),(0,a.jsx)(tO,{})]})}),(0,a.jsx)(C.m.Content,{children:"Code"})]})})]});var tL=r(35352),tR=["Enter"," "],tM=["ArrowUp","PageDown","End"],tF=["ArrowDown","PageUp","Home",...tM],tB={ltr:[...tR,"ArrowRight"],rtl:[...tR,"ArrowLeft"]},tj={ltr:["ArrowLeft"],rtl:["ArrowRight"]},tU="Menu",[t$,tq,tz]=(0,tL.N)(tU),[tV,tH]=(0,M.A)(tU,[tz,Q.Bk,tp.RG]),tG=(0,Q.Bk)(),tW=(0,tp.RG)(),[tK,tY]=tV(tU),[tX,tZ]=tV(tU),tJ=e=>{let{__scopeMenu:t,open:r=!1,children:n,dir:i,onOpenChange:s,modal:l=!0}=e,u=tG(t),[c,d]=o.useState(null),p=o.useRef(!1),h=(0,q.c)(s),m=(0,tf.jH)(i);return o.useEffect(()=>{let e=()=>{p.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>p.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,a.jsx)(Q.bL,{...u,children:(0,a.jsx)(tK,{scope:t,open:r,onOpenChange:h,content:c,onContentChange:d,children:(0,a.jsx)(tX,{scope:t,onClose:o.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:p,dir:m,modal:l,children:n})})})};tJ.displayName=tU;var tQ=o.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,i=tG(r);return(0,a.jsx)(Q.Mz,{...i,...n,ref:t})});tQ.displayName="MenuAnchor";var t0="MenuPortal",[t2,t1]=tV(t0,{forceMount:void 0}),t3=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:i}=e,s=tY(t0,t);return(0,a.jsx)(t2,{scope:t,forceMount:r,children:(0,a.jsx)(et.C,{present:r||s.open,children:(0,a.jsx)(ee.Z,{asChild:!0,container:i,children:n})})})};t3.displayName=t0;var t4="MenuContent",[t9,t5]=tV(t4),t6=o.forwardRef((e,t)=>{let r=t1(t4,e.__scopeMenu),{forceMount:n=r.forceMount,...i}=e,s=tY(t4,e.__scopeMenu),o=tZ(t4,e.__scopeMenu);return(0,a.jsx)(t$.Provider,{scope:e.__scopeMenu,children:(0,a.jsx)(et.C,{present:n||s.open,children:(0,a.jsx)(t$.Slot,{scope:e.__scopeMenu,children:o.modal?(0,a.jsx)(t8,{...i,ref:t}):(0,a.jsx)(t7,{...i,ref:t})})})})}),t8=o.forwardRef((e,t)=>{let r=tY(t4,e.__scopeMenu),n=o.useRef(null),i=(0,R.s)(t,n);return o.useEffect(()=>{let e=n.current;if(e)return ec(e)},[]),(0,a.jsx)(rt,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:(0,L.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),t7=o.forwardRef((e,t)=>{let r=tY(t4,e.__scopeMenu);return(0,a.jsx)(rt,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),re=(0,p.TL)("MenuContent.ScrollLock"),rt=o.forwardRef((e,t)=>{let{__scopeMenu:r,loop:n=!1,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:l,disableOutsidePointerEvents:u,onEntryFocus:c,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:h,onInteractOutside:m,onDismiss:f,disableOutsideScroll:y,...g}=e,b=tY(t4,r),w=tZ(t4,r),v=tG(r),k=tW(r),x=tq(r),[S,E]=o.useState(null),T=o.useRef(null),_=(0,R.s)(t,T,b.onContentChange),A=o.useRef(0),C=o.useRef(""),P=o.useRef(0),D=o.useRef(null),I=o.useRef("right"),O=o.useRef(0),N=y?eX:o.Fragment,M=e=>{let t=C.current+e,r=x().filter(e=>!e.disabled),n=document.activeElement,i=r.find(e=>e.ref.current===n)?.textValue,a=function(e,t,r){var n;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,a=r?e.indexOf(r):-1,s=(n=Math.max(a,0),e.map((t,r)=>e[(n+r)%e.length]));1===i.length&&(s=s.filter(e=>e!==r));let o=s.find(e=>e.toLowerCase().startsWith(i.toLowerCase()));return o!==r?o:void 0}(r.map(e=>e.textValue),t,i),s=r.find(e=>e.textValue===a)?.ref.current;!function e(t){C.current=t,window.clearTimeout(A.current),""!==t&&(A.current=window.setTimeout(()=>e(""),1e3))}(t),s&&setTimeout(()=>s.focus())};o.useEffect(()=>()=>window.clearTimeout(A.current),[]),j();let B=o.useCallback(e=>I.current===D.current?.side&&function(e,t){return!!t&&function(e,t){let{x:r,y:n}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let s=t[e],o=t[a],l=s.x,u=s.y,c=o.x,d=o.y;u>n!=d>n&&r<(c-l)*(n-u)/(d-u)+l&&(i=!i)}return i}({x:e.clientX,y:e.clientY},t)}(e,D.current?.area),[]);return(0,a.jsx)(t9,{scope:r,searchRef:C,onItemEnter:o.useCallback(e=>{B(e)&&e.preventDefault()},[B]),onItemLeave:o.useCallback(e=>{B(e)||(T.current?.focus(),E(null))},[B]),onTriggerLeave:o.useCallback(e=>{B(e)&&e.preventDefault()},[B]),pointerGraceTimerRef:P,onPointerGraceIntentChange:o.useCallback(e=>{D.current=e},[]),children:(0,a.jsx)(N,{...y?{as:re,allowPinchZoom:!0}:void 0,children:(0,a.jsx)(G,{asChild:!0,trapped:i,onMountAutoFocus:(0,L.m)(s,e=>{e.preventDefault(),T.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:(0,a.jsx)(F.qW,{asChild:!0,disableOutsidePointerEvents:u,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:h,onInteractOutside:m,onDismiss:f,children:(0,a.jsx)(tp.bL,{asChild:!0,...k,dir:w.dir,orientation:"vertical",loop:n,currentTabStopId:S,onCurrentTabStopIdChange:E,onEntryFocus:(0,L.m)(c,e=>{w.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,a.jsx)(Q.UC,{role:"menu","aria-orientation":"vertical","data-state":rA(b.open),"data-radix-menu-content":"",dir:w.dir,...v,...g,ref:_,style:{outline:"none",...g.style},onKeyDown:(0,L.m)(g.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,n=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!r&&n&&M(e.key));let i=T.current;if(e.target!==i||!tF.includes(e.key))return;e.preventDefault();let a=x().filter(e=>!e.disabled).map(e=>e.ref.current);tM.includes(e.key)&&a.reverse(),function(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}(a)}),onBlur:(0,L.m)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(A.current),C.current="")}),onPointerMove:(0,L.m)(e.onPointerMove,rD(e=>{let t=e.target,r=O.current!==e.clientX;e.currentTarget.contains(t)&&r&&(I.current=e.clientX>O.current?"right":"left",O.current=e.clientX)}))})})})})})})});t6.displayName=t4;var rr=o.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,a.jsx)($.sG.div,{role:"group",...n,ref:t})});rr.displayName="MenuGroup";var rn=o.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,a.jsx)($.sG.div,{...n,ref:t})});rn.displayName="MenuLabel";var ri="MenuItem",ra="menu.itemSelect",rs=o.forwardRef((e,t)=>{let{disabled:r=!1,onSelect:n,...i}=e,s=o.useRef(null),l=tZ(ri,e.__scopeMenu),u=t5(ri,e.__scopeMenu),c=(0,R.s)(t,s),d=o.useRef(!1);return(0,a.jsx)(ro,{...i,ref:c,disabled:r,onClick:(0,L.m)(e.onClick,()=>{let e=s.current;if(!r&&e){let t=new CustomEvent(ra,{bubbles:!0,cancelable:!0});e.addEventListener(ra,e=>n?.(e),{once:!0}),(0,$.hO)(e,t),t.defaultPrevented?d.current=!1:l.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),d.current=!0},onPointerUp:(0,L.m)(e.onPointerUp,e=>{d.current||e.currentTarget?.click()}),onKeyDown:(0,L.m)(e.onKeyDown,e=>{let t=""!==u.searchRef.current;r||t&&" "===e.key||tR.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});rs.displayName=ri;var ro=o.forwardRef((e,t)=>{let{__scopeMenu:r,disabled:n=!1,textValue:i,...s}=e,l=t5(ri,r),u=tW(r),c=o.useRef(null),d=(0,R.s)(t,c),[p,h]=o.useState(!1),[m,f]=o.useState("");return o.useEffect(()=>{let e=c.current;e&&f((e.textContent??"").trim())},[s.children]),(0,a.jsx)(t$.ItemSlot,{scope:r,disabled:n,textValue:i??m,children:(0,a.jsx)(tp.q7,{asChild:!0,...u,focusable:!n,children:(0,a.jsx)($.sG.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0,...s,ref:d,onPointerMove:(0,L.m)(e.onPointerMove,rD(e=>{n?l.onItemLeave(e):(l.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,L.m)(e.onPointerLeave,rD(e=>l.onItemLeave(e))),onFocus:(0,L.m)(e.onFocus,()=>h(!0)),onBlur:(0,L.m)(e.onBlur,()=>h(!1))})})})}),rl=o.forwardRef((e,t)=>{let{checked:r=!1,onCheckedChange:n,...i}=e;return(0,a.jsx)(ry,{scope:e.__scopeMenu,checked:r,children:(0,a.jsx)(rs,{role:"menuitemcheckbox","aria-checked":rC(r)?"mixed":r,...i,ref:t,"data-state":rP(r),onSelect:(0,L.m)(i.onSelect,()=>n?.(!!rC(r)||!r),{checkForDefaultPrevented:!1})})})});rl.displayName="MenuCheckboxItem";var ru="MenuRadioGroup",[rc,rd]=tV(ru,{value:void 0,onValueChange:()=>{}}),rp=o.forwardRef((e,t)=>{let{value:r,onValueChange:n,...i}=e,s=(0,q.c)(n);return(0,a.jsx)(rc,{scope:e.__scopeMenu,value:r,onValueChange:s,children:(0,a.jsx)(rr,{...i,ref:t})})});rp.displayName=ru;var rh="MenuRadioItem",rm=o.forwardRef((e,t)=>{let{value:r,...n}=e,i=rd(rh,e.__scopeMenu),s=r===i.value;return(0,a.jsx)(ry,{scope:e.__scopeMenu,checked:s,children:(0,a.jsx)(rs,{role:"menuitemradio","aria-checked":s,...n,ref:t,"data-state":rP(s),onSelect:(0,L.m)(n.onSelect,()=>i.onValueChange?.(r),{checkForDefaultPrevented:!1})})})});rm.displayName=rh;var rf="MenuItemIndicator",[ry,rg]=tV(rf,{checked:!1}),rb=o.forwardRef((e,t)=>{let{__scopeMenu:r,forceMount:n,...i}=e,s=rg(rf,r);return(0,a.jsx)(et.C,{present:n||rC(s.checked)||!0===s.checked,children:(0,a.jsx)($.sG.span,{...i,ref:t,"data-state":rP(s.checked)})})});rb.displayName=rf;var rw=o.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,a.jsx)($.sG.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});rw.displayName="MenuSeparator";var rv=o.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,i=tG(r);return(0,a.jsx)(Q.i3,{...i,...n,ref:t})});rv.displayName="MenuArrow";var[rk,rx]=tV("MenuSub"),rS="MenuSubTrigger",rE=o.forwardRef((e,t)=>{let r=tY(rS,e.__scopeMenu),n=tZ(rS,e.__scopeMenu),i=rx(rS,e.__scopeMenu),s=t5(rS,e.__scopeMenu),l=o.useRef(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:c}=s,d={__scopeMenu:e.__scopeMenu},p=o.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return o.useEffect(()=>p,[p]),o.useEffect(()=>{let e=u.current;return()=>{window.clearTimeout(e),c(null)}},[u,c]),(0,a.jsx)(tQ,{asChild:!0,...d,children:(0,a.jsx)(ro,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":i.contentId,"data-state":rA(r.open),...e,ref:(0,R.t)(t,i.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:(0,L.m)(e.onPointerMove,rD(t=>{s.onItemEnter(t),!t.defaultPrevented&&(e.disabled||r.open||l.current||(s.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{r.onOpenChange(!0),p()},100)))})),onPointerLeave:(0,L.m)(e.onPointerLeave,rD(e=>{p();let t=r.content?.getBoundingClientRect();if(t){let n=r.content?.dataset.side,i="right"===n,a=t[i?"left":"right"],o=t[i?"right":"left"];s.onPointerGraceIntentChange({area:[{x:e.clientX+(i?-5:5),y:e.clientY},{x:a,y:t.top},{x:o,y:t.top},{x:o,y:t.bottom},{x:a,y:t.bottom}],side:n}),window.clearTimeout(u.current),u.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(e),e.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:(0,L.m)(e.onKeyDown,t=>{let i=""!==s.searchRef.current;e.disabled||i&&" "===t.key||tB[n.dir].includes(t.key)&&(r.onOpenChange(!0),r.content?.focus(),t.preventDefault())})})})});rE.displayName=rS;var rT="MenuSubContent",r_=o.forwardRef((e,t)=>{let r=t1(t4,e.__scopeMenu),{forceMount:n=r.forceMount,...i}=e,s=tY(t4,e.__scopeMenu),l=tZ(t4,e.__scopeMenu),u=rx(rT,e.__scopeMenu),c=o.useRef(null),d=(0,R.s)(t,c);return(0,a.jsx)(t$.Provider,{scope:e.__scopeMenu,children:(0,a.jsx)(et.C,{present:n||s.open,children:(0,a.jsx)(t$.Slot,{scope:e.__scopeMenu,children:(0,a.jsx)(rt,{id:u.contentId,"aria-labelledby":u.triggerId,...i,ref:d,align:"start",side:"rtl"===l.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{l.isUsingKeyboardRef.current&&c.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,L.m)(e.onFocusOutside,e=>{e.target!==u.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:(0,L.m)(e.onEscapeKeyDown,e=>{l.onClose(),e.preventDefault()}),onKeyDown:(0,L.m)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),r=tj[l.dir].includes(e.key);t&&r&&(s.onOpenChange(!1),u.trigger?.focus(),e.preventDefault())})})})})})});function rA(e){return e?"open":"closed"}function rC(e){return"indeterminate"===e}function rP(e){return rC(e)?"indeterminate":e?"checked":"unchecked"}function rD(e){return t=>"mouse"===t.pointerType?e(t):void 0}r_.displayName=rT;var rI="DropdownMenu",[rO,rN]=(0,M.A)(rI,[tH]),rL=tH(),[rR,rM]=rO(rI),rF=e=>{let{__scopeDropdownMenu:t,children:r,dir:n,open:i,defaultOpen:s,onOpenChange:l,modal:u=!0}=e,c=rL(t),d=o.useRef(null),[p,h]=(0,er.i)({prop:i,defaultProp:s??!1,onChange:l,caller:rI});return(0,a.jsx)(rR,{scope:t,triggerId:(0,J.B)(),triggerRef:d,contentId:(0,J.B)(),open:p,onOpenChange:h,onOpenToggle:o.useCallback(()=>h(e=>!e),[h]),modal:u,children:(0,a.jsx)(tJ,{...c,open:p,onOpenChange:h,dir:n,modal:u,children:r})})};rF.displayName=rI;var rB="DropdownMenuTrigger",rj=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,disabled:n=!1,...i}=e,s=rM(rB,r),o=rL(r);return(0,a.jsx)(tQ,{asChild:!0,...o,children:(0,a.jsx)($.sG.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...i,ref:(0,R.t)(t,s.triggerRef),onPointerDown:(0,L.m)(e.onPointerDown,e=>{!n&&0===e.button&&!1===e.ctrlKey&&(s.onOpenToggle(),s.open||e.preventDefault())}),onKeyDown:(0,L.m)(e.onKeyDown,e=>{!n&&(["Enter"," "].includes(e.key)&&s.onOpenToggle(),"ArrowDown"===e.key&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});rj.displayName=rB;var rU=e=>{let{__scopeDropdownMenu:t,...r}=e,n=rL(t);return(0,a.jsx)(t3,{...n,...r})};rU.displayName="DropdownMenuPortal";var r$="DropdownMenuContent",rq=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rM(r$,r),s=rL(r),l=o.useRef(!1);return(0,a.jsx)(t6,{id:i.contentId,"aria-labelledby":i.triggerId,...s,...n,ref:t,onCloseAutoFocus:(0,L.m)(e.onCloseAutoFocus,e=>{l.current||i.triggerRef.current?.focus(),l.current=!1,e.preventDefault()}),onInteractOutside:(0,L.m)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;(!i.modal||n)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});rq.displayName=r$,o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rr,{...i,...n,ref:t})}).displayName="DropdownMenuGroup",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rn,{...i,...n,ref:t})}).displayName="DropdownMenuLabel";var rz=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rs,{...i,...n,ref:t})});rz.displayName="DropdownMenuItem",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rl,{...i,...n,ref:t})}).displayName="DropdownMenuCheckboxItem",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rp,{...i,...n,ref:t})}).displayName="DropdownMenuRadioGroup",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rm,{...i,...n,ref:t})}).displayName="DropdownMenuRadioItem",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rb,{...i,...n,ref:t})}).displayName="DropdownMenuItemIndicator",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rw,{...i,...n,ref:t})}).displayName="DropdownMenuSeparator",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rv,{...i,...n,ref:t})}).displayName="DropdownMenuArrow",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(rE,{...i,...n,ref:t})}).displayName="DropdownMenuSubTrigger",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,i=rL(r);return(0,a.jsx)(r_,{...i,...n,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}).displayName="DropdownMenuSubContent";var rV=r(81301);let rH=[{name:"Desktop",dimensions:{width:600,height:1024}},{name:"Mobile",dimensions:{width:375,height:812}}],rG={active:{width:"3.5rem",padding:"0 0 0 0.5rem"},inactive:{width:"0"}},rW=({icon:e,isActive:t,label:r,onBlur:n,onChange:i,setIsActive:s,value:l,hasBorder:u})=>{let c=o.useRef(null);return o.useEffect(()=>{t&&c.current&&c.current.focus()},[t]),(0,a.jsx)(C.m.Provider,{children:(0,a.jsxs)(C.m,{children:[(0,a.jsx)(C.m.Trigger,{asChild:!0,children:(0,a.jsxs)(v.P.button,{onClick:()=>{t?s(!1):s(!0)},className:(0,h.cn)("relative flex items-center justify-center p-2",{"border-slate-6 border-r":u}),children:[e,(0,a.jsx)(v.P.input,{ref:c,initial:!1,animate:t?"active":"inactive",className:"arrow-hide relative flex h-8 items-center justify-center bg-black text-sm outline-none",onChange:e=>i(Number.parseInt(e.currentTarget.value)),onBlur:n,type:"number",value:l,variants:rG})]})}),(0,a.jsxs)(C.m.Content,{children:[(0,a.jsxs)("span",{children:[r,": "]}),(0,a.jsxs)("span",{className:"font-mono",children:[l,"px"]})]})]})})},rK=({name:e,dimensions:t,onSelect:r})=>(0,a.jsxs)(rz,{className:"group flex w-full cursor-pointer select-none items-center justify-between rounded-md py-1.5 pr-1 pl-2 text-sm outline-none transition-colors data-[highlighted]:bg-slate-5",onClick:()=>r(t),children:[e,(0,a.jsxs)("span",{className:"flex h-fit items-center rounded-full bg-slate-6 px-2 py-1 font-medium text-slate-11 text-xs",children:[t.width,"x",t.height]})]}),rY=({viewWidth:e,viewHeight:t,setViewWidth:r,setViewHeight:n})=>{let[i,s]=o.useState(!1),[l,u]=o.useState(null),c=e=>{r(e.width),n(e.height)},d=()=>{u(null)};return(0,a.jsxs)("div",{className:"relative flex h-9 w-fit overflow-hidden rounded-lg border border-slate-6 text-sm transition-colors duration-300 ease-in-out focus-within:border-slate-8 hover:border-slate-8",children:[(0,a.jsx)(rW,{icon:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("path",{d:"M21 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3"}),(0,a.jsx)("path",{d:"M21 16v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3"}),(0,a.jsx)("path",{d:"M4 12H2"}),(0,a.jsx)("path",{d:"M10 12H8"}),(0,a.jsx)("path",{d:"M16 12h-2"}),(0,a.jsx)("path",{d:"M22 12h-2"})]}),value:e,onChange:r,isActive:"width"===l,setIsActive:e=>u(e?"width":null),onBlur:d,label:"Width",hasBorder:!0}),(0,a.jsx)(rW,{icon:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("path",{d:"M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3"}),(0,a.jsx)("path",{d:"M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3"}),(0,a.jsx)("path",{d:"M12 20v2"}),(0,a.jsx)("path",{d:"M12 14v2"}),(0,a.jsx)("path",{d:"M12 8v2"}),(0,a.jsx)("path",{d:"M12 2v2"})]}),value:t,onChange:n,isActive:"height"===l,setIsActive:e=>u(e?"height":null),onBlur:d,label:"Height"}),(0,a.jsxs)(rF,{open:i,onOpenChange:s,children:[(0,a.jsx)(rj,{asChild:!0,children:(0,a.jsxs)("button",{type:"button",className:"relative flex items-center justify-center overflow-hidden bg-slate-5 p-2 text-slate-11 text-sm leading-none outline-none transition-colors ease-linear focus-within:text-slate-12 hover:text-slate-12 focus:text-slate-12",children:[(0,a.jsx)("span",{className:"sr-only",children:"View presets"}),(0,a.jsx)(rV.R,{className:(0,h.cn)("transform transition-transform duration-200 ease-[cubic-bezier(.36,.66,.6,1)]",{"-rotate-180":i})})]})}),(0,a.jsx)(rU,{children:(0,a.jsx)(rq,{align:"end",className:"flex min-w-[12rem] flex-col gap-2 rounded-md border border-slate-8 border-solid bg-black px-2 py-2 text-white",sideOffset:5,children:rH.map(e=>(0,a.jsx)(rK,{name:e.name,dimensions:e.dimensions,onSelect:c},e.name))})})]})]})};var rX=r(88134);let rZ=(e,t,r)=>Math.min(Math.max(e,t),r),rJ=(e,t,r)=>{let[n,i]=(0,o.useState)(e);return[rZ(n,t,r),e=>{"function"==typeof e?i(n=>{let i=rZ(n,t,r);return rZ(e(i),t,r)}):i(rZ(e,t,r))}]},rQ=e=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"absolute inset-0 z-50 bg-black/80"}),(0,a.jsx)("div",{className:"absolute left-[50%] top-[50%] z-50 grid min-h-[50vh] w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 rounded-t-sm border border-t-4 bg-white p-6 text-black shadow-lg duration-200 sm:rounded-lg md:max-w-[568px] lg:max-w-[968px]",children:(0,a.jsxs)("div",{className:"flex min-w-0 max-w-full flex-col space-y-1.5",children:[(0,a.jsxs)("h2",{className:"flex flex-shrink items-center gap-4 pb-2 text-lg font-semibold leading-none tracking-tight",children:[(0,a.jsxs)("svg",{className:"h-6 w-6 font-extrabold text-red-600",fill:"none",height:"24",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"}),(0,a.jsx)("path",{d:"M12 9v4"}),(0,a.jsx)("path",{d:"M12 17h.01"})]}),e.error.name,": ",e.error.message]}),e.error.stack?(0,a.jsx)("div",{className:"flex-grow scroll-px-4 overflow-x-auto rounded-lg bg-red-500 p-2 text-sm text-gray-100",children:(0,a.jsx)("pre",{className:"w-full min-w-0 font-mono leading-7",children:e.error.stack})}):void 0]})})]}),r0=({emailTitle:e,className:t,...r})=>{let{renderingResult:n,renderedEmailMetadata:i}=(0,o.use)(rX.o),c=(0,s.useRouter)(),d=(0,s.usePathname)(),p=(0,s.useSearchParams)(),m=p.get("view")??"preview",f=p.get("lang")??"jsx",y=void 0!==i,g="error"in n,[w,v]=(0,o.useState)(Number.POSITIVE_INFINITY),[k,x]=(0,o.useState)(Number.POSITIVE_INFINITY),S=p.get("width"),E=p.get("height"),[T,_]=rJ(S?Number.parseInt(S):600,100,w),[A,D]=rJ(E?Number.parseInt(E):1024,100,k),I=function(e,t,r){var n=this,i=(0,o.useRef)(null),a=(0,o.useRef)(0),s=(0,o.useRef)(null),l=(0,o.useRef)([]),u=(0,o.useRef)(),c=(0,o.useRef)(),d=(0,o.useRef)(e),p=(0,o.useRef)(!0);d.current=e;var h="undefined"!=typeof window,m=!t&&0!==t&&h;if("function"!=typeof e)throw TypeError("Expected a function");t=+t||0;var f=!!(r=r||{}).leading,y=!("trailing"in r)||!!r.trailing,g="maxWait"in r,b="debounceOnServer"in r&&!!r.debounceOnServer,w=g?Math.max(+r.maxWait||0,t):null;return(0,o.useEffect)(function(){return p.current=!0,function(){p.current=!1}},[]),(0,o.useMemo)(function(){var e=function(e){var t=l.current,r=u.current;return l.current=u.current=null,a.current=e,c.current=d.current.apply(r,t)},r=function(e,t){m&&cancelAnimationFrame(s.current),s.current=m?requestAnimationFrame(e):setTimeout(e,t)},o=function(e){if(!p.current)return!1;var r=e-i.current;return!i.current||r>=t||r<0||g&&e-a.current>=w},v=function(t){return s.current=null,y&&l.current?e(t):(l.current=u.current=null,c.current)},k=function e(){var n=Date.now();if(o(n))return v(n);if(p.current){var s=t-(n-i.current);r(e,g?Math.min(s,w-(n-a.current)):s)}},x=function(){if(h||b){var d=Date.now(),m=o(d);if(l.current=[].slice.call(arguments),u.current=n,i.current=d,m){if(!s.current&&p.current)return a.current=i.current,r(k,t),f?e(i.current):c.current;if(g)return r(k,t),e(i.current)}return s.current||r(k,t),c.current}};return x.cancel=function(){s.current&&(m?cancelAnimationFrame(s.current):clearTimeout(s.current)),a.current=0,l.current=i.current=u.current=s.current=null},x.isPending=function(){return!!s.current},x.flush=function(){return s.current?v(Date.now()):c.current},x},[f,g,t,w,y,m,h,b])}(()=>{let e=new URLSearchParams(p);e.set("width",T.toString()),e.set("height",A.toString()),c.push(`${d}?${e.toString()}${location.hash}`)},300),{toggled:L}=(0,td.S)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(b.Topbar,{emailTitle:e,children:[(0,a.jsx)(rY,{setViewHeight:e=>{D(e),(0,l.flushSync)(()=>{I()})},setViewWidth:e=>{_(e),(0,l.flushSync)(()=>{I()})},viewHeight:A,viewWidth:T}),(0,a.jsx)(tN,{activeView:m,setActiveView:e=>{let t=new URLSearchParams(p);t.set("view",e),c.push(`${d}?${t.toString()}${location.hash}`)}}),y?(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsx)(tc,{markup:i.markup})}):null]}),(0,a.jsxs)("div",{...r,className:(0,h.cn)("h-[calc(100%-3.5rem-2.375rem)] will-change-[height] flex p-4 transition-[height] duration-300","preview"===m&&"bg-gray-200",L&&"h-[calc(100%-3.5rem-13rem)]",t),ref:e=>{let t=new ResizeObserver(e=>{let[t]=e;t&&(v(t.contentRect.width),x(t.contentRect.height))});return e&&t.observe(e),()=>{t.disconnect()}},children:[g?(0,a.jsx)(rQ,{error:n.error}):null,y?(0,a.jsxs)(a.Fragment,{children:["preview"===m&&(0,a.jsx)(N,{minHeight:100,minWidth:100,maxHeight:k,maxWidth:w,height:A,onResizeEnd:()=>{I()},onResize:(e,t)=>{"east"===t||"west"===t?_(Math.round(e)):D(Math.round(e))},width:T,children:(0,a.jsx)("iframe",{className:"max-h-full rounded-lg bg-white [color-scheme:auto]",ref:e=>{if(e)return O(e)},srcDoc:i.markup,style:{width:`${T}px`,height:`${A}px`},title:e})}),"source"===m&&(0,a.jsx)("div",{className:"h-full w-full",children:(0,a.jsx)("div",{className:"m-auto h-full flex max-w-3xl p-6",children:(0,a.jsx)(C.m.Provider,{children:(0,a.jsx)(P,{activeLang:f,markups:[{language:"jsx",content:i.reactMarkup},{language:"markup",content:i.markup},{language:"markdown",content:i.plainText}],setActiveLang:e=>{let t=new URLSearchParams(p);t.set("view","source"),t.set("lang",e);let r=p.get("lang")===e;c.push(`${d}?${t.toString()}${r?location.hash:""}`)}})})})})]}):null,(0,a.jsx)(u.l$,{})]})]})}},82105:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrowFunctionToExpression=function({allowInsertArrow:e=!0,allowInsertArrowWithRest:t=e,noNewArrows:r=!(e=>null==(e=arguments[0])?void 0:e.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let n=this;if(!r){var i;n=null!=(i=n.ensureFunctionName(!1))?i:n}let{thisBinding:a,fnPath:s}=V(n,r,e,t);if(s.ensureBlock(),s.node.type="FunctionExpression",!r){let e=a?null:s.scope.generateUidIdentifier("arrowCheckId");return e&&s.parentPath.scope.push({id:e,init:x([])}),s.get("body").unshiftContainer("body",h(d(this.hub.addHelper("newArrowCheck"),[P(),e?m(e.name):m(a)]))),s.replaceWith(d(w(s.node,m("bind")),[e?m(e.name):P()])),s.get("callee.object")}return s},t.ensureBlock=function(){let e,t,r=this.get("body"),n=r.node;if(Array.isArray(r))throw Error("Can't convert array path to a block statement");if(!n)throw Error("Can't convert node without a body");if(r.isBlockStatement())return n;let i=[],a="body";r.isStatement()?(t="body",e=0,i.push(r.node)):(a+=".body.0",this.isFunction()?(e="argument",i.push(E(r.node))):(e="expression",i.push(h(r.node)))),this.node.body=c(i);let o=this.get(a);return s.setup.call(r,o,t?o.node[t]:o.node,t,e),this.node},t.ensureFunctionName=function(e){if(this.node.id)return this;let t=M(this.node,this.parent);if(null==t)return this;let{name:r}=t;if(!e&&/[\uD800-\uDFFF]/.test(r)||r.startsWith("get ")||r.startsWith("set "))return null;let n=m(r=O(r.replace(/[/ ]/g,"_")));q(n,t.originalNode);let a={needsRename:!1,name:r},{scope:s}=this,o=s.getOwnBinding(r);if(o?"param"===o.kind&&(a.needsRename=!0):(s.parent.hasBinding(r)||s.hasGlobal(r))&&this.traverse(Y,a),!a.needsRename)return this.node.id=n,s.getProgramParent().references[n.name]=!0,this;if(s.hasBinding(n.name)&&!s.hasGlobal(n.name))return s.rename(n.name),this.node.id=n,s.getProgramParent().references[n.name]=!0,this;if(!N(this.node))return null;let l=s.generateUidIdentifier(n.name),u=[];for(let e=0,t=function(e){let t=e.params.findIndex(e=>L(e)||R(e));return -1===t?e.params.length:t}(this.node);e<t;e++)u.push(s.generateUidIdentifier("x"));let c=i.default.expression.ast`
294
294
  (function (${l}) {
295
295
  function ${n}(${u}) {
296
296
  return ${F(l)}.apply(this, arguments);
@@ -309,7 +309,7 @@ ${e(t.cont)}`;case"pushElement":return`◉ Push element: ${t.combinator}
309
309
  ${e(t.cont,o)}`;case"popElement":return`◌ Pop element
310
310
  ${e(t.cont,o)}`;case"variant":return`◇ = ${t.value}
311
311
  ${e(t.cont)}`;case"matcher":return`◈ ${t.matcher} "${t.value}"${t.modifier||""}
312
- ${e(t.cont)}`}})(t)).map((e,t,{length:r})=>(function(e,t,r=!0){let n=e[+!!r];return n[0]+t.split("\n").join("\n"+n[1])})(n,e,t===r-1)).join("\n")}(e,o)});class d{constructor(e){this.branches=p(function(e){let t=e.length,r=Array(t);for(let a=0;a<t;a++){var n;let[t,s]=e[a],o=(function e(t){let r=[];t.list.forEach(t=>{switch(t.type){case"class":r.push({matcher:"~=",modifier:null,name:"class",namespace:null,specificity:t.specificity,type:"attrValue",value:t.name});break;case"id":r.push({matcher:"=",modifier:null,name:"id",namespace:null,specificity:t.specificity,type:"attrValue",value:t.name});break;case"combinator":e(t.left),r.push(t);break;case"universal":break;default:r.push(t)}}),t.list=r}(n=i.parse1(t)),i.normalize(n),n);r[a]={ast:o,terminal:{type:"terminal",valueContainer:{index:a,value:s,specificity:o.specificity}}}}return r}(e))}build(e){return e(this.branches)}}function p(e){let t=[];for(;e.length;){let r=g(e,e=>!0,h),{matches:n,nonmatches:i,empty:a}=function(e,t){let r=[],n=[],i=[];for(let a of e){let e=a.ast.list;e.length?(e.some(e=>h(e)===t)?r:n).push(a):i.push(a)}return{matches:r,nonmatches:n,empty:i}}(e,r);e=i,n.length&&t.push(function(e,t){if("tag"===e)return{type:"tagName",variants:Object.entries(f(t,e=>"tag"===e.type,e=>e.name)).map(([e,t])=>({type:"variant",value:e,cont:p(t.items)}))};if(e.startsWith("attrValue "))return function(e,t){let r=f(t,t=>"attrValue"===t.type&&t.name===e,e=>`${e.matcher} ${e.modifier||""} ${e.value}`),n=[];for(let e of Object.values(r)){let t=e.oneSimpleSelector,r=function(e){if("i"===e.modifier){let t=e.value.toLowerCase();switch(e.matcher){case"=":return e=>t===e.toLowerCase();case"~=":return e=>e.toLowerCase().split(/[ \t]+/).includes(t);case"^=":return e=>e.toLowerCase().startsWith(t);case"$=":return e=>e.toLowerCase().endsWith(t);case"*=":return e=>e.toLowerCase().includes(t);case"|=":return e=>{let r=e.toLowerCase();return t===r||r.startsWith(t)&&"-"===r[t.length]}}}else{let t=e.value;switch(e.matcher){case"=":return e=>t===e;case"~=":return e=>e.split(/[ \t]+/).includes(t);case"^=":return e=>e.startsWith(t);case"$=":return e=>e.endsWith(t);case"*=":return e=>e.includes(t);case"|=":return e=>t===e||e.startsWith(t)&&"-"===e[t.length]}}}(t),i=p(e.items);n.push({type:"matcher",matcher:t.matcher,modifier:t.modifier,value:t.value,predicate:r,cont:i})}return{type:"attrValue",name:e,matchers:n}}(e.substring(10),t);if(e.startsWith("attrPresence "))return function(e,t){for(let r of t)y(r,t=>"attrPresence"===t.type&&t.name===e);return{type:"attrPresence",name:e,cont:p(t)}}(e.substring(13),t);if("combinator >"===e)return m(">",t);if("combinator +"===e)return m("+",t);throw Error(`Unsupported selector kind: ${e}`)}(r,n)),a.length&&t.push(...function(e){let t=[];for(let r of e){let e=r.terminal;if("terminal"===e.type)t.push(e);else{let{matches:r,rest:n}=function(e,t){let r=[],n=[];for(let i of e)t(i)?r.push(i):n.push(i);return{matches:r,rest:n}}(e.cont,e=>"terminal"===e.type);r.forEach(e=>t.push(e)),n.length&&(e.cont=n,t.push(e))}}return t}(a))}return t}function h(e){switch(e.type){case"attrPresence":return`attrPresence ${e.name}`;case"attrValue":return`attrValue ${e.name}`;case"combinator":return`combinator ${e.combinator}`;default:return e.type}}function m(e,t){let r=f(t,t=>"combinator"===t.type&&t.combinator===e,e=>i.serialize(e.left)),n=[];for(let e of Object.values(r)){let t=p(e.items),r=e.oneSimpleSelector.left;n.push({ast:r,terminal:{type:"popElement",cont:t}})}return{type:"pushElement",combinator:e,cont:p(n)}}function f(e,t,r){let n={};for(;e.length;){let i=g(e,t,r),a=e=>t(e)&&r(e)===i,{matches:s,rest:o}=function(e,t){let r=[],n=[];for(let i of e)t(i)?r.push(i):n.push(i);return{matches:r,rest:n}}(e,e=>e.ast.list.some(a)),l=null;for(let e of s){let t=y(e,a);l||(l=t)}if(null==l)throw Error("No simple selector is found.");n[i]={oneSimpleSelector:l,items:s},e=o}return n}function y(e,t){let r=e.ast.list,n=Array(r.length),i=-1;for(let e=r.length;e-- >0;)t(r[e])&&(n[e]=!0,i=e);if(-1==i)throw Error("Couldn't find the required simple selector.");let a=r[i];return e.ast.list=r.filter((e,t)=>!n[t]),a}function g(e,t,r){let n={};for(let i of e){let e={};for(let n of i.ast.list.filter(t))e[r(n)]=!0;for(let t of Object.keys(e))n[t]?n[t]++:n[t]=1}let i="",a=0;for(let e of Object.entries(n))e[1]>a&&(i=e[0],a=e[1]);return i}class b{constructor(e){this.f=e}pickAll(e){return this.f(e)}pick1(e,t=!1){let r=this.f(e),n=r.length;if(0===n)return null;if(1===n)return r[0].value;let i=t?w:v,a=r[0];for(let e=1;e<n;e++){let t=r[e];i(a,t)&&(a=t)}return a.value}}function w(e,t){let r=n.compareSpecificity(t.specificity,e.specificity);return r>0||0===r&&t.index<e.index}function v(e,t){let r=n.compareSpecificity(t.specificity,e.specificity);return r>0||0===r&&t.index>e.index}t.Ast=a,t.DecisionTree=d,t.Picker=b,t.Treeify=c,t.Types=s},86238:function(e,t){(function(e){"use strict";let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=new Uint8Array(64),n=new Uint8Array(128);for(let e=0;e<t.length;e++){let i=t.charCodeAt(e);r[e]=i,n[i]=e}function i(e,t){let r=0,i=0,a=0;do r|=(31&(a=n[e.next()]))<<i,i+=5;while(32&a);let s=1&r;return r>>>=1,s&&(r=-0x80000000|-r),t+r}function a(e,t,n){let i=t-n;i=i<0?-i<<1|1:i<<1;do{let t=31&i;(i>>>=5)>0&&(t|=32),e.write(r[t])}while(i>0);return t}function s(e,t){return!(e.pos>=t)&&44!==e.peek()}let o="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:e=>Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}};class l{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(16384)}write(e){let{buffer:t}=this;t[this.pos++]=e,16384===this.pos&&(this.out+=o.decode(t),this.pos=0)}flush(){let{buffer:e,out:t,pos:r}=this;return r>0?t+o.decode(e.subarray(0,r)):t}}class u{constructor(e){this.pos=0,this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){let{buffer:t,pos:r}=this,n=t.indexOf(e,r);return -1===n?t.length:n}}let c=[];function d(e,t,r){do e.write(59);while(++t<r)}function p(e,t){return e[0]-t[0]}e.decode=function(e){let{length:t}=e,r=new u(e),n=[],a=0,o=0,l=0,c=0,d=0;do{let e=r.indexOf(";"),t=[],u=!0,h=0;for(a=0;r.pos<e;){let n;(a=i(r,a))<h&&(u=!1),h=a,s(r,e)?(o=i(r,o),l=i(r,l),c=i(r,c),n=s(r,e)?[a,o,l,c,d=i(r,d)]:[a,o,l,c]):n=[a],t.push(n),r.pos++}u||t.sort(p),n.push(t),r.pos=e+1}while(r.pos<=t);return n},e.decodeGeneratedRanges=function(e){let{length:t}=e,r=new u(e),n=[],a=[],o=0,l=0,d=0,p=0,h=0,m=0,f=0,y=0;do{let e=r.indexOf(";"),t=0;for(;r.pos<e;r.pos++){let u;if(t=i(r,t),!s(r,e)){let e=a.pop();e[2]=o,e[3]=t;continue}let g=i(r,0),b=1&g,w=2&g,v=4&g,k=null,x=c;if(b){let e=i(r,l);d=i(r,l===e?d:0),l=e,u=[o,t,0,0,e,d]}else u=[o,t,0,0];if(u.isScope=!!v,w){let e=h,t=p===(p=i(r,p));h=i(r,t?h:0),m=i(r,t&&e===h?m:0),k=[p,h,m]}if(u.callsite=k,s(r,e)){x=[];do{let e;f=o,y=t;let n=i(r,0);if(n<-1){e=[[i(r,0)]];for(let t=-1;t>n;t--){let t=f;f=i(r,f),y=i(r,f===t?y:0);let n=i(r,0);e.push([n,f,y])}}else e=[[n]];x.push(e)}while(s(r,e))}u.bindings=x,n.push(u),a.push(u)}o++,r.pos=e+1}while(r.pos<t);return n},e.decodeOriginalScopes=function(e){let{length:t}=e,r=new u(e),n=[],a=[],o=0;for(;r.pos<t;r.pos++){o=i(r,o);let e=i(r,0);if(!s(r,t)){let t=a.pop();t[2]=o,t[3]=e;continue}let l=i(r,0),u=1&i(r,0)?[o,e,0,0,l,i(r,0)]:[o,e,0,0,l],d=c;if(s(r,t)){d=[];do{let e=i(r,0);d.push(e)}while(s(r,t))}u.vars=d,n.push(u),a.push(u)}return n},e.encode=function(e){let t=new l,r=0,n=0,i=0,s=0;for(let o=0;o<e.length;o++){let l=e[o];if(o>0&&t.write(59),0===l.length)continue;let u=0;for(let e=0;e<l.length;e++){let o=l[e];e>0&&t.write(44),u=a(t,o[0],u),1!==o.length&&(r=a(t,o[1],r),n=a(t,o[2],n),i=a(t,o[3],i),4!==o.length&&(s=a(t,o[4],s)))}}return t.flush()},e.encodeGeneratedRanges=function(e){if(0===e.length)return"";let t=new l;for(let r=0;r<e.length;)r=function e(t,r,n,i){let s=t[r],{0:o,1:l,2:u,3:c,isScope:p,callsite:h,bindings:m}=s;if(i[0]<o?(d(n,i[0],o),i[0]=o,i[1]=0):r>0&&n.write(44),i[1]=a(n,s[1],i[1]),a(n,6===s.length|2*!!h|4*!!p,0),6===s.length){let{4:e,5:t}=s;e!==i[2]&&(i[3]=0),i[2]=a(n,e,i[2]),i[3]=a(n,t,i[3])}if(h){let{0:e,1:t,2:r}=s.callsite;e!==i[4]?(i[5]=0,i[6]=0):t!==i[5]&&(i[6]=0),i[4]=a(n,e,i[4]),i[5]=a(n,t,i[5]),i[6]=a(n,r,i[6])}if(m)for(let e of m){e.length>1&&a(n,-e.length,0),a(n,e[0][0],0);let t=o,r=l;for(let i=1;i<e.length;i++){let s=e[i];t=a(n,s[1],t),r=a(n,s[2],r),a(n,s[0],0)}}for(r++;r<t.length;){let{0:a,1:s}=t[r];if(a>u||a===u&&s>=c)break;r=e(t,r,n,i)}return i[0]<u?(d(n,i[0],u),i[0]=u,i[1]=0):n.write(44),i[1]=a(n,c,i[1]),r}(e,r,t,[0,0,0,0,0,0,0]);return t.flush()},e.encodeOriginalScopes=function(e){let t=new l;for(let r=0;r<e.length;)r=function e(t,r,n,i){let s=t[r],{0:o,1:l,2:u,3:c,4:d,vars:p}=s;for(let e of(r>0&&n.write(44),i[0]=a(n,o,i[0]),a(n,l,0),a(n,d,0),a(n,+(6===s.length),0),6===s.length&&a(n,s[5],0),p))a(n,e,0);for(r++;r<t.length;){let{0:a,1:s}=t[r];if(a>u||a===u&&s>=c)break;r=e(t,r,n,i)}return n.write(44),i[0]=a(n,u,i[0]),a(n,c,0),r}(e,r,t,[0]);return t.flush()},Object.defineProperty(e,"__esModule",{value:!0})})(t)},86854:(e,t,r)=>{let n=r(57483),i=r(48283),a={};Object.keys(n).forEach(e=>{a[e]={},Object.defineProperty(a[e],"channels",{value:n[e].channels}),Object.defineProperty(a[e],"labels",{value:n[e].labels});let t=i(e);Object.keys(t).forEach(r=>{let n=t[r];a[e][r]=function(e){let t=function(...t){let r=t[0];if(null==r)return r;r.length>1&&(t=r);let n=e(t);if("object"==typeof n)for(let e=n.length,t=0;t<e;t++)n[t]=Math.round(n[t]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(n),a[e][r].raw=function(e){let t=function(...t){let r=t[0];return null==r?r:(r.length>1&&(t=r),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)})}),e.exports=a},87817:(e,t,r)=>{"use strict";var n=r(64514);(0,n.default)("ArgumentPlaceholder",{}),(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}}),(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:!1}}}),(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,n.validateArrayOfType)("ObjectProperty","SpreadElement")}}),(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.arrayOfType)("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]}),(0,n.default)("TopicReference",{aliases:["Expression"]}),(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})},88148:(e,t,r)=>{Promise.resolve().then(r.bind(r,43850)),Promise.resolve().then(r.bind(r,77830)),Promise.resolve().then(r.bind(r,78209)),Promise.resolve().then(r.bind(r,45888))},88248:(e,t,r)=>{"use strict";e.exports=r(38862)},88342:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.defineProperties,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&h(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&h(e,r,t[r]);return e},f=(e,t)=>a(e,o(t)),y=(e,t)=>{var r={};for(var n in e)d.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))0>t.indexOf(n)&&p.call(e,n)&&(r[n]=e[n]);return r},g=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))d.call(e,a)||a===r||i(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable});return e},b={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(b,{Column:()=>k}),e.exports=g(i({},"__esModule",{value:!0}),b);var w=((e,t,r)=>(r=null!=e?n(c(e)):{},g(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(64949)),v=r(82348),k=w.forwardRef((e,t)=>{var{children:r,style:n}=e,i=y(e,["children","style"]);return(0,v.jsx)("td",f(m({},i),{"data-id":"__react-email-column",ref:t,style:n,children:r}))});k.displayName="Column"},88968:(e,t,r)=>{"use strict";t.__esModule=!0,t.isComment=t.isCombinator=t.isClassName=t.isAttribute=void 0,t.isContainer=function(e){return!!(s(e)&&e.walk)},t.isIdentifier=void 0,t.isNamespace=function(e){return l(e)||c(e)},t.isNesting=void 0,t.isNode=s,t.isPseudo=void 0,t.isPseudoClass=function(e){return u(e)&&!d(e)},t.isPseudoElement=d,t.isUniversal=t.isTag=t.isString=t.isSelector=t.isRoot=void 0;var n,i=r(65433),a=((n={})[i.ATTRIBUTE]=!0,n[i.CLASS]=!0,n[i.COMBINATOR]=!0,n[i.COMMENT]=!0,n[i.ID]=!0,n[i.NESTING]=!0,n[i.PSEUDO]=!0,n[i.ROOT]=!0,n[i.SELECTOR]=!0,n[i.STRING]=!0,n[i.TAG]=!0,n[i.UNIVERSAL]=!0,n);function s(e){return"object"==typeof e&&a[e.type]}function o(e,t){return s(t)&&t.type===e}var l=o.bind(null,i.ATTRIBUTE);t.isAttribute=l,t.isClassName=o.bind(null,i.CLASS),t.isCombinator=o.bind(null,i.COMBINATOR),t.isComment=o.bind(null,i.COMMENT),t.isIdentifier=o.bind(null,i.ID),t.isNesting=o.bind(null,i.NESTING);var u=o.bind(null,i.PSEUDO);t.isPseudo=u,t.isRoot=o.bind(null,i.ROOT),t.isSelector=o.bind(null,i.SELECTOR),t.isString=o.bind(null,i.STRING);var c=o.bind(null,i.TAG);function d(e){return u(e)&&e.value&&(e.value.startsWith("::")||":before"===e.value.toLowerCase()||":after"===e.value.toLowerCase()||":first-letter"===e.value.toLowerCase()||":first-line"===e.value.toLowerCase())}t.isTag=c,t.isUniversal=o.bind(null,i.UNIVERSAL)},89153:(e,t,r)=>{"use strict";r.r(t);var n=r(76760),i=r.n(n),a=r(64731);describe("getEmailComponent()",()=>{describe("Node internals support",()=>{test("Request",async()=>{let e=await (0,a.getEmailComponent)(i().resolve(__dirname,"./testing/request-response-email.tsx"));"error"in e&&(console.log(e.error),expect("error"in e,"there should be no errors").toBe(!1))})}),test("with a demo email template",async()=>{let e=await (0,a.getEmailComponent)(i().resolve(__dirname,"../../../../apps/demo/emails/notifications/vercel-invite-user.tsx"));"error"in e?(console.log(e.error),expect("error"in e).toBe(!1)):(expect(e.emailComponent).toBeTruthy(),expect(e.sourceMapToOriginalFile).toBeTruthy(),expect(await e.render(e.createElement(e.emailComponent,e.emailComponent.PreviewProps),{pretty:!0})).toMatchSnapshot())})})},89329:e=>{"use strict";function t(e,t){var n,i,a=e.type,s=e.value;if(t&&void 0!==(i=t(e)))return i;if("word"===a||"space"===a);else if("string"===a)return(n=e.quote||"")+s+(e.unclosed?"":n);else if("comment"===a)return"/*"+s+(e.unclosed?"":"*/");else if("div"===a)return(e.before||"")+s+(e.after||"");else if(Array.isArray(e.nodes))return(n=r(e.nodes,t),"function"!==a)?n:s+"("+(e.before||"")+n+(e.after||"")+(e.unclosed?"":")");return s}function r(e,r){var n,i;if(Array.isArray(e)){for(n="",i=e.length-1;~i;i-=1)n=t(e[i],r)+n;return n}return t(e,r)}e.exports=r},89740:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0;var r=new Set([9,10,12,13,32]);t.parse=function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];var t=0,n=0,i=s(),a=o();if(t<e.length&&"n"===e.charAt(t)&&(t++,n=i*(null!=a?a:1),l(),t<e.length?(i=s(),l(),a=o()):i=a=0),null===a||t<e.length)throw Error("n-th rule couldn't be parsed ('".concat(e,"')"));return[n,i*a];function s(){return"-"===e.charAt(t)?(t++,-1):("+"===e.charAt(t)&&t++,1)}function o(){for(var r=t,n=0;t<e.length&&e.charCodeAt(t)>=48&&57>=e.charCodeAt(t);)n=10*n+(e.charCodeAt(t)-48),t++;return t===r?null:n}function l(){for(;t<e.length&&r.has(e.charCodeAt(t));)t++}}},89886:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Var=t.User=t.Statement=t.SpreadProperty=t.Scope=t.RestProperty=t.ReferencedMemberExpression=t.ReferencedIdentifier=t.Referenced=t.Pure=t.NumericLiteralTypeAnnotation=t.Generated=t.ForAwaitStatement=t.Flow=t.Expression=t.ExistentialTypeParam=t.BlockScoped=t.BindingIdentifier=void 0,t.ReferencedIdentifier=["Identifier","JSXIdentifier"],t.ReferencedMemberExpression=["MemberExpression"],t.BindingIdentifier=["Identifier"],t.Statement=["Statement"],t.Expression=["Expression"],t.Scope=["Scopable","Pattern"],t.Referenced=null,t.BlockScoped=null,t.Var=["VariableDeclaration"],t.User=null,t.Generated=null,t.Pure=null,t.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],t.RestProperty=["RestElement"],t.SpreadProperty=["RestElement"],t.ExistentialTypeParam=["ExistsTypeAnnotation"],t.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],t.ForAwaitStatement=["ForOfStatement"]},90020:(e,t)=>{"use strict";function r(e){return(e>0n)-(e<0n)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},90180:(e,t,r)=>{var n=r(71045);function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){var t,r,i,a,s;(t=this._last,r=t.generatedLine,i=e.generatedLine,a=t.generatedColumn,s=e.generatedColumn,i>r||i==r&&s>=a||0>=n.compareByGeneratedPositionsInflated(t,e))?this._last=e:this._sorted=!1,this._array.push(e)},i.prototype.toArray=function(){return this._sorted||(this._array.sort(n.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.P=i},90306:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getTailwindConfig:()=>u});var n=r(76760),i=r.n(n),a=r(41093),s=r(69322),o=r(33192),l=r(21175);let u=async(e,t,r)=>{let n=p(t);if(n){let i=n.value?.type==="JSXExpressionContainer"&&"Identifier"===n.value.expression.type?n.value.expression.name:void 0;if(i){let e=d(t,i);if(e)return c(e,r)}let a=n.value?.type==="JSXExpressionContainer"&&"ObjectExpression"===n.value.expression.type?n.value.expression:void 0;if(a?.start&&a.end){let t=e.slice(a.start,a.end);try{return Function(`return ${t}`)()}catch(e){console.warn(e),console.warn("Tried reading the config defined directly in the Tailwind component but was unable to, probably because it can't run by itself.")}}}return{}},c=async(e,t)=>{let r=e.source.value,n=i().dirname(t),a=i().join(n,r),u=(await s.build({bundle:!0,stdin:{contents:`import tailwindConfig from "${r}";
312
+ ${e(t.cont)}`}})(t)).map((e,t,{length:r})=>(function(e,t,r=!0){let n=e[+!!r];return n[0]+t.split("\n").join("\n"+n[1])})(n,e,t===r-1)).join("\n")}(e,o)});class d{constructor(e){this.branches=p(function(e){let t=e.length,r=Array(t);for(let a=0;a<t;a++){var n;let[t,s]=e[a],o=(function e(t){let r=[];t.list.forEach(t=>{switch(t.type){case"class":r.push({matcher:"~=",modifier:null,name:"class",namespace:null,specificity:t.specificity,type:"attrValue",value:t.name});break;case"id":r.push({matcher:"=",modifier:null,name:"id",namespace:null,specificity:t.specificity,type:"attrValue",value:t.name});break;case"combinator":e(t.left),r.push(t);break;case"universal":break;default:r.push(t)}}),t.list=r}(n=i.parse1(t)),i.normalize(n),n);r[a]={ast:o,terminal:{type:"terminal",valueContainer:{index:a,value:s,specificity:o.specificity}}}}return r}(e))}build(e){return e(this.branches)}}function p(e){let t=[];for(;e.length;){let r=g(e,e=>!0,h),{matches:n,nonmatches:i,empty:a}=function(e,t){let r=[],n=[],i=[];for(let a of e){let e=a.ast.list;e.length?(e.some(e=>h(e)===t)?r:n).push(a):i.push(a)}return{matches:r,nonmatches:n,empty:i}}(e,r);e=i,n.length&&t.push(function(e,t){if("tag"===e)return{type:"tagName",variants:Object.entries(f(t,e=>"tag"===e.type,e=>e.name)).map(([e,t])=>({type:"variant",value:e,cont:p(t.items)}))};if(e.startsWith("attrValue "))return function(e,t){let r=f(t,t=>"attrValue"===t.type&&t.name===e,e=>`${e.matcher} ${e.modifier||""} ${e.value}`),n=[];for(let e of Object.values(r)){let t=e.oneSimpleSelector,r=function(e){if("i"===e.modifier){let t=e.value.toLowerCase();switch(e.matcher){case"=":return e=>t===e.toLowerCase();case"~=":return e=>e.toLowerCase().split(/[ \t]+/).includes(t);case"^=":return e=>e.toLowerCase().startsWith(t);case"$=":return e=>e.toLowerCase().endsWith(t);case"*=":return e=>e.toLowerCase().includes(t);case"|=":return e=>{let r=e.toLowerCase();return t===r||r.startsWith(t)&&"-"===r[t.length]}}}else{let t=e.value;switch(e.matcher){case"=":return e=>t===e;case"~=":return e=>e.split(/[ \t]+/).includes(t);case"^=":return e=>e.startsWith(t);case"$=":return e=>e.endsWith(t);case"*=":return e=>e.includes(t);case"|=":return e=>t===e||e.startsWith(t)&&"-"===e[t.length]}}}(t),i=p(e.items);n.push({type:"matcher",matcher:t.matcher,modifier:t.modifier,value:t.value,predicate:r,cont:i})}return{type:"attrValue",name:e,matchers:n}}(e.substring(10),t);if(e.startsWith("attrPresence "))return function(e,t){for(let r of t)y(r,t=>"attrPresence"===t.type&&t.name===e);return{type:"attrPresence",name:e,cont:p(t)}}(e.substring(13),t);if("combinator >"===e)return m(">",t);if("combinator +"===e)return m("+",t);throw Error(`Unsupported selector kind: ${e}`)}(r,n)),a.length&&t.push(...function(e){let t=[];for(let r of e){let e=r.terminal;if("terminal"===e.type)t.push(e);else{let{matches:r,rest:n}=function(e,t){let r=[],n=[];for(let i of e)t(i)?r.push(i):n.push(i);return{matches:r,rest:n}}(e.cont,e=>"terminal"===e.type);r.forEach(e=>t.push(e)),n.length&&(e.cont=n,t.push(e))}}return t}(a))}return t}function h(e){switch(e.type){case"attrPresence":return`attrPresence ${e.name}`;case"attrValue":return`attrValue ${e.name}`;case"combinator":return`combinator ${e.combinator}`;default:return e.type}}function m(e,t){let r=f(t,t=>"combinator"===t.type&&t.combinator===e,e=>i.serialize(e.left)),n=[];for(let e of Object.values(r)){let t=p(e.items),r=e.oneSimpleSelector.left;n.push({ast:r,terminal:{type:"popElement",cont:t}})}return{type:"pushElement",combinator:e,cont:p(n)}}function f(e,t,r){let n={};for(;e.length;){let i=g(e,t,r),a=e=>t(e)&&r(e)===i,{matches:s,rest:o}=function(e,t){let r=[],n=[];for(let i of e)t(i)?r.push(i):n.push(i);return{matches:r,rest:n}}(e,e=>e.ast.list.some(a)),l=null;for(let e of s){let t=y(e,a);l||(l=t)}if(null==l)throw Error("No simple selector is found.");n[i]={oneSimpleSelector:l,items:s},e=o}return n}function y(e,t){let r=e.ast.list,n=Array(r.length),i=-1;for(let e=r.length;e-- >0;)t(r[e])&&(n[e]=!0,i=e);if(-1==i)throw Error("Couldn't find the required simple selector.");let a=r[i];return e.ast.list=r.filter((e,t)=>!n[t]),a}function g(e,t,r){let n={};for(let i of e){let e={};for(let n of i.ast.list.filter(t))e[r(n)]=!0;for(let t of Object.keys(e))n[t]?n[t]++:n[t]=1}let i="",a=0;for(let e of Object.entries(n))e[1]>a&&(i=e[0],a=e[1]);return i}class b{constructor(e){this.f=e}pickAll(e){return this.f(e)}pick1(e,t=!1){let r=this.f(e),n=r.length;if(0===n)return null;if(1===n)return r[0].value;let i=t?w:v,a=r[0];for(let e=1;e<n;e++){let t=r[e];i(a,t)&&(a=t)}return a.value}}function w(e,t){let r=n.compareSpecificity(t.specificity,e.specificity);return r>0||0===r&&t.index<e.index}function v(e,t){let r=n.compareSpecificity(t.specificity,e.specificity);return r>0||0===r&&t.index>e.index}t.Ast=a,t.DecisionTree=d,t.Picker=b,t.Treeify=c,t.Types=s},86238:function(e,t){(function(e){"use strict";let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=new Uint8Array(64),n=new Uint8Array(128);for(let e=0;e<t.length;e++){let i=t.charCodeAt(e);r[e]=i,n[i]=e}function i(e,t){let r=0,i=0,a=0;do r|=(31&(a=n[e.next()]))<<i,i+=5;while(32&a);let s=1&r;return r>>>=1,s&&(r=-0x80000000|-r),t+r}function a(e,t,n){let i=t-n;i=i<0?-i<<1|1:i<<1;do{let t=31&i;(i>>>=5)>0&&(t|=32),e.write(r[t])}while(i>0);return t}function s(e,t){return!(e.pos>=t)&&44!==e.peek()}let o="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:e=>Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}};class l{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(16384)}write(e){let{buffer:t}=this;t[this.pos++]=e,16384===this.pos&&(this.out+=o.decode(t),this.pos=0)}flush(){let{buffer:e,out:t,pos:r}=this;return r>0?t+o.decode(e.subarray(0,r)):t}}class u{constructor(e){this.pos=0,this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){let{buffer:t,pos:r}=this,n=t.indexOf(e,r);return -1===n?t.length:n}}let c=[];function d(e,t,r){do e.write(59);while(++t<r)}function p(e,t){return e[0]-t[0]}e.decode=function(e){let{length:t}=e,r=new u(e),n=[],a=0,o=0,l=0,c=0,d=0;do{let e=r.indexOf(";"),t=[],u=!0,h=0;for(a=0;r.pos<e;){let n;(a=i(r,a))<h&&(u=!1),h=a,s(r,e)?(o=i(r,o),l=i(r,l),c=i(r,c),n=s(r,e)?[a,o,l,c,d=i(r,d)]:[a,o,l,c]):n=[a],t.push(n),r.pos++}u||t.sort(p),n.push(t),r.pos=e+1}while(r.pos<=t);return n},e.decodeGeneratedRanges=function(e){let{length:t}=e,r=new u(e),n=[],a=[],o=0,l=0,d=0,p=0,h=0,m=0,f=0,y=0;do{let e=r.indexOf(";"),t=0;for(;r.pos<e;r.pos++){let u;if(t=i(r,t),!s(r,e)){let e=a.pop();e[2]=o,e[3]=t;continue}let g=i(r,0),b=1&g,w=2&g,v=4&g,k=null,x=c;if(b){let e=i(r,l);d=i(r,l===e?d:0),l=e,u=[o,t,0,0,e,d]}else u=[o,t,0,0];if(u.isScope=!!v,w){let e=h,t=p===(p=i(r,p));h=i(r,t?h:0),m=i(r,t&&e===h?m:0),k=[p,h,m]}if(u.callsite=k,s(r,e)){x=[];do{let e;f=o,y=t;let n=i(r,0);if(n<-1){e=[[i(r,0)]];for(let t=-1;t>n;t--){let t=f;f=i(r,f),y=i(r,f===t?y:0);let n=i(r,0);e.push([n,f,y])}}else e=[[n]];x.push(e)}while(s(r,e))}u.bindings=x,n.push(u),a.push(u)}o++,r.pos=e+1}while(r.pos<t);return n},e.decodeOriginalScopes=function(e){let{length:t}=e,r=new u(e),n=[],a=[],o=0;for(;r.pos<t;r.pos++){o=i(r,o);let e=i(r,0);if(!s(r,t)){let t=a.pop();t[2]=o,t[3]=e;continue}let l=i(r,0),u=1&i(r,0)?[o,e,0,0,l,i(r,0)]:[o,e,0,0,l],d=c;if(s(r,t)){d=[];do{let e=i(r,0);d.push(e)}while(s(r,t))}u.vars=d,n.push(u),a.push(u)}return n},e.encode=function(e){let t=new l,r=0,n=0,i=0,s=0;for(let o=0;o<e.length;o++){let l=e[o];if(o>0&&t.write(59),0===l.length)continue;let u=0;for(let e=0;e<l.length;e++){let o=l[e];e>0&&t.write(44),u=a(t,o[0],u),1!==o.length&&(r=a(t,o[1],r),n=a(t,o[2],n),i=a(t,o[3],i),4!==o.length&&(s=a(t,o[4],s)))}}return t.flush()},e.encodeGeneratedRanges=function(e){if(0===e.length)return"";let t=new l;for(let r=0;r<e.length;)r=function e(t,r,n,i){let s=t[r],{0:o,1:l,2:u,3:c,isScope:p,callsite:h,bindings:m}=s;if(i[0]<o?(d(n,i[0],o),i[0]=o,i[1]=0):r>0&&n.write(44),i[1]=a(n,s[1],i[1]),a(n,6===s.length|2*!!h|4*!!p,0),6===s.length){let{4:e,5:t}=s;e!==i[2]&&(i[3]=0),i[2]=a(n,e,i[2]),i[3]=a(n,t,i[3])}if(h){let{0:e,1:t,2:r}=s.callsite;e!==i[4]?(i[5]=0,i[6]=0):t!==i[5]&&(i[6]=0),i[4]=a(n,e,i[4]),i[5]=a(n,t,i[5]),i[6]=a(n,r,i[6])}if(m)for(let e of m){e.length>1&&a(n,-e.length,0),a(n,e[0][0],0);let t=o,r=l;for(let i=1;i<e.length;i++){let s=e[i];t=a(n,s[1],t),r=a(n,s[2],r),a(n,s[0],0)}}for(r++;r<t.length;){let{0:a,1:s}=t[r];if(a>u||a===u&&s>=c)break;r=e(t,r,n,i)}return i[0]<u?(d(n,i[0],u),i[0]=u,i[1]=0):n.write(44),i[1]=a(n,c,i[1]),r}(e,r,t,[0,0,0,0,0,0,0]);return t.flush()},e.encodeOriginalScopes=function(e){let t=new l;for(let r=0;r<e.length;)r=function e(t,r,n,i){let s=t[r],{0:o,1:l,2:u,3:c,4:d,vars:p}=s;for(let e of(r>0&&n.write(44),i[0]=a(n,o,i[0]),a(n,l,0),a(n,d,0),a(n,+(6===s.length),0),6===s.length&&a(n,s[5],0),p))a(n,e,0);for(r++;r<t.length;){let{0:a,1:s}=t[r];if(a>u||a===u&&s>=c)break;r=e(t,r,n,i)}return n.write(44),i[0]=a(n,u,i[0]),a(n,c,0),r}(e,r,t,[0]);return t.flush()},Object.defineProperty(e,"__esModule",{value:!0})})(t)},86854:(e,t,r)=>{let n=r(57483),i=r(48283),a={};Object.keys(n).forEach(e=>{a[e]={},Object.defineProperty(a[e],"channels",{value:n[e].channels}),Object.defineProperty(a[e],"labels",{value:n[e].labels});let t=i(e);Object.keys(t).forEach(r=>{let n=t[r];a[e][r]=function(e){let t=function(...t){let r=t[0];if(null==r)return r;r.length>1&&(t=r);let n=e(t);if("object"==typeof n)for(let e=n.length,t=0;t<e;t++)n[t]=Math.round(n[t]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(n),a[e][r].raw=function(e){let t=function(...t){let r=t[0];return null==r?r:(r.length>1&&(t=r),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)})}),e.exports=a},87817:(e,t,r)=>{"use strict";var n=r(64514);(0,n.default)("ArgumentPlaceholder",{}),(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}}),(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:!1}}}),(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,n.validateArrayOfType)("ObjectProperty","SpreadElement")}}),(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.arrayOfType)("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]}),(0,n.default)("TopicReference",{aliases:["Expression"]}),(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})},88134:(e,t,r)=>{"use strict";r.d(t,{o:()=>b,PreviewProvider:()=>w});var n=r(92374),i=r(87744),a=r(14148),s=r(12110),o=r(43518);let l=(0,o.createServerReference)("7f9f9f48dc719ef04aa5e7cd20595d44d0c7550797",o.callServer,void 0,o.findSourceMapURL,"getEmailPathFromSlug"),u=(0,o.createServerReference)("7faeacb0877bee032a521badb4a1d1990c409797d3",o.callServer,void 0,o.findSourceMapURL,"renderEmailByPath");var c=r(88020);let d=e=>{let t=e.split(".");return t.length>1?t.slice(0,-1).join("."):e},p=(e,t)=>h(e.replace(t.relativePath,"").split("/").filter(Boolean),t),h=(e,t)=>{if(1===e.length){let r=d(e[0]);return t.emailFilenames.includes(r)}let r=e.join("/");for(let n of t.subDirectories)if(r.startsWith(n.directoryName)){let t=n.directoryName.split("/").filter(Boolean).length;return h(e.slice(t),n)}return!1};var m=r(13993);let f=(e,t)=>{let[r,n]=(0,a.useState)(t),{emailsDirectoryMetadata:i}=(0,c.J)();return s.Hf||s.m4||(0,m.a)(async t=>{for await(let r of t){let t=r.filename;if(!p(t,i))continue;let a=await l(t),s=await u(a,!0);a===e&&n(s)}}),r},y={},g=(e,t,r)=>((0,a.useEffect)(()=>{"markup"in t?y[e]=t:void 0!==r&&"markup"in r&&void 0===y[e]&&(y[e]=r)},[t,e,r]),"error"in t?y[e]:t),b=(0,a.createContext)(void 0),w=({emailSlug:e,emailPath:t,serverRenderingResult:r,children:a})=>{let o=(0,i.useRouter)(),l=f(t,r),u=g(t,l,r);return s.Hf||s.m4||(0,m.a)(t=>{let r=t.find(t=>t.filename.includes(e));void 0!==r&&"unlink"===r.event&&o.push("/")}),(0,n.jsx)(b.Provider,{value:{emailPath:t,emailSlug:e,renderedEmailMetadata:u,renderingResult:l},children:a})}},88148:(e,t,r)=>{Promise.resolve().then(r.bind(r,43850)),Promise.resolve().then(r.bind(r,77830)),Promise.resolve().then(r.bind(r,78209)),Promise.resolve().then(r.bind(r,45888))},88248:(e,t,r)=>{"use strict";e.exports=r(38862)},88342:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.defineProperties,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&h(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&h(e,r,t[r]);return e},f=(e,t)=>a(e,o(t)),y=(e,t)=>{var r={};for(var n in e)d.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))0>t.indexOf(n)&&p.call(e,n)&&(r[n]=e[n]);return r},g=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))d.call(e,a)||a===r||i(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable});return e},b={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(b,{Column:()=>k}),e.exports=g(i({},"__esModule",{value:!0}),b);var w=((e,t,r)=>(r=null!=e?n(c(e)):{},g(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(64949)),v=r(82348),k=w.forwardRef((e,t)=>{var{children:r,style:n}=e,i=y(e,["children","style"]);return(0,v.jsx)("td",f(m({},i),{"data-id":"__react-email-column",ref:t,style:n,children:r}))});k.displayName="Column"},88968:(e,t,r)=>{"use strict";t.__esModule=!0,t.isComment=t.isCombinator=t.isClassName=t.isAttribute=void 0,t.isContainer=function(e){return!!(s(e)&&e.walk)},t.isIdentifier=void 0,t.isNamespace=function(e){return l(e)||c(e)},t.isNesting=void 0,t.isNode=s,t.isPseudo=void 0,t.isPseudoClass=function(e){return u(e)&&!d(e)},t.isPseudoElement=d,t.isUniversal=t.isTag=t.isString=t.isSelector=t.isRoot=void 0;var n,i=r(65433),a=((n={})[i.ATTRIBUTE]=!0,n[i.CLASS]=!0,n[i.COMBINATOR]=!0,n[i.COMMENT]=!0,n[i.ID]=!0,n[i.NESTING]=!0,n[i.PSEUDO]=!0,n[i.ROOT]=!0,n[i.SELECTOR]=!0,n[i.STRING]=!0,n[i.TAG]=!0,n[i.UNIVERSAL]=!0,n);function s(e){return"object"==typeof e&&a[e.type]}function o(e,t){return s(t)&&t.type===e}var l=o.bind(null,i.ATTRIBUTE);t.isAttribute=l,t.isClassName=o.bind(null,i.CLASS),t.isCombinator=o.bind(null,i.COMBINATOR),t.isComment=o.bind(null,i.COMMENT),t.isIdentifier=o.bind(null,i.ID),t.isNesting=o.bind(null,i.NESTING);var u=o.bind(null,i.PSEUDO);t.isPseudo=u,t.isRoot=o.bind(null,i.ROOT),t.isSelector=o.bind(null,i.SELECTOR),t.isString=o.bind(null,i.STRING);var c=o.bind(null,i.TAG);function d(e){return u(e)&&e.value&&(e.value.startsWith("::")||":before"===e.value.toLowerCase()||":after"===e.value.toLowerCase()||":first-letter"===e.value.toLowerCase()||":first-line"===e.value.toLowerCase())}t.isTag=c,t.isUniversal=o.bind(null,i.UNIVERSAL)},89153:(e,t,r)=>{"use strict";r.r(t);var n=r(76760),i=r.n(n),a=r(64731);describe("getEmailComponent()",()=>{describe("Node internals support",()=>{test("Request",async()=>{let e=await (0,a.getEmailComponent)(i().resolve(__dirname,"./testing/request-response-email.tsx"));"error"in e&&(console.log(e.error),expect("error"in e,"there should be no errors").toBe(!1))})}),test("with a demo email template",async()=>{let e=await (0,a.getEmailComponent)(i().resolve(__dirname,"../../../../apps/demo/emails/notifications/vercel-invite-user.tsx"));"error"in e?(console.log(e.error),expect("error"in e).toBe(!1)):(expect(e.emailComponent).toBeTruthy(),expect(e.sourceMapToOriginalFile).toBeTruthy(),expect(await e.render(e.createElement(e.emailComponent,e.emailComponent.PreviewProps),{pretty:!0})).toMatchSnapshot())})})},89329:e=>{"use strict";function t(e,t){var n,i,a=e.type,s=e.value;if(t&&void 0!==(i=t(e)))return i;if("word"===a||"space"===a);else if("string"===a)return(n=e.quote||"")+s+(e.unclosed?"":n);else if("comment"===a)return"/*"+s+(e.unclosed?"":"*/");else if("div"===a)return(e.before||"")+s+(e.after||"");else if(Array.isArray(e.nodes))return(n=r(e.nodes,t),"function"!==a)?n:s+"("+(e.before||"")+n+(e.after||"")+(e.unclosed?"":")");return s}function r(e,r){var n,i;if(Array.isArray(e)){for(n="",i=e.length-1;~i;i-=1)n=t(e[i],r)+n;return n}return t(e,r)}e.exports=r},89740:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0;var r=new Set([9,10,12,13,32]);t.parse=function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];var t=0,n=0,i=s(),a=o();if(t<e.length&&"n"===e.charAt(t)&&(t++,n=i*(null!=a?a:1),l(),t<e.length?(i=s(),l(),a=o()):i=a=0),null===a||t<e.length)throw Error("n-th rule couldn't be parsed ('".concat(e,"')"));return[n,i*a];function s(){return"-"===e.charAt(t)?(t++,-1):("+"===e.charAt(t)&&t++,1)}function o(){for(var r=t,n=0;t<e.length&&e.charCodeAt(t)>=48&&57>=e.charCodeAt(t);)n=10*n+(e.charCodeAt(t)-48),t++;return t===r?null:n}function l(){for(;t<e.length&&r.has(e.charCodeAt(t));)t++}}},89886:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Var=t.User=t.Statement=t.SpreadProperty=t.Scope=t.RestProperty=t.ReferencedMemberExpression=t.ReferencedIdentifier=t.Referenced=t.Pure=t.NumericLiteralTypeAnnotation=t.Generated=t.ForAwaitStatement=t.Flow=t.Expression=t.ExistentialTypeParam=t.BlockScoped=t.BindingIdentifier=void 0,t.ReferencedIdentifier=["Identifier","JSXIdentifier"],t.ReferencedMemberExpression=["MemberExpression"],t.BindingIdentifier=["Identifier"],t.Statement=["Statement"],t.Expression=["Expression"],t.Scope=["Scopable","Pattern"],t.Referenced=null,t.BlockScoped=null,t.Var=["VariableDeclaration"],t.User=null,t.Generated=null,t.Pure=null,t.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],t.RestProperty=["RestElement"],t.SpreadProperty=["RestElement"],t.ExistentialTypeParam=["ExistsTypeAnnotation"],t.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],t.ForAwaitStatement=["ForOfStatement"]},90020:(e,t)=>{"use strict";function r(e){return(e>0n)-(e<0n)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},90153:(e,t,r)=>{"use strict";r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{"7f9f9f48dc719ef04aa5e7cd20595d44d0c7550797":()=>o.j,"7faeacb0877bee032a521badb4a1d1990c409797d3":()=>l.P,"7fdcc8cb2bf203521dba3ca789f1e78fda9e781a0d":()=>i.P,"7ffe73ba6282ef5aa56bc1448304bf0177a4ac29d6":()=>a.B,"7fff8a7ec95e4f09b17040b9d2f44fa0e2a9ec3d00":()=>s.m});var i=r(65753),a=r(27615),s=r(52160),o=r(14597),l=r(12816),u=e([i]);i=(u.then?(await u)():u)[0],n()}catch(e){n(e)}})},90180:(e,t,r)=>{var n=r(71045);function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){var t,r,i,a,s;(t=this._last,r=t.generatedLine,i=e.generatedLine,a=t.generatedColumn,s=e.generatedColumn,i>r||i==r&&s>=a||0>=n.compareByGeneratedPositionsInflated(t,e))?this._last=e:this._sorted=!1,this._array.push(e)},i.prototype.toArray=function(){return this._sorted||(this._array.sort(n.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.P=i},90306:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getTailwindConfig:()=>u});var n=r(76760),i=r.n(n),a=r(41093),s=r(69322),o=r(33192),l=r(21175);let u=async(e,t,r)=>{let n=p(t);if(n){let i=n.value?.type==="JSXExpressionContainer"&&"Identifier"===n.value.expression.type?n.value.expression.name:void 0;if(i){let e=d(t,i);if(e)return c(e,r)}let a=n.value?.type==="JSXExpressionContainer"&&"ObjectExpression"===n.value.expression.type?n.value.expression:void 0;if(a?.start&&a.end){let t=e.slice(a.start,a.end);try{return Function(`return ${t}`)()}catch(e){console.warn(e),console.warn("Tried reading the config defined directly in the Tailwind component but was unable to, probably because it can't run by itself.")}}}return{}},c=async(e,t)=>{let r=e.source.value,n=i().dirname(t),a=i().join(n,r),u=(await s.build({bundle:!0,stdin:{contents:`import tailwindConfig from "${r}";
313
313
  export { tailwindConfig };`,loader:"tsx",resolveDir:i().dirname(t)},platform:"node",write:!1,format:"cjs",logLevel:"silent"})).outputFiles[0];if(void 0===u)throw Error("Could not build config file as it was found as undefined, this is most likely a bug, please open an issue.");let c=(0,l.runBundledCode)(u.text,a);if((0,o.isErr)(c))throw Error(`Error when trying to run the config file: ${c.error}`);if("object"==typeof c.value&&null!==c.value&&"tailwindConfig"in c.value)return c.value.tailwindConfig;throw Error(`Could not read Tailwind config at ${a} because it doesn't have a default export in it.`,{cause:{configModule:c,configFilepath:a}})},d=(e,t)=>{let r;return(0,a.default)(e,{ImportDeclaration(e){e.node.specifiers.some(e=>"ImportDefaultSpecifier"===e.type&&e.local.name===t)&&(r=e.node)}}),r},p=e=>{let t;return(0,a.default)(e,{JSXOpeningElement(e){if("JSXIdentifier"===e.node.name.type&&"Tailwind"===e.node.name.name){let r=e.node.attributes.find(e=>"JSXAttribute"===e.type&&"JSXIdentifier"===e.name.type&&"config"===e.name.name);r&&(t=r)}}}),t}},90361:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});let r={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},90477:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.defineProperties,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&h(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&h(e,r,t[r]);return e},f=(e,t)=>a(e,o(t)),y=(e,t)=>{var r={};for(var n in e)d.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))0>t.indexOf(n)&&p.call(e,n)&&(r[n]=e[n]);return r},g=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))d.call(e,a)||a===r||i(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable});return e},b={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(b,{Text:()=>k}),e.exports=g(i({},"__esModule",{value:!0}),b);var w=((e,t,r)=>(r=null!=e?n(c(e)):{},g(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(64949)),v=r(82348),k=w.forwardRef((e,t)=>{var{style:r}=e,n=y(e,["style"]);let i={};(null==r?void 0:r.marginTop)===void 0&&(i.marginTop="16px"),(null==r?void 0:r.marginBottom)===void 0&&(i.marginBottom="16px");let a=function(e){let t={marginTop:void 0,marginRight:void 0,marginBottom:void 0,marginLeft:void 0};for(let[r,n]of Object.entries(e))"margin"===r?t=function(e){if("number"==typeof e)return{marginTop:e,marginBottom:e,marginLeft:e,marginRight:e};if("string"==typeof e){let t=e.toString().trim().split(/\s+/);if(1===t.length)return{marginTop:t[0],marginBottom:t[0],marginLeft:t[0],marginRight:t[0]};if(2===t.length)return{marginTop:t[0],marginRight:t[1],marginBottom:t[0],marginLeft:t[1]};if(3===t.length)return{marginTop:t[0],marginRight:t[1],marginBottom:t[2],marginLeft:t[1]};if(4===t.length)return{marginTop:t[0],marginRight:t[1],marginBottom:t[2],marginLeft:t[3]}}return{marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0}}(n):"marginTop"===r?t.marginTop=n:"marginRight"===r?t.marginRight=n:"marginBottom"===r?t.marginBottom=n:"marginLeft"===r&&(t.marginLeft=n);return t}(m(m({},i),r));return(0,v.jsx)("p",f(m({},n),{ref:t,style:m(m({fontSize:"14px",lineHeight:"24px"},r),a)}))});k.displayName="Text"},90493:(e,t,r)=>{"use strict";function n(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i,a=r(55996),s=Symbol("lastResolve"),o=Symbol("lastReject"),l=Symbol("error"),u=Symbol("ended"),c=Symbol("lastPromise"),d=Symbol("handlePromise"),p=Symbol("stream");function h(e,t){return{value:e,done:t}}function m(e){var t=e[s];if(null!==t){var r=e[p].read();null!==r&&(e[c]=null,e[s]=null,e[o]=null,t(h(r,!1)))}}function f(e){process.nextTick(m,e)}var y=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((n(i={get stream(){return this[p]},next:function(){var e,t,r=this,n=this[l];if(null!==n)return Promise.reject(n);if(this[u])return Promise.resolve(h(void 0,!0));if(this[p].destroyed)return new Promise(function(e,t){process.nextTick(function(){r[l]?t(r[l]):e(h(void 0,!0))})});var i=this[c];if(i)t=new Promise((e=this,function(t,r){i.then(function(){if(e[u])return void t(h(void 0,!0));e[d](t,r)},r)}));else{var a=this[p].read();if(null!==a)return Promise.resolve(h(a,!1));t=new Promise(this[d])}return this[c]=t,t}},Symbol.asyncIterator,function(){return this}),n(i,"return",function(){var e=this;return new Promise(function(t,r){e[p].destroy(null,function(e){if(e)return void r(e);t(h(void 0,!0))})})}),i),y);e.exports=function(e){var t,r=Object.create(g,(n(t={},p,{value:e,writable:!0}),n(t,s,{value:null,writable:!0}),n(t,o,{value:null,writable:!0}),n(t,l,{value:null,writable:!0}),n(t,u,{value:e._readableState.endEmitted,writable:!0}),n(t,d,{value:function(e,t){var n=r[p].read();n?(r[c]=null,r[s]=null,r[o]=null,e(h(n,!1))):(r[s]=e,r[o]=t)},writable:!0}),t));return r[c]=null,a(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[o];null!==t&&(r[c]=null,r[s]=null,r[o]=null,t(e)),r[l]=e;return}var n=r[s];null!==n&&(r[c]=null,r[s]=null,r[o]=null,n(h(void 0,!0))),r[u]=!0}),e.on("readable",f.bind(null,r)),r}},90690:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i,a=E(r(6174)),s=E(r(2875)),o=E(r(25275)),l=E(r(55325)),u=E(r(97631)),c=E(r(15412)),d=E(r(58423)),p=E(r(17528)),h=S(r(31072)),m=E(r(29289)),f=E(r(27012)),y=E(r(3542)),g=E(r(20815)),b=S(r(72900)),w=S(r(26159)),v=S(r(65433)),k=r(73470);function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(x=function(e){return e?r:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=x(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}function E(e){return e&&e.__esModule?e:{default:e}}var T=((n={})[w.space]=!0,n[w.cr]=!0,n[w.feed]=!0,n[w.newline]=!0,n[w.tab]=!0,n),_=Object.assign({},T,((i={})[w.comment]=!0,i));function A(e){return{line:e[b.FIELDS.START_LINE],column:e[b.FIELDS.START_COL]}}function C(e){return{line:e[b.FIELDS.END_LINE],column:e[b.FIELDS.END_COL]}}function P(e,t,r,n){return{start:{line:e,column:t},end:{line:r,column:n}}}function D(e){return P(e[b.FIELDS.START_LINE],e[b.FIELDS.START_COL],e[b.FIELDS.END_LINE],e[b.FIELDS.END_COL])}function I(e,t){if(e)return P(e[b.FIELDS.START_LINE],e[b.FIELDS.START_COL],t[b.FIELDS.END_LINE],t[b.FIELDS.END_COL])}function O(e,t){var r=e[t];if("string"==typeof r)return -1!==r.indexOf("\\")&&((0,k.ensureObject)(e,"raws"),e[t]=(0,k.unesc)(r),void 0===e.raws[t]&&(e.raws[t]=r)),e}function N(e,t){for(var r=-1,n=[];-1!==(r=e.indexOf(t,r+1));)n.push(r);return n}t.default=function(){function e(e,t){void 0===t&&(t={}),this.rule=e,this.options=Object.assign({lossy:!1,safe:!1},t),this.position=0,this.css="string"==typeof this.rule?this.rule:this.rule.selector,this.tokens=(0,b.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var r=I(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new a.default({source:r}),this.root.errorGenerator=this._errorGenerator();var n=new s.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(n),this.current=n,this.loop()}var t,r=e.prototype;return r._errorGenerator=function(){var e=this;return function(t,r){return"string"==typeof e.rule?Error(t):e.rule.error(t,r)}},r.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[b.FIELDS.TYPE]!==w.closeSquare;)e.push(this.currToken),this.position++;if(this.currToken[b.FIELDS.TYPE]!==w.closeSquare)return this.expected("closing square bracket",this.currToken[b.FIELDS.START_POS]);var r=e.length,n={source:P(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[b.FIELDS.START_POS]};if(1===r&&!~[w.word].indexOf(e[0][b.FIELDS.TYPE]))return this.expected("attribute",e[0][b.FIELDS.START_POS]);for(var i=0,a="",s="",o=null,l=!1;i<r;){var u=e[i],c=this.content(u),d=e[i+1];switch(u[b.FIELDS.TYPE]){case w.space:if(l=!0,this.options.lossy)break;if(o){(0,k.ensureObject)(n,"spaces",o);var p=n.spaces[o].after||"";n.spaces[o].after=p+c;var m=(0,k.getProp)(n,"raws","spaces",o,"after")||null;m&&(n.raws.spaces[o].after=m+c)}else a+=c,s+=c;break;case w.asterisk:d[b.FIELDS.TYPE]===w.equals?(n.operator=c,o="operator"):n.namespace&&("namespace"!==o||l)||!d||(a&&((0,k.ensureObject)(n,"spaces","attribute"),n.spaces.attribute.before=a,a=""),s&&((0,k.ensureObject)(n,"raws","spaces","attribute"),n.raws.spaces.attribute.before=a,s=""),n.namespace=(n.namespace||"")+c,((0,k.getProp)(n,"raws","namespace")||0)&&(n.raws.namespace+=c),o="namespace"),l=!1;break;case w.dollar:if("value"===o){var f=(0,k.getProp)(n,"raws","value");n.value+="$",f&&(n.raws.value=f+"$");break}case w.caret:d[b.FIELDS.TYPE]===w.equals&&(n.operator=c,o="operator"),l=!1;break;case w.combinator:if("~"===c&&d[b.FIELDS.TYPE]===w.equals&&(n.operator=c,o="operator"),"|"!==c){l=!1;break}d[b.FIELDS.TYPE]===w.equals?(n.operator=c,o="operator"):n.namespace||n.attribute||(n.namespace=!0),l=!1;break;case w.word:if(d&&"|"===this.content(d)&&e[i+2]&&e[i+2][b.FIELDS.TYPE]!==w.equals&&!n.operator&&!n.namespace)n.namespace=c,o="namespace";else if(n.attribute&&("attribute"!==o||l))if((n.value||""===n.value)&&("value"!==o||l||n.quoteMark)){var y="i"===c||"I"===c;(n.value||""===n.value)&&(n.quoteMark||l)?(n.insensitive=y,y&&"I"!==c||((0,k.ensureObject)(n,"raws"),n.raws.insensitiveFlag=c),o="insensitive",a&&((0,k.ensureObject)(n,"spaces","insensitive"),n.spaces.insensitive.before=a,a=""),s&&((0,k.ensureObject)(n,"raws","spaces","insensitive"),n.raws.spaces.insensitive.before=s,s="")):(n.value||""===n.value)&&(o="value",n.value+=c,n.raws.value&&(n.raws.value+=c))}else{var g=(0,k.unesc)(c),v=(0,k.getProp)(n,"raws","value")||"",x=n.value||"";n.value=x+g,n.quoteMark=null,(g!==c||v)&&((0,k.ensureObject)(n,"raws"),n.raws.value=(v||x)+c),o="value"}else a&&((0,k.ensureObject)(n,"spaces","attribute"),n.spaces.attribute.before=a,a=""),s&&((0,k.ensureObject)(n,"raws","spaces","attribute"),n.raws.spaces.attribute.before=s,s=""),n.attribute=(n.attribute||"")+c,((0,k.getProp)(n,"raws","attribute")||0)&&(n.raws.attribute+=c),o="attribute";l=!1;break;case w.str:if(!n.attribute||!n.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:u[b.FIELDS.START_POS]});var S=(0,h.unescapeValue)(c),E=S.unescaped,T=S.quoteMark;n.value=E,n.quoteMark=T,o="value",(0,k.ensureObject)(n,"raws"),n.raws.value=c,l=!1;break;case w.equals:if(!n.attribute)return this.expected("attribute",u[b.FIELDS.START_POS],c);if(n.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:u[b.FIELDS.START_POS]});n.operator=n.operator?n.operator+c:c,o="operator",l=!1;break;case w.comment:if(o)if(l||d&&d[b.FIELDS.TYPE]===w.space||"insensitive"===o){var _=(0,k.getProp)(n,"spaces",o,"after")||"",A=(0,k.getProp)(n,"raws","spaces",o,"after")||_;(0,k.ensureObject)(n,"raws","spaces",o),n.raws.spaces[o].after=A+c}else{var C=n[o]||"",D=(0,k.getProp)(n,"raws",o)||C;(0,k.ensureObject)(n,"raws"),n.raws[o]=D+c}else s+=c;break;default:return this.error('Unexpected "'+c+'" found.',{index:u[b.FIELDS.START_POS]})}i++}O(n,"attribute"),O(n,"namespace"),this.newNode(new h.default(n)),this.position++},r.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,r=[],n="",i=void 0;do if(T[this.currToken[b.FIELDS.TYPE]])this.options.lossy||(n+=this.content());else if(this.currToken[b.FIELDS.TYPE]===w.comment){var a={};n&&(a.before=n,n=""),i=new l.default({value:this.content(),source:D(this.currToken),sourceIndex:this.currToken[b.FIELDS.START_POS],spaces:a}),r.push(i)}while(++this.position<e);if(n){if(i)i.spaces.after=n;else if(!this.options.lossy){var s=this.tokens[t],o=this.tokens[this.position-1];r.push(new d.default({value:"",source:P(s[b.FIELDS.START_LINE],s[b.FIELDS.START_COL],o[b.FIELDS.END_LINE],o[b.FIELDS.END_COL]),sourceIndex:s[b.FIELDS.START_POS],spaces:{before:n,after:""}}))}}return r},r.convertWhitespaceNodesToSpace=function(e,t){var r=this;void 0===t&&(t=!1);var n="",i="";return e.forEach(function(e){var a=r.lossySpace(e.spaces.before,t),s=r.lossySpace(e.rawSpaceBefore,t);n+=a+r.lossySpace(e.spaces.after,t&&0===a.length),i+=a+e.value+r.lossySpace(e.rawSpaceAfter,t&&0===s.length)}),i===n&&(i=void 0),{space:n,rawSpace:i}},r.isNamedCombinator=function(e){return void 0===e&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][b.FIELDS.TYPE]===w.slash&&this.tokens[e+1]&&this.tokens[e+1][b.FIELDS.TYPE]===w.word&&this.tokens[e+2]&&this.tokens[e+2][b.FIELDS.TYPE]===w.slash},r.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,k.unesc)(e).toLowerCase(),r={};t!==e&&(r.value="/"+e+"/");var n=new f.default({value:"/"+t+"/",source:P(this.currToken[b.FIELDS.START_LINE],this.currToken[b.FIELDS.START_COL],this.tokens[this.position+2][b.FIELDS.END_LINE],this.tokens[this.position+2][b.FIELDS.END_COL]),sourceIndex:this.currToken[b.FIELDS.START_POS],raws:r});return this.position=this.position+3,n}this.unexpected()},r.combinator=function(){var e,t=this;if("|"===this.content())return this.namespace();var r=this.locateNextMeaningfulToken(this.position);if(r<0||this.tokens[r][b.FIELDS.TYPE]===w.comma||this.tokens[r][b.FIELDS.TYPE]===w.closeParenthesis){var n=this.parseWhitespaceEquivalentTokens(r);if(n.length>0){var i=this.current.last;if(i){var a=this.convertWhitespaceNodesToSpace(n),s=a.space,o=a.rawSpace;void 0!==o&&(i.rawSpaceAfter+=o),i.spaces.after+=s}else n.forEach(function(e){return t.newNode(e)})}return}var l=this.currToken,u=void 0;if(r>this.position&&(u=this.parseWhitespaceEquivalentTokens(r)),this.isNamedCombinator()?e=this.namedCombinator():this.currToken[b.FIELDS.TYPE]===w.combinator?(e=new f.default({value:this.content(),source:D(this.currToken),sourceIndex:this.currToken[b.FIELDS.START_POS]}),this.position++):T[this.currToken[b.FIELDS.TYPE]]||u||this.unexpected(),e){if(u){var c=this.convertWhitespaceNodesToSpace(u),d=c.space,p=c.rawSpace;e.spaces.before=d,e.rawSpaceBefore=p}}else{var h=this.convertWhitespaceNodesToSpace(u,!0),m=h.space,y=h.rawSpace;y||(y=m);var g={},v={spaces:{}};m.endsWith(" ")&&y.endsWith(" ")?(g.before=m.slice(0,m.length-1),v.spaces.before=y.slice(0,y.length-1)):m.startsWith(" ")&&y.startsWith(" ")?(g.after=m.slice(1),v.spaces.after=y.slice(1)):v.value=y,e=new f.default({value:" ",source:I(l,this.tokens[this.position-1]),sourceIndex:l[b.FIELDS.START_POS],spaces:g,raws:v})}return this.currToken&&this.currToken[b.FIELDS.TYPE]===w.space&&(e.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(e)},r.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var e=new s.default({source:{start:A(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][b.FIELDS.START_POS]});this.current.parent.append(e),this.current=e,this.position++},r.comment=function(){var e=this.currToken;this.newNode(new l.default({value:this.content(),source:D(e),sourceIndex:e[b.FIELDS.START_POS]})),this.position++},r.error=function(e,t){throw this.root.error(e,t)},r.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[b.FIELDS.START_POS]})},r.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[b.FIELDS.START_POS])},r.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[b.FIELDS.START_POS])},r.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[b.FIELDS.START_POS])},r.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[b.FIELDS.START_POS])},r.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;return this.nextToken[b.FIELDS.TYPE]===w.word?(this.position++,this.word(e)):this.nextToken[b.FIELDS.TYPE]===w.asterisk?(this.position++,this.universal(e)):void this.unexpectedPipe()},r.nesting=function(){if(this.nextToken&&"|"===this.content(this.nextToken))return void this.position++;var e=this.currToken;this.newNode(new y.default({value:this.content(),source:D(e),sourceIndex:e[b.FIELDS.START_POS]})),this.position++},r.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===v.PSEUDO){var r=new s.default({source:{start:A(this.tokens[this.position])},sourceIndex:this.tokens[this.position][b.FIELDS.START_POS]}),n=this.current;for(e.append(r),this.current=r;this.position<this.tokens.length&&t;)this.currToken[b.FIELDS.TYPE]===w.openParenthesis&&t++,this.currToken[b.FIELDS.TYPE]===w.closeParenthesis&&t--,t?this.parse():(this.current.source.end=C(this.currToken),this.current.parent.source.end=C(this.currToken),this.position++);this.current=n}else{for(var i,a=this.currToken,o="(";this.position<this.tokens.length&&t;)this.currToken[b.FIELDS.TYPE]===w.openParenthesis&&t++,this.currToken[b.FIELDS.TYPE]===w.closeParenthesis&&t--,i=this.currToken,o+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape("value",o,o):this.newNode(new d.default({value:o,source:P(a[b.FIELDS.START_LINE],a[b.FIELDS.START_COL],i[b.FIELDS.END_LINE],i[b.FIELDS.END_COL]),sourceIndex:a[b.FIELDS.START_POS]}))}if(t)return this.expected("closing parenthesis",this.currToken[b.FIELDS.START_POS])},r.pseudo=function(){for(var e=this,t="",r=this.currToken;this.currToken&&this.currToken[b.FIELDS.TYPE]===w.colon;)t+=this.content(),this.position++;return this.currToken?this.currToken[b.FIELDS.TYPE]!==w.word?this.expected(["pseudo-class","pseudo-element"],this.currToken[b.FIELDS.START_POS]):void this.splitWord(!1,function(n,i){t+=n,e.newNode(new p.default({value:t,source:I(r,e.currToken),sourceIndex:r[b.FIELDS.START_POS]})),i>1&&e.nextToken&&e.nextToken[b.FIELDS.TYPE]===w.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[b.FIELDS.START_POS]})}):this.expected(["pseudo-class","pseudo-element"],this.position-1)},r.space=function(){var e=this.content();0===this.position||this.prevToken[b.FIELDS.TYPE]===w.comma||this.prevToken[b.FIELDS.TYPE]===w.openParenthesis||this.current.nodes.every(function(e){return"comment"===e.type})?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[b.FIELDS.TYPE]===w.comma||this.nextToken[b.FIELDS.TYPE]===w.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},r.string=function(){var e=this.currToken;this.newNode(new d.default({value:this.content(),source:D(e),sourceIndex:e[b.FIELDS.START_POS]})),this.position++},r.universal=function(e){var t=this.nextToken;if(t&&"|"===this.content(t))return this.position++,this.namespace();var r=this.currToken;this.newNode(new m.default({value:this.content(),source:D(r),sourceIndex:r[b.FIELDS.START_POS]}),e),this.position++},r.splitWord=function(e,t){for(var r=this,n=this.nextToken,i=this.content();n&&~[w.dollar,w.caret,w.equals,w.word].indexOf(n[b.FIELDS.TYPE]);){this.position++;var a=this.content();if(i+=a,a.lastIndexOf("\\")===a.length-1){var s=this.nextToken;s&&s[b.FIELDS.TYPE]===w.space&&(i+=this.requiredSpace(this.content(s)),this.position++)}n=this.nextToken}var l=N(i,".").filter(function(e){var t="\\"===i[e-1],r=/^\d+\.\d+%$/.test(i);return!t&&!r}),d=N(i,"#").filter(function(e){return"\\"!==i[e-1]}),p=N(i,"#{");p.length&&(d=d.filter(function(e){return!~p.indexOf(e)}));var h=(0,g.default)(function(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,r){return r===e.indexOf(t)})}([0].concat(l,d)));h.forEach(function(n,a){var s,p=h[a+1]||i.length,m=i.slice(n,p);if(0===a&&t)return t.call(r,m,h.length);var f=r.currToken,y=f[b.FIELDS.START_POS]+h[a],g=P(f[1],f[2]+n,f[3],f[2]+(p-1));if(~l.indexOf(n)){var w={value:m.slice(1),source:g,sourceIndex:y};s=new o.default(O(w,"value"))}else if(~d.indexOf(n)){var v={value:m.slice(1),source:g,sourceIndex:y};s=new u.default(O(v,"value"))}else{var k={value:m,source:g,sourceIndex:y};O(k,"value"),s=new c.default(k)}r.newNode(s,e),e=null}),this.position++},r.word=function(e){var t=this.nextToken;return t&&"|"===this.content(t)?(this.position++,this.namespace()):this.splitWord(e)},r.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},r.parse=function(e){switch(this.currToken[b.FIELDS.TYPE]){case w.space:this.space();break;case w.comment:this.comment();break;case w.openParenthesis:this.parentheses();break;case w.closeParenthesis:e&&this.missingParenthesis();break;case w.openSquare:this.attribute();break;case w.dollar:case w.caret:case w.equals:case w.word:this.word();break;case w.colon:this.pseudo();break;case w.comma:this.comma();break;case w.asterisk:this.universal();break;case w.ampersand:this.nesting();break;case w.slash:case w.combinator:this.combinator();break;case w.str:this.string();break;case w.closeSquare:this.missingSquareBracket();case w.semicolon:this.missingBackslash();default:this.unexpected()}},r.expected=function(e,t,r){if(Array.isArray(e)){var n=e.pop();e=e.join(", ")+" or "+n}var i=/^[aeiou]/.test(e[0])?"an":"a";return r?this.error("Expected "+i+" "+e+', found "'+r+'" instead.',{index:t}):this.error("Expected "+i+" "+e+".",{index:t})},r.requiredSpace=function(e){return this.options.lossy?" ":e},r.optionalSpace=function(e){return this.options.lossy?"":e},r.lossySpace=function(e,t){return this.options.lossy?t?" ":"":e},r.parseParenthesisToken=function(e){var t=this.content(e);return e[b.FIELDS.TYPE]===w.space?this.requiredSpace(t):t},r.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||"")+t),t=!0),e.namespace=t,O(e,"namespace")),this.spaces&&(e.spaces.before=this.spaces,this.spaces=""),this.current.append(e)},r.content=function(e){return void 0===e&&(e=this.currToken),this.css.slice(e[b.FIELDS.START_POS],e[b.FIELDS.END_POS])},r.locateNextMeaningfulToken=function(e){void 0===e&&(e=this.position+1);for(var t=e;t<this.tokens.length;)if(!_[this.tokens[t][b.FIELDS.TYPE]])return t;else{t++;continue}return -1},t=[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(),e.exports=t.default},90704:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=i(e.ast);return t&&(e.placeholders.forEach(e=>{if(!hasOwnProperty.call(t,e.name)){let t=e.name;throw Error(`Error: No substitution given for "${t}". If this is not meant to be a
314
314
  placeholder you may want to consider passing one of the following options to @babel/template:
315
315
  - { placeholderPattern: false, placeholderWhitelist: new Set(['${t}'])}
@@ -328,7 +328,7 @@ export { tailwindConfig };`,loader:"tsx",resolveDir:i().dirname(t)},platform:"no
328
328
  <!--$-->
329
329
  </head>
330
330
  <body
331
- style='margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;background-color:rgb(255,255,255);padding-left:0.5rem;padding-right:0.5rem;font-family:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"'>
331
+ style='margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;background-color:rgb(255,255,255);padding-left:8px;padding-right:8px;font-family:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"'>
332
332
  <div
333
333
  style="display:none;overflow:hidden;line-height:1px;opacity:0;max-height:0;max-width:0"
334
334
  data-skip-in-text="true">
@@ -363,14 +363,14 @@ export { tailwindConfig };`,loader:"tsx",resolveDir:i().dirname(t)},platform:"no
363
363
  alt="Vercel Logo"
364
364
  height="37"
365
365
  src="/static/vercel-logo.png"
366
- style="margin-left:auto;margin-right:auto;margin-top:0px;margin-bottom:0px;display:block;outline:none;border:none;text-decoration:none"
366
+ style="margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;display:block;outline:none;border:none;text-decoration:none"
367
367
  width="40" />
368
368
  </td>
369
369
  </tr>
370
370
  </tbody>
371
371
  </table>
372
372
  <h1
373
- style="margin-left:0px;margin-right:0px;margin-top:30px;margin-bottom:30px;padding:0px;text-align:center;font-weight:400;font-size:24px;color:rgb(0,0,0)">
373
+ style="margin-left:0;margin-right:0;margin-top:30px;margin-bottom:30px;padding:0;text-align:center;font-weight:400;font-size:24px;color:rgb(0,0,0)">
374
374
  Join <strong>Enigma</strong> on <strong>Vercel</strong>
375
375
  </h1>
376
376
  <p
@@ -477,7 +477,7 @@ export { tailwindConfig };`,loader:"tsx",resolveDir:i().dirname(t)},platform:"no
477
477
  >
478
478
  </p>
479
479
  <hr
480
- style="margin-left:0px;margin-right:0px;margin-top:26px;margin-bottom:26px;width:100%;border-width:1px;border-color:rgb(234,234,234);border-style:solid;border:none;border-top:1px solid #eaeaea" />
480
+ style="margin-left:0;margin-right:0;margin-top:26px;margin-bottom:26px;width:100%;border-width:1px;border-color:rgb(234,234,234);border-style:solid;border:none;border-top:1px solid #eaeaea" />
481
481
  <p
482
482
  style="color:rgb(102,102,102);font-size:12px;line-height:24px;margin-top:16px;margin-bottom:16px">
483
483
  This invitation was intended for<!-- -->
@@ -497,7 +497,7 @@ export { tailwindConfig };`,loader:"tsx",resolveDir:i().dirname(t)},platform:"no
497
497
  </body>
498
498
  </html>
499
499
  "
500
- `},92451:(e,t,r)=>{e.exports=function(e){function t(e){let r,i,a,s=null;function o(...e){if(!o.enabled)return;let n=Number(new Date);o.diff=n-(r||n),o.prev=r,o.curr=n,r=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,n)=>{if("%%"===r)return"%";i++;let a=t.formatters[n];if("function"==typeof a){let t=e[i];r=a.call(o,t),e.splice(i,1),i--}return r}),t.formatArgs.call(o,e),(o.log||t.log).apply(o,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=n,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,a=t.enabled(e)),a),set:e=>{s=e}}),"function"==typeof t.init&&t.init(o),o}function n(e,r){let n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function i(e,t){let r=0,n=0,i=-1,a=0;for(;r<e.length;)if(n<t.length&&(t[n]===e[r]||"*"===t[n]))"*"===t[n]?(i=n,a=r):r++,n++;else{if(-1===i)return!1;n=i+1,r=++a}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let r of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(" ",",").split(",").filter(Boolean)))"-"===r[0]?t.skips.push(r.slice(1)):t.names.push(r)},t.enabled=function(e){for(let r of t.skips)if(i(e,r))return!1;for(let r of t.names)if(i(e,r))return!0;return!1},t.humanize=r(83035),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},92464:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.defineProperties,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&h(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&h(e,r,t[r]);return e},f=(e,t)=>a(e,o(t)),y=(e,t)=>{var r={};for(var n in e)d.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))0>t.indexOf(n)&&p.call(e,n)&&(r[n]=e[n]);return r},g=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))d.call(e,a)||a===r||i(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable});return e},b={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(b,{Link:()=>k}),e.exports=g(i({},"__esModule",{value:!0}),b);var w=((e,t,r)=>(r=null!=e?n(c(e)):{},g(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(64949)),v=r(82348),k=w.forwardRef((e,t)=>{var{target:r="_blank",style:n}=e,i=y(e,["target","style"]);return(0,v.jsx)("a",f(m({},i),{ref:t,style:m({color:"#067df7",textDecorationLine:"none"},n),target:r,children:i.children}))});k.displayName="Link"},92900:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TaggedTemplateExpression=function(e){this.print(e.tag),this.print(e.typeParameters),this.print(e.quasi)},t.TemplateElement=function(){throw Error("TemplateElement printing is handled in TemplateLiteral")},t.TemplateLiteral=function(e){this._printTemplate(e,e.expressions)},t._printTemplate=function(e,t){let r=e.quasis,n="`";for(let i=0;i<r.length-1;i++)if(n+=r[i].value.raw,this.token(n+"${",!0),this.print(t[i]),n="}",this.tokenMap){let t=this.tokenMap.findMatching(e,"}",i);t&&this._catchUpTo(t.loc.start)}n+=r[r.length-1].value.raw,this.token(n+"`",!0)}},93137:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(71219);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n.parse}})},93230:(e,t,r)=>{"use strict";async function*n(e){let t=e.getReader();try{for(;;){let{value:e,done:r}=await t.read();if(r)break;yield e}}finally{t.releaseLock()}}r.r(t),r.d(t,{loadStream:()=>n})},93297:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierChar=c,t.isIdentifierName=function(e){let t=!0;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if((64512&n)==55296&&r+1<e.length){let t=e.charCodeAt(++r);(64512&t)==56320&&(n=65536+((1023&n)<<10)+(1023&t))}if(t){if(t=!1,!u(n))return!1}else if(!c(n))return!1}return!t},t.isIdentifierStart=u;let r="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",n="\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",i=RegExp("["+r+"]"),a=RegExp("["+r+n+"]");r=n=null;let s=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function l(e,t){let r=65536;for(let n=0,i=t.length;n<i&&!((r+=t[n])>e);n+=2)if((r+=t[n+1])>=e)return!0;return!1}function u(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&i.test(String.fromCharCode(e)):l(e,s)))}function c(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&a.test(String.fromCharCode(e)):l(e,s)||l(e,o))))}},93867:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){let l=[],u=!0;for(let c of t)if((0,i.isEmptyStatement)(c)||(u=!1),(0,i.isExpression)(c))l.push(c);else if((0,i.isExpressionStatement)(c))l.push(c.expression);else if((0,i.isVariableDeclaration)(c)){if("var"!==c.kind)return;for(let e of c.declarations){let t=(0,n.default)(e);for(let e of Object.keys(t))r.push({kind:c.kind,id:(0,o.default)(t[e])});e.init&&l.push((0,a.assignmentExpression)("=",e.id,e.init))}u=!0}else if((0,i.isIfStatement)(c)){let t=c.consequent?e([c.consequent],r):(0,s.buildUndefinedNode)(),n=c.alternate?e([c.alternate],r):(0,s.buildUndefinedNode)();if(!t||!n)return;l.push((0,a.conditionalExpression)(c.test,t,n))}else if((0,i.isBlockStatement)(c)){let t=e(c.body,r);if(!t)return;l.push(t)}else{if(!(0,i.isEmptyStatement)(c))return;0===t.indexOf(c)&&(u=!0)}return(u&&l.push((0,s.buildUndefinedNode)()),1===l.length)?l[0]:(0,a.sequenceExpression)(l)};var n=r(19179),i=r(48390),a=r(95285),s=r(40623),o=r(16849)},94063:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isKeyword=function(e){return n.has(e)},t.isReservedWord=s,t.isStrictBindOnlyReservedWord=l,t.isStrictBindReservedWord=function(e,t){return o(e,t)||l(e)},t.isStrictReservedWord=o;let r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},n=new Set(r.keyword),i=new Set(r.strict),a=new Set(r.strictBind);function s(e,t){return t&&"await"===e||"enum"===e}function o(e,t){return s(e,t)||i.has(e)}function l(e){return a.has(e)}},94439:(e,t,r)=>{let{AtRule:n,Rule:i}=r(48817),a=r(12337);function s(e,t){let r;try{a(e=>{r=e}).processSync(e)}catch(r){if(e.includes(":"))throw t?t.error("Missed semicolon"):r;throw t?t.error(r.message):r}return r.at(0)}function o(e,t){let r=[];return e.selectors.forEach(n=>{let i=s(n,e);t.selectors.forEach(e=>{if(!e)return;let n=s(e,t);!function e(t,r){let n=!1;return t.each(t=>{if("nesting"===t.type){let e=r.clone({});"&"!==t.value?t.replaceWith(s(t.value.replace("&",e.toString()))):t.replaceWith(e),n=!0}else"nodes"in t&&t.nodes&&e(t,r)&&(n=!0)}),n}(n,i)&&(n.prepend(a.combinator({value:" "})),n.prepend(i.clone({}))),r.push(n.toString())})}),r}function l(e,t){let r=e.prev();for(t.after(e);r&&"comment"===r.type;){let e=r.prev();t.after(r),r=e}return e}function u(e,t,r){let n=new i({nodes:[],selector:e});return n.append(t),r.after(n),n}function c(e,t){let r={};for(let t of e)r[t]=!0;if(t)for(let e of t)r[e.replace(/^@/,"")]=!0;return r}function d(e){let t=e[h];if(t){let r,i,a,s,o=e.nodes,l=-1,u=function(e){let t=[],r=e.parent;for(;r&&r instanceof n;)t.push(r),r=r.parent;return t}(e);if(u.forEach((e,n)=>{if(t(e.name))r=e,l=n,a=s;else{let t=s;s=e.clone({nodes:[]}),t&&s.append(t),i=i||s}}),r?a?(i.append(o),r.after(a)):r.after(o):e.after(o),e.next()&&r){let t;u.slice(0,l+1).forEach((r,n,i)=>{let a=t;t=r.clone({nodes:[]}),a&&t.append(a);let s=[],o=(i[n-1]||e).next();for(;o;)s.push(o),o=o.next();t.append(s)}),t&&(a||o[o.length-1]).after(t)}}else e.after(e.nodes);e.remove()}let p=Symbol("rootRuleMergeSel"),h=Symbol("rootRuleEscapes"),m=Symbol("hasRootRule");e.exports=(e={})=>{let t=c(["media","supports","layer","container","starting-style"],e.bubble),r=function e(r,n,i,a=i){let s=[];if(n.each(l=>{"rule"===l.type&&i?a&&(l.selectors=o(r,l)):"atrule"===l.type&&l.nodes?t[l.name]?e(r,l,a):!1!==n[p]&&s.push(l):s.push(l)}),i&&s.length){let e=r.clone({nodes:[]});for(let t of s)e.append(t);n.prepend(e)}},n=c(["document","font-face","keyframes","-webkit-keyframes","-moz-keyframes"],e.unwrap),a=(e.rootRuleName||"at-root").replace(/^@/,""),s=e.preserveEmpty;return{Once(e){e.walkAtRules(a,t=>{!function(e){let{params:t}=e,{escapes:r,selector:n,type:a}=function(e){let t=(e=e.trim()).match(/^\((.*)\)$/);if(!t)return{selector:e,type:"basic"};let r=t[1].match(/^(with(?:out)?):(.+)$/);if(r){let e="with"===r[1],t=Object.fromEntries(r[2].trim().split(/\s+/).map(e=>[e,!0]));if(e&&t.all)return{type:"noop"};let n=e=>!!t[e];return t.all?n=()=>!0:e&&(n=e=>"all"!==e&&!t[e]),{escapes:n,type:"withrules"}}return{type:"unknown"}}(t);if("unknown"===a)throw e.error(`Unknown @${e.name} parameter ${JSON.stringify(t)}`);if("basic"===a&&n){let t=new i({nodes:e.nodes,selector:n});e.removeAll(),e.append(t)}e[h]=r,e[p]=r?!r("all"):"noop"===a}(t),e[m]=!0})},postcssPlugin:"postcss-nested",RootExit(e){e[m]&&(e.walkAtRules(a,d),e[m]=!1)},Rule(e){let i=!1,c=e,d=!1,h=[];e.each(s=>{"rule"===s.type?(h.length&&(c=u(e.selector,h,c),h=[]),d=!0,i=!0,s.selectors=o(e,s),c=l(s,c)):"atrule"===s.type?(h.length&&(c=u(e.selector,h,c),h=[]),s.name===a?(i=!0,r(e,s,!0,s[p]),c=l(s,c)):t[s.name]?(d=!0,i=!0,r(e,s,!0),c=l(s,c)):n[s.name]?(d=!0,i=!0,r(e,s,!1),c=l(s,c)):d&&h.push(s)):"decl"===s.type&&d&&h.push(s)}),h.length&&(c=u(e.selector,h,c)),i&&!0!==s&&(e.raws.semicolon=!0,0===e.nodes.length&&e.remove())}}},e.exports.postcss=!0},94610:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.generate=s;var n=r(91798),i=r(4190);function a(e,t,r){var n;if(t.experimental_preserveFormat){if("string"!=typeof e)throw Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!t.retainLines)throw Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(t.compact&&"auto"!==t.compact)throw Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(t.minified)throw Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(t.jsescOption)throw Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(r.tokens))throw Error("`experimental_preserveFormat` requires the AST to have attatched the token of the input code. Make sure to enable the `tokens: true` parser option.")}let i={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,preserveFormat:t.experimental_preserveFormat,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:null==t.comments||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},t.jsescOption),topicToken:t.topicToken,importAttributesKeyword:t.importAttributesKeyword};i.decoratorsBeforeExport=t.decoratorsBeforeExport,i.jsescOption.json=t.jsonCompatibleStrings,i.recordAndTupleSyntaxType=null!=(n=t.recordAndTupleSyntaxType)?n:"hash",i.minified?(i.compact=!0,i.shouldPrintComment=i.shouldPrintComment||(()=>i.comments)):i.shouldPrintComment=i.shouldPrintComment||(e=>i.comments||e.includes("@license")||e.includes("@preserve")),"auto"===i.compact&&(i.compact="string"==typeof e&&e.length>5e5,i.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${t.filename} as it exceeds the max of 500KB.`)),(i.compact||i.preserveFormat)&&(i.indent.adjustMultilineComment=!1);let{auxiliaryCommentBefore:a,auxiliaryCommentAfter:s,shouldPrintComment:o}=i;return a&&!o(a)&&(i.auxiliaryCommentBefore=void 0),s&&!o(s)&&(i.auxiliaryCommentAfter=void 0),i}function s(e,t={},r){let o=a(r,t,e),l=t.sourceMaps?new n.default(t,r):null;return new i.default(o,l,e.tokens,"string"==typeof r?r:null).generate(e)}t.CodeGenerator=class{constructor(e,t={},r){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=e,this._format=a(r,t,e),this._map=t.sourceMaps?new n.default(t,r):null}generate(){return new i.default(this._format,this._map).generate(this._ast)}},t.default=s},94735:e=>{"use strict";e.exports=require("events")},94737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._containerInsert=E,t._containerInsertAfter=_,t._containerInsertBefore=T,t._verifyNodeList=P,t.insertAfter=function(e){if(s._assertUnremoved.call(this),this.isSequenceExpression())return A(this.get("expressions")).insertAfter(e);let t=P.call(this,e),{parentPath:r,parent:n}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||b(n)||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertAfter(t.map(e=>w(e)?f(e):e));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&"init"===this.key){if(this.node){let e=this.node,{scope:n}=this;if(n.path.isPattern())return c(e),this.replaceWith(h(u([],e),[])),this.get("callee.body").insertAfter(t),[this];if(function e(t){return k(t.parent)&&(A(t.parent.expressions)!==t.node||e(t.parentPath))}(this))t.unshift(e);else if(g(e)&&x(e.callee))t.unshift(e),t.push(S());else if(function(e,t){if(!y(e)||!v(e.left))return!1;let r=t.getBlockParent();return r.hasOwnBinding(e.left.name)&&r.getOwnBinding(e.left.name).constantViolations.length<=1}(e,n))t.unshift(e),t.push(m(e.left));else if(n.isPure(e,!0))t.push(e);else{r.isMethod({computed:!0,key:e})&&(n=n.parent);let i=n.generateDeclaredUidIdentifier();t.unshift(f(d("=",m(i),e))),t.push(f(m(i)))}}return this.replaceExpressionWithStatements(t)}if(Array.isArray(this.container))return _.call(this,t);if(this.isStatementOrBlock()){let e=this.node,r=e&&(!this.isExpressionStatement()||null!=e.expression);return this.replaceWith(p(r?[e]:[])),this.pushContainer("body",t)}throw Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},t.insertBefore=function(e){s._assertUnremoved.call(this);let t=P.call(this,e),{parentPath:r,parent:n}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||b(n)||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertBefore(t);if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&"init"===this.key)return this.node&&t.push(this.node),this.replaceExpressionWithStatements(t);if(Array.isArray(this.container))return T.call(this,t);if(this.isStatementOrBlock()){let e=this.node,r=e&&(!this.isExpressionStatement()||null!=e.expression);return this.replaceWith(p(r?[e]:[])),this.unshiftContainer("body",t)}throw Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},t.pushContainer=function(e,t){s._assertUnremoved.call(this);let r=P.call(this,t),n=this.node[e];return i.default.get({parentPath:this,parent:this.node,container:n,listKey:e,key:n.length}).setContext(this.context).replaceWithMultiple(r)},t.unshiftContainer=function(e,t){s._assertUnremoved.call(this),t=P.call(this,t);let r=i.default.get({parentPath:this,parent:this.node,container:this.node[e],listKey:e,key:0}).setContext(this.context);return T.call(r,t)},t.updateSiblingKeys=C;var n=r(72063),i=r(13133),a=r(43278),s=r(40305),o=r(40838),l=r(47281);let{arrowFunctionExpression:u,assertExpression:c,assignmentExpression:d,blockStatement:p,callExpression:h,cloneNode:m,expressionStatement:f,isAssignmentExpression:y,isCallExpression:g,isExportNamedDeclaration:b,isExpression:w,isIdentifier:v,isSequenceExpression:k,isSuper:x,thisExpression:S}=o;function E(e,t){C.call(this,e,t.length);let r=[];this.container.splice(e,0,...t);for(let i=0;i<t.length;i++){var n;let t=e+i,s=this.getSibling(t);r.push(s),null!=(n=this.context)&&n.queue&&a.pushContext.call(s,this.context)}let i=a._getQueueContexts.call(this);for(let e of r)for(let t of(a.setScope.call(e),e.debug("Inserted."),i))t.maybeQueue(e,!0);return r}function T(e){return E.call(this,this.key,e)}function _(e){return E.call(this,this.key+1,e)}let A=e=>e[e.length-1];function C(e,t){if(this.parent)for(let[,r]of(0,n.getCachedPaths)(this.hub,this.parent)||[])"number"==typeof r.key&&r.container===this.container&&r.key>=e&&(r.key+=t)}function P(e){if(!e)return[];Array.isArray(e)||(e=[e]);for(let t=0;t<e.length;t++){let r,n=e[t];if(n?"object"!=typeof n?r="contains a non-object node":n.type?n instanceof i.default&&(r="has a NodePath when it expected a raw object"):r="without a type":r="has falsy node",r){let e=Array.isArray(n)?"array":typeof n;throw Error(`Node list ${r} with the index of ${t} and type of ${e}`)}}return e}t.hoist=function(e=this.scope){return new l.default(this,e).run()}},94867:(e,t)=>{function r(e){function t(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}return function e(r,n,i,a){if(i<a){var s=Math.round(i+Math.random()*(a-i)),o=i-1;t(r,s,a);for(var l=r[a],u=i;u<a;u++)0>=n(r[u],l,!1)&&t(r,o+=1,u);t(r,o+1,u);var c=o+1;e(r,n,i,c-1),e(r,n,c+1,a)}}}let n=new WeakMap;t.g=function(e,t,i=0){let a=n.get(t);if(void 0===a){let e;e=r.toString(),a=Function(`return ${e}`)()(t),n.set(t,a)}a(e,t,i,e.length-1)}},94873:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isVariableDeclaration)(e)&&("var"!==e.kind||e[i])};var n=r(48390),i=Symbol.for("var used to be block scoped")},95074:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e)&&!i.has(e)};var n=r(84937);let i=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"])},95217:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(90690));t.default=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}var t=e.prototype;return t._shouldUpdateSelector=function(e,t){return void 0===t&&(t={}),!1!==Object.assign({},this.options,t).updateSelector&&"string"!=typeof e},t._isLossy=function(e){return void 0===e&&(e={}),!1===Object.assign({},this.options,e).lossless},t._root=function(e,t){return void 0===t&&(t={}),new n.default(e,this._parseOptions(t)).root},t._parseOptions=function(e){return{lossy:this._isLossy(e)}},t._run=function(e,t){var r=this;return void 0===t&&(t={}),new Promise(function(n,i){try{var a=r._root(e,t);Promise.resolve(r.func(a)).then(function(n){var i=void 0;return r._shouldUpdateSelector(e,t)&&(e.selector=i=a.toString()),{transform:n,root:a,string:i}}).then(n,i)}catch(e){i(e);return}})},t._runSync=function(e,t){void 0===t&&(t={});var r=this._root(e,t),n=this.func(r);if(n&&"function"==typeof n.then)throw Error("Selector processor returned a promise to a synchronous call.");var i=void 0;return t.updateSelector&&"string"!=typeof e&&(e.selector=i=r.toString()),{transform:n,root:r,string:i}},t.ast=function(e,t){return this._run(e,t).then(function(e){return e.root})},t.astSync=function(e,t){return this._runSync(e,t).root},t.transform=function(e,t){return this._run(e,t).then(function(e){return e.transform})},t.transformSync=function(e,t){return this._runSync(e,t).transform},t.process=function(e,t){return this._run(e,t).then(function(e){return e.string||e.root.toString()})},t.processSync=function(e,t){var r=this._runSync(e,t);return r.string||r.root.toString()},e}(),e.exports=t.default},95285:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(61940);Object.keys(n).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))});var i=r(85713);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))})},95729:(e,t,r)=>{"use strict";function n(e,t,r,n,i){for(t=t.split?t.split("."):t,n=0;n<t.length;n++)e=e?e[t[n]]:i;return e===i?r:e}r.r(t),r.d(t,{default:()=>n})},96321:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=e.value.split(/\r\n|\n|\r/),a=0;for(let e=0;e<r.length;e++)/[^ \t]/.exec(r[e])&&(a=e);let s="";for(let e=0;e<r.length;e++){let t=r[e],n=0===e,i=e===r.length-1,o=e===a,l=t.replace(/\t/g," ");n||(l=l.replace(/^ +/,"")),i||(l=l.replace(/ +$/,"")),l&&(o||(l+=" "),s+=l)}s&&t.push((0,i.inherits)((0,n.stringLiteral)(s),e))};var n=r(95285),i=r(40838)},96601:(e,t,r)=>{"use strict";r.r(t),r.d(t,{renderingUtilitiesExporter:()=>o});var n=r(73024),i=r(76760),a=r.n(i),s=r(70977);let o=e=>({name:"rendering-utilities-exporter",setup:t=>{t.onLoad({filter:new RegExp(e.map(e=>(0,s.escapeStringForRegex)(e)).join("|"))},async({path:e})=>({contents:`${await n.promises.readFile(e,"utf8")};
500
+ `},92451:(e,t,r)=>{e.exports=function(e){function t(e){let r,i,a,s=null;function o(...e){if(!o.enabled)return;let n=Number(new Date);o.diff=n-(r||n),o.prev=r,o.curr=n,r=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,n)=>{if("%%"===r)return"%";i++;let a=t.formatters[n];if("function"==typeof a){let t=e[i];r=a.call(o,t),e.splice(i,1),i--}return r}),t.formatArgs.call(o,e),(o.log||t.log).apply(o,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=n,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,a=t.enabled(e)),a),set:e=>{s=e}}),"function"==typeof t.init&&t.init(o),o}function n(e,r){let n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function i(e,t){let r=0,n=0,i=-1,a=0;for(;r<e.length;)if(n<t.length&&(t[n]===e[r]||"*"===t[n]))"*"===t[n]?(i=n,a=r):r++,n++;else{if(-1===i)return!1;n=i+1,r=++a}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let r of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(" ",",").split(",").filter(Boolean)))"-"===r[0]?t.skips.push(r.slice(1)):t.names.push(r)},t.enabled=function(e){for(let r of t.skips)if(i(e,r))return!1;for(let r of t.names)if(i(e,r))return!0;return!1},t.humanize=r(83035),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},92464:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.defineProperties,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&h(e,r,t[r]);if(u)for(var r of u(t))p.call(t,r)&&h(e,r,t[r]);return e},f=(e,t)=>a(e,o(t)),y=(e,t)=>{var r={};for(var n in e)d.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))0>t.indexOf(n)&&p.call(e,n)&&(r[n]=e[n]);return r},g=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of l(t))d.call(e,a)||a===r||i(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable});return e},b={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(b,{Link:()=>k}),e.exports=g(i({},"__esModule",{value:!0}),b);var w=((e,t,r)=>(r=null!=e?n(c(e)):{},g(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(64949)),v=r(82348),k=w.forwardRef((e,t)=>{var{target:r="_blank",style:n}=e,i=y(e,["target","style"]);return(0,v.jsx)("a",f(m({},i),{ref:t,style:m({color:"#067df7",textDecorationLine:"none"},n),target:r,children:i.children}))});k.displayName="Link"},92900:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TaggedTemplateExpression=function(e){this.print(e.tag),this.print(e.typeParameters),this.print(e.quasi)},t.TemplateElement=function(){throw Error("TemplateElement printing is handled in TemplateLiteral")},t.TemplateLiteral=function(e){this._printTemplate(e,e.expressions)},t._printTemplate=function(e,t){let r=e.quasis,n="`";for(let i=0;i<r.length-1;i++)if(n+=r[i].value.raw,this.token(n+"${",!0),this.print(t[i]),n="}",this.tokenMap){let t=this.tokenMap.findMatching(e,"}",i);t&&this._catchUpTo(t.loc.start)}n+=r[r.length-1].value.raw,this.token(n+"`",!0)}},93137:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(71219);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n.parse}})},93230:(e,t,r)=>{"use strict";async function*n(e){let t=e.getReader();try{for(;;){let{value:e,done:r}=await t.read();if(r)break;yield e}}finally{t.releaseLock()}}r.r(t),r.d(t,{loadStream:()=>n})},93297:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierChar=c,t.isIdentifierName=function(e){let t=!0;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if((64512&n)==55296&&r+1<e.length){let t=e.charCodeAt(++r);(64512&t)==56320&&(n=65536+((1023&n)<<10)+(1023&t))}if(t){if(t=!1,!u(n))return!1}else if(!c(n))return!1}return!t},t.isIdentifierStart=u;let r="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",n="\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",i=RegExp("["+r+"]"),a=RegExp("["+r+n+"]");r=n=null;let s=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function l(e,t){let r=65536;for(let n=0,i=t.length;n<i&&!((r+=t[n])>e);n+=2)if((r+=t[n+1])>=e)return!0;return!1}function u(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&i.test(String.fromCharCode(e)):l(e,s)))}function c(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&a.test(String.fromCharCode(e)):l(e,s)||l(e,o))))}},93867:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){let l=[],u=!0;for(let c of t)if((0,i.isEmptyStatement)(c)||(u=!1),(0,i.isExpression)(c))l.push(c);else if((0,i.isExpressionStatement)(c))l.push(c.expression);else if((0,i.isVariableDeclaration)(c)){if("var"!==c.kind)return;for(let e of c.declarations){let t=(0,n.default)(e);for(let e of Object.keys(t))r.push({kind:c.kind,id:(0,o.default)(t[e])});e.init&&l.push((0,a.assignmentExpression)("=",e.id,e.init))}u=!0}else if((0,i.isIfStatement)(c)){let t=c.consequent?e([c.consequent],r):(0,s.buildUndefinedNode)(),n=c.alternate?e([c.alternate],r):(0,s.buildUndefinedNode)();if(!t||!n)return;l.push((0,a.conditionalExpression)(c.test,t,n))}else if((0,i.isBlockStatement)(c)){let t=e(c.body,r);if(!t)return;l.push(t)}else{if(!(0,i.isEmptyStatement)(c))return;0===t.indexOf(c)&&(u=!0)}return(u&&l.push((0,s.buildUndefinedNode)()),1===l.length)?l[0]:(0,a.sequenceExpression)(l)};var n=r(19179),i=r(48390),a=r(95285),s=r(40623),o=r(16849)},94063:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isKeyword=function(e){return n.has(e)},t.isReservedWord=s,t.isStrictBindOnlyReservedWord=l,t.isStrictBindReservedWord=function(e,t){return o(e,t)||l(e)},t.isStrictReservedWord=o;let r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},n=new Set(r.keyword),i=new Set(r.strict),a=new Set(r.strictBind);function s(e,t){return t&&"await"===e||"enum"===e}function o(e,t){return s(e,t)||i.has(e)}function l(e){return a.has(e)}},94439:(e,t,r)=>{let{AtRule:n,Rule:i}=r(48817),a=r(12337);function s(e,t){let r;try{a(e=>{r=e}).processSync(e)}catch(r){if(e.includes(":"))throw t?t.error("Missed semicolon"):r;throw t?t.error(r.message):r}return r.at(0)}function o(e,t){let r=[];return e.selectors.forEach(n=>{let i=s(n,e);t.selectors.forEach(e=>{if(!e)return;let n=s(e,t);!function e(t,r){let n=!1;return t.each(t=>{if("nesting"===t.type){let e=r.clone({});"&"!==t.value?t.replaceWith(s(t.value.replace("&",e.toString()))):t.replaceWith(e),n=!0}else"nodes"in t&&t.nodes&&e(t,r)&&(n=!0)}),n}(n,i)&&(n.prepend(a.combinator({value:" "})),n.prepend(i.clone({}))),r.push(n.toString())})}),r}function l(e,t){let r=e.prev();for(t.after(e);r&&"comment"===r.type;){let e=r.prev();t.after(r),r=e}return e}function u(e,t,r){let n=new i({nodes:[],selector:e});return n.append(t),r.after(n),n}function c(e,t){let r={};for(let t of e)r[t]=!0;if(t)for(let e of t)r[e.replace(/^@/,"")]=!0;return r}function d(e){let t=e[h];if(t){let r,i,a,s,o=e.nodes,l=-1,u=function(e){let t=[],r=e.parent;for(;r&&r instanceof n;)t.push(r),r=r.parent;return t}(e);if(u.forEach((e,n)=>{if(t(e.name))r=e,l=n,a=s;else{let t=s;s=e.clone({nodes:[]}),t&&s.append(t),i=i||s}}),r?a?(i.append(o),r.after(a)):r.after(o):e.after(o),e.next()&&r){let t;u.slice(0,l+1).forEach((r,n,i)=>{let a=t;t=r.clone({nodes:[]}),a&&t.append(a);let s=[],o=(i[n-1]||e).next();for(;o;)s.push(o),o=o.next();t.append(s)}),t&&(a||o[o.length-1]).after(t)}}else e.after(e.nodes);e.remove()}let p=Symbol("rootRuleMergeSel"),h=Symbol("rootRuleEscapes"),m=Symbol("hasRootRule");e.exports=(e={})=>{let t=c(["media","supports","layer","container","starting-style"],e.bubble),r=function e(r,n,i,a=i){let s=[];if(n.each(l=>{"rule"===l.type&&i?a&&(l.selectors=o(r,l)):"atrule"===l.type&&l.nodes?t[l.name]?e(r,l,a):!1!==n[p]&&s.push(l):s.push(l)}),i&&s.length){let e=r.clone({nodes:[]});for(let t of s)e.append(t);n.prepend(e)}},n=c(["document","font-face","keyframes","-webkit-keyframes","-moz-keyframes"],e.unwrap),a=(e.rootRuleName||"at-root").replace(/^@/,""),s=e.preserveEmpty;return{Once(e){e.walkAtRules(a,t=>{!function(e){let{params:t}=e,{escapes:r,selector:n,type:a}=function(e){let t=(e=e.trim()).match(/^\((.*)\)$/);if(!t)return{selector:e,type:"basic"};let r=t[1].match(/^(with(?:out)?):(.+)$/);if(r){let e="with"===r[1],t=Object.fromEntries(r[2].trim().split(/\s+/).map(e=>[e,!0]));if(e&&t.all)return{type:"noop"};let n=e=>!!t[e];return t.all?n=()=>!0:e&&(n=e=>"all"!==e&&!t[e]),{escapes:n,type:"withrules"}}return{type:"unknown"}}(t);if("unknown"===a)throw e.error(`Unknown @${e.name} parameter ${JSON.stringify(t)}`);if("basic"===a&&n){let t=new i({nodes:e.nodes,selector:n});e.removeAll(),e.append(t)}e[h]=r,e[p]=r?!r("all"):"noop"===a}(t),e[m]=!0})},postcssPlugin:"postcss-nested",RootExit(e){e[m]&&(e.walkAtRules(a,d),e[m]=!1)},Rule(e){let i=!1,c=e,d=!1,h=[];e.each(s=>{"rule"===s.type?(h.length&&(c=u(e.selector,h,c),h=[]),d=!0,i=!0,s.selectors=o(e,s),c=l(s,c)):"atrule"===s.type?(h.length&&(c=u(e.selector,h,c),h=[]),s.name===a?(i=!0,r(e,s,!0,s[p]),c=l(s,c)):t[s.name]?(d=!0,i=!0,r(e,s,!0),c=l(s,c)):n[s.name]?(d=!0,i=!0,r(e,s,!1),c=l(s,c)):d&&h.push(s)):"decl"===s.type&&d&&h.push(s)}),h.length&&(c=u(e.selector,h,c)),i&&!0!==s&&(e.raws.semicolon=!0,0===e.nodes.length&&e.remove())}}},e.exports.postcss=!0},94610:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.generate=s;var n=r(91798),i=r(4190);function a(e,t,r){var n;if(t.experimental_preserveFormat){if("string"!=typeof e)throw Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!t.retainLines)throw Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(t.compact&&"auto"!==t.compact)throw Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(t.minified)throw Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(t.jsescOption)throw Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(r.tokens))throw Error("`experimental_preserveFormat` requires the AST to have attatched the token of the input code. Make sure to enable the `tokens: true` parser option.")}let i={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,preserveFormat:t.experimental_preserveFormat,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:null==t.comments||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},t.jsescOption),topicToken:t.topicToken,importAttributesKeyword:t.importAttributesKeyword};i.decoratorsBeforeExport=t.decoratorsBeforeExport,i.jsescOption.json=t.jsonCompatibleStrings,i.recordAndTupleSyntaxType=null!=(n=t.recordAndTupleSyntaxType)?n:"hash",i.minified?(i.compact=!0,i.shouldPrintComment=i.shouldPrintComment||(()=>i.comments)):i.shouldPrintComment=i.shouldPrintComment||(e=>i.comments||e.includes("@license")||e.includes("@preserve")),"auto"===i.compact&&(i.compact="string"==typeof e&&e.length>5e5,i.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${t.filename} as it exceeds the max of 500KB.`)),(i.compact||i.preserveFormat)&&(i.indent.adjustMultilineComment=!1);let{auxiliaryCommentBefore:a,auxiliaryCommentAfter:s,shouldPrintComment:o}=i;return a&&!o(a)&&(i.auxiliaryCommentBefore=void 0),s&&!o(s)&&(i.auxiliaryCommentAfter=void 0),i}function s(e,t={},r){let o=a(r,t,e),l=t.sourceMaps?new n.default(t,r):null;return new i.default(o,l,e.tokens,"string"==typeof r?r:null).generate(e)}t.CodeGenerator=class{constructor(e,t={},r){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=e,this._format=a(r,t,e),this._map=t.sourceMaps?new n.default(t,r):null}generate(){return new i.default(this._format,this._map).generate(this._ast)}},t.default=s},94735:e=>{"use strict";e.exports=require("events")},94737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._containerInsert=E,t._containerInsertAfter=_,t._containerInsertBefore=T,t._verifyNodeList=P,t.insertAfter=function(e){if(s._assertUnremoved.call(this),this.isSequenceExpression())return A(this.get("expressions")).insertAfter(e);let t=P.call(this,e),{parentPath:r,parent:n}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||b(n)||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertAfter(t.map(e=>w(e)?f(e):e));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&"init"===this.key){if(this.node){let e=this.node,{scope:n}=this;if(n.path.isPattern())return c(e),this.replaceWith(h(u([],e),[])),this.get("callee.body").insertAfter(t),[this];if(function e(t){return k(t.parent)&&(A(t.parent.expressions)!==t.node||e(t.parentPath))}(this))t.unshift(e);else if(g(e)&&x(e.callee))t.unshift(e),t.push(S());else if(function(e,t){if(!y(e)||!v(e.left))return!1;let r=t.getBlockParent();return r.hasOwnBinding(e.left.name)&&r.getOwnBinding(e.left.name).constantViolations.length<=1}(e,n))t.unshift(e),t.push(m(e.left));else if(n.isPure(e,!0))t.push(e);else{r.isMethod({computed:!0,key:e})&&(n=n.parent);let i=n.generateDeclaredUidIdentifier();t.unshift(f(d("=",m(i),e))),t.push(f(m(i)))}}return this.replaceExpressionWithStatements(t)}if(Array.isArray(this.container))return _.call(this,t);if(this.isStatementOrBlock()){let e=this.node,r=e&&(!this.isExpressionStatement()||null!=e.expression);return this.replaceWith(p(r?[e]:[])),this.pushContainer("body",t)}throw Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},t.insertBefore=function(e){s._assertUnremoved.call(this);let t=P.call(this,e),{parentPath:r,parent:n}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||b(n)||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertBefore(t);if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&"init"===this.key)return this.node&&t.push(this.node),this.replaceExpressionWithStatements(t);if(Array.isArray(this.container))return T.call(this,t);if(this.isStatementOrBlock()){let e=this.node,r=e&&(!this.isExpressionStatement()||null!=e.expression);return this.replaceWith(p(r?[e]:[])),this.unshiftContainer("body",t)}throw Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},t.pushContainer=function(e,t){s._assertUnremoved.call(this);let r=P.call(this,t),n=this.node[e];return i.default.get({parentPath:this,parent:this.node,container:n,listKey:e,key:n.length}).setContext(this.context).replaceWithMultiple(r)},t.unshiftContainer=function(e,t){s._assertUnremoved.call(this),t=P.call(this,t);let r=i.default.get({parentPath:this,parent:this.node,container:this.node[e],listKey:e,key:0}).setContext(this.context);return T.call(r,t)},t.updateSiblingKeys=C;var n=r(72063),i=r(13133),a=r(43278),s=r(40305),o=r(40838),l=r(47281);let{arrowFunctionExpression:u,assertExpression:c,assignmentExpression:d,blockStatement:p,callExpression:h,cloneNode:m,expressionStatement:f,isAssignmentExpression:y,isCallExpression:g,isExportNamedDeclaration:b,isExpression:w,isIdentifier:v,isSequenceExpression:k,isSuper:x,thisExpression:S}=o;function E(e,t){C.call(this,e,t.length);let r=[];this.container.splice(e,0,...t);for(let i=0;i<t.length;i++){var n;let t=e+i,s=this.getSibling(t);r.push(s),null!=(n=this.context)&&n.queue&&a.pushContext.call(s,this.context)}let i=a._getQueueContexts.call(this);for(let e of r)for(let t of(a.setScope.call(e),e.debug("Inserted."),i))t.maybeQueue(e,!0);return r}function T(e){return E.call(this,this.key,e)}function _(e){return E.call(this,this.key+1,e)}let A=e=>e[e.length-1];function C(e,t){if(this.parent)for(let[,r]of(0,n.getCachedPaths)(this.hub,this.parent)||[])"number"==typeof r.key&&r.container===this.container&&r.key>=e&&(r.key+=t)}function P(e){if(!e)return[];Array.isArray(e)||(e=[e]);for(let t=0;t<e.length;t++){let r,n=e[t];if(n?"object"!=typeof n?r="contains a non-object node":n.type?n instanceof i.default&&(r="has a NodePath when it expected a raw object"):r="without a type":r="has falsy node",r){let e=Array.isArray(n)?"array":typeof n;throw Error(`Node list ${r} with the index of ${t} and type of ${e}`)}}return e}t.hoist=function(e=this.scope){return new l.default(this,e).run()}},94867:(e,t)=>{function r(e){function t(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}return function e(r,n,i,a){if(i<a){var s=Math.round(i+Math.random()*(a-i)),o=i-1;t(r,s,a);for(var l=r[a],u=i;u<a;u++)0>=n(r[u],l,!1)&&t(r,o+=1,u);t(r,o+1,u);var c=o+1;e(r,n,i,c-1),e(r,n,c+1,a)}}}let n=new WeakMap;t.g=function(e,t,i=0){let a=n.get(t);if(void 0===a){let e;e=r.toString(),a=Function(`return ${e}`)()(t),n.set(t,a)}a(e,t,i,e.length-1)}},94873:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isVariableDeclaration)(e)&&("var"!==e.kind||e[i])};var n=r(48390),i=Symbol.for("var used to be block scoped")},95074:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e)&&!i.has(e)};var n=r(84937);let i=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"])},95217:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(90690));t.default=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}var t=e.prototype;return t._shouldUpdateSelector=function(e,t){return void 0===t&&(t={}),!1!==Object.assign({},this.options,t).updateSelector&&"string"!=typeof e},t._isLossy=function(e){return void 0===e&&(e={}),!1===Object.assign({},this.options,e).lossless},t._root=function(e,t){return void 0===t&&(t={}),new n.default(e,this._parseOptions(t)).root},t._parseOptions=function(e){return{lossy:this._isLossy(e)}},t._run=function(e,t){var r=this;return void 0===t&&(t={}),new Promise(function(n,i){try{var a=r._root(e,t);Promise.resolve(r.func(a)).then(function(n){var i=void 0;return r._shouldUpdateSelector(e,t)&&(e.selector=i=a.toString()),{transform:n,root:a,string:i}}).then(n,i)}catch(e){i(e);return}})},t._runSync=function(e,t){void 0===t&&(t={});var r=this._root(e,t),n=this.func(r);if(n&&"function"==typeof n.then)throw Error("Selector processor returned a promise to a synchronous call.");var i=void 0;return t.updateSelector&&"string"!=typeof e&&(e.selector=i=r.toString()),{transform:n,root:r,string:i}},t.ast=function(e,t){return this._run(e,t).then(function(e){return e.root})},t.astSync=function(e,t){return this._runSync(e,t).root},t.transform=function(e,t){return this._run(e,t).then(function(e){return e.transform})},t.transformSync=function(e,t){return this._runSync(e,t).transform},t.process=function(e,t){return this._run(e,t).then(function(e){return e.string||e.root.toString()})},t.processSync=function(e,t){var r=this._runSync(e,t);return r.string||r.root.toString()},e}(),e.exports=t.default},95285:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(61940);Object.keys(n).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))});var i=r(85713);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))})},95499:(e,t,r)=>{"use strict";r.d(t,{Toolbar:()=>ev,S:()=>eh});var n=r(92374),i=r(14148),a=r(82695),s=r(81836),o=r(80929),l=r(13057),u=r(37419),c=r(45157),d=r(81495),p=r(9927),h="Tabs",[m,f]=(0,s.A)(h,[o.RG]),y=(0,o.RG)(),[g,b]=m(h),w=i.forwardRef((e,t)=>{let{__scopeTabs:r,value:i,onValueChange:a,defaultValue:s,orientation:o="horizontal",dir:l,activationMode:m="automatic",...f}=e,y=(0,c.jH)(l),[b,w]=(0,d.i)({prop:i,onChange:a,defaultProp:s??"",caller:h});return(0,n.jsx)(g,{scope:r,baseId:(0,p.B)(),value:b,onValueChange:w,orientation:o,dir:y,activationMode:m,children:(0,n.jsx)(u.sG.div,{dir:y,"data-orientation":o,...f,ref:t})})});w.displayName=h;var v="TabsList",k=i.forwardRef((e,t)=>{let{__scopeTabs:r,loop:i=!0,...a}=e,s=b(v,r),l=y(r);return(0,n.jsx)(o.bL,{asChild:!0,...l,orientation:s.orientation,dir:s.dir,loop:i,children:(0,n.jsx)(u.sG.div,{role:"tablist","aria-orientation":s.orientation,...a,ref:t})})});k.displayName=v;var x="TabsTrigger",S=i.forwardRef((e,t)=>{let{__scopeTabs:r,value:i,disabled:s=!1,...l}=e,c=b(x,r),d=y(r),p=_(c.baseId,i),h=A(c.baseId,i),m=i===c.value;return(0,n.jsx)(o.q7,{asChild:!0,...d,focusable:!s,active:m,children:(0,n.jsx)(u.sG.button,{type:"button",role:"tab","aria-selected":m,"aria-controls":h,"data-state":m?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:p,...l,ref:t,onMouseDown:(0,a.m)(e.onMouseDown,e=>{s||0!==e.button||!1!==e.ctrlKey?e.preventDefault():c.onValueChange(i)}),onKeyDown:(0,a.m)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&c.onValueChange(i)}),onFocus:(0,a.m)(e.onFocus,()=>{let e="manual"!==c.activationMode;m||s||!e||c.onValueChange(i)})})})});S.displayName=x;var E="TabsContent",T=i.forwardRef((e,t)=>{let{__scopeTabs:r,value:a,forceMount:s,children:o,...c}=e,d=b(E,r),p=_(d.baseId,a),h=A(d.baseId,a),m=a===d.value,f=i.useRef(m);return i.useEffect(()=>{let e=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,n.jsx)(l.C,{present:s||m,children:({present:r})=>(0,n.jsx)(u.sG.div,{"data-state":m?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":p,hidden:!r,id:h,tabIndex:0,...c,ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0},children:r&&o})})});function _(e,t){return`${e}-trigger-${t}`}function A(e,t){return`${e}-content-${t}`}T.displayName=E;var C=r(14431),P=r(87744),D=r(12110),I=r(88134),O=r(56037),N=r(81301),L=r(58409),R=r(73566);let M=i.forwardRef(({...e},t)=>(0,n.jsx)(R.z,{ref:t,...e,children:(0,n.jsx)("path",{d:"M12 4C7.58173 4 4 7.58172 4 12C4 16.4182 7.58173 20 12 20C16.4183 20 20 16.4182 20 12C20 7.58172 16.4183 4 12 4ZM5.14754 12C5.14754 8.21549 8.21551 5.14754 12 5.14754C15.7845 5.14754 18.8525 8.21549 18.8525 12C18.8525 15.7844 15.7845 18.8525 12 18.8525C8.21551 18.8525 5.14754 15.7844 5.14754 12ZM12.906 8.37648C12.906 8.87682 12.5004 9.28243 12 9.28243C11.4997 9.28243 11.0941 8.87682 11.0941 8.37648C11.0941 7.87613 11.4997 7.47053 12 7.47053C12.5004 7.47053 12.906 7.87613 12.906 8.37648ZM10.1883 10.1884H10.7922H12.0002C12.3337 10.1884 12.6041 10.4588 12.6041 10.7924V15.0201H13.2081H13.8121V16.2281H13.2081H12.0002H10.7922H10.1883V15.0201H10.7922H11.3962V11.3963H10.7922H10.1883V10.1884Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}));M.displayName="IconInfo";let F=i.forwardRef(({...e},t)=>(0,n.jsx)(R.z,{ref:t,...e,children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9354 12C17.9354 9.01537 15.5828 6.05264 11.9202 6.05264C8.96229 6.05264 7.50033 8.21724 6.87735 9.36841H8.72625C9.02024 9.36841 9.25858 9.60406 9.25858 9.89473C9.25858 10.1854 9.02024 10.421 8.72625 10.421H5.53232C5.23833 10.421 5 10.1854 5 9.89473V6.73684C5 6.44617 5.23833 6.21052 5.53232 6.21052C5.82631 6.21052 6.06465 6.44617 6.06465 6.73684V8.64548C6.81471 7.33819 8.54959 5 11.9202 5C16.2456 5 19 8.51094 19 12C19 15.4891 16.2456 19 11.9202 19C9.8507 19 8.12769 18.1904 6.9009 16.9562C6.24405 16.2954 5.73107 15.5148 5.38132 14.6744C5.26942 14.4057 5.39911 14.0981 5.67098 13.9875C5.94285 13.8768 6.25395 14.0051 6.36583 14.2738C6.66482 14.9921 7.10262 15.6574 7.66023 16.2183C8.69486 17.2593 10.1475 17.9474 11.9202 17.9474C15.5828 17.9474 17.9354 14.9846 17.9354 12Z",fill:"currentColor"})}));F.displayName="IconReload";var B=r(90708);let j={family:{gmail:"Gmail",outlook:"Outlook",yahoo:"Yahoo! Mail","apple-mail":"Apple Mail",aol:"AOL",thunderbird:"Mozilla Thunderbird",microsoft:"Microsoft","samsung-email":"Samsung Email",sfr:"SFR",orange:"Orange",protonmail:"ProtonMail",hey:"HEY","mail-ru":"Mail.ru",fastmail:"Fastmail",laposte:"LaPoste.net","t-online-de":"T-online.de","free-fr":"Free.fr",gmx:"GMX","web-de":"WEB.DE","ionos-1and1":"1&1",rainloop:"RainLoop","wp-pl":"WP.pl"}};var U=r(43518);let $=(0,U.createServerReference)("7fdcc8cb2bf203521dba3ca789f1e78fda9e781a0d",U.callServer,void 0,U.findSourceMapURL,"checkCompatibility");async function*q(e){let t=e.getReader();try{for(;;){let{value:e,done:r}=await t.read();if(r)break;yield e}}finally{t.releaseLock()}}let z=e=>(0,n.jsxs)("svg",{width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,n.jsx)("path",{d:"M10.8777 8.99999L6.87766 1.99999C6.79044 1.84609 6.66396 1.71808 6.51112 1.62902C6.35828 1.53997 6.18455 1.49304 6.00766 1.49304C5.83077 1.49304 5.65704 1.53997 5.5042 1.62902C5.35136 1.71808 5.22488 1.84609 5.13766 1.99999L1.13766 8.99999C1.0495 9.15267 1.00327 9.32594 1.00366 9.50224C1.00405 9.67855 1.05105 9.85161 1.13988 10.0039C1.22872 10.1562 1.35623 10.2823 1.50951 10.3694C1.66278 10.4565 1.83636 10.5016 2.01266 10.5H10.0127C10.1881 10.4998 10.3604 10.4535 10.5123 10.3656C10.6642 10.2778 10.7903 10.1515 10.8779 9.99955C10.9656 9.84756 11.0117 9.67518 11.0116 9.49973C11.0116 9.32428 10.9654 9.15193 10.8777 8.99999Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M6.0127 4.5V6.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M6.0127 8.5H6.01853",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]});z.displayName="IconCircleWarning";var V=r(3693),H=r.n(V);let G=({line:e,type:t})=>{let r=new URLSearchParams((0,P.useSearchParams)());r.set("view","source"),"html"===t?r.set("lang","markup"):"react"===t&&r.set("lang","jsx");let i=`#L${e}`;return(0,n.jsxs)(H(),{href:{search:r.toString(),hash:i},scroll:!1,className:"appearance-none underline mx-2",children:["L",e.toString().padStart(2,"0")]})},W=({children:e,className:t,...r})=>(0,n.jsx)("table",{...r,className:(0,O.cn)("group relative w-full border-collapse text-left text-slate-10 text-sm",t),children:(0,n.jsx)("tbody",{children:e})});W.Row=({children:e,className:t,...r})=>(0,n.jsx)("tr",{className:(0,O.cn)("border-collapse align-bottom border-slate-6 border-b last:border-b-0",t),...r,children:e}),W.Column=({children:e,className:t,...r})=>(0,n.jsx)("td",{className:(0,O.cn)("py-1.5 align-bottom font-regular",t),...r,children:e});let K=({reactMarkup:e,emailPath:t,initialResults:r})=>{let[n,a]=(0,i.useState)(r),[s,o]=(0,i.useState)(!1),l=(0,i.useRef)(!1);return[n,{loading:s,load:async()=>{if(l.current)return;l.current=!0,o(!0),a([]);let r=[];try{let n=await $(e,t);for await(let e of q(n))"error"===e.status&&a(t=>t?r=[...t,e]:[e])}catch(e){console.error(e),B.oR.error(JSON.stringify(e))}finally{o(!1),l.current=!1}return r}}]},Y=({results:e})=>(0,n.jsx)(W,{children:e?.map((e,t)=>{let r=Object.entries(e.statsPerEmailClient).filter(([,e])=>"error"===e.status),i=r.map(([e])=>j.family[e]).join(", ");return(0,n.jsxs)(W.Row,{children:[(0,n.jsx)(W.Column,{children:(0,n.jsxs)("span",{className:"flex text-red-400 uppercase gap-2 items-center",children:[(0,n.jsx)(z,{}),(0,O.aj)(e.entry.title)]})}),(0,n.jsxs)(W.Column,{children:[r.length>0?`Not supported in ${i}`:null,(0,n.jsx)("a",{href:e.entry.url,className:"underline ml-2 decoration-slate-9 decoration-1 hover:decoration-slate-11 transition-colors hover:text-slate-12",rel:"noreferrer",target:"_blank",children:"More ↗"})]}),(0,n.jsx)(W.Column,{className:"font-mono text-slate-11 text-right",children:(0,n.jsx)(G,{line:e.location.start.line,column:e.location.start.column,type:"react"})})]},t)})}),X=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],Z=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],J=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],Q=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],ee=(e,t,r)=>{let n=e;return"string"==typeof t||Array.isArray(t)?n=e.toLocaleString(t,r):(!0===t||void 0!==r)&&(n=e.toLocaleString(void 0,r)),n},et=(0,U.createServerReference)("7ffe73ba6282ef5aa56bc1448304bf0177a4ac29d6",U.callServer,void 0,U.findSourceMapURL,"checkImages"),er=(0,U.createServerReference)("7fff8a7ec95e4f09b17040b9d2f44fa0e2a9ec3d00",U.callServer,void 0,U.findSourceMapURL,"checkLinks");async function*en(e){for await(let t of e)for await(let e of q(await t.getStream())){let r=t.mapValue(e);r&&(yield r)}}let ei=({markup:e,initialRows:t})=>{let[r,n]=(0,i.useState)(t),a=function(e,t){return[{getStream:()=>et(e,t),mapValue(e){if(e&&"success"!==e.status)return{result:e,source:"image"}}},{getStream:()=>er(e),mapValue(e){if(e&&"success"!==e.status)return{result:e,source:"link"}}}]}(e,"location"in global?`${global.location.protocol}//${global.location.host}`:""),[s,o]=(0,i.useState)(!1),l=(0,i.useRef)(!1);return[r,{loading:s,load:async()=>{if(!l.current){l.current=!0,o(!0),n([]);try{let e=[];for await(let t of en(a))n(r=>{if(!r)return[t];let n=[...r,t];return n.sort((e,t)=>"error"===e.result.status&&"warning"===t.result.status?-1:+("warning"===e.result.status&&"error"===t.result.status)),e=n,n});return e}finally{o(!1),l.current=!1}}}}]},ea=({rows:e})=>void 0===e?null:(0,n.jsx)(W,{children:e.map((e,t)=>{if("link"===e.source){let r=e.result.checks.find(e=>!1===e.passed),i=[];for(let t of e.result.checks)"fetch_attempt"===t.type&&t.metadata.fetchStatusCode&&i.push((0,n.jsxs)(n.Fragment,{children:["HTTP ",t.metadata.fetchStatusCode]}));return i.push((0,n.jsx)(G,{line:e.result.codeLocation.line,column:e.result.codeLocation.column,type:"html"})),(0,n.jsxs)(es,{status:e.result.status,children:[(0,n.jsx)(es.Name,{children:(0,O.aj)(r.type)}),(0,n.jsxs)(es.Description,{children:["security"===r.type?"Insecure URL, use HTTPS instead of HTTP":null,"fetch_attempt"===r.type&&r.metadata.fetchStatusCode&&r.metadata.fetchStatusCode>=300&&r.metadata.fetchStatusCode<400?"There was a redirect, the content may have been moved":null,"fetch_attempt"===r.type&&r.metadata.fetchStatusCode&&r.metadata.fetchStatusCode>=400?"The link is broken":null,"fetch_attempt"===r.type&&void 0===r.metadata.fetchStatusCode?"The link could not be reached":null,"syntax"===r.type?"The link is broken due to invalid syntax":null,(0,n.jsx)("span",{className:"ml-2 text-ellipsis overflow-hidden text-nowrap max-w-[30ch]",children:e.result.link})]}),(0,n.jsx)(es.Metadata,{children:i})]},t)}if("image"===e.source){let r=e.result.checks.find(e=>!1===e.passed),i=[];for(let t of e.result.checks)"image_size"===t.type&&t.metadata.byteCount&&i.push(function(e,t){let r;if(!Number.isFinite(e))throw TypeError(`Expected a finite number, got ${typeof e}: ${e}`);let n=(t={bits:!1,binary:!1,space:!0,...t}).bits?t.binary?Q:J:t.binary?Z:X,i=t.space?" ":"";if(t.signed&&0===e)return` 0${i}${n[0]}`;let a=e<0,s=a?"-":t.signed?"+":"";if(a&&(e=-e),void 0!==t.minimumFractionDigits&&(r={minimumFractionDigits:t.minimumFractionDigits}),void 0!==t.maximumFractionDigits&&(r={maximumFractionDigits:t.maximumFractionDigits,...r}),e<1)return s+ee(e,t.locale,r)+i+n[0];let o=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),n.length-1);return e/=(t.binary?1024:1e3)**o,r||(e=e.toPrecision(3)),s+ee(Number(e),t.locale,r)+i+n[o]}(t.metadata.byteCount)),"fetch_attempt"===t.type&&t.metadata.fetchStatusCode&&i.push((0,n.jsxs)(n.Fragment,{children:["HTTP ",t.metadata.fetchStatusCode]}));return i.push((0,n.jsx)(G,{line:e.result.codeLocation.line,column:e.result.codeLocation.column,type:"html"})),(0,n.jsxs)(es,{status:e.result.status,children:[(0,n.jsx)(es.Name,{children:(0,O.aj)(r.type)}),(0,n.jsxs)(es.Description,{children:["security"===r.type?"Insecure URL, use HTTPS instead of HTTP":null,"fetch_attempt"===r.type&&r.metadata.fetchStatusCode&&r.metadata.fetchStatusCode>=300&&r.metadata.fetchStatusCode<400?"There was a redirect, the image may have been moved":null,"fetch_attempt"===r.type&&r.metadata.fetchStatusCode&&r.metadata.fetchStatusCode>=400?"The image is broken":null,"fetch_attempt"===r.type&&void 0===r.metadata.fetchStatusCode?"The image could not be reached":null,"syntax"===r.type?"The image is broken due to an invalid source":null,"accessibility"===r.type?"Missing alt text":null,"image_size"===r.type&&r.metadata.byteCount?"This image is too large, keep it under 1mb":null,(0,n.jsx)("span",{className:"ml-2 text-ellipsis overflow-hidden text-nowrap max-w-[30ch]",children:e.result.source})]}),(0,n.jsx)(es.Metadata,{children:i})]},t)}})}),es=({children:e,className:t,status:r,...i})=>(0,n.jsx)(W.Row,{"data-status":r,...i,className:(0,O.cn)("group/result",t),children:e});es.Name=({children:e,...t})=>(0,n.jsx)(W.Column,{...t,children:(0,n.jsxs)("span",{className:"flex uppercase gap-2 items-center group-data-[status=error]/result:text-red-400 group-data-[status=warning]/result:text-orange-300",children:[(0,n.jsx)(z,{}),"string"==typeof e?(0,O.aj)(e):e]})}),es.Description=({children:e,className:t,...r})=>(0,n.jsx)(W.Column,{...r,children:e}),es.Metadata=({children:e,className:t,...r})=>(0,n.jsx)(W.Column,{align:"right",...r,className:(0,O.cn)("font-mono text-slate-11",t),children:i.Children.map(e,(e,t)=>(0,n.jsxs)(n.Fragment,{children:[t>0?" \xb7 ":null,e]}))});let eo=({markup:e,plainText:t,initialResult:r})=>{let[n,a]=(0,i.useState)(r),[s,o]=(0,i.useState)(!1),l=(0,i.useRef)(!1);return[n,{loading:s,load:async()=>{if(!l.current){l.current=!0,o(!0);try{let r=await fetch("https://react.email/api/check-spam",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({html:e,plainText:t})}),n=await r.json();if(!("error"in n))return a(n),n;B.oR.error(n.error)}catch(e){console.error(e),B.oR.error(JSON.stringify(e))}finally{o(!1),l.current=!1}}}}]},el=({result:e})=>(0,n.jsx)(n.Fragment,{children:e?(0,n.jsxs)(W,{children:[(0,n.jsxs)(W.Row,{className:"sticky border-b top-0",children:[(0,n.jsx)(W.Column,{className:"uppercase",children:(0,n.jsxs)("span",{className:"flex gap-2 items-center",children:[(0,n.jsx)(z,{className:(0,O.cn)(0===e.points?"text-green-400":null,(e.points>0&&e.points,null),e.points>1.5?"text-yellow-100":null,e.points>3?"text-orange-400":null,e.points>=5?"text-red-400":null)}),"Score"]})}),(0,n.jsx)(W.Column,{children:0===e.points?"Congratulations! Your email is clean of abuse indicators.":"Higher scores are better"}),(0,n.jsxs)(W.Column,{className:"text-right tracking-tighter font-bold",children:[(0,n.jsx)("span",{className:(0,O.cn)("text-3xl",0===e.points?"text-green-400":null,(e.points>0&&e.points,null),e.points>1.5?"text-yellow-200":null,e.points>3?"text-orange-400":null,e.points>=5?"text-red-400":null),children:(10-e.points).toFixed(1)})," ",(0,n.jsx)("span",{className:"text-lg",children:"/ 10"})]})]}),(function(e,t){let r=[...e];return r.sort(t),r})(e.checks,(e,t)=>t.points-e.points).map(e=>(0,n.jsxs)(W.Row,{children:[(0,n.jsx)(W.Column,{className:"uppercase",children:(0,n.jsxs)("span",{className:"flex gap-2 items-center",children:[(0,n.jsx)(z,{className:(0,O.cn)(e.points>1?"text-yellow-200":null,e.points>2?"text-orange-400":null,e.points>3?"text-red-400":null)}),(0,O.aj)(e.name)]})}),(0,n.jsx)(W.Column,{children:e.description}),(0,n.jsxs)(W.Column,{className:(0,O.cn)("text-right font-mono tracking-tighter",e.points>1?"text-yellow-200":null,e.points>2?"text-orange-400":null,e.points>3?"text-red-400":null),children:["-",e.points.toFixed(1)]})]},e.name))]}):null});var eu=r(3916),ec=r(1096);let ed=({children:e,className:t,active:r,tooltip:i,delayDuration:a=500,...s})=>(0,n.jsx)(ec.m.Provider,{children:(0,n.jsxs)(ec.m,{delayDuration:a,children:[(0,n.jsx)(ec.m.Trigger,{asChild:!0,children:(0,n.jsxs)("button",{type:"button",...s,className:(0,O.cn)("h-full w-fit font-regular flex text-sm text-slate-10 items-center align-middle justify-center px-1 gap-2 relative","hover:text-slate-12 transition-colors",r&&"data-[state=active]:text-cyan-11",t),children:[e,r?(0,n.jsx)(eu.P.span,{className:"-bottom-px absolute rounded-sm left-0 w-full bg-cyan-11 h-px",layoutId:"active-toolbar-button",transition:{type:"spring",bounce:.2,duration:.6}}):null]})}),i?(0,n.jsx)(ec.m.Content,{children:i}):null]})}),ep=e=>{let t;if("localStorage"in global){let r=global.localStorage.getItem(e);if(null!==r&&"undefined"!==r)try{t=JSON.parse(r)}catch(t){console.warn("Failed to load stored value for",e,"with value",r)}}return[(0,i.useSyncExternalStore)(()=>()=>{},()=>t,()=>void 0),function(t){"localStorage"in global&&global.localStorage.setItem(e,JSON.stringify(t))}]},eh=()=>{let e=(0,P.useSearchParams)().get("toolbar-panel")??void 0;return{activeTab:e,toggled:void 0!==e}},em=({serverLintingRows:e,serverSpamCheckingResult:t,serverCompatibilityResults:r,markup:a,reactMarkup:s,plainText:o,emailPath:l,emailSlug:u})=>{let c=(0,P.usePathname)(),d=(0,P.useSearchParams)(),p=(0,P.useRouter)(),{activeTab:h,toggled:m}=eh(),f=e=>{let t=new URLSearchParams(d);void 0===e?t.delete("toolbar-panel"):t.set("toolbar-panel",e),p.push(`${c}?${t.toString()}${location.hash}`)},[y,g]=ep(`spam-assassin-${u.replaceAll("/","-")}`),[b,{load:v,loading:x}]=eo({markup:a,plainText:o,initialResult:t??y}),[E,_]=ep(`linter-${u.replaceAll("/","-")}`),[A,{load:I,loading:L}]=ei({markup:a,initialRows:e??E}),[R,B]=ep(`compatibility-${u.replaceAll("/","-")}`),[j,{load:U,loading:$}]=K({emailPath:l,reactMarkup:s,initialResults:r??R});D.Hf||i.useEffect(()=>{(async()=>{_(await I()),g(await v()),B(await U())})()},[]);let q=i.useId();return(0,n.jsx)("div",{"data-toggled":m,className:(0,O.cn)("absolute bottom-0 left-0 right-0","border-t border-slate-6 group/toolbar text-xs text-slate-11 h-52 transition-transform","data-[toggled=false]:translate-y-[10.625rem]"),children:(0,n.jsx)(w,{value:h??"",onValueChange:e=>{f(e)},asChild:!0,children:(0,n.jsxs)("div",{className:"flex flex-col h-full",children:[(0,n.jsxs)(k,{className:"flex gap-4 px-4 border-b border-solid border-slate-6 h-10 w-full flex-shrink-0",children:[(0,n.jsxs)(C.o,{id:`toolbar-${q}`,children:[(0,n.jsx)(S,{asChild:!0,value:"linter",children:(0,n.jsx)(ed,{active:"linter"===h,children:"Linter"})}),(0,n.jsx)(S,{asChild:!0,value:"compatibility",children:(0,n.jsx)(ed,{active:"compatibility"===h,children:"Compatibility"})}),(0,n.jsx)(S,{asChild:!0,value:"spam-assassin",children:(0,n.jsx)(ed,{active:"spam-assassin"===h,children:"Spam"})})]}),(0,n.jsxs)("div",{className:"flex gap-0.5 ml-auto",children:[(0,n.jsx)(ed,{delayDuration:0,tooltip:"linter"===h&&"The Linter tab checks all the images and links for common issues like missing alt text, broken URLs, insecure HTTP methods, and more."||"spam-assassin"===h&&"The Spam tab will look at the content and use a robust scoring framework to determine if the email is likely to be spam. Powered by SpamAssassin."||"compatibility"===h&&"The Compatibility tab shows how well the HTML/CSS is supported across mail clients like Outlook, Gmail, etc. Powered by Can I Email."||"Info",children:(0,n.jsx)(M,{size:24})}),D.Hf?null:(0,n.jsx)(ed,{tooltip:"Reload",disabled:L||x,onClick:async()=>{void 0===h&&f("linter"),"spam-assassin"===h?await v():"linter"===h?await I():"compatibility"===h&&await U()},children:(0,n.jsx)(F,{size:24,className:(0,O.cn)({"opacity-60 animate-spin-fast":L||x})})}),(0,n.jsx)(ed,{tooltip:"Toggle toolbar",onClick:()=>{void 0===h?f("linter"):f(void 0)},children:(0,n.jsx)(N.R,{size:24,className:"transition-transform group-data-[toggled=false]/toolbar:rotate-180"})})]})]}),(0,n.jsxs)("div",{className:"flex-grow transition-opacity opacity-100 group-data-[toggled=false]/toolbar:opacity-0 overflow-y-auto pr-3 pl-4 pt-3",children:[(0,n.jsx)(T,{value:"linter",children:L?(0,n.jsx)(ef,{message:"Analyzing your code for linting issues..."}):A?.length===0?(0,n.jsxs)(ey,{children:[(0,n.jsx)(eg,{}),(0,n.jsx)(eb,{children:"All good"}),(0,n.jsx)(ew,{children:"No linting issues found."})]}):(0,n.jsx)(ea,{rows:A??[]})}),(0,n.jsx)(T,{value:"compatibility",children:$?(0,n.jsx)(ef,{message:"Checking email compatibility..."}):j?.length===0?(0,n.jsxs)(ey,{children:[(0,n.jsx)(eg,{}),(0,n.jsx)(eb,{children:"Great compatibility"}),(0,n.jsx)(ew,{children:"Template should render properly everywhere."})]}):(0,n.jsx)(Y,{results:j??[]})}),(0,n.jsx)(T,{value:"spam-assassin",children:x?(0,n.jsx)(ef,{message:"Evaluating your email for spam indicators..."}):b?.isSpam===!1?(0,n.jsxs)(ey,{children:[(0,n.jsx)(eg,{}),(0,n.jsx)(eb,{children:"10/10"}),(0,n.jsx)(ew,{children:"Your email is clean of abuse indicators."})]}):(0,n.jsx)(el,{result:b})})]})]})})})},ef=({message:e})=>(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center pt-8",children:[(0,n.jsxs)("div",{className:"relative mb-8 flex items-center justify-center",children:[(0,n.jsx)("div",{className:"h-12 w-12 rounded-full bg-gradient-to-br from-cyan-400/80 to-cyan-600/80 opacity-10 blur-xl absolute m-auto left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 animate-pulse"}),(0,n.jsx)("div",{className:"h-12 w-12 rounded-full border border-slate-4 absolute m-auto left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"}),(0,n.jsx)("div",{className:"h-10 w-10 rounded-full flex items-center justify-center absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",children:(0,n.jsx)("div",{className:"h-5 w-5 rounded-full border-2 border-white/50 border-t-transparent animate-spin-fast"})})]}),(0,n.jsx)("h3",{className:"text-slate-12 font-medium text-base mb-1",children:"Processing"}),(0,n.jsx)("p",{className:"text-slate-11 text-sm text-center max-w-[320px]",children:e})]}),ey=({children:e})=>(0,n.jsx)("div",{className:"flex flex-col items-center justify-center pt-8",children:e}),eg=()=>(0,n.jsxs)("div",{className:"relative mb-8 flex items-center justify-center",children:[(0,n.jsx)("div",{className:"h-16 w-16 rounded-full bg-gradient-to-br from-green-300/20 opacity-80 to-emerald-500/30 blur-md absolute m-auto left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"}),(0,n.jsx)("div",{className:"h-12 w-12 rounded-full bg-gradient-to-br from-green-400/80 opacity-10 to-emerald-600/80 absolute m-auto left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 shadow-lg"}),(0,n.jsx)("div",{className:"h-10 w-10 rounded-full bg-gradient-to-br from-green-400 to-emerald-600 flex items-center justify-center absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 shadow-[inset_0_1px_1px_rgba(255,255,255,0.4)]",children:(0,n.jsx)(L.i,{size:24,className:"text-white drop-shadow-sm"})})]}),eb=({children:e})=>(0,n.jsx)("h3",{className:"text-slate-12 font-medium text-base mb-1",children:e}),ew=({children:e})=>(0,n.jsx)("p",{className:"text-slate-11 text-sm text-center max-w-[320px]",children:e}),ev=({serverLintingRows:e,serverSpamCheckingResult:t,serverCompatibilityResults:r})=>{let{emailPath:a,emailSlug:s,renderedEmailMetadata:o}=i.use(I.o);if(void 0===o)return null;let{markup:l,plainText:u,reactMarkup:c}=o;return(0,n.jsx)(em,{emailPath:a,emailSlug:s,markup:l,reactMarkup:c,plainText:u,serverLintingRows:e,serverSpamCheckingResult:t,serverCompatibilityResults:r})}},95729:(e,t,r)=>{"use strict";function n(e,t,r,n,i){for(t=t.split?t.split("."):t,n=0;n<t.length;n++)e=e?e[t[n]]:i;return e===i?r:e}r.r(t),r.d(t,{default:()=>n})},96321:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=e.value.split(/\r\n|\n|\r/),a=0;for(let e=0;e<r.length;e++)/[^ \t]/.exec(r[e])&&(a=e);let s="";for(let e=0;e<r.length;e++){let t=r[e],n=0===e,i=e===r.length-1,o=e===a,l=t.replace(/\t/g," ");n||(l=l.replace(/^ +/,"")),i||(l=l.replace(/ +$/,"")),l&&(o||(l+=" "),s+=l)}s&&t.push((0,i.inherits)((0,n.stringLiteral)(s),e))};var n=r(95285),i=r(40838)},96601:(e,t,r)=>{"use strict";r.r(t),r.d(t,{renderingUtilitiesExporter:()=>o});var n=r(73024),i=r(76760),a=r.n(i),s=r(70977);let o=e=>({name:"rendering-utilities-exporter",setup:async t=>{let r=await Promise.all(e.map(async e=>(0,s.escapeStringForRegex)(await n.promises.realpath(e))));t.onLoad({filter:new RegExp(r.join("|"))},async({path:e})=>({contents:`${await n.promises.readFile(e,"utf8")};
501
501
  export { render } from 'react-email-module-that-will-export-render'
502
502
  export { createElement as reactEmailCreateReactElement } from 'react';
503
- `,loader:a().extname(e).slice(1)})),t.onResolve({filter:/^react-email-module-that-will-export-render$/},async e=>{let r={kind:"import-statement",importer:e.importer,resolveDir:e.resolveDir,namespace:e.namespace},n=await t.resolve("@react-email/render",r);return 0===n.errors.length||(n=await t.resolve("@react-email/components",r)).errors.length>0&&n.errors[0]&&(n.errors[0].text="Failed trying to import `render` from either `@react-email/render` or `@react-email/components` to be able to render your email template.\n Maybe you don't have either of them installed?"),n})}})},96644:(e,t,r)=>{"use strict";let{Buffer:n}=r(79428),i=Symbol.for("BufferList");function a(e){if(!(this instanceof a))return new a(e);a._init.call(this,e)}a._init=function(e){Object.defineProperty(this,i,{value:!0}),this._bufs=[],this.length=0,e&&this.append(e)},a.prototype._new=function(e){return new a(e)},a.prototype._offset=function(e){if(0===e)return[0,0];let t=0;for(let r=0;r<this._bufs.length;r++){let n=t+this._bufs[r].length;if(e<n||r===this._bufs.length-1)return[r,e-t];t=n}},a.prototype._reverseOffset=function(e){let t=e[0],r=e[1];for(let e=0;e<t;e++)r+=this._bufs[e].length;return r},a.prototype.get=function(e){if(e>this.length||e<0)return;let t=this._offset(e);return this._bufs[t[0]][t[1]]},a.prototype.slice=function(e,t){return"number"==typeof e&&e<0&&(e+=this.length),"number"==typeof t&&t<0&&(t+=this.length),this.copy(null,0,e,t)},a.prototype.copy=function(e,t,r,i){if(("number"!=typeof r||r<0)&&(r=0),("number"!=typeof i||i>this.length)&&(i=this.length),r>=this.length||i<=0)return e||n.alloc(0);let a=!!e,s=this._offset(r),o=i-r,l=o,u=a&&t||0,c=s[1];if(0===r&&i===this.length){if(!a)return 1===this._bufs.length?this._bufs[0]:n.concat(this._bufs,this.length);for(let t=0;t<this._bufs.length;t++)this._bufs[t].copy(e,u),u+=this._bufs[t].length;return e}if(l<=this._bufs[s[0]].length-c)return a?this._bufs[s[0]].copy(e,t,c,c+l):this._bufs[s[0]].slice(c,c+l);a||(e=n.allocUnsafe(o));for(let t=s[0];t<this._bufs.length;t++){let r=this._bufs[t].length-c;if(l>r)this._bufs[t].copy(e,u,c),u+=r;else{this._bufs[t].copy(e,u,c,c+l),u+=r;break}l-=r,c&&(c=0)}return e.length>u?e.slice(0,u):e},a.prototype.shallowSlice=function(e,t){if(e=e||0,t="number"!=typeof t?this.length:t,e<0&&(e+=this.length),t<0&&(t+=this.length),e===t)return this._new();let r=this._offset(e),n=this._offset(t),i=this._bufs.slice(r[0],n[0]+1);return 0===n[1]?i.pop():i[i.length-1]=i[i.length-1].slice(0,n[1]),0!==r[1]&&(i[0]=i[0].slice(r[1])),this._new(i)},a.prototype.toString=function(e,t,r){return this.slice(t,r).toString(e)},a.prototype.consume=function(e){if(Number.isNaN(e=Math.trunc(e))||e<=0)return this;for(;this._bufs.length;)if(e>=this._bufs[0].length)e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}return this},a.prototype.duplicate=function(){let e=this._new();for(let t=0;t<this._bufs.length;t++)e.append(this._bufs[t]);return e},a.prototype.append=function(e){if(null==e)return this;if(e.buffer)this._appendBuffer(n.from(e.buffer,e.byteOffset,e.byteLength));else if(Array.isArray(e))for(let t=0;t<e.length;t++)this.append(e[t]);else if(this._isBufferList(e))for(let t=0;t<e._bufs.length;t++)this.append(e._bufs[t]);else"number"==typeof e&&(e=e.toString()),this._appendBuffer(n.from(e));return this},a.prototype._appendBuffer=function(e){this._bufs.push(e),this.length+=e.length},a.prototype.indexOf=function(e,t,r){if(void 0===r&&"string"==typeof t&&(r=t,t=void 0),"function"==typeof e||Array.isArray(e))throw TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if("number"==typeof e?e=n.from([e]):"string"==typeof e?e=n.from(e,r):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=n.from(e.buffer,e.byteOffset,e.byteLength):n.isBuffer(e)||(e=n.from(e)),isNaN(t=Number(t||0))&&(t=0),t<0&&(t=this.length+t),t<0&&(t=0),0===e.length)return t>this.length?this.length:t;let i=this._offset(t),a=i[0],s=i[1];for(;a<this._bufs.length;a++){let t=this._bufs[a];for(;s<t.length;)if(t.length-s>=e.length){let r=t.indexOf(e,s);if(-1!==r)return this._reverseOffset([a,r]);s=t.length-e.length+1}else{let t=this._reverseOffset([a,s]);if(this._match(t,e))return t;s++}s=0}return -1},a.prototype._match=function(e,t){if(this.length-e<t.length)return!1;for(let r=0;r<t.length;r++)if(this.get(e+r)!==t[r])return!1;return!0},function(){let e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(let t in e)!function(t){null===e[t]?a.prototype[t]=function(e,r){return this.slice(e,e+r)[t](0,r)}:a.prototype[t]=function(r=0){return this.slice(r,r+e[t])[t](0)}}(t)}(),a.prototype._isBufferList=function(e){return e instanceof a||a.isBufferList(e)},a.isBufferList=function(e){return null!=e&&e[i]},e.exports=a},96904:(e,t,r)=>{"use strict";var n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,o=(e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of a(t))s.call(e,l)||l===r||n(e,l,{get:()=>t[l],enumerable:!(o=i(t,l))||o.enumerable});return e},l=(e,t,r)=>(o(e,t,"default"),r&&o(r,t,"default")),u={};e.exports=o(n({},"__esModule",{value:!0}),u),l(u,r(55636),e.exports),l(u,r(44300),e.exports),l(u,r(183),e.exports),l(u,r(54909),e.exports),l(u,r(88342),e.exports),l(u,r(74243),e.exports),l(u,r(35855),e.exports),l(u,r(65742),e.exports),l(u,r(79576),e.exports),l(u,r(32782),e.exports),l(u,r(33963),e.exports),l(u,r(10135),e.exports),l(u,r(92464),e.exports),l(u,r(65739),e.exports),l(u,r(3618),e.exports),l(u,r(84253),e.exports),l(u,r(37846),e.exports),l(u,r(67491),e.exports),l(u,r(48596),e.exports),l(u,r(90477),e.exports)},96949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,i.isSuper)(e.object))throw Error("Cannot prepend node to super property access (`super.foo`).");return e.object=(0,n.memberExpression)(t,e.object),e};var n=r(95285),i=r(40838)},97202:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r{constructor(e,t){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=e,this._indentChar=t;for(let e=0;e<64;e++)this._fastIndentations.push(t.repeat(e));this._allocQueue()}_allocQueue(){let e=this._queue;for(let t=0;t<16;t++)e.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(e,t,r,n,i){let a=this._queueCursor;a===this._queue.length&&this._allocQueue();let s=this._queue[a];s.char=e,s.repeat=t,s.line=r,s.column=n,s.filename=i,this._queueCursor++}_popQueue(){if(0===this._queueCursor)throw Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let e=this._map,t={code:(this._buf+this._str).trimRight(),decodedMap:null==e?void 0:e.getDecoded(),get __mergedMap(){return this.map},get map(){let r=e?e.get():null;return t.map=r,r},set map(value){Object.defineProperty(t,"map",{value,writable:!0})},get rawMappings(){let r=null==e?void 0:e.getRawMappings();return t.rawMappings=r,r},set rawMappings(value){Object.defineProperty(t,"rawMappings",{value,writable:!0})}};return t}append(e,t){this._flush(),this._append(e,this._sourcePosition,t)}appendChar(e){this._flush(),this._appendChar(e,1,this._sourcePosition)}queue(e){if(10===e)for(;0!==this._queueCursor;){let e=this._queue[this._queueCursor-1].char;if(32!==e&&9!==e)break;this._queueCursor--}let t=this._sourcePosition;this._pushQueue(e,1,t.line,t.column,t.filename)}queueIndentation(e){0!==e&&this._pushQueue(-1,e,void 0,void 0,void 0)}_flush(){let e=this._queueCursor,t=this._queue;for(let r=0;r<e;r++){let e=t[r];this._appendChar(e.char,e.repeat,e)}this._queueCursor=0}_appendChar(e,t,r){if(this._last=e,-1===e){let e=this._fastIndentations[t];void 0!==e?this._str+=e:this._str+=t>1?this._indentChar.repeat(t):this._indentChar}else this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e);10!==e?(this._mark(r.line,r.column,r.identifierName,r.identifierNamePos,r.filename),this._position.column+=t):(this._position.line++,this._position.column=0),this._canMarkIdName&&(r.identifierName=void 0,r.identifierNamePos=void 0)}_append(e,t,r){let n=e.length,i=this._position;if(this._last=e.charCodeAt(n-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,!r&&!this._map){i.column+=n;return}let{column:a,identifierName:s,identifierNamePos:o,filename:l}=t,u=t.line;(null!=s||null!=o)&&this._canMarkIdName&&(t.identifierName=void 0,t.identifierNamePos=void 0);let c=e.indexOf("\n"),d=0;for(0!==c&&this._mark(u,a,s,o,l);-1!==c;)i.line++,i.column=0,(d=c+1)<n&&void 0!==u&&this._mark(++u,0,null,null,l),c=e.indexOf("\n",d);i.column+=n-d}_mark(e,t,r,n,i){var a;null==(a=this._map)||a.mark(this._position,e,t,r,n,i)}removeTrailingNewline(){let e=this._queueCursor;0!==e&&10===this._queue[e-1].char&&this._queueCursor--}removeLastSemicolon(){let e=this._queueCursor;0!==e&&59===this._queue[e-1].char&&this._queueCursor--}getLastChar(){let e=this._queueCursor;return 0!==e?this._queue[e-1].char:this._last}getNewlineCount(){let e=this._queueCursor,t=0;if(0===e)return+(10===this._last);for(let r=e-1;r>=0&&10===this._queue[r].char;r--)t++;return t===e&&10===this._last?t+1:t}endsWithCharAndNewline(){let e=this._queue,t=this._queueCursor;if(0!==t)return 10!==e[t-1].char?void 0:t>1?e[t-2].char:this._last}hasContent(){return 0!==this._queueCursor||!!this._last}exactSource(e,t){if(!this._map)return void t();this.source("start",e);let r=e.identifierName,n=this._sourcePosition;r&&(this._canMarkIdName=!1,n.identifierName=r),t(),r&&(this._canMarkIdName=!0,n.identifierName=void 0,n.identifierNamePos=void 0),this.source("end",e)}source(e,t){this._map&&this._normalizePosition(e,t,0)}sourceWithOffset(e,t,r){this._map&&this._normalizePosition(e,t,r)}_normalizePosition(e,t,r){let n=t[e],i=this._sourcePosition;n&&(i.line=n.line,i.column=Math.max(n.column+r,0),i.filename=t.filename)}getCurrentColumn(){let e=this._queue,t=this._queueCursor,r=-1,n=0;for(let i=0;i<t;i++){let t=e[i];10===t.char&&(r=n),n+=t.repeat}return -1===r?this._position.column+n:n-1-r}getCurrentLine(){let e=0,t=this._queue;for(let r=0;r<this._queueCursor;r++)10===t[r].char&&e++;return this._position.line+e}}t.default=r},97209:(e,t,r)=>{"use strict";var n=r(18107).F.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,i){var a=null!=t.highWaterMark?t.highWaterMark:i?t[r]:null;if(null!=a){if(!(isFinite(a)&&Math.floor(a)===a)||a<0)throw new n(i?r:"highWaterMark",a);return Math.floor(a)}return e.objectMode?16:16384}}},97631:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(42518)),i=r(65433);function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=i.ID,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t.prototype.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},t}(n.default),e.exports=t.default},97723:(e,t,r)=>{"use strict";r.r(t)},98175:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e,t),(0,i.default)(e,t),(0,a.default)(e,t),e};var n=r(38524),i=r(56784),a=r(70054)},98634:(e,t)=>{"use strict";function r(e,t){if(!e.tokenMap||!t.start||!t.end)return void e.semicolon();e.tokenMap.endMatches(t,",")?e.token(","):e.tokenMap.endMatches(t,";")&&e.semicolon()}function n(e,t,r){var n;let i=0;null!=(n=e.tokenMap)&&n.startMatches(t,r)&&(i=1,e.token(r)),e.printJoin(t.types,void 0,void 0,function(e){this.space(),this.token(r,null,e+i),this.space()})}function i(e,t){!0!==t&&e.token(t)}function a(e){s(this,e,()=>{var t;return this.printList(e.members,null==(t=this.shouldPrintTrailingComma("}"))||t,!0,!0)})}function s(e,t,r){e.token("{");let n=e.enterDelimited();r(),n(),e.rightBrace(t)}function o(e,t,r){var n;let i=new Set;for(let e of r)e&&i.add(e);for(let r of(null==(n=e.tokenMap)||n.find(t,t=>{if(i.has(t.value))return e.token(t.value),e.space(),i.delete(t.value),0===i.size}),i))e.word(r),e.space()}Object.defineProperty(t,"__esModule",{value:!0}),t.TSAnyKeyword=function(){this.word("any")},t.TSArrayType=function(e){this.print(e.elementType,!0),this.tokenChar(91),this.tokenChar(93)},t.TSSatisfiesExpression=t.TSAsExpression=function(e){let{type:t,expression:r,typeAnnotation:n}=e;this.print(r,!0),this.space(),this.word("TSAsExpression"===t?"as":"satisfies"),this.space(),this.print(n)},t.TSBigIntKeyword=function(){this.word("bigint")},t.TSBooleanKeyword=function(){this.word("boolean")},t.TSCallSignatureDeclaration=function(e){this.tsPrintSignatureDeclarationBase(e),r(this,e)},t.TSInterfaceHeritage=t.TSClassImplements=function(e){this.print(e.expression),this.print(e.typeArguments)},t.TSConditionalType=function(e){this.print(e.checkType),this.space(),this.word("extends"),this.space(),this.print(e.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(e.trueType),this.space(),this.tokenChar(58),this.space(),this.print(e.falseType)},t.TSConstructSignatureDeclaration=function(e){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(e),r(this,e)},t.TSConstructorType=function(e){e.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(e)},t.TSDeclareFunction=function(e,t){e.declare&&(this.word("declare"),this.space()),this._functionHead(e,t),this.semicolon()},t.TSDeclareMethod=function(e){this._classMethodHead(e),this.semicolon()},t.TSEnumBody=a,t.TSEnumDeclaration=function(e){let{declare:t,const:r,id:n}=e;t&&(this.word("declare"),this.space()),r&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(n),this.space(),a.call(this,e)},t.TSEnumMember=function(e){let{id:t,initializer:r}=e;this.print(t),r&&(this.space(),this.tokenChar(61),this.space(),this.print(r))},t.TSExportAssignment=function(e){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(e.expression),this.semicolon()},t.TSExternalModuleReference=function(e){this.token("require("),this.print(e.expression),this.tokenChar(41)},t.TSFunctionType=function(e){this.tsPrintFunctionOrConstructorType(e)},t.TSImportEqualsDeclaration=function(e){let{id:t,moduleReference:r}=e;e.isExport&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(t),this.space(),this.tokenChar(61),this.space(),this.print(r),this.semicolon()},t.TSImportType=function(e){let{argument:t,qualifier:r,options:n}=e;this.word("import"),this.tokenChar(40),this.print(t),n&&(this.tokenChar(44),this.print(n)),this.tokenChar(41),r&&(this.tokenChar(46),this.print(r));let i=e.typeParameters;i&&this.print(i)},t.TSIndexSignature=function(e){let{readonly:t,static:n}=e;n&&(this.word("static"),this.space()),t&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(e.parameters,"]"),this.print(e.typeAnnotation),r(this,e)},t.TSIndexedAccessType=function(e){this.print(e.objectType,!0),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)},t.TSInferType=function(e){this.word("infer"),this.print(e.typeParameter)},t.TSInstantiationExpression=function(e){this.print(e.expression),this.print(e.typeParameters)},t.TSInterfaceBody=function(e){s(this,e,()=>this.printJoin(e.body,!0,!0))},t.TSInterfaceDeclaration=function(e){let{declare:t,id:r,typeParameters:n,extends:i,body:a}=e;t&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(r),this.print(n),null!=i&&i.length&&(this.space(),this.word("extends"),this.space(),this.printList(i)),this.space(),this.print(a)},t.TSIntersectionType=function(e){n(this,e,"&")},t.TSIntrinsicKeyword=function(){this.word("intrinsic")},t.TSLiteralType=function(e){this.print(e.literal)},t.TSMappedType=function(e){let{nameType:t,optional:r,readonly:n,typeAnnotation:a}=e;this.tokenChar(123);let s=this.enterDelimited();this.space(),n&&(i(this,n),this.word("readonly"),this.space()),this.tokenChar(91),this.word(e.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(e.typeParameter.constraint),t&&(this.space(),this.word("as"),this.space(),this.print(t)),this.tokenChar(93),r&&(i(this,r),this.tokenChar(63)),a&&(this.tokenChar(58),this.space(),this.print(a)),this.space(),s(),this.tokenChar(125)},t.TSMethodSignature=function(e){let{kind:t}=e;("set"===t||"get"===t)&&(this.word(t),this.space()),this.tsPrintPropertyOrMethodName(e),this.tsPrintSignatureDeclarationBase(e),r(this,e)},t.TSModuleBlock=function(e){s(this,e,()=>this.printSequence(e.body,!0))},t.TSModuleDeclaration=function(e){let{declare:t,id:r,kind:n}=e;t&&(this.word("declare"),this.space());{if(e.global||(this.word(null!=n?n:"Identifier"===r.type?"namespace":"module"),this.space()),this.print(r),!e.body)return void this.semicolon();let t=e.body;for(;"TSModuleDeclaration"===t.type;)this.tokenChar(46),this.print(t.id),t=t.body;this.space(),this.print(t)}},t.TSNamedTupleMember=function(e){this.print(e.label),e.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(e.elementType)},t.TSNamespaceExportDeclaration=function(e){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(e.id),this.semicolon()},t.TSNeverKeyword=function(){this.word("never")},t.TSNonNullExpression=function(e){this.print(e.expression),this.tokenChar(33)},t.TSNullKeyword=function(){this.word("null")},t.TSNumberKeyword=function(){this.word("number")},t.TSObjectKeyword=function(){this.word("object")},t.TSOptionalType=function(e){this.print(e.typeAnnotation),this.tokenChar(63)},t.TSParameterProperty=function(e){e.accessibility&&(this.word(e.accessibility),this.space()),e.readonly&&(this.word("readonly"),this.space()),this._param(e.parameter)},t.TSParenthesizedType=function(e){this.tokenChar(40),this.print(e.typeAnnotation),this.tokenChar(41)},t.TSPropertySignature=function(e){let{readonly:t}=e;t&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(e),this.print(e.typeAnnotation),r(this,e)},t.TSQualifiedName=function(e){this.print(e.left),this.tokenChar(46),this.print(e.right)},t.TSRestType=function(e){this.token("..."),this.print(e.typeAnnotation)},t.TSStringKeyword=function(){this.word("string")},t.TSSymbolKeyword=function(){this.word("symbol")},t.TSTemplateLiteralType=function(e){this._printTemplate(e,e.types)},t.TSThisType=function(){this.word("this")},t.TSTupleType=function(e){this.tokenChar(91),this.printList(e.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)},t.TSTypeAliasDeclaration=function(e){let{declare:t,id:r,typeParameters:n,typeAnnotation:i}=e;t&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(r),this.print(n),this.space(),this.tokenChar(61),this.space(),this.print(i),this.semicolon()},t.TSTypeAnnotation=function(e,t){this.token(("TSFunctionType"===t.type||"TSConstructorType"===t.type)&&t.typeAnnotation===e?"=>":":"),this.space(),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)},t.TSTypeAssertion=function(e){let{typeAnnotation:t,expression:r}=e;this.tokenChar(60),this.print(t),this.tokenChar(62),this.space(),this.print(r)},t.TSTypeLiteral=function(e){s(this,e,()=>this.printJoin(e.members,!0,!0))},t.TSTypeOperator=function(e){this.word(e.operator),this.space(),this.print(e.typeAnnotation)},t.TSTypeParameter=function(e){e.const&&(this.word("const"),this.space()),e.in&&(this.word("in"),this.space()),e.out&&(this.word("out"),this.space()),this.word(e.name),e.constraint&&(this.space(),this.word("extends"),this.space(),this.print(e.constraint)),e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default))},t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=function(e,t){this.tokenChar(60);let r="ArrowFunctionExpression"===t.type&&1===e.params.length;this.tokenMap&&null!=e.start&&null!=e.end&&(r&&(r=!!this.tokenMap.find(e,e=>this.tokenMap.matchesOriginal(e,","))),r||(r=this.shouldPrintTrailingComma(">"))),this.printList(e.params,r),this.tokenChar(62)},t.TSTypePredicate=function(e){e.asserts&&(this.word("asserts"),this.space()),this.print(e.parameterName),e.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(e.typeAnnotation.typeAnnotation))},t.TSTypeQuery=function(e){this.word("typeof"),this.space(),this.print(e.exprName);let t=e.typeParameters;t&&this.print(t)},t.TSTypeReference=function(e){let t=e.typeParameters;this.print(e.typeName,!!t),this.print(t)},t.TSUndefinedKeyword=function(){this.word("undefined")},t.TSUnionType=function(e){n(this,e,"|")},t.TSUnknownKeyword=function(){this.word("unknown")},t.TSVoidKeyword=function(){this.word("void")},t.tsPrintClassMemberModifiers=function(e){let t="ClassPrivateProperty"===e.type,r="ClassAccessorProperty"===e.type||"ClassProperty"===e.type;o(this,e,[r&&e.declare&&"declare",!t&&e.accessibility]),e.static&&(this.word("static"),this.space()),o(this,e,[!t&&e.abstract&&"abstract",!t&&e.override&&"override",(r||t)&&e.readonly&&"readonly"])},t.tsPrintFunctionOrConstructorType=function(e){let{typeParameters:t}=e,r=e.parameters;this.print(t),this.tokenChar(40),this._parameters(r,")"),this.space();let n=e.typeAnnotation;this.print(n)},t.tsPrintPropertyOrMethodName=function(e){e.computed&&this.tokenChar(91),this.print(e.key),e.computed&&this.tokenChar(93),e.optional&&this.tokenChar(63)},t.tsPrintSignatureDeclarationBase=function(e){let{typeParameters:t}=e,r=e.parameters;this.print(t),this.tokenChar(40),this._parameters(r,")");let n=e.typeAnnotation;this.print(n)}},99194:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(let r of Object.keys(t))if(e[r]!==t[r])return!1;return!0}},99742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return n.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return n.isIdentifierName}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return n.isIdentifierStart}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return i.isKeyword}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return i.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return i.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return i.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return i.isStrictReservedWord}});var n=r(67923),i=r(8481)},99870:e=>{var t=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,r=0,n={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++r}),e.__id},clone:function e(t,r){var n,a;switch(r=r||{},i.util.type(t)){case"Object":if(r[a=i.util.objId(t)])return r[a];for(var s in n={},r[a]=n,t)t.hasOwnProperty(s)&&(n[s]=e(t[s],r));return n;case"Array":if(r[a=i.util.objId(t)])return r[a];return n=[],r[a]=n,t.forEach(function(t,i){n[i]=e(t,r)}),n;default:return t}},getLanguage:function(e){for(;e;){var r=t.exec(e.className);if(r)return r[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,r){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+r)},currentScript:function(){if("undefined"==typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName&&1)return document.currentScript;try{throw Error()}catch(n){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(n.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var r in t)if(t[r].src==e)return t[r]}return null}},isActive:function(e,t,r){for(var n="no-"+t;e;){var i=e.classList;if(i.contains(t))return!0;if(i.contains(n))return!1;e=e.parentElement}return!!r}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var r=i.util.clone(i.languages[e]);for(var n in t)r[n]=t[n];return r},insertBefore:function(e,t,r,n){var a=(n=n||i.languages)[e],s={};for(var o in a)if(a.hasOwnProperty(o)){if(o==t)for(var l in r)r.hasOwnProperty(l)&&(s[l]=r[l]);r.hasOwnProperty(o)||(s[o]=a[o])}var u=n[e];return n[e]=s,i.languages.DFS(i.languages,function(t,r){r===u&&t!=e&&(this[t]=s)}),s},DFS:function e(t,r,n,a){a=a||{};var s=i.util.objId;for(var o in t)if(t.hasOwnProperty(o)){r.call(t,o,t[o],n||o);var l=t[o],u=i.util.type(l);"Object"!==u||a[s(l)]?"Array"!==u||a[s(l)]||(a[s(l)]=!0,e(l,r,o,a)):(a[s(l)]=!0,e(l,r,null,a))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,r){var n={callback:r,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",n),n.elements=Array.prototype.slice.apply(n.container.querySelectorAll(n.selector)),i.hooks.run("before-all-elements-highlight",n);for(var a,s=0;a=n.elements[s++];)i.highlightElement(a,!0===t,n.callback)},highlightElement:function(t,r,n){var a=i.util.getLanguage(t),s=i.languages[a];i.util.setLanguage(t,a);var o=t.parentElement;o&&"pre"===o.nodeName.toLowerCase()&&i.util.setLanguage(o,a);var l=t.textContent,u={element:t,language:a,grammar:s,code:l};function c(e){u.highlightedCode=e,i.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,i.hooks.run("after-highlight",u),i.hooks.run("complete",u),n&&n.call(u.element)}if(i.hooks.run("before-sanity-check",u),(o=u.element.parentElement)&&"pre"===o.nodeName.toLowerCase()&&!o.hasAttribute("tabindex")&&o.setAttribute("tabindex","0"),!u.code){i.hooks.run("complete",u),n&&n.call(u.element);return}if(i.hooks.run("before-highlight",u),!u.grammar)return void c(i.util.encode(u.code));if(r&&e.Worker){var d=new Worker(i.filename);d.onmessage=function(e){c(e.data)},d.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else c(i.highlight(u.code,u.grammar,u.language))},highlight:function(e,t,r){var n={code:e,grammar:t,language:r};if(i.hooks.run("before-tokenize",n),!n.grammar)throw Error('The language "'+n.language+'" has no grammar.');return n.tokens=i.tokenize(n.code,n.grammar),i.hooks.run("after-tokenize",n),a.stringify(i.util.encode(n.tokens),n.language)},tokenize:function(e,t){var r=t.rest;if(r){for(var n in r)t[n]=r[n];delete t.rest}var u=new o;return l(u,u.head,e),function e(t,r,n,o,u,c){for(var d in n)if(n.hasOwnProperty(d)&&n[d]){var p=n[d];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(c&&c.cause==d+","+h)return;var m=p[h],f=m.inside,y=!!m.lookbehind,g=!!m.greedy,b=m.alias;if(g&&!m.pattern.global){var w=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,w+"g")}for(var v=m.pattern||m,k=o.next,x=u;k!==r.tail&&(!c||!(x>=c.reach));x+=k.value.length,k=k.next){var S,E=k.value;if(r.length>t.length)return;if(!(E instanceof a)){var T=1;if(g){if(!(S=s(v,x,t,y))||S.index>=t.length)break;var _=S.index,A=S.index+S[0].length,C=x;for(C+=k.value.length;_>=C;)C+=(k=k.next).value.length;if(C-=k.value.length,x=C,k.value instanceof a)continue;for(var P=k;P!==r.tail&&(C<A||"string"==typeof P.value);P=P.next)T++,C+=P.value.length;T--,E=t.slice(x,C),S.index-=x}else if(!(S=s(v,0,E,y)))continue;var _=S.index,D=S[0],I=E.slice(0,_),O=E.slice(_+D.length),N=x+E.length;c&&N>c.reach&&(c.reach=N);var L=k.prev;if(I&&(L=l(r,L,I),x+=I.length),function(e,t,r){for(var n=t.next,i=0;i<r&&n!==e.tail;i++)n=n.next;t.next=n,n.prev=t,e.length-=i}(r,L,T),k=l(r,L,new a(d,f?i.tokenize(D,f):D,b,D)),O&&l(r,k,O),T>1){var R={cause:d+","+h,reach:N};e(t,r,n,k.prev,x,R),c&&R.reach>c.reach&&(c.reach=R.reach)}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],r=e.head.next;r!==e.tail;)t.push(r.value),r=r.next;return t}(u)},hooks:{all:{},add:function(e,t){var r=i.hooks.all;r[e]=r[e]||[],r[e].push(t)},run:function(e,t){var r=i.hooks.all[e];if(r&&r.length)for(var n,a=0;n=r[a++];)n(t)}},Token:a};function a(e,t,r,n){this.type=e,this.content=t,this.alias=r,this.length=0|(n||"").length}function s(e,t,r,n){e.lastIndex=t;var i=e.exec(r);if(i&&n&&i[1]){var a=i[1].length;i.index+=a,i[0]=i[0].slice(a)}return i}function o(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,r){var n=t.next,i={value:r,prev:t,next:n};return t.next=i,n.prev=i,e.length++,i}if(e.Prism=i,a.stringify=function e(t,r){if("string"==typeof t)return t;if(Array.isArray(t)){var n="";return t.forEach(function(t){n+=e(t,r)}),n}var a={type:t.type,content:e(t.content,r),tag:"span",classes:["token",t.type],attributes:{},language:r},s=t.alias;s&&(Array.isArray(s)?Array.prototype.push.apply(a.classes,s):a.classes.push(s)),i.hooks.run("wrap",a);var o="";for(var l in a.attributes)o+=" "+l+'="'+(a.attributes[l]||"").replace(/"/g,"&quot;")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+o+">"+a.content+"</"+a.tag+">"},!e.document)return e.addEventListener&&(i.disableWorkerMessageHandler||e.addEventListener("message",function(t){var r=JSON.parse(t.data),n=r.language,a=r.code,s=r.immediateClose;e.postMessage(i.highlight(a,i.languages[n],n)),s&&e.close()},!1)),i;var u=i.util.currentScript();function c(){i.manual||i.highlightAll()}if(u&&(i.filename=u.src,u.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var d=document.readyState;"loading"===d||"interactive"===d&&u&&u.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=t),"undefined"!=typeof global&&(global.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,r){var n={};n["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[r]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};i["language-"+r]={pattern:/[\s\S]+/,inside:t.languages[r]};var a={};a[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:i},t.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,r){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:t.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source)+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if(void 0!==t&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},r="data-src-status",n="loading",i="loaded",a="pre[data-src]:not(["+r+'="'+i+'"]):not(['+r+'="'+n+'"])';t.hooks.add("before-highlightall",function(e){e.selector+=", "+a}),t.hooks.add("before-sanity-check",function(s){var o=s.element;if(o.matches(a)){s.code="",o.setAttribute(r,n);var l,u,c,d,p=o.appendChild(document.createElement("CODE"));p.textContent="Loading…";var h=o.getAttribute("data-src"),m=s.language;if("none"===m){var f=(/\.(\w+)$/.exec(h)||[,"none"])[1];m=e[f]||f}t.util.setLanguage(p,m),t.util.setLanguage(o,m);var y=t.plugins.autoloader;y&&y.loadLanguages(m),l=h,u=function(e){o.setAttribute(r,i);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var r=Number(t[1]),n=t[2],i=t[3];return n?i?[r,Number(i)]:[r,void 0]:[r,r]}}(o.getAttribute("data-range"));if(n){var a=e.split(/\r\n?|\n/g),s=n[0],l=null==n[1]?a.length:n[1];s<0&&(s+=a.length),s=Math.max(0,Math.min(s-1,a.length)),l<0&&(l+=a.length),l=Math.max(0,Math.min(l,a.length)),e=a.slice(s,l).join("\n"),o.hasAttribute("data-start")||o.setAttribute("data-start",String(s+1))}p.textContent=e,t.highlightElement(p)},c=function(e){o.setAttribute(r,"failed"),p.textContent=e},(d=new XMLHttpRequest).open("GET",l,!0),d.onreadystatechange=function(){var e;4==d.readyState&&(d.status<400&&d.responseText?u(d.responseText):d.status>=400?c((e=d.status,"✖ Error "+e+" while fetching file: "+d.statusText)):c("✖ Error: File does not exist or is empty"))},d.send(null)}}),t.plugins.fileHighlight={highlight:function(e){for(var r,n=(e||document).querySelectorAll(a),i=0;r=n[i++];)t.highlightElement(r)}};var s=!1;t.fileHighlight=function(){s||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),s=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[851,834,532,161],()=>r(33919));module.exports=n})();
503
+ `,loader:a().extname(e).slice(1)})),t.onResolve({filter:/^react-email-module-that-will-export-render$/},async e=>{let r={kind:"import-statement",importer:e.importer,resolveDir:e.resolveDir,namespace:e.namespace},n=await t.resolve("@react-email/render",r);return 0===n.errors.length||(n=await t.resolve("@react-email/components",r)).errors.length>0&&n.errors[0]&&(n.errors[0].text="Failed trying to import `render` from either `@react-email/render` or `@react-email/components` to be able to render your email template.\n Maybe you don't have either of them installed?"),n})}})},96644:(e,t,r)=>{"use strict";let{Buffer:n}=r(79428),i=Symbol.for("BufferList");function a(e){if(!(this instanceof a))return new a(e);a._init.call(this,e)}a._init=function(e){Object.defineProperty(this,i,{value:!0}),this._bufs=[],this.length=0,e&&this.append(e)},a.prototype._new=function(e){return new a(e)},a.prototype._offset=function(e){if(0===e)return[0,0];let t=0;for(let r=0;r<this._bufs.length;r++){let n=t+this._bufs[r].length;if(e<n||r===this._bufs.length-1)return[r,e-t];t=n}},a.prototype._reverseOffset=function(e){let t=e[0],r=e[1];for(let e=0;e<t;e++)r+=this._bufs[e].length;return r},a.prototype.get=function(e){if(e>this.length||e<0)return;let t=this._offset(e);return this._bufs[t[0]][t[1]]},a.prototype.slice=function(e,t){return"number"==typeof e&&e<0&&(e+=this.length),"number"==typeof t&&t<0&&(t+=this.length),this.copy(null,0,e,t)},a.prototype.copy=function(e,t,r,i){if(("number"!=typeof r||r<0)&&(r=0),("number"!=typeof i||i>this.length)&&(i=this.length),r>=this.length||i<=0)return e||n.alloc(0);let a=!!e,s=this._offset(r),o=i-r,l=o,u=a&&t||0,c=s[1];if(0===r&&i===this.length){if(!a)return 1===this._bufs.length?this._bufs[0]:n.concat(this._bufs,this.length);for(let t=0;t<this._bufs.length;t++)this._bufs[t].copy(e,u),u+=this._bufs[t].length;return e}if(l<=this._bufs[s[0]].length-c)return a?this._bufs[s[0]].copy(e,t,c,c+l):this._bufs[s[0]].slice(c,c+l);a||(e=n.allocUnsafe(o));for(let t=s[0];t<this._bufs.length;t++){let r=this._bufs[t].length-c;if(l>r)this._bufs[t].copy(e,u,c),u+=r;else{this._bufs[t].copy(e,u,c,c+l),u+=r;break}l-=r,c&&(c=0)}return e.length>u?e.slice(0,u):e},a.prototype.shallowSlice=function(e,t){if(e=e||0,t="number"!=typeof t?this.length:t,e<0&&(e+=this.length),t<0&&(t+=this.length),e===t)return this._new();let r=this._offset(e),n=this._offset(t),i=this._bufs.slice(r[0],n[0]+1);return 0===n[1]?i.pop():i[i.length-1]=i[i.length-1].slice(0,n[1]),0!==r[1]&&(i[0]=i[0].slice(r[1])),this._new(i)},a.prototype.toString=function(e,t,r){return this.slice(t,r).toString(e)},a.prototype.consume=function(e){if(Number.isNaN(e=Math.trunc(e))||e<=0)return this;for(;this._bufs.length;)if(e>=this._bufs[0].length)e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}return this},a.prototype.duplicate=function(){let e=this._new();for(let t=0;t<this._bufs.length;t++)e.append(this._bufs[t]);return e},a.prototype.append=function(e){if(null==e)return this;if(e.buffer)this._appendBuffer(n.from(e.buffer,e.byteOffset,e.byteLength));else if(Array.isArray(e))for(let t=0;t<e.length;t++)this.append(e[t]);else if(this._isBufferList(e))for(let t=0;t<e._bufs.length;t++)this.append(e._bufs[t]);else"number"==typeof e&&(e=e.toString()),this._appendBuffer(n.from(e));return this},a.prototype._appendBuffer=function(e){this._bufs.push(e),this.length+=e.length},a.prototype.indexOf=function(e,t,r){if(void 0===r&&"string"==typeof t&&(r=t,t=void 0),"function"==typeof e||Array.isArray(e))throw TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if("number"==typeof e?e=n.from([e]):"string"==typeof e?e=n.from(e,r):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=n.from(e.buffer,e.byteOffset,e.byteLength):n.isBuffer(e)||(e=n.from(e)),isNaN(t=Number(t||0))&&(t=0),t<0&&(t=this.length+t),t<0&&(t=0),0===e.length)return t>this.length?this.length:t;let i=this._offset(t),a=i[0],s=i[1];for(;a<this._bufs.length;a++){let t=this._bufs[a];for(;s<t.length;)if(t.length-s>=e.length){let r=t.indexOf(e,s);if(-1!==r)return this._reverseOffset([a,r]);s=t.length-e.length+1}else{let t=this._reverseOffset([a,s]);if(this._match(t,e))return t;s++}s=0}return -1},a.prototype._match=function(e,t){if(this.length-e<t.length)return!1;for(let r=0;r<t.length;r++)if(this.get(e+r)!==t[r])return!1;return!0},function(){let e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(let t in e)!function(t){null===e[t]?a.prototype[t]=function(e,r){return this.slice(e,e+r)[t](0,r)}:a.prototype[t]=function(r=0){return this.slice(r,r+e[t])[t](0)}}(t)}(),a.prototype._isBufferList=function(e){return e instanceof a||a.isBufferList(e)},a.isBufferList=function(e){return null!=e&&e[i]},e.exports=a},96904:(e,t,r)=>{"use strict";var n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,o=(e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of a(t))s.call(e,l)||l===r||n(e,l,{get:()=>t[l],enumerable:!(o=i(t,l))||o.enumerable});return e},l=(e,t,r)=>(o(e,t,"default"),r&&o(r,t,"default")),u={};e.exports=o(n({},"__esModule",{value:!0}),u),l(u,r(55636),e.exports),l(u,r(44300),e.exports),l(u,r(183),e.exports),l(u,r(54909),e.exports),l(u,r(88342),e.exports),l(u,r(74243),e.exports),l(u,r(35855),e.exports),l(u,r(65742),e.exports),l(u,r(79576),e.exports),l(u,r(32782),e.exports),l(u,r(33963),e.exports),l(u,r(10135),e.exports),l(u,r(92464),e.exports),l(u,r(65739),e.exports),l(u,r(3618),e.exports),l(u,r(84253),e.exports),l(u,r(37846),e.exports),l(u,r(67491),e.exports),l(u,r(48596),e.exports),l(u,r(90477),e.exports)},96949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,i.isSuper)(e.object))throw Error("Cannot prepend node to super property access (`super.foo`).");return e.object=(0,n.memberExpression)(t,e.object),e};var n=r(95285),i=r(40838)},97202:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r{constructor(e,t){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=e,this._indentChar=t;for(let e=0;e<64;e++)this._fastIndentations.push(t.repeat(e));this._allocQueue()}_allocQueue(){let e=this._queue;for(let t=0;t<16;t++)e.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(e,t,r,n,i){let a=this._queueCursor;a===this._queue.length&&this._allocQueue();let s=this._queue[a];s.char=e,s.repeat=t,s.line=r,s.column=n,s.filename=i,this._queueCursor++}_popQueue(){if(0===this._queueCursor)throw Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let e=this._map,t={code:(this._buf+this._str).trimRight(),decodedMap:null==e?void 0:e.getDecoded(),get __mergedMap(){return this.map},get map(){let r=e?e.get():null;return t.map=r,r},set map(value){Object.defineProperty(t,"map",{value,writable:!0})},get rawMappings(){let r=null==e?void 0:e.getRawMappings();return t.rawMappings=r,r},set rawMappings(value){Object.defineProperty(t,"rawMappings",{value,writable:!0})}};return t}append(e,t){this._flush(),this._append(e,this._sourcePosition,t)}appendChar(e){this._flush(),this._appendChar(e,1,this._sourcePosition)}queue(e){if(10===e)for(;0!==this._queueCursor;){let e=this._queue[this._queueCursor-1].char;if(32!==e&&9!==e)break;this._queueCursor--}let t=this._sourcePosition;this._pushQueue(e,1,t.line,t.column,t.filename)}queueIndentation(e){0!==e&&this._pushQueue(-1,e,void 0,void 0,void 0)}_flush(){let e=this._queueCursor,t=this._queue;for(let r=0;r<e;r++){let e=t[r];this._appendChar(e.char,e.repeat,e)}this._queueCursor=0}_appendChar(e,t,r){if(this._last=e,-1===e){let e=this._fastIndentations[t];void 0!==e?this._str+=e:this._str+=t>1?this._indentChar.repeat(t):this._indentChar}else this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e);10!==e?(this._mark(r.line,r.column,r.identifierName,r.identifierNamePos,r.filename),this._position.column+=t):(this._position.line++,this._position.column=0),this._canMarkIdName&&(r.identifierName=void 0,r.identifierNamePos=void 0)}_append(e,t,r){let n=e.length,i=this._position;if(this._last=e.charCodeAt(n-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,!r&&!this._map){i.column+=n;return}let{column:a,identifierName:s,identifierNamePos:o,filename:l}=t,u=t.line;(null!=s||null!=o)&&this._canMarkIdName&&(t.identifierName=void 0,t.identifierNamePos=void 0);let c=e.indexOf("\n"),d=0;for(0!==c&&this._mark(u,a,s,o,l);-1!==c;)i.line++,i.column=0,(d=c+1)<n&&void 0!==u&&this._mark(++u,0,null,null,l),c=e.indexOf("\n",d);i.column+=n-d}_mark(e,t,r,n,i){var a;null==(a=this._map)||a.mark(this._position,e,t,r,n,i)}removeTrailingNewline(){let e=this._queueCursor;0!==e&&10===this._queue[e-1].char&&this._queueCursor--}removeLastSemicolon(){let e=this._queueCursor;0!==e&&59===this._queue[e-1].char&&this._queueCursor--}getLastChar(){let e=this._queueCursor;return 0!==e?this._queue[e-1].char:this._last}getNewlineCount(){let e=this._queueCursor,t=0;if(0===e)return+(10===this._last);for(let r=e-1;r>=0&&10===this._queue[r].char;r--)t++;return t===e&&10===this._last?t+1:t}endsWithCharAndNewline(){let e=this._queue,t=this._queueCursor;if(0!==t)return 10!==e[t-1].char?void 0:t>1?e[t-2].char:this._last}hasContent(){return 0!==this._queueCursor||!!this._last}exactSource(e,t){if(!this._map)return void t();this.source("start",e);let r=e.identifierName,n=this._sourcePosition;r&&(this._canMarkIdName=!1,n.identifierName=r),t(),r&&(this._canMarkIdName=!0,n.identifierName=void 0,n.identifierNamePos=void 0),this.source("end",e)}source(e,t){this._map&&this._normalizePosition(e,t,0)}sourceWithOffset(e,t,r){this._map&&this._normalizePosition(e,t,r)}_normalizePosition(e,t,r){let n=t[e],i=this._sourcePosition;n&&(i.line=n.line,i.column=Math.max(n.column+r,0),i.filename=t.filename)}getCurrentColumn(){let e=this._queue,t=this._queueCursor,r=-1,n=0;for(let i=0;i<t;i++){let t=e[i];10===t.char&&(r=n),n+=t.repeat}return -1===r?this._position.column+n:n-1-r}getCurrentLine(){let e=0,t=this._queue;for(let r=0;r<this._queueCursor;r++)10===t[r].char&&e++;return this._position.line+e}}t.default=r},97209:(e,t,r)=>{"use strict";var n=r(18107).F.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,i){var a=null!=t.highWaterMark?t.highWaterMark:i?t[r]:null;if(null!=a){if(!(isFinite(a)&&Math.floor(a)===a)||a<0)throw new n(i?r:"highWaterMark",a);return Math.floor(a)}return e.objectMode?16:16384}}},97631:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(42518)),i=r(65433);function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}t.default=function(e){function t(t){var r;return(r=e.call(this,t)||this).type=i.ID,r}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e),t.prototype.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},t}(n.default),e.exports=t.default},97723:(e,t,r)=>{"use strict";r.r(t)},98175:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e,t),(0,i.default)(e,t),(0,a.default)(e,t),e};var n=r(38524),i=r(56784),a=r(70054)},98634:(e,t)=>{"use strict";function r(e,t){if(!e.tokenMap||!t.start||!t.end)return void e.semicolon();e.tokenMap.endMatches(t,",")?e.token(","):e.tokenMap.endMatches(t,";")&&e.semicolon()}function n(e,t,r){var n;let i=0;null!=(n=e.tokenMap)&&n.startMatches(t,r)&&(i=1,e.token(r)),e.printJoin(t.types,void 0,void 0,function(e){this.space(),this.token(r,null,e+i),this.space()})}function i(e,t){!0!==t&&e.token(t)}function a(e){s(this,e,()=>{var t;return this.printList(e.members,null==(t=this.shouldPrintTrailingComma("}"))||t,!0,!0)})}function s(e,t,r){e.token("{");let n=e.enterDelimited();r(),n(),e.rightBrace(t)}function o(e,t,r){var n;let i=new Set;for(let e of r)e&&i.add(e);for(let r of(null==(n=e.tokenMap)||n.find(t,t=>{if(i.has(t.value))return e.token(t.value),e.space(),i.delete(t.value),0===i.size}),i))e.word(r),e.space()}Object.defineProperty(t,"__esModule",{value:!0}),t.TSAnyKeyword=function(){this.word("any")},t.TSArrayType=function(e){this.print(e.elementType,!0),this.tokenChar(91),this.tokenChar(93)},t.TSSatisfiesExpression=t.TSAsExpression=function(e){let{type:t,expression:r,typeAnnotation:n}=e;this.print(r,!0),this.space(),this.word("TSAsExpression"===t?"as":"satisfies"),this.space(),this.print(n)},t.TSBigIntKeyword=function(){this.word("bigint")},t.TSBooleanKeyword=function(){this.word("boolean")},t.TSCallSignatureDeclaration=function(e){this.tsPrintSignatureDeclarationBase(e),r(this,e)},t.TSInterfaceHeritage=t.TSClassImplements=function(e){this.print(e.expression),this.print(e.typeArguments)},t.TSConditionalType=function(e){this.print(e.checkType),this.space(),this.word("extends"),this.space(),this.print(e.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(e.trueType),this.space(),this.tokenChar(58),this.space(),this.print(e.falseType)},t.TSConstructSignatureDeclaration=function(e){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(e),r(this,e)},t.TSConstructorType=function(e){e.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(e)},t.TSDeclareFunction=function(e,t){e.declare&&(this.word("declare"),this.space()),this._functionHead(e,t),this.semicolon()},t.TSDeclareMethod=function(e){this._classMethodHead(e),this.semicolon()},t.TSEnumBody=a,t.TSEnumDeclaration=function(e){let{declare:t,const:r,id:n}=e;t&&(this.word("declare"),this.space()),r&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(n),this.space(),a.call(this,e)},t.TSEnumMember=function(e){let{id:t,initializer:r}=e;this.print(t),r&&(this.space(),this.tokenChar(61),this.space(),this.print(r))},t.TSExportAssignment=function(e){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(e.expression),this.semicolon()},t.TSExternalModuleReference=function(e){this.token("require("),this.print(e.expression),this.tokenChar(41)},t.TSFunctionType=function(e){this.tsPrintFunctionOrConstructorType(e)},t.TSImportEqualsDeclaration=function(e){let{id:t,moduleReference:r}=e;e.isExport&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(t),this.space(),this.tokenChar(61),this.space(),this.print(r),this.semicolon()},t.TSImportType=function(e){let{argument:t,qualifier:r,options:n}=e;this.word("import"),this.tokenChar(40),this.print(t),n&&(this.tokenChar(44),this.print(n)),this.tokenChar(41),r&&(this.tokenChar(46),this.print(r));let i=e.typeParameters;i&&this.print(i)},t.TSIndexSignature=function(e){let{readonly:t,static:n}=e;n&&(this.word("static"),this.space()),t&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(e.parameters,"]"),this.print(e.typeAnnotation),r(this,e)},t.TSIndexedAccessType=function(e){this.print(e.objectType,!0),this.tokenChar(91),this.print(e.indexType),this.tokenChar(93)},t.TSInferType=function(e){this.word("infer"),this.print(e.typeParameter)},t.TSInstantiationExpression=function(e){this.print(e.expression),this.print(e.typeParameters)},t.TSInterfaceBody=function(e){s(this,e,()=>this.printJoin(e.body,!0,!0))},t.TSInterfaceDeclaration=function(e){let{declare:t,id:r,typeParameters:n,extends:i,body:a}=e;t&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(r),this.print(n),null!=i&&i.length&&(this.space(),this.word("extends"),this.space(),this.printList(i)),this.space(),this.print(a)},t.TSIntersectionType=function(e){n(this,e,"&")},t.TSIntrinsicKeyword=function(){this.word("intrinsic")},t.TSLiteralType=function(e){this.print(e.literal)},t.TSMappedType=function(e){let{nameType:t,optional:r,readonly:n,typeAnnotation:a}=e;this.tokenChar(123);let s=this.enterDelimited();this.space(),n&&(i(this,n),this.word("readonly"),this.space()),this.tokenChar(91),this.word(e.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(e.typeParameter.constraint),t&&(this.space(),this.word("as"),this.space(),this.print(t)),this.tokenChar(93),r&&(i(this,r),this.tokenChar(63)),a&&(this.tokenChar(58),this.space(),this.print(a)),this.space(),s(),this.tokenChar(125)},t.TSMethodSignature=function(e){let{kind:t}=e;("set"===t||"get"===t)&&(this.word(t),this.space()),this.tsPrintPropertyOrMethodName(e),this.tsPrintSignatureDeclarationBase(e),r(this,e)},t.TSModuleBlock=function(e){s(this,e,()=>this.printSequence(e.body,!0))},t.TSModuleDeclaration=function(e){let{declare:t,id:r,kind:n}=e;t&&(this.word("declare"),this.space());{if(e.global||(this.word(null!=n?n:"Identifier"===r.type?"namespace":"module"),this.space()),this.print(r),!e.body)return void this.semicolon();let t=e.body;for(;"TSModuleDeclaration"===t.type;)this.tokenChar(46),this.print(t.id),t=t.body;this.space(),this.print(t)}},t.TSNamedTupleMember=function(e){this.print(e.label),e.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(e.elementType)},t.TSNamespaceExportDeclaration=function(e){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(e.id),this.semicolon()},t.TSNeverKeyword=function(){this.word("never")},t.TSNonNullExpression=function(e){this.print(e.expression),this.tokenChar(33)},t.TSNullKeyword=function(){this.word("null")},t.TSNumberKeyword=function(){this.word("number")},t.TSObjectKeyword=function(){this.word("object")},t.TSOptionalType=function(e){this.print(e.typeAnnotation),this.tokenChar(63)},t.TSParameterProperty=function(e){e.accessibility&&(this.word(e.accessibility),this.space()),e.readonly&&(this.word("readonly"),this.space()),this._param(e.parameter)},t.TSParenthesizedType=function(e){this.tokenChar(40),this.print(e.typeAnnotation),this.tokenChar(41)},t.TSPropertySignature=function(e){let{readonly:t}=e;t&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(e),this.print(e.typeAnnotation),r(this,e)},t.TSQualifiedName=function(e){this.print(e.left),this.tokenChar(46),this.print(e.right)},t.TSRestType=function(e){this.token("..."),this.print(e.typeAnnotation)},t.TSStringKeyword=function(){this.word("string")},t.TSSymbolKeyword=function(){this.word("symbol")},t.TSTemplateLiteralType=function(e){this._printTemplate(e,e.types)},t.TSThisType=function(){this.word("this")},t.TSTupleType=function(e){this.tokenChar(91),this.printList(e.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)},t.TSTypeAliasDeclaration=function(e){let{declare:t,id:r,typeParameters:n,typeAnnotation:i}=e;t&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(r),this.print(n),this.space(),this.tokenChar(61),this.space(),this.print(i),this.semicolon()},t.TSTypeAnnotation=function(e,t){this.token(("TSFunctionType"===t.type||"TSConstructorType"===t.type)&&t.typeAnnotation===e?"=>":":"),this.space(),e.optional&&this.tokenChar(63),this.print(e.typeAnnotation)},t.TSTypeAssertion=function(e){let{typeAnnotation:t,expression:r}=e;this.tokenChar(60),this.print(t),this.tokenChar(62),this.space(),this.print(r)},t.TSTypeLiteral=function(e){s(this,e,()=>this.printJoin(e.members,!0,!0))},t.TSTypeOperator=function(e){this.word(e.operator),this.space(),this.print(e.typeAnnotation)},t.TSTypeParameter=function(e){e.const&&(this.word("const"),this.space()),e.in&&(this.word("in"),this.space()),e.out&&(this.word("out"),this.space()),this.word(e.name),e.constraint&&(this.space(),this.word("extends"),this.space(),this.print(e.constraint)),e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default))},t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=function(e,t){this.tokenChar(60);let r="ArrowFunctionExpression"===t.type&&1===e.params.length;this.tokenMap&&null!=e.start&&null!=e.end&&(r&&(r=!!this.tokenMap.find(e,e=>this.tokenMap.matchesOriginal(e,","))),r||(r=this.shouldPrintTrailingComma(">"))),this.printList(e.params,r),this.tokenChar(62)},t.TSTypePredicate=function(e){e.asserts&&(this.word("asserts"),this.space()),this.print(e.parameterName),e.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(e.typeAnnotation.typeAnnotation))},t.TSTypeQuery=function(e){this.word("typeof"),this.space(),this.print(e.exprName);let t=e.typeParameters;t&&this.print(t)},t.TSTypeReference=function(e){let t=e.typeParameters;this.print(e.typeName,!!t),this.print(t)},t.TSUndefinedKeyword=function(){this.word("undefined")},t.TSUnionType=function(e){n(this,e,"|")},t.TSUnknownKeyword=function(){this.word("unknown")},t.TSVoidKeyword=function(){this.word("void")},t.tsPrintClassMemberModifiers=function(e){let t="ClassPrivateProperty"===e.type,r="ClassAccessorProperty"===e.type||"ClassProperty"===e.type;o(this,e,[r&&e.declare&&"declare",!t&&e.accessibility]),e.static&&(this.word("static"),this.space()),o(this,e,[!t&&e.abstract&&"abstract",!t&&e.override&&"override",(r||t)&&e.readonly&&"readonly"])},t.tsPrintFunctionOrConstructorType=function(e){let{typeParameters:t}=e,r=e.parameters;this.print(t),this.tokenChar(40),this._parameters(r,")"),this.space();let n=e.typeAnnotation;this.print(n)},t.tsPrintPropertyOrMethodName=function(e){e.computed&&this.tokenChar(91),this.print(e.key),e.computed&&this.tokenChar(93),e.optional&&this.tokenChar(63)},t.tsPrintSignatureDeclarationBase=function(e){let{typeParameters:t}=e,r=e.parameters;this.print(t),this.tokenChar(40),this._parameters(r,")");let n=e.typeAnnotation;this.print(n)}},99194:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(let r of Object.keys(t))if(e[r]!==t[r])return!1;return!0}},99742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return n.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return n.isIdentifierName}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return n.isIdentifierStart}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return i.isKeyword}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return i.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return i.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return i.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return i.isStrictReservedWord}});var n=r(67923),i=r(8481)},99870:e=>{var t=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,r=0,n={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++r}),e.__id},clone:function e(t,r){var n,a;switch(r=r||{},i.util.type(t)){case"Object":if(r[a=i.util.objId(t)])return r[a];for(var s in n={},r[a]=n,t)t.hasOwnProperty(s)&&(n[s]=e(t[s],r));return n;case"Array":if(r[a=i.util.objId(t)])return r[a];return n=[],r[a]=n,t.forEach(function(t,i){n[i]=e(t,r)}),n;default:return t}},getLanguage:function(e){for(;e;){var r=t.exec(e.className);if(r)return r[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,r){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+r)},currentScript:function(){if("undefined"==typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName&&1)return document.currentScript;try{throw Error()}catch(n){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(n.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var r in t)if(t[r].src==e)return t[r]}return null}},isActive:function(e,t,r){for(var n="no-"+t;e;){var i=e.classList;if(i.contains(t))return!0;if(i.contains(n))return!1;e=e.parentElement}return!!r}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var r=i.util.clone(i.languages[e]);for(var n in t)r[n]=t[n];return r},insertBefore:function(e,t,r,n){var a=(n=n||i.languages)[e],s={};for(var o in a)if(a.hasOwnProperty(o)){if(o==t)for(var l in r)r.hasOwnProperty(l)&&(s[l]=r[l]);r.hasOwnProperty(o)||(s[o]=a[o])}var u=n[e];return n[e]=s,i.languages.DFS(i.languages,function(t,r){r===u&&t!=e&&(this[t]=s)}),s},DFS:function e(t,r,n,a){a=a||{};var s=i.util.objId;for(var o in t)if(t.hasOwnProperty(o)){r.call(t,o,t[o],n||o);var l=t[o],u=i.util.type(l);"Object"!==u||a[s(l)]?"Array"!==u||a[s(l)]||(a[s(l)]=!0,e(l,r,o,a)):(a[s(l)]=!0,e(l,r,null,a))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,r){var n={callback:r,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",n),n.elements=Array.prototype.slice.apply(n.container.querySelectorAll(n.selector)),i.hooks.run("before-all-elements-highlight",n);for(var a,s=0;a=n.elements[s++];)i.highlightElement(a,!0===t,n.callback)},highlightElement:function(t,r,n){var a=i.util.getLanguage(t),s=i.languages[a];i.util.setLanguage(t,a);var o=t.parentElement;o&&"pre"===o.nodeName.toLowerCase()&&i.util.setLanguage(o,a);var l=t.textContent,u={element:t,language:a,grammar:s,code:l};function c(e){u.highlightedCode=e,i.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,i.hooks.run("after-highlight",u),i.hooks.run("complete",u),n&&n.call(u.element)}if(i.hooks.run("before-sanity-check",u),(o=u.element.parentElement)&&"pre"===o.nodeName.toLowerCase()&&!o.hasAttribute("tabindex")&&o.setAttribute("tabindex","0"),!u.code){i.hooks.run("complete",u),n&&n.call(u.element);return}if(i.hooks.run("before-highlight",u),!u.grammar)return void c(i.util.encode(u.code));if(r&&e.Worker){var d=new Worker(i.filename);d.onmessage=function(e){c(e.data)},d.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else c(i.highlight(u.code,u.grammar,u.language))},highlight:function(e,t,r){var n={code:e,grammar:t,language:r};if(i.hooks.run("before-tokenize",n),!n.grammar)throw Error('The language "'+n.language+'" has no grammar.');return n.tokens=i.tokenize(n.code,n.grammar),i.hooks.run("after-tokenize",n),a.stringify(i.util.encode(n.tokens),n.language)},tokenize:function(e,t){var r=t.rest;if(r){for(var n in r)t[n]=r[n];delete t.rest}var u=new o;return l(u,u.head,e),function e(t,r,n,o,u,c){for(var d in n)if(n.hasOwnProperty(d)&&n[d]){var p=n[d];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(c&&c.cause==d+","+h)return;var m=p[h],f=m.inside,y=!!m.lookbehind,g=!!m.greedy,b=m.alias;if(g&&!m.pattern.global){var w=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,w+"g")}for(var v=m.pattern||m,k=o.next,x=u;k!==r.tail&&(!c||!(x>=c.reach));x+=k.value.length,k=k.next){var S,E=k.value;if(r.length>t.length)return;if(!(E instanceof a)){var T=1;if(g){if(!(S=s(v,x,t,y))||S.index>=t.length)break;var _=S.index,A=S.index+S[0].length,C=x;for(C+=k.value.length;_>=C;)C+=(k=k.next).value.length;if(C-=k.value.length,x=C,k.value instanceof a)continue;for(var P=k;P!==r.tail&&(C<A||"string"==typeof P.value);P=P.next)T++,C+=P.value.length;T--,E=t.slice(x,C),S.index-=x}else if(!(S=s(v,0,E,y)))continue;var _=S.index,D=S[0],I=E.slice(0,_),O=E.slice(_+D.length),N=x+E.length;c&&N>c.reach&&(c.reach=N);var L=k.prev;if(I&&(L=l(r,L,I),x+=I.length),function(e,t,r){for(var n=t.next,i=0;i<r&&n!==e.tail;i++)n=n.next;t.next=n,n.prev=t,e.length-=i}(r,L,T),k=l(r,L,new a(d,f?i.tokenize(D,f):D,b,D)),O&&l(r,k,O),T>1){var R={cause:d+","+h,reach:N};e(t,r,n,k.prev,x,R),c&&R.reach>c.reach&&(c.reach=R.reach)}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],r=e.head.next;r!==e.tail;)t.push(r.value),r=r.next;return t}(u)},hooks:{all:{},add:function(e,t){var r=i.hooks.all;r[e]=r[e]||[],r[e].push(t)},run:function(e,t){var r=i.hooks.all[e];if(r&&r.length)for(var n,a=0;n=r[a++];)n(t)}},Token:a};function a(e,t,r,n){this.type=e,this.content=t,this.alias=r,this.length=0|(n||"").length}function s(e,t,r,n){e.lastIndex=t;var i=e.exec(r);if(i&&n&&i[1]){var a=i[1].length;i.index+=a,i[0]=i[0].slice(a)}return i}function o(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,r){var n=t.next,i={value:r,prev:t,next:n};return t.next=i,n.prev=i,e.length++,i}if(e.Prism=i,a.stringify=function e(t,r){if("string"==typeof t)return t;if(Array.isArray(t)){var n="";return t.forEach(function(t){n+=e(t,r)}),n}var a={type:t.type,content:e(t.content,r),tag:"span",classes:["token",t.type],attributes:{},language:r},s=t.alias;s&&(Array.isArray(s)?Array.prototype.push.apply(a.classes,s):a.classes.push(s)),i.hooks.run("wrap",a);var o="";for(var l in a.attributes)o+=" "+l+'="'+(a.attributes[l]||"").replace(/"/g,"&quot;")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+o+">"+a.content+"</"+a.tag+">"},!e.document)return e.addEventListener&&(i.disableWorkerMessageHandler||e.addEventListener("message",function(t){var r=JSON.parse(t.data),n=r.language,a=r.code,s=r.immediateClose;e.postMessage(i.highlight(a,i.languages[n],n)),s&&e.close()},!1)),i;var u=i.util.currentScript();function c(){i.manual||i.highlightAll()}if(u&&(i.filename=u.src,u.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var d=document.readyState;"loading"===d||"interactive"===d&&u&&u.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=t),"undefined"!=typeof global&&(global.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,r){var n={};n["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[r]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};i["language-"+r]={pattern:/[\s\S]+/,inside:t.languages[r]};var a={};a[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:i},t.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,r){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:t.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source)+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if(void 0!==t&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},r="data-src-status",n="loading",i="loaded",a="pre[data-src]:not(["+r+'="'+i+'"]):not(['+r+'="'+n+'"])';t.hooks.add("before-highlightall",function(e){e.selector+=", "+a}),t.hooks.add("before-sanity-check",function(s){var o=s.element;if(o.matches(a)){s.code="",o.setAttribute(r,n);var l,u,c,d,p=o.appendChild(document.createElement("CODE"));p.textContent="Loading…";var h=o.getAttribute("data-src"),m=s.language;if("none"===m){var f=(/\.(\w+)$/.exec(h)||[,"none"])[1];m=e[f]||f}t.util.setLanguage(p,m),t.util.setLanguage(o,m);var y=t.plugins.autoloader;y&&y.loadLanguages(m),l=h,u=function(e){o.setAttribute(r,i);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var r=Number(t[1]),n=t[2],i=t[3];return n?i?[r,Number(i)]:[r,void 0]:[r,r]}}(o.getAttribute("data-range"));if(n){var a=e.split(/\r\n?|\n/g),s=n[0],l=null==n[1]?a.length:n[1];s<0&&(s+=a.length),s=Math.max(0,Math.min(s-1,a.length)),l<0&&(l+=a.length),l=Math.max(0,Math.min(l,a.length)),e=a.slice(s,l).join("\n"),o.hasAttribute("data-start")||o.setAttribute("data-start",String(s+1))}p.textContent=e,t.highlightElement(p)},c=function(e){o.setAttribute(r,"failed"),p.textContent=e},(d=new XMLHttpRequest).open("GET",l,!0),d.onreadystatechange=function(){var e;4==d.readyState&&(d.status<400&&d.responseText?u(d.responseText):d.status>=400?c((e=d.status,"✖ Error "+e+" while fetching file: "+d.statusText)):c("✖ Error: File does not exist or is empty"))},d.send(null)}}),t.plugins.fileHighlight={highlight:function(e){for(var r,n=(e||document).querySelectorAll(a),i=0;r=n[i++];)t.highlightElement(r)}};var s=!1;t.fileHighlight=function(){s||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),s=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[851,834,532,254],()=>r(33919));module.exports=n})();