From 889bf1dfa59e161590f677728b47bf4a6893983b Mon Sep 17 00:00:00 2001 From: freekmurze Date: Fri, 29 Mar 2024 14:03:47 +0000 Subject: [PATCH] Add new JS bundle build --- resources/compiled/ignition.js | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/compiled/ignition.js b/resources/compiled/ignition.js index 5a44c835..5d6ba50b 100644 --- a/resources/compiled/ignition.js +++ b/resources/compiled/ignition.js @@ -3,4 +3,4 @@ return c.createElement(s,oi({key:i},u),h)}}var pi=["language","children","style" return c.createElement("code",{style:Object.assign({},e.codeStyle,void 0===n?{float:"left",paddingRight:"10px"}:n)},function(e){var t=e.startingLineNumber,n=e.style;return e.lines.map(function(e,r){var a=r+t;/*#__PURE__*/ return c.createElement("span",{key:"line-".concat(r),className:"react-syntax-highlighter-line-number",style:"function"==typeof n?n(a):n},"".concat(a,"\n"))})}({lines:t.replace(/\n$/,"").split("\n"),style:a,startingLineNumber:o}))}function vi(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function bi(e,t,n){var r,a={display:"inline-block",minWidth:(r=n,"".concat(r.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},o="function"==typeof e?e(t):e;return hi(hi({},a),o)}function Ei(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,a=e.largestLineNumber,o=e.showInlineLineNumbers,i=e.lineProps,l=void 0===i?{}:i,s=e.className,c=void 0===s?[]:s,u=e.showLineNumbers,f=e.wrapLongLines,d="function"==typeof l?l(n):l;if(d.className=c,n&&o){var p=bi(r,n,a);t.unshift(vi(n,p))}return f&u&&(d.style=hi(hi({},d.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:d,children:t}}function Ti(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return Ei({children:e,lineNumber:t,lineNumberStyle:l,largestLineNumber:i,showInlineLineNumbers:a,lineProps:n,className:o,showLineNumbers:r,wrapLongLines:s})}function h(e,t){if(r&&t&&a){var n=bi(l,t,i);e.unshift(vi(t,n))}return e}function g(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||r.length>0?m(e,n,r):h(e,n)}for(var y=function(){var e=u[p],t=e.children[0].value;if(t.match(gi)){var n=t.split("\n");n.forEach(function(t,a){var i=r&&f.length+o,l={type:"text",value:"".concat(t,"\n")};if(0===a){var s=g(u.slice(d+1,p).concat(Ei({children:[l],className:e.properties.className})),i);f.push(s)}else if(a===n.length-1){var c=u[p+1]&&u[p+1].children&&u[p+1].children[0],m={type:"text",value:"".concat(t)};if(c){var h=Ei({children:[m],className:e.properties.className});u.splice(p+1,0,h)}else{var y=g([m],i,e.properties.className);f.push(y)}}else{var v=g([l],i,e.properties.className);f.push(v)}}),d=p}p++};p/g,">").replace(/"/g,""").replace(/'/g,"'")}function Ai(e,...t){const n=Object.create(null);for(const t in e)n[t]=e[t];return t.forEach(function(e){for(const t in e)n[t]=e[t]}),n}const Ci=e=>!!e.kind;class Ii{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=ki(e)}openNode(e){if(!Ci(e))return;let t=e.kind;e.sublanguage||(t=`${this.classPrefix}${t}`),this.span(t)}closeNode(e){Ci(e)&&(this.buffer+="")}value(){return this.buffer}span(e){this.buffer+=``}}class _i{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t={kind:e,children:[]};this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every(e=>"string"==typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{_i._collapse(e)}))}}class Li extends _i{constructor(e){super(),this.options=e}addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const n=e.root;n.kind=t,n.sublanguage=!0,this.add(n)}toHTML(){return new Ii(this,this.options).value()}finalize(){return!0}}function Pi(e){return e?"string"==typeof e?e:e.source:null}const Mi=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,Di="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Ui={begin:"\\\\[\\s\\S]",relevance:0},ji={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[Ui]},Fi={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[Ui]},zi={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Bi=function(e,t,n={}){const r=Ai({className:"comment",begin:e,end:t,contains:[]},n);return r.contains.push(zi),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),r},Hi=Bi("//","$"),Vi=Bi("/\\*","\\*/"),Wi=Bi("#","$");var Gi=/*#__PURE__*/Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:"[a-zA-Z]\\w*",UNDERSCORE_IDENT_RE:"[a-zA-Z_]\\w*",NUMBER_RE:"\\b\\d+(\\.\\d+)?",C_NUMBER_RE:Di,BINARY_NUMBER_RE:"\\b(0b[01]+)",RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=function(...e){return e.map(e=>Pi(e)).join("")}(t,/.*\b/,e.binary,/\b.*/)),Ai({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},BACKSLASH_ESCAPE:Ui,APOS_STRING_MODE:ji,QUOTE_STRING_MODE:Fi,PHRASAL_WORDS_MODE:zi,COMMENT:Bi,C_LINE_COMMENT_MODE:Hi,C_BLOCK_COMMENT_MODE:Vi,HASH_COMMENT_MODE:Wi,NUMBER_MODE:{className:"number",begin:"\\b\\d+(\\.\\d+)?",relevance:0},C_NUMBER_MODE:{className:"number",begin:Di,relevance:0},BINARY_NUMBER_MODE:{className:"number",begin:"\\b(0b[01]+)",relevance:0},CSS_NUMBER_MODE:{className:"number",begin:"\\b\\d+(\\.\\d+)?(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Ui,{begin:/\[/,end:/\]/,relevance:0,contains:[Ui]}]}]},TITLE_MODE:{className:"title",begin:"[a-zA-Z]\\w*",relevance:0},UNDERSCORE_TITLE_MODE:{className:"title",begin:"[a-zA-Z_]\\w*",relevance:0},METHOD_GUARD:{begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})}});function Yi(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function $i(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Yi,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function Xi(e,t){Array.isArray(e.illegal)&&(e.illegal=function(...e){return"("+e.map(e=>Pi(e)).join("|")+")"}(...e.illegal))}function qi(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Ki(e,t){void 0===e.relevance&&(e.relevance=1)}const Ji=["of","and","for","in","not","or","if","then","parent","list","value"];function Qi(e,t,n="keyword"){const r={};return"string"==typeof e?a(n,e.split(" ")):Array.isArray(e)?a(n,e):Object.keys(e).forEach(function(n){Object.assign(r,Qi(e[n],t,n))}),r;function a(e,n){t&&(n=n.map(e=>e.toLowerCase())),n.forEach(function(t){const n=t.split("|");r[n[0]]=[e,Zi(n[0],n[1])]})}}function Zi(e,t){return t?Number(t):function(e){return Ji.includes(e.toLowerCase())}(e)?0:1}function el(e,{}){function t(t,n){return new RegExp(Pi(t),"m"+(e.case_insensitive?"i":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=function(e){return new RegExp(e.toString()+"|").exec("").length-1}(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map(e=>e[1]);this.matcherRe=t(function(e,t="|"){let n=0;return e.map(e=>{n+=1;const t=n;let r=Pi(e),a="";for(;r.length>0;){const e=Mi.exec(r);if(!e){a+=r;break}a+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?a+="\\"+String(Number(e[1])+t):(a+=e[0],"("===e[0]&&n++)}return a}).map(e=>`(${e})`).join(t)}(e),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex((e,t)=>t>0&&void 0!==e),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=Ai(e.classNameAliases||{}),function n(a,o){const i=a;if(a.isCompiled)return i;[qi].forEach(e=>e(a,o)),e.compilerExtensions.forEach(e=>e(a,o)),a.__beforeBegin=null,[$i,Xi,Ki].forEach(e=>e(a,o)),a.isCompiled=!0;let l=null;if("object"==typeof a.keywords&&(l=a.keywords.$pattern,delete a.keywords.$pattern),a.keywords&&(a.keywords=Qi(a.keywords,e.case_insensitive)),a.lexemes&&l)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return l=l||a.lexemes||/\w+/,i.keywordPatternRe=t(l,!0),o&&(a.begin||(a.begin=/\B|\b/),i.beginRe=t(a.begin),a.endSameAsBegin&&(a.end=a.begin),a.end||a.endsWithParent||(a.end=/\B|\b/),a.end&&(i.endRe=t(a.end)),i.terminatorEnd=Pi(a.end)||"",a.endsWithParent&&o.terminatorEnd&&(i.terminatorEnd+=(a.end?"|":"")+o.terminatorEnd)),a.illegal&&(i.illegalRe=t(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(e){return function(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return Ai(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:tl(e)?Ai(e,{starts:e.starts?Ai(e.starts):null}):Object.isFrozen(e)?Ai(e):e}("self"===e?a:e)})),a.contains.forEach(function(e){n(e,i)}),a.starts&&n(a.starts,o),i.matcher=function(e){const t=new r;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:"begin"})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(i),i}(e)}function tl(e){return!!e&&(e.endsWithParent||tl(e.starts))}function nl(e){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,ki(this.code);let t={};return this.autoDetect?(t=e.highlightAuto(this.code),this.detectedLanguage=t.language):(t=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),t.value},autoDetect(){return!this.language||(e=this.autodetect,Boolean(e||""===e));var e},ignoreIllegals:()=>!0},render(e){return e("pre",{},[e("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(e){e.component("highlightjs",t)}}}}const rl={"after:highlightElement":({el:e,result:t,text:n})=>{const r=ol(e);if(!r.length)return;const a=document.createElement("div");a.innerHTML=t.value,t.value=function(e,t,n){let r=0,a="";const o=[];function i(){return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset"}function s(e){a+=""}function c(e){("start"===e.event?l:s)(e.node)}for(;e.length||t.length;){let t=i();if(a+=ki(n.substring(r,t[0].offset)),r=t[0].offset,t===e){o.reverse().forEach(s);do{c(t.splice(0,1)[0]),t=i()}while(t===e&&t.length&&t[0].offset===r);o.reverse().forEach(l)}else"start"===t[0].event?o.push(t[0].node):o.pop(),c(t.splice(0,1)[0])}return a+ki(n.substr(r))}(r,ol(a),n)}};function al(e){return e.nodeName.toLowerCase()}function ol(e){const t=[];return function e(n,r){for(let a=n.firstChild;a;a=a.nextSibling)3===a.nodeType?r+=a.nodeValue.length:1===a.nodeType&&(t.push({event:"start",offset:r,node:a}),r=e(a,r),al(a).match(/br|hr|img|input/)||t.push({event:"stop",offset:r,node:a}));return r}(e,0),t}const il={},ll=e=>{console.error(e)},sl=(e,...t)=>{console.log(`WARN: ${e}`,...t)},cl=(e,t)=>{il[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),il[`${e}/${t}`]=!0)},ul=ki,fl=Ai,dl=Symbol("nomatch");var pl=function(e){const t=Object.create(null),n=Object.create(null),r=[];let a=!0;const o=/(^(<[^>]+>|\t|)+|\n)/gm,i="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]};let s={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:Li};function c(e){return s.noHighlightRe.test(e)}function u(e,t,n,r){let a="",o="";"object"==typeof t?(a=e,n=t.ignoreIllegals,o=t.language,r=void 0):(cl("10.7.0","highlight(lang, code, ...args) has been deprecated."),cl("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),o=e,a=t);const i={code:a,language:o};w("before:highlight",i);const l=i.result?i.result:f(i.language,i.code,n,r);return l.code=i.code,w("after:highlight",l),l}function f(e,n,o,l){function c(e,t){const n=b.case_insensitive?t[0].toLowerCase():t[0];return Object.prototype.hasOwnProperty.call(e.keywords,n)&&e.keywords[n]}function u(){null!=w.subLanguage?function(){if(""===O)return;let e=null;if("string"==typeof w.subLanguage){if(!t[w.subLanguage])return void R.addText(O);e=f(w.subLanguage,O,!0,N[w.subLanguage]),N[w.subLanguage]=e.top}else e=d(O,w.subLanguage.length?w.subLanguage:null);w.relevance>0&&(x+=e.relevance),R.addSublanguage(e.emitter,e.language)}():function(){if(!w.keywords)return void R.addText(O);let e=0;w.keywordPatternRe.lastIndex=0;let t=w.keywordPatternRe.exec(O),n="";for(;t;){n+=O.substring(e,t.index);const r=c(w,t);if(r){const[e,a]=r;R.addText(n),n="",x+=a,e.startsWith("_")?n+=t[0]:R.addKeyword(t[0],b.classNameAliases[e]||e)}else n+=t[0];e=w.keywordPatternRe.lastIndex,t=w.keywordPatternRe.exec(O)}n+=O.substr(e),R.addText(n)}(),O=""}function p(e){return e.className&&R.openNode(b.classNameAliases[e.className]||e.className),w=Object.create(e,{parent:{value:w}}),w}function m(e,t,n){let r=function(e,t){const n=e&&e.exec(t);return n&&0===n.index}(e.endRe,n);if(r){if(e["on:end"]){const n=new xi(e);e["on:end"](t,n),n.isMatchIgnored&&(r=!1)}if(r){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return m(e.parent,t,n)}function h(e){return 0===w.matcher.regexIndex?(O+=e[0],1):(C=!0,0)}function g(e){const t=e[0],r=n.substr(e.index),a=m(w,e,r);if(!a)return dl;const o=w;o.skip?O+=t:(o.returnEnd||o.excludeEnd||(O+=t),u(),o.excludeEnd&&(O=t));do{w.className&&R.closeNode(),w.skip||w.subLanguage||(x+=w.relevance),w=w.parent}while(w!==a.parent);return a.starts&&(a.endSameAsBegin&&(a.starts.endRe=a.endRe),p(a.starts)),o.returnEnd?0:t.length}let y={};function v(t,r){const i=r&&r[0];if(O+=t,null==i)return u(),0;if("begin"===y.type&&"end"===r.type&&y.index===r.index&&""===i){if(O+=n.slice(r.index,r.index+1),!a){const t=new Error("0 width match regex");throw t.languageName=e,t.badRule=y.rule,t}return 1}if(y=r,"begin"===r.type)return function(e){const t=e[0],n=e.rule,r=new xi(n),a=[n.__beforeBegin,n["on:begin"]];for(const n of a)if(n&&(n(e,r),r.isMatchIgnored))return h(t);return n&&n.endSameAsBegin&&(n.endRe=new RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")),n.skip?O+=t:(n.excludeBegin&&(O+=t),u(),n.returnBegin||n.excludeBegin||(O=t)),p(n),n.returnBegin?0:t.length}(r);if("illegal"===r.type&&!o){const e=new Error('Illegal lexeme "'+i+'" for mode "'+(w.className||"")+'"');throw e.mode=w,e}if("end"===r.type){const e=g(r);if(e!==dl)return e}if("illegal"===r.type&&""===i)return 1;if(A>1e5&&A>3*r.index)throw new Error("potential infinite loop, way more iterations than matches");return O+=i,i.length}const b=E(e);if(!b)throw ll(i.replace("{}",e)),new Error('Unknown language: "'+e+'"');const T=el(b,{plugins:r});let S="",w=l||T;const N={},R=new s.__emitter(s);!function(){const e=[];for(let t=w;t!==b;t=t.parent)t.className&&e.unshift(t.className);e.forEach(e=>R.openNode(e))}();let O="",x=0,k=0,A=0,C=!1;try{for(w.matcher.considerAll();;){A++,C?C=!1:w.matcher.considerAll(),w.matcher.lastIndex=k;const e=w.matcher.exec(n);if(!e)break;const t=v(n.substring(k,e.index),e);k=e.index+t}return v(n.substr(k)),R.closeAllNodes(),R.finalize(),S=R.toHTML(),{relevance:Math.floor(x),value:S,language:e,illegal:!1,emitter:R,top:w}}catch(t){if(t.message&&t.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:t.message,context:n.slice(k-100,k+100),mode:t.mode},sofar:S,relevance:0,value:ul(n),emitter:R};if(a)return{illegal:!1,relevance:0,value:ul(n),emitter:R,language:e,top:w,errorRaised:t};throw t}}function d(e,n){n=n||s.languages||Object.keys(t);const r=function(e){const t={relevance:0,emitter:new s.__emitter(s),value:ul(e),illegal:!1,top:l};return t.emitter.addText(e),t}(e),a=n.filter(E).filter(S).map(t=>f(t,e,!1));a.unshift(r);const o=a.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(E(e.language).supersetOf===t.language)return 1;if(E(t.language).supersetOf===e.language)return-1}return 0}),[i,c]=o,u=i;return u.second_best=c,u}const p={"before:highlightElement":({el:e})=>{s.useBR&&(e.innerHTML=e.innerHTML.replace(/\n/g,"").replace(//g,"\n"))},"after:highlightElement":({result:e})=>{s.useBR&&(e.value=e.value.replace(/\n/g,"
"))}},m=/^(<[^>]+>|\t)+/gm,h={"after:highlightElement":({result:e})=>{s.tabReplace&&(e.value=e.value.replace(m,e=>e.replace(/\t/g,s.tabReplace)))}};function g(e){let t=null;const r=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=s.languageDetectRe.exec(t);if(n){const t=E(n[1]);return t||(sl(i.replace("{}",n[1])),sl("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find(e=>c(e)||E(e))}(e);if(c(r))return;w("before:highlightElement",{el:e,language:r}),t=e;const a=t.textContent,o=r?u(a,{language:r,ignoreIllegals:!0}):d(a);w("after:highlightElement",{el:e,result:o,text:a}),e.innerHTML=o.value,function(e,t,r){const a=t?n[t]:r;e.classList.add("hljs"),a&&e.classList.add(a)}(e,r,o.language),e.result={language:o.language,re:o.relevance,relavance:o.relevance},o.second_best&&(e.second_best={language:o.second_best.language,re:o.second_best.relevance,relavance:o.second_best.relevance})}const y=()=>{y.called||(y.called=!0,cl("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(g))};let v=!1;function b(){"loading"!==document.readyState?document.querySelectorAll("pre code").forEach(g):v=!0}function E(e){return e=(e||"").toLowerCase(),t[e]||t[n[e]]}function T(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach(e=>{n[e.toLowerCase()]=t})}function S(e){const t=E(e);return t&&!t.disableAutodetect}function w(e,t){const n=e;r.forEach(function(e){e[n]&&e[n](t)})}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function(){v&&b()},!1),Object.assign(e,{highlight:u,highlightAuto:d,highlightAll:b,fixMarkup:function(e){return cl("10.2.0","fixMarkup will be removed entirely in v11.0"),cl("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),t=e,s.tabReplace||s.useBR?t.replace(o,e=>"\n"===e?s.useBR?"
":e:s.tabReplace?e.replace(/\t/g,s.tabReplace):e):t;var t},highlightElement:g,highlightBlock:function(e){return cl("10.7.0","highlightBlock will be removed entirely in v12.0"),cl("10.7.0","Please use highlightElement now."),g(e)},configure:function(e){e.useBR&&(cl("10.3.0","'useBR' will be removed entirely in v11.0"),cl("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),s=fl(s,e)},initHighlighting:y,initHighlightingOnLoad:function(){cl("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),v=!0},registerLanguage:function(n,r){let o=null;try{o=r(e)}catch(e){if(ll("Language definition for '{}' could not be registered.".replace("{}",n)),!a)throw e;ll(e),o=l}o.name||(o.name=n),t[n]=o,o.rawDefinition=r.bind(null,e),o.aliases&&T(o.aliases,{languageName:n})},unregisterLanguage:function(e){delete t[e];for(const t of Object.keys(n))n[t]===e&&delete n[t]},listLanguages:function(){return Object.keys(t)},getLanguage:E,registerAliases:T,requireLanguage:function(e){cl("10.4.0","requireLanguage will be removed entirely in v11."),cl("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const t=E(e);if(t)return t;throw new Error("The '{}' language is required, but not loaded.".replace("{}",e))},autoDetection:S,inherit:fl,addPlugin:function(e){!function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),r.push(e)},vuePlugin:nl(e).VuePlugin}),e.debugMode=function(){a=!1},e.safeMode=function(){a=!0},e.versionString="10.7.3";for(const e in Gi)"object"==typeof Gi[e]&&Oi(Gi[e]);return Object.assign(e,Gi),e.addPlugin(p),e.addPlugin(rl),e.addPlugin(h),e}({}),ml=_e(function(e){!function(){var t;function n(e){for(var t,n,r,a,o=1,i=[].slice.call(arguments),l=0,s=e.length,c="",u=!1,f=!1,d=function(){return i[o++]},p=function(){for(var n="";/\d/.test(e[l]);)n+=e[l++],t=e[l];return n.length>0?parseInt(n):null};lr.relevance&&(r=a),a.relevance>n.relevance&&(r=n,n=a));return r.language&&(n.secondBest=r),n},registerLanguage:function(e,t){pl.registerLanguage(e,t)},listLanguages:function(){return pl.listLanguages()},registerAlias:function(e,t){var n,r=e;for(n in t&&((r={})[e]=t),r)pl.registerAliases(r[n],{languageName:n})}};function wl(e){return e?"string"==typeof e?e:e.source:null}function Nl(e){return Rl("(?=",e,")")}function Rl(...e){return e.map(e=>wl(e)).join("")}function Ol(...e){return"("+e.map(e=>wl(e)).join("|")+")"}const xl=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],kl=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],Al=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],Cl=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],Il=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-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-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-shadow","box-sizing","break-after","break-before","break-inside","caption-side","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","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function _l(e){return e?"string"==typeof e?e:e.source:null}function Ll(...e){return e.map(e=>_l(e)).join("")}const Pl=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Ml=["true","false","null","undefined","NaN","Infinity"],Dl=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Ul(e){return jl("(?=",e,")")}function jl(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}function Fl(e){return e?"string"==typeof e?e:e.source:null}function zl(...e){return e.map(e=>Fl(e)).join("")}function Bl(...e){return"("+e.map(e=>Fl(e)).join("|")+")"}var Hl,Vl,Wl=(Hl=Sl,Vl={},function(e){var t=e.language,n=e.children,r=e.style,a=void 0===r?Vl:r,o=e.customStyle,i=void 0===o?{}:o,l=e.codeTagProps,s=void 0===l?{className:t?"language-".concat(t):void 0,style:hi(hi({},a['code[class*="language-"]']),a['code[class*="language-'.concat(t,'"]')])}:l,u=e.useInlineStyles,f=void 0===u||u,d=e.showLineNumbers,p=void 0!==d&&d,m=e.showInlineLineNumbers,h=void 0===m||m,g=e.startingLineNumber,y=void 0===g?1:g,v=e.lineNumberContainerStyle,b=e.lineNumberStyle,E=void 0===b?{}:b,T=e.wrapLines,S=e.wrapLongLines,w=void 0!==S&&S,N=e.lineProps,R=void 0===N?{}:N,O=e.renderer,x=e.PreTag,k=void 0===x?"pre":x,A=e.CodeTag,C=void 0===A?"code":A,I=e.code,_=void 0===I?(Array.isArray(n)?n[0]:n)||"":I,L=e.astGenerator,P=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,pi);L=L||Hl;var M=p?/*#__PURE__*/c.createElement(yi,{containerStyle:v,codeStyle:s.style||{},numberStyle:E,startingLineNumber:y,codeString:_}):null,D=a.hljs||a['pre[class*="language-"]']||{backgroundColor:"#fff"},U=Ni(L)?"hljs":"prismjs",j=Object.assign({},P,f?{style:Object.assign({},D,i)}:{className:P.className?"".concat(U," ").concat(P.className):U,style:Object.assign({},i)});if(s.style=hi(hi({},s.style),{},w?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),!L)/*#__PURE__*/ return c.createElement(k,j,M,/*#__PURE__*/c.createElement(C,s,_));(void 0===T&&O||w)&&(T=!0),O=O||wi;var F=[{type:"text",value:_}],z=function(e){var t=e.astGenerator,n=e.language,r=e.code,a=e.defaultCodeValue;if(Ni(t)){var o=function(e,t){return-1!==e.listLanguages().indexOf(t)}(t,n);return"text"===n?{value:a,language:"text"}:o?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:a}}catch(e){return{value:a}}}({astGenerator:L,language:t,code:_,defaultCodeValue:F});null===z.language&&(z.value=F);var B=Si(z,T,R,p,h,y,z.value.length+y,E,w);/*#__PURE__*/ -return c.createElement(k,j,/*#__PURE__*/c.createElement(C,s,!h&&M,O({rows:B,stylesheet:a,useInlineStyles:f})))});Wl.registerLanguage=Sl.registerLanguage;var Gl=Wl;function Yl({highlight:e,row:t,frame:n,lineNumber:r}){const{url:a,clipboard:o}=Xo({file:n.file,lineNumber:r});return c.createElement("span",{className:`\n flex group leading-loose hover:~bg-red-500/10\n ${e?" ~bg-red-500/20":""}\n `},!o&&c.createElement("span",{className:"z-30 opacity-0 group-hover:opacity-100 sticky left-10 w-0 h-full"},c.createElement("a",{href:a,className:"-ml-3 block"},c.createElement(Zo,null,c.createElement(co,{className:"text-xs",icon:fo})))),o&&c.createElement("span",{className:"z-30 opacity-0 group-hover:opacity-100 sticky w-0 h-full"},c.createElement(ei,{value:a,outside:!0,direction:"right"})),c.createElement("span",{className:"pl-6"},di({node:t,useInlineStyles:!1,key:`code-segement-${r}`})))}function $l({frame:e}){const t=Object.values(e.code_snippet).join("\n"),n=Object.keys(e.code_snippet).map(e=>Number(e)),r=n.indexOf(e.line_number),a=c.useMemo(()=>({rows:t})=>t.map((t,a)=>c.createElement(Yl,{key:n[a],frame:e,highlight:a===r,row:t,lineNumber:n[a]})),[e]);return c.createElement("main",{className:"flex items-stretch flex-grow overflow-x-auto overflow-y-hidden scrollbar-hidden-x mask-fade-r text-sm"},c.createElement("nav",{className:"sticky left-0 flex flex-none z-20"},c.createElement("div",{className:"select-none text-right"},n.map(t=>c.createElement("p",{key:t,className:`\n px-2 font-mono leading-loose select-none\n ${Number(t)===e.line_number?" text-opacity-75 ~text-red-700 ~bg-red-500/30":""}\n `},c.createElement("span",{className:"~text-gray-500"},t))))),c.createElement("div",{className:"flex-grow pr-10"},c.createElement(Gl,{language:(o=e.relative_file,o.endsWith(".blade.php")?"blade":o.match(/^resources\/views\//)?"php-template":"php"),renderer:a,customStyle:{background:"transparent"}},t)));var o}function Xl(e){var t=this.__data__=new ct(e);this.size=t.size}Gl.registerLanguage("php",function(e){const t={className:"variable",begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*(?![A-Za-z0-9])(?![$])"},n={className:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?[=]?/},{begin:/\?>/}]},r={className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},a=e.inherit(e.APOS_STRING_MODE,{illegal:null}),o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(r)}),i=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(r)}),l={className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[e.inherit(a,{begin:"b'",end:"'"}),e.inherit(o,{begin:'b"',end:'"'}),o,a,i]},s={className:"number",variants:[{begin:"\\b0b[01]+(?:_[01]+)*\\b"},{begin:"\\b0o[0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0x[\\da-f]+(?:_[\\da-f]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:e[+-]?\\d+)?"}],relevance:0},c={keyword:"__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ die echo exit include include_once print require require_once array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile enum eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list match|0 mixed new object or private protected public real return string switch throw trait try unset use var void while xor yield",literal:"false null true",built_in:"Error|0 AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException UnhandledMatchError ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Stringable Throwable Traversable WeakReference WeakMap Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass"};return{aliases:["php3","php4","php5","php6","php7","php8"],case_insensitive:!0,keywords:c,contains:[e.HASH_COMMENT_MODE,e.COMMENT("//","$",{contains:[n]}),e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler"}),n,{className:"keyword",begin:/\$this\b/},t,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{className:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:c,contains:["self",t,e.C_BLOCK_COMMENT_MODE,l,s]}]},{className:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",relevance:0,end:";",contains:[e.UNDERSCORE_TITLE_MODE]},l,s]}}),Gl.registerLanguage("php-template",function(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}),Gl.registerLanguage("blade",function(e){return{name:"Blade",case_insensitive:!0,subLanguage:"php-template",contains:[e.COMMENT(/\{\{--/,/--\}\}/),{className:"template-variable",begin:/\{\{/,starts:{end:/\}\}/,returnEnd:!0,subLanguage:"php"}},{className:"template-variable",begin:/\}\}/},{className:"template-variable",begin:/\{\{\{/,starts:{end:/\}\}\}/,returnEnd:!0,subLanguage:"php"}},{className:"template-variable",begin:/\}\}\}/},{className:"template-variable",begin:/\{!!/,starts:{end:/!!\}/,returnEnd:!0,subLanguage:"php"}},{className:"template-variable",begin:/!!\}/},{className:"template-tag",begin:/@php\(/,starts:{end:/\)/,returnEnd:!0,subLanguage:"php"},relevance:15},{className:"template-tag",begin:/@php/,starts:{end:/@endphp/,returnEnd:!0,subLanguage:"php"},relevance:10},{className:"attr",begin:/:[\w-]+="/,starts:{end:/"(?=\s|\n|\/)/,returnEnd:!0,subLanguage:"php"}},{begin:/@\w+/,end:/\W/,excludeEnd:!0,className:"template-tag"}]}}),Gl.registerLanguage("xml",function(e){const t=Rl(/[A-Z_]/,Rl("(",/[A-Z0-9_.-]*:/,")?"),/[A-Z0-9_.-]*/),n={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},r={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(r,{begin:/\(/,end:/\)/}),o=e.inherit(e.APOS_STRING_MODE,{className:"meta-string"}),i=e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),l={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[r,i,o,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[r,a,i,o]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},n,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:Rl(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:t,relevance:0,starts:l}]},{className:"tag",begin:Rl(/<\//,Nl(Rl(t,/>/))),contains:[{className:"name",begin:t,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}),Gl.registerLanguage("css",function(e){const t=(e=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}))(e),n=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[e.C_BLOCK_COMMENT_MODE,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},e.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+Al.join("|")+")"},{begin:"::("+Cl.join("|")+")"}]},{className:"attribute",begin:"\\b("+Il.join("|")+")\\b"},{begin:":",end:"[;}]",contains:[t.HEXCOLOR,t.IMPORTANT,e.CSS_NUMBER_MODE,...n,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},{className:"built_in",begin:/[\w-]+(?=\()/}]},{begin:(r=/@/,function(...e){return e.map(e=>function(e){return e?"string"==typeof e?e:e.source:null}(e)).join("")}("(?=",r,")")),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:kl.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...n,e.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+xl.join("|")+")\\b"}]};var r}),Gl.registerLanguage("javascript",function(e){const t="[A-Za-z$_][0-9A-Za-z$_]*",n={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,r=e.input[n];"<"!==r?">"===r&&(((e,{after:t})=>{const n="",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:m}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:"<>",end:""},{begin:n.begin,"on:begin":n.isTrulyOpeningTag,end:n.end}],subLanguage:"xml",contains:[{begin:n.begin,end:n.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:r,contains:["self",e.inherit(e.TITLE_MODE,{begin:t}),h],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[h,e.inherit(e.TITLE_MODE,{begin:t})]},{variants:[{begin:"\\."+t},{begin:"\\$"+t}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:t}),"self",h]},{begin:"(get|set)\\s+(?="+t+"\\()",end:/\{/,keywords:"get set",contains:[e.inherit(e.TITLE_MODE,{begin:t}),{begin:/\(\)/},h]},{begin:/\$[(.]/}]}}),Gl.registerLanguage("handlebars",function(e){const t={"builtin-name":["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},n=/\[\]|\[[^\]]+\]/,r=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,a=function(...e){return"("+e.map(e=>_l(e)).join("|")+")"}(/""|"[^"]+"/,/''|'[^']+'/,n,r),o=Ll(Ll("(",/\.|\.\/|\//,")?"),a,(d=Ll(/(\.|\/)/,a),Ll("(",d,")*"))),i=Ll("(",n,"|",r,")(?==)"),l={begin:o,lexemes:/[\w.\/]+/},s=e.inherit(l,{keywords:{literal:["true","false","undefined","null"]}}),c={begin:/\(/,end:/\)/},u={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},{className:"attr",begin:i,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,s,c]}}},s,c],returnEnd:!0},f=e.inherit(l,{className:"name",keywords:t,starts:e.inherit(u,{end:/\)/})});var d;c.contains=[f];const p=e.inherit(l,{keywords:t,className:"name",starts:e.inherit(u,{end:/\}\}/})}),m=e.inherit(l,{keywords:t,className:"name"}),h=e.inherit(l,{className:"name",keywords:t,starts:e.inherit(u,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[p],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[m]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[p]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[m]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[h]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[h]}]}}),Gl.registerLanguage("sql",function(e){const t=e.COMMENT("--","$"),n=["true","false","unknown"],r=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],a=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],o=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],i=a,l=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update ","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter(e=>!a.includes(e)),s={begin:zl(/\b/,Bl(...i),/\s*\(/),keywords:{built_in:i}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:t,when:n}={}){const r=n;return t=t||[],e.map(e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e)}(l,{when:e=>e.length<3}),literal:n,type:r,built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{begin:Bl(...o),keywords:{$pattern:/[\w\.]+/,keyword:l.concat(o),literal:n,type:r}},{className:"type",begin:Bl("double precision","large object","with timezone","without timezone")},s,{className:"variable",begin:/@[a-z0-9]+/},{className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{begin:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}}),Gl.registerLanguage("curl",function(e){return{name:"curl",aliases:["curl"],keywords:"curl",case_insensitive:!0,contains:[{className:"literal",begin:/(--request|-X)\s/,contains:[{className:"symbol",begin:/(get|post|delete|options|head|put|patch|trace|connect)/,end:/\s/,returnEnd:!0}],returnEnd:!0,relevance:10},{className:"literal",begin:/--/,end:/[\s"]/,returnEnd:!0,relevance:0},{className:"literal",begin:/-\w/,end:/[\s"]/,returnEnd:!0,relevance:0},{className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,{className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}],relevance:0},{className:"string",begin:/\\"/,relevance:0},{className:"string",begin:/'/,end:/'/,relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"number",variants:[{begin:e.C_NUMBER_RE}],relevance:0},{match:/(\/[a-z._-]+)+/}]}}),Gl.registerLanguage("json",function(e){const t={literal:"true false null"},n=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],r=[e.QUOTE_STRING_MODE,e.C_NUMBER_MODE],a={end:",",endsWithParent:!0,excludeEnd:!0,contains:r,keywords:t},o={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE],illegal:"\\n"},e.inherit(a,{begin:/:/})].concat(n),illegal:"\\S"},i={begin:"\\[",end:"\\]",contains:[e.inherit(a)],illegal:"\\S"};return r.push(o,i),n.forEach(function(e){r.push(e)}),{name:"JSON",contains:r,keywords:t,illegal:"\\S"}}),Xl.prototype.clear=function(){this.__data__=new ct,this.size=0},Xl.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Xl.prototype.get=function(e){return this.__data__.get(e)},Xl.prototype.has=function(e){return this.__data__.has(e)},Xl.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ct){var r=n.__data__;if(!ut||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new pt(r)}return n.set(e,t),this.size=n.size,this};var ql=Xl,Kl=function(e,t){for(var n=-1,r=null==e?0:e.length;++nl))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var f=-1,d=!0,p=2&n?new ht:void 0;for(o.set(e,t),o.set(t,e);++f-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},Es={};Es["[object Float32Array]"]=Es["[object Float64Array]"]=Es["[object Int8Array]"]=Es["[object Int16Array]"]=Es["[object Int32Array]"]=Es["[object Uint8Array]"]=Es["[object Uint8ClampedArray]"]=Es["[object Uint16Array]"]=Es["[object Uint32Array]"]=!0,Es["[object Arguments]"]=Es["[object Array]"]=Es["[object ArrayBuffer]"]=Es["[object Boolean]"]=Es["[object DataView]"]=Es["[object Date]"]=Es["[object Error]"]=Es["[object Function]"]=Es["[object Map]"]=Es["[object Number]"]=Es["[object Object]"]=Es["[object RegExp]"]=Es["[object Set]"]=Es["[object String]"]=Es["[object WeakMap]"]=!1;var Ts,Ss=_e(function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,a=r&&r.exports===n&&Pe.process,o=function(){try{return r&&r.require&&r.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=o}),ws=Ss&&Ss.isTypedArray,Ns=ws?(Ts=ws,function(e){return Ts(e)}):function(e){return cs(e)&&bs(e.length)&&!!Es[We(e)]},Rs=Object.prototype.hasOwnProperty,Os=function(e,t){var n=rs(e),r=!n&&ms(e),a=!n&&!r&&gs(e),o=!n&&!r&&!a&&Ns(e),i=n||r||a||o,l=i?function(e,t){for(var n=-1,r=Array(e);++n0&&(0,Ec.last)(this.indentTypes)===n&&this.indentTypes.pop()}},{key:"decreaseBlockLevel",value:function(){for(;this.indentTypes.length>0&&this.indentTypes.pop()===n;);}},{key:"resetIndentation",value:function(){this.indentTypes=[]}}])&&function(e,t){for(var n=0;n0?this.level++:this.level=0}},{key:"end",value:function(){this.level--}},{key:"isActive",value:function(){return this.level>0}},{key:"isInlineBlock",value:function(e,t){for(var n=0,a=0,o=t;o50)return!1;if(i.type===r.default.OPEN_PAREN)a++;else if(i.type===r.default.CLOSE_PAREN&&0==--a)return!0;if(this.isForbiddenToken(i))return!1}return!1}},{key:"isForbiddenToken",value:function(e){var t=e.type;return t===r.default.RESERVED_TOP_LEVEL||t===r.default.RESERVED_NEWLINE||t===r.default.COMMENT||t===r.default.BLOCK_COMMENT||";"===e.value}}])&&function(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:1;return this.tokens[this.index-e]}},{key:"tokenLookAhead",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return this.tokens[this.index+e]}}])&&function(e,t){for(var n=0;n\\$\\w*\\$)[\\s\\S]*?(?:\\k|$))"};return e.map(function(e){return t[e]}).join("|")}function xc(e){return 1===e.length?(0,Ec.escapeRegExp)(e):"\\b"+e+"\\b"}var kc=/*#__PURE__*/Object.defineProperty({createOperatorRegex:function(e){return new RegExp("^(".concat((0,Ec.sortByLengthDesc)(e).map(Ec.escapeRegExp).join("|"),"|.)"),"u")},createLineCommentRegex:function(e){return new RegExp("^((?:".concat(e.map(function(e){return(0,Ec.escapeRegExp)(e)}).join("|"),").*?)(?:\r\n|\r|\n|$)"),"u")},createReservedWordRegex:function(e){if(0===e.length)return new RegExp("^\b$","u");var t=(0,Ec.sortByLengthDesc)(e).join("|").replace(/ /g,"\\s+");return new RegExp("^(".concat(t,")\\b"),"iu")},createWordRegex:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new RegExp("^([\\p{Alphabetic}\\p{Mark}\\p{Decimal_Number}\\p{Connector_Punctuation}\\p{Join_Control}".concat(e.join(""),"]+)"),"u")},createStringRegex:function(e){return new RegExp("^("+Oc(e)+")","u")},createStringPattern:Oc,createParenRegex:function(e){return new RegExp("^("+e.map(xc).join("|")+")","iu")},createPlaceholderRegex:function(e,t){if((0,Ec.isEmpty)(e))return!1;var n=e.map(Ec.escapeRegExp).join("|");return new RegExp("^((?:".concat(n,")(?:").concat(t,"))"),"u")}},"__esModule",{value:!0}),Ac=_e(function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=bc)&&r.__esModule?r:{default:r},o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=a?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(r,o,l):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(kc);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n","<=",">="].concat(function(e){if(Array.isArray(e))return u(e)}(n=t.operators||[])||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),this.BLOCK_COMMENT_REGEX=/^(\/\*(?:(?![])[\s\S])*?(?:\*\/|$))/,this.LINE_COMMENT_REGEX=o.createLineCommentRegex(t.lineCommentTypes),this.RESERVED_TOP_LEVEL_REGEX=o.createReservedWordRegex(t.reservedTopLevelWords),this.RESERVED_TOP_LEVEL_NO_INDENT_REGEX=o.createReservedWordRegex(t.reservedTopLevelWordsNoIndent),this.RESERVED_NEWLINE_REGEX=o.createReservedWordRegex(t.reservedNewlineWords),this.RESERVED_PLAIN_REGEX=o.createReservedWordRegex(t.reservedWords),this.WORD_REGEX=o.createWordRegex(t.specialWordChars),this.STRING_REGEX=o.createStringRegex(t.stringTypes),this.OPEN_PAREN_REGEX=o.createParenRegex(t.openParens),this.CLOSE_PAREN_REGEX=o.createParenRegex(t.closeParens),this.INDEXED_PLACEHOLDER_REGEX=o.createPlaceholderRegex(t.indexedPlaceholderTypes,"[0-9]*"),this.IDENT_NAMED_PLACEHOLDER_REGEX=o.createPlaceholderRegex(t.namedPlaceholderTypes,"[a-zA-Z0-9._$]+"),this.STRING_NAMED_PLACEHOLDER_REGEX=o.createPlaceholderRegex(t.namedPlaceholderTypes,o.createStringPattern(t.stringTypes))}var t;return(t=[{key:"tokenize",value:function(e){for(var t,n=[];e.length;){var r=this.getWhitespace(e);(e=e.substring(r.length)).length&&(t=this.getNextToken(e,t),e=e.substring(t.value.length),n.push(s(s({},t),{},{whitespaceBefore:r})))}return n}},{key:"getWhitespace",value:function(e){var t=e.match(this.WHITESPACE_REGEX);return t?t[1]:""}},{key:"getNextToken",value:function(e,t){return this.getCommentToken(e)||this.getStringToken(e)||this.getOpenParenToken(e)||this.getCloseParenToken(e)||this.getPlaceholderToken(e)||this.getNumberToken(e)||this.getReservedWordToken(e,t)||this.getWordToken(e)||this.getOperatorToken(e)}},{key:"getCommentToken",value:function(e){return this.getLineCommentToken(e)||this.getBlockCommentToken(e)}},{key:"getLineCommentToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.LINE_COMMENT,regex:this.LINE_COMMENT_REGEX})}},{key:"getBlockCommentToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.BLOCK_COMMENT,regex:this.BLOCK_COMMENT_REGEX})}},{key:"getStringToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.STRING,regex:this.STRING_REGEX})}},{key:"getOpenParenToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.OPEN_PAREN,regex:this.OPEN_PAREN_REGEX})}},{key:"getCloseParenToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.CLOSE_PAREN,regex:this.CLOSE_PAREN_REGEX})}},{key:"getPlaceholderToken",value:function(e){return this.getIdentNamedPlaceholderToken(e)||this.getStringNamedPlaceholderToken(e)||this.getIndexedPlaceholderToken(e)}},{key:"getIdentNamedPlaceholderToken",value:function(e){return this.getPlaceholderTokenWithKey({input:e,regex:this.IDENT_NAMED_PLACEHOLDER_REGEX,parseKey:function(e){return e.slice(1)}})}},{key:"getStringNamedPlaceholderToken",value:function(e){var t=this;return this.getPlaceholderTokenWithKey({input:e,regex:this.STRING_NAMED_PLACEHOLDER_REGEX,parseKey:function(e){return t.getEscapedPlaceholderKey({key:e.slice(2,-1),quoteChar:e.slice(-1)})}})}},{key:"getIndexedPlaceholderToken",value:function(e){return this.getPlaceholderTokenWithKey({input:e,regex:this.INDEXED_PLACEHOLDER_REGEX,parseKey:function(e){return e.slice(1)}})}},{key:"getPlaceholderTokenWithKey",value:function(e){var t=e.parseKey,n=this.getTokenOnFirstMatch({input:e.input,regex:e.regex,type:a.default.PLACEHOLDER});return n&&(n.key=t(n.value)),n}},{key:"getEscapedPlaceholderKey",value:function(e){var t=e.quoteChar;return e.key.replace(new RegExp((0,Ec.escapeRegExp)("\\"+t),"gu"),t)}},{key:"getNumberToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.NUMBER,regex:this.NUMBER_REGEX})}},{key:"getOperatorToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.OPERATOR,regex:this.OPERATOR_REGEX})}},{key:"getReservedWordToken",value:function(e,t){if(!t||!t.value||"."!==t.value)return this.getTopLevelReservedToken(e)||this.getNewlineReservedToken(e)||this.getTopLevelReservedTokenNoIndent(e)||this.getPlainReservedToken(e)}},{key:"getTopLevelReservedToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.RESERVED_TOP_LEVEL,regex:this.RESERVED_TOP_LEVEL_REGEX})}},{key:"getNewlineReservedToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.RESERVED_NEWLINE,regex:this.RESERVED_NEWLINE_REGEX})}},{key:"getTopLevelReservedTokenNoIndent",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.RESERVED_TOP_LEVEL_NO_INDENT,regex:this.RESERVED_TOP_LEVEL_NO_INDENT_REGEX})}},{key:"getPlainReservedToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.RESERVED,regex:this.RESERVED_PLAIN_REGEX})}},{key:"getWordToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.WORD,regex:this.WORD_REGEX})}},{key:"getTokenOnFirstMatch",value:function(e){var t=e.type,n=e.input.match(e.regex);return n?{type:t,value:n[1]}:void 0}}])&&function(e,t){for(var n=0;n","!>","||"]})}}])&&function(e,t){for(var n=0;n>","!=","<>","<=>","&&","||"]})}}])&&function(e,t){for(var n=0;n>","!=","<>","<=>","&&","||","->","->>"]})}}])&&function(e,t){for(var n=0;n>","||/","|/","::","->>","->","~~*","~~","!~~*","!~~","~*","!~*","!~","!!"]})}}])&&function(e,t){for(var n=0;n>","!=","||"]})}}])&&function(e,t){for(var n=0;n","&&","||","=="]})}},{key:"tokenOverride",value:function(e){if((0,Nc.isWindow)(e)){var t=this.tokenLookAhead();if(t&&t.type===o.default.OPEN_PAREN)return{type:o.default.RESERVED,value:e.value}}if((0,Nc.isEnd)(e)){var n=this.tokenLookBehind();if(n&&n.type===o.default.OPERATOR&&"."===n.value)return{type:o.default.WORD,value:e.value}}return e}}])&&function(e,t){for(var n=0;n=","<=","<>","!=","!<","!>","+=","-=","*=","/=","%=","|=","&=","^=","::"]})}}])&&function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof e)throw new Error("Invalid query argument. Extected string, instead got "+p(e));var n=u.default;if(void 0!==t.language&&(n=m[t.language]),void 0===n)throw Error("Unsupported SQL dialect: ".concat(t.language));return new n(t).format(e)};var h=Object.keys(m);t.supportedDialects=h}));function Bc({children:e,language:t}){return c.createElement(Gl,{language:t,customStyle:{background:"transparent"}},e)}function Hc({value:e,limitHeight:t=!0,language:n=null,transparent:r=!1,overflowX:a=!0}){const[o,i]=c.useState(t),[l,s]=c.useState("sql"===n),u=c.useRef(null),f=c.useRef(null);return c.useEffect(()=>{u.current&&s(u.current.scrollHeight>u.current.clientHeight)},[u.current,o,e,t]),c.createElement("div",{ref:f,className:`\n ${l?"cursor-pointer":""}\n ${r?"":"~bg-gray-500/5"}\n group py-2 relative`,onClick:function(e){var t;3!==e.detail?l&&(!o&&null!=(t=window.getSelection())&&t.toString().length||i(!o)):function(){const e=document.createRange();e.selectNodeContents(f.current);const t=window.getSelection();t.removeAllRanges(),t.addRange(e)}()}},c.createElement("div",{className:a?"mask-fade-x":""},"sql"===n&&c.createElement(c.Fragment,null,o?c.createElement("pre",{className:"pl-4 "+(a?"overflow-x-scroll scrollbar-hidden-x pr-12":"truncate pr-8")},c.createElement("code",{className:"font-mono leading-relaxed text-sm font-normal"},c.createElement(Bc,{language:"sql"},e))):c.createElement("pre",{className:"pl-4 "+(a?"overflow-x-scroll scrollbar-hidden-x pr-12":"pr-8")},c.createElement("code",{className:"font-mono leading-relaxed text-sm font-normal"},c.createElement(Bc,{language:"sql"},zc.format(e,{language:"mysql"}))))),"sql"!==n&&c.createElement("pre",{ref:u,className:`\n pl-4\n ${l?"mask-fade-y -mb-2":""}\n ${o?"overflow-y-hidden max-h-32":""}\n ${a?"overflow-x-scroll scrollbar-hidden-x pr-12":"pr-8"}\n `},c.createElement("code",{className:"font-mono leading-relaxed text-sm font-normal"},n?c.createElement(Bc,{language:n},e):e))),c.createElement(ei,{className:"absolute top-2 right-3",value:e}),l&&c.createElement(Zo,{onClick:()=>i(!o),className:"\n absolute -bottom-3 left-1/2 -translate-x-1/2\n opacity-0 group-hover:opacity-100 scale-80 group-hover:scale-100 delay-100\n "},c.createElement(co,{icon:Lo,className:"transition-transform duration-300 transform "+(o?"":"rotate-180")})))}const Vc=["children","className"];function Wc(e){let{children:t,className:n=""}=e,r=xe(e,Vc);return t?c.createElement("dl",Ne({className:`grid grid-cols-1 gap-2 ${n}`},r),t):null}function Gc({frame:e}){var t;return c.createElement(Wc,{className:"pb-10 px-6 @lg:px-10"},null==(t=e.arguments)?void 0:t.map((e,t)=>c.createElement(Wc.Row,{key:t,label:c.createElement("div",{className:"font-mono text-sm"},c.createElement("span",{className:"hljs-function hljs-params hljs-variable"},c.createElement("span",{title:"by reference"},e.is_variadic&&"…"),c.createElement("span",null,e.passed_by_reference&&"&"),c.createElement("span",{title:"variadic"},"$"),e.name),c.createElement("span",{className:"text-xs pl-px hljs-function hljs-keyword"},":",e.original_type,e.truncated&&" - truncated")),value:e.value,type:e.original_type,stacked:!0})))}function Yc({frames:e,openFrameIndex:t}){const n=c.useMemo(()=>{let n=1;const r=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=0;return a<0&&(a=vc(r+a,0)),gt(e,yc(e=>"application"===Ae(e)),a)}(e);return-1!==r&&(n=e.length-r),t&&(n=e.length-t),Nt({frames:e,expanded:[],selected:n},{type:"COLLAPSE_ALL_VENDOR_FRAMES"})},[e]),[r,a]=c.useReducer(Nt,n),o=c.useMemo(()=>function(e){return ke(e.frames).filter(e=>"vendor"===Ae(e)).every(t=>e.expanded.includes(t.frame_number))}(r),[r]),i=c.useMemo(()=>function({frames:e,selected:t,expanded:n}){return e.reduce((r,a,o)=>{const i={current:a,previous:r[r.length-1]||Rt,isFirstFrame:0===o,frameNumber:e.length-o,expanded:n,selected:t};return i.expanded.includes(i.frameNumber)?r.concat(function(e){return e.current.relative_file!==e.previous.relative_file?[{type:Ae(e.current),relative_file:e.current.relative_file,expanded:!0,frames:[Ne({},e.current,{frame_number:e.frameNumber,selected:e.selected===e.frameNumber})]}]:(e.previous.frames.push(Ne({},e.current,{frame_number:e.frameNumber,selected:e.selected===e.frameNumber})),[])}(i)):r.concat(function(e){const t=Ae(e.current);return e.previous.expanded||t!==e.previous.type?[{type:t,relative_file:e.current.relative_file,expanded:!1,frames:[Ne({},e.current,{frame_number:e.frameNumber,selected:e.selected===e.frameNumber})]}]:(e.previous.frames.push(Ne({},e.current,{selected:!1,frame_number:e.frameNumber})),[])}(i))},[])}(r),[r]),l=c.useMemo(()=>function(e){const t=ke(e.frames);return t.find(t=>t.frame_number===e.selected)||t[0]||null}(r),[r]);return Ot("j",()=>{a({type:"SELECT_NEXT_FRAME"})}),Ot("k",()=>{a({type:"SELECT_PREVIOUS_FRAME"})}),c.createElement(c.Fragment,null,c.createElement("aside",{className:"z-30 flex flex-col border-r ~border-gray-200 relative"},c.createElement("div",{className:"max-h-[33vh] @4xl:max-h-[none] @4xl:absolute inset-0 flex flex-col overflow-hidden ~bg-white rounded-t-lg"},c.createElement("header",{className:"flex-none px-6 @lg:px-10 h-16 flex items-center justify-start ~bg-white border-b ~border-gray-200"},c.createElement(kt,{onClick:()=>a({type:o?"COLLAPSE_ALL_VENDOR_FRAMES":"EXPAND_ALL_VENDOR_FRAMES"})},c.createElement("div",{className:"flex "+(o?"flex-col-reverse":"flex-col")},c.createElement(co,{icon:Fo,className:"-my-px text-[8px] ~text-gray-500 group-hover:text-indigo-500"}),c.createElement(co,{icon:Lo,className:"-my-px text-[8px] ~text-gray-500 group-hover:text-indigo-500"})),o?"Collapse vendor frames":" Expand vendor frames")),c.createElement("div",{id:"frames",className:"flex-grow overflow-auto scrollbar-hidden-y mask-fade-frames"},c.createElement("ol",{className:"text-sm pb-16"},i.map((e,t)=>c.createElement($o,{key:t,frameGroup:e,onExpand:()=>a({type:"EXPAND_FRAMES",frames:e.frames.map(e=>e.frame_number)}),onSelect:e=>{a({type:"SELECT_FRAME",frame:e})}})))))),c.createElement("section",{className:"flex flex-col border-t @4xl:border-t-0 ~border-gray-200 relative"},l&&c.createElement(c.Fragment,null,c.createElement("header",{className:"~text-gray-500 flex-none z-30 h-16 px-6 @lg:px-10 flex items-center justify-end"},c.createElement(ti,{path:l.file,lineNumber:l.line_number,className:"flex items-center text-sm"})),c.createElement($l,{frame:l}))),(null==l?void 0:l.arguments)&&l.arguments.length>0&&c.createElement("section",{className:"border-t ~border-gray-200 @4xl:col-span-2"},c.createElement("header",{className:"font-bold text-xs ~text-gray-500 uppercase tracking-wider h-16 px-6 @lg:px-10 flex items-center"},"arguments"),c.createElement(Gc,{frame:l})))}function $c({openFrameIndex:e}){const{frames:t}=c.useContext(be);return c.createElement("div",{className:"@container bg-gray-25 dark:shadow-none dark:bg-gray-800/50 bg-gradient-to-bl from-white dark:from-gray-700/50 via-transparent dark:ring-1 dark:ring-inset dark:ring-white/5 rounded-lg shadow-2xl shadow-gray-500/20"},c.createElement("div",{className:"grid grid-cols-1 @4xl:grid-cols-[33.33%_66.66%] @4xl:grid-rows-[57rem] items-stretch overflow-hidden"},c.createElement(Yc,{frames:t,openFrameIndex:e})))}function Xc({message:e,className:t=""}){const[n,r]=c.useState(!1);return c.createElement("div",{className:`\n my-4 font-semibold leading-snug text-xl\n ${t}\n `,onClick:function(){var e;n&&null!=(e=window.getSelection())&&e.toString().length||r(!n)}},c.createElement("div",{className:n?"line-clamp-none":"line-clamp-2"},e))}function qc({message:e,exceptionClass:t,className:n=""}){const[r,a]=c.useState(e),[o,i]=c.useState(null);return c.useEffect(()=>{if("Illuminate\\Database\\QueryException"===t||e.match(/SQLSTATE\[[\s\S]*\][\s\S]*SQL: [\s\S]*\)/)){const t=/*#__PURE__*/we(/\((?:|Connection: [\s\S]*?, )SQL: ([\s\S]*?)\)($| \(View: [\s\S]*\)$)/,{query:1}),[,n]=e.match(t)||[];i(n),a(e.replace(t,"$2"))}},[e,t]),c.createElement(c.Fragment,null,c.createElement(Xc,{message:r,className:n}),o&&c.createElement(Hc,{value:o,language:"sql"}))}Wc.Row=function({value:e="",label:t="",className:n="",stacked:r=!1,type:a,small:o=!1}){let i=e;const[l,s]=c.useState(!1);let u;return c.isValidElement(e)?i=e:"boolean"==typeof e?i=c.createElement("span",{className:(e?"text-emerald-500 bg-emerald-500/5":"text-red-500 bg-red-800/5")+" text-sm px-3 py-2 inline-flex gap-2 items-center justify-center"},c.createElement(co,{className:`${e} ? 'text-emerald-500' : 'text-red-500`,icon:e?Ho:jo}),c.createElement("span",{className:"font-mono"},e?"true":"false")):"string"===a||"object"==typeof e?i=c.createElement(Hc,{value:Ko(e),language:"json"}):"string"==typeof e?i=c.createElement(Hc,{value:e}):"number"==typeof e&&(i=c.createElement(Hc,{value:String(e)})),c.createElement("div",{className:`${r?"flex flex-col":"flex items-baseline "+(o?"gap-3":"gap-10")} ${n}`},c.createElement("dt",{className:`\n ${r?"self-start pt-2 pb-1.5 leading-tight":l?o?"flex-grow truncate min-w-[2rem] max-w-max":"flex-grow truncate min-w-[8rem] max-w-max":o?"flex-none truncate w-[2rem]":"flex-none truncate w-[8rem]"}\n `,onMouseOver:()=>{u=setTimeout(()=>s(!0),500)},onMouseOut:()=>{clearTimeout(u),s(!1)}},t),c.createElement("dd",{className:"flex-grow min-w-0"},i))};const Kc=["children","className","disabled"];function Jc(e){let{children:t,className:n="",disabled:r=!1}=e,a=xe(e,Kc);return c.createElement("button",Ne({disabled:r,className:`px-4 h-8 whitespace-nowrap border-b\n text-xs uppercase tracking-wider font-bold rounded-sm\n shadow-md\n transform\n transition-animation\n hover:shadow-lg\n active:shadow-inner\n active:translate-y-px\n ${r?"opacity-50":"opacity-100"}\n ${n}\n `},a),t)}var Qc=/*@__PURE__*/Ie(_e(function(e,t){e.exports=(()=>{var e=Object.create,t=Object.defineProperty,n=Object.defineProperties,r=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,l=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,u=Math.pow,f=(e,n,r)=>n in e?t(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,d=(e,t)=>{for(var n in t||(t={}))s.call(t,n)&&f(e,n,t[n]);if(i)for(var n of i(t))c.call(t,n)&&f(e,n,t[n]);return e},p=(e,t)=>n(e,a(t)),m=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),h=(e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})},g=(e,n,a,i)=>{if(n&&"object"==typeof n||"function"==typeof n)for(let l of o(n))!s.call(e,l)&&l!==a&&t(e,l,{get:()=>n[l],enumerable:!(i=r(n,l))||i.enumerable});return e},y=(n,r,a)=>(a=null!=n?e(l(n)):{},g(!r&&n&&n.__esModule?a:t(a,"default",{value:n,enumerable:!0}),n)),v=m(e=>{var t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),d=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,h={};function g(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||p}function y(){}function v(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var b=v.prototype=new y;b.constructor=v,m(b,g.prototype),b.isPureReactComponent=!0;var E=Array.isArray,T=Object.prototype.hasOwnProperty,S={current:null},w={key:!0,ref:!0,__self:!0,__source:!0};function N(e,n,r){var a,o={},i=null,l=null;if(null!=n)for(a in void 0!==n.ref&&(l=n.ref),void 0!==n.key&&(i=""+n.key),n)T.call(n,a)&&!w.hasOwnProperty(a)&&(o[a]=n[a]);var s=arguments.length-2;if(1===s)o.children=r;else if(1{t.exports=v()}),E=m((e,t)=>{t.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}}),T=m((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},l=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var t,a=n.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!a&&!o)return!1;for(t in e);return void 0===t||n.call(e,t)},s=function(e,t){a&&"__proto__"===t.name?a(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(o)return o(e,t).value}return e[t]};t.exports=function e(){var t,n,r,a,o,u,f=arguments[0],d=1,p=arguments.length,m=!1;for("boolean"==typeof f&&(m=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d{t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}),w=m((e,t)=>{var n=S();function r(){}function a(){}a.resetWarningCache=r,t.exports=function(){function e(e,t,r,a,o,i){if(i!==n){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:r};return o.PropTypes=o,o}}),N=m((e,t)=>{t.exports=w()()}),R=m(e=>{var t,n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case a:case i:case o:case f:case d:return e;default:switch(e=e&&e.$$typeof){case c:case s:case u:case m:case p:case l:return e;default:return t}}case r:return t}}}t=Symbol.for("react.module.reference"),e.ContextConsumer=s,e.ContextProvider=l,e.Element=n,e.ForwardRef=u,e.Fragment=a,e.Lazy=m,e.Memo=p,e.Portal=r,e.Profiler=i,e.StrictMode=o,e.Suspense=f,e.SuspenseList=d,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(e){return g(e)===s},e.isContextProvider=function(e){return g(e)===l},e.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},e.isForwardRef=function(e){return g(e)===u},e.isFragment=function(e){return g(e)===a},e.isLazy=function(e){return g(e)===m},e.isMemo=function(e){return g(e)===p},e.isPortal=function(e){return g(e)===r},e.isProfiler=function(e){return g(e)===i},e.isStrictMode=function(e){return g(e)===o},e.isSuspense=function(e){return g(e)===f},e.isSuspenseList=function(e){return g(e)===d},e.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===i||e===o||e===f||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===l||e.$$typeof===s||e.$$typeof===u||e.$$typeof===t||void 0!==e.getModuleId)},e.typeOf=g}),O=m((e,t)=>{t.exports=R()}),x=m((e,t)=>{var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,a=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,c=/^\s+|\s+$/g,u="";function f(e){return e?e.replace(c,u):u}t.exports=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var c=1,d=1;function p(e){var t=e.match(r);t&&(c+=t.length);var n=e.lastIndexOf("\n");d=~n?e.length-n:d+e.length}function m(){var e={line:c,column:d};return function(t){return t.position=new h(e),v(),t}}function h(e){this.start=e,this.end={line:c,column:d},this.source=t.source}function g(n){var r=new Error(t.source+":"+c+":"+d+": "+n);if(r.reason=n,r.filename=t.source,r.line=c,r.column=d,r.source=e,!t.silent)throw r}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function v(){y(a)}function b(e){var t;for(e=e||[];t=E();)!1!==t&&e.push(t);return e}function E(){var t=m();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(u===e.charAt((n+=2)-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function T(){var e=m(),t=y(o);if(t){if(E(),!y(i))return g("property missing ':'");var r=y(l),a=e({type:"declaration",property:f(t[0].replace(n,u)),value:r?f(r[0].replace(n,u)):u});return y(s),a}}return h.prototype.content=e,v(),function(){var e,t=[];for(b(t);e=T();)!1!==e&&(t.push(e),b(t));return t}()}}),k=m((e,t)=>{var n=x();function r(e,t){var r=null;if(!e||"string"!=typeof e)return r;for(var a,o,i,l=n(e),s="function"==typeof t,c=0,u=l.length;cEr,uriTransformer:()=>I});var C=["http","https","mailto","tel"];function I(e){let t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;let r=t.indexOf(":");if(-1===r)return t;let a=-1;for(;++aa||(a=t.indexOf("#"),-1!==a&&r>a)?t:"javascript:void(0)"}var _=y(b(),1),L=y(E(),1);function P(e){return e&&"object"==typeof e?"position"in e||"type"in e?D(e.position):"start"in e||"end"in e?D(e):"line"in e||"column"in e?M(e):"":""}function M(e){return U(e&&e.line)+":"+U(e&&e.column)}function D(e){return M(e&&e.start)+"-"+M(e&&e.end)}function U(e){return e&&"number"==typeof e?e:1}var j=class extends Error{constructor(e,t,n){let r=[null,null],a={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){let e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(a=t.position):"start"in t||"end"in t?a=t:("line"in t||"column"in t)&&(a.start=t)),this.name=P(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.line=a.start.line,this.column=a.start.column,this.position=a,this.source=r[0],this.ruleId=r[1]}};j.prototype.file="",j.prototype.name="",j.prototype.reason="",j.prototype.message="",j.prototype.stack="",j.prototype.fatal=null,j.prototype.column=null,j.prototype.line=null,j.prototype.source=null,j.prototype.ruleId=null,j.prototype.position=null;var F=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');B(e);let n,r=0,a=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1);return a<0?"":e.slice(r,a)}if(t===e)return"";let i=-1,l=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1),l>-1&&(e.charCodeAt(o)===t.charCodeAt(l--)?l<0&&(a=o):(l=-1,a=i));return r===a?a=i:a<0&&(a=e.length),e.slice(r,a)},z=function(...e){let t,n=-1;for(;++n2){if(r=a.lastIndexOf("/"),r!==a.length-1){r<0?(a="",o=0):(a=a.slice(0,r),o=a.length-1-a.lastIndexOf("/")),i=s,l=0;continue}}else if(a.length>0){a="",o=0,i=s,l=0;continue}t&&(a=a.length>0?a+"/..":"..",o=2)}else a.length>0?a+="/"+e.slice(i+1,s):a=e.slice(i+1,s),o=s-i-1;i=s,l=0}else 46===n&&l>-1?l++:l=-1}return a}(e,!t);return 0===n.length&&!t&&(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)};function B(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function H(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}var V=["history","path","basename","stem","extname","dirname"],W=class{constructor(e){let t;t=e?"string"==typeof e||function(e){return(0,L.default)(e)}(e)?{value:e}:H(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd="/";let n,r=-1;for(;++r-1&&(i=-1);else if(t){a=n+1;break}}return o<0||r<0||0===i||1===i&&o===r-1&&o===a+1?"":e.slice(o,r)}(this.path):void 0}set extname(e){if(G(e,"extname"),$(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=z(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?F(this.path,this.extname):void 0}set stem(e){Y(e,"stem"),G(e,"stem"),this.path=z(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){let r=new j(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}};function G(e,t){if(e&&e.includes("/"))throw new Error("`"+t+"` cannot be a path: did not expect `/`")}function Y(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function $(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function X(e){if(e)throw e}var q=y(E(),1),K=y(T(),1);function J(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}var Q=function e(){let t,n=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function a(o,...i){let l=e[++n],s=-1;if(o)r(o);else{for(;++st.length;i&&t.push(r);try{o=e.apply(this,t)}catch(e){let t=e;if(i&&n)throw t;return r(t)}i||(o instanceof Promise?o.then(a,r):o instanceof Error?r(o):a(o))};function r(e,...r){n||(n=!0,t(e,...r))}function a(e){r(null,e)}}(l,a)(...i):r(null,...i)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}(),r=[],a={},o=-1;return i.data=function(e,n){return"string"==typeof e?2===arguments.length?(re("data",t),a[e]=n,i):Z.call(a,e)&&a[e]||null:e?(re("data",t),a=e,i):a},i.Parser=void 0,i.Compiler=void 0,i.freeze=function(){if(t)return i;for(;++o{if(!e&&t&&n){let r=i.stringify(t,n);null==r||(function(e){return"string"==typeof e||(0,q.default)(e)}(r)?n.value=r:n.result=r),o(e,n)}else o(e)})}n(null,t)},i.processSync=function(e){let t;i.freeze(),te("processSync",i.Parser),ne("processSync",i.Compiler);let n=ie(e);return i.process(n,function(e){t=!0,X(e)}),oe("processSync","process",t),n},i;function i(){let t=e(),n=-1;for(;++no?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),[].splice.apply(e,a);else for(n&&[].splice.apply(e,[t,n]);i0?(ue(e,e.length,0,t),e):t}var de={}.hasOwnProperty;function pe(e){let t={},n=-1;for(;++nr))return;let n,o,l=a.events.length,s=l;for(;s--;)if("exit"===a.events[s][0]&&"chunkFlow"===a.events[s][1].type){if(n){o=a.events[s][1].end;break}n=!0}for(y(i),e=l;et;){let t=o[n];a.containerState=t[1],t[0].exit.call(a,e)}o.length=t}function v(){t.write([null]),n=void 0,t=void 0,a.containerState._closeFlow=void 0}}},_e={tokenize:function(e,t,n){return Ae(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function Le(e){return null===e||we(e)||Oe(e)?1:xe(e)?2:void 0}function Pe(e,t,n){let r=[],a=-1;for(;++a1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let f=Object.assign({},e[n][1].end),d=Object.assign({},e[u][1].start);De(f,-l),De(d,l),o={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},i={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:d},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},i.end)},e[n][1].end=Object.assign({},o.start),e[u][1].start=Object.assign({},i.end),s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=fe(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=fe(s,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",a,t]]),s=fe(s,Pe(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),s=fe(s,[["exit",a,t],["enter",i,t],["exit",i,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,s=fe(s,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,ue(e,n-1,u-n+3,s),u=n+s.length-c-2;break}for(u=-1;++u=4?o(e):n(e)}function o(t){return null===t?l(t):Ne(t)?e.attempt(Ye,o,l)(t):(e.enter("codeFlowValue"),i(t))}function i(t){return null===t||Ne(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),i)}function l(n){return e.exit("codeIndented"),t(n)}}},Ye={tokenize:function(e,t,n){let r=this;return a;function a(t){return r.parser.lazy[r.now().line]?n(t):Ne(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):Ae(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):Ne(e)?a(e):n(e)}},partial:!0},$e={name:"codeText",tokenize:function(e,t,n){let r,a,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),i(t)};function i(t){return 96===t?(e.consume(t),o++,i):(e.exit("codeTextSequence"),l(t))}function l(t){return null===t?n(t):96===t?(a=e.enter("codeTextSequence"),r=0,c(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),l):Ne(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):(e.enter("codeTextData"),s(t))}function s(t){return null===t||32===t||96===t||Ne(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),s)}function c(n){return 96===n?(e.consume(n),r++,c):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(a.type="codeTextData",s(n))}},resolve:function(e){let t,n,r=e.length-4,a=3;if(!("lineEnding"!==e[a][1].type&&"space"!==e[a][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=a;++t=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}},partial:!0};function Qe(e,t,n,r,a,o,i,l,s){let c=s||Number.POSITIVE_INFINITY,u=0;return function(t){return 60===t?(e.enter(r),e.enter(a),e.enter(o),e.consume(t),e.exit(o),f):null===t||41===t||Se(t)?n(t):(e.enter(r),e.enter(i),e.enter(l),e.enter("chunkString",{contentType:"string"}),m(t))};function f(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(a),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(l),f(t)):null===t||60===t||Ne(t)?n(t):(e.consume(t),92===t?p:d)}function p(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function m(a){return 40===a?++u>c?n(a):(e.consume(a),m):41===a?u--?(e.consume(a),m):(e.exit("chunkString"),e.exit(l),e.exit(i),e.exit(r),t(a)):null===a||we(a)?u?n(a):(e.exit("chunkString"),e.exit(l),e.exit(i),e.exit(r),t(a)):Se(a)?n(a):(e.consume(a),92===a?h:m)}function h(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function Ze(e,t,n,r,a,o){let i,l=this,s=0;return function(t){return e.enter(r),e.enter(a),e.consume(t),e.exit(a),e.enter(o),c};function c(f){return null===f||91===f||93===f&&!i||94===f&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs||s>999?n(f):93===f?(e.exit(o),e.enter(a),e.consume(f),e.exit(a),e.exit(r),t):Ne(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(f))}function u(t){return null===t||91===t||93===t||Ne(t)||s++>999?(e.exit("chunkString"),c(t)):(e.consume(t),i=i||!Re(t),92===t?f:u)}function f(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}}function et(e,t,n,r,a,o){let i;return function(t){return e.enter(r),e.enter(a),e.consume(t),e.exit(a),i=40===t?41:t,l};function l(n){return n===i?(e.enter(a),e.consume(n),e.exit(a),e.exit(r),t):(e.enter(o),s(n))}function s(t){return t===i?(e.exit(o),l(i)):null===t?n(t):Ne(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Ae(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===i||null===t||Ne(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?u:c)}function u(t){return t===i||92===t?(e.consume(t),c):c(t)}}function tt(e,t){let n;return function r(a){return Ne(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):Re(a)?Ae(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}function nt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var rt={name:"definition",tokenize:function(e,t,n){let r,a=this;return function(t){return e.enter("definition"),Ze.call(a,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function o(t){return r=nt(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),tt(e,Qe(e,e.attempt(at,Ae(e,i,"whitespace"),Ae(e,i,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function i(o){return null===o||Ne(o)?(e.exit("definition"),a.parser.defined.includes(r)||a.parser.defined.push(r),t(o)):n(o)}}},at={tokenize:function(e,t,n){return function(t){return we(t)?tt(e,r)(t):n(t)};function r(t){return 34===t||39===t||40===t?et(e,Ae(e,a,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function a(e){return null===e||Ne(e)?t(e):n(e)}},partial:!0},ot={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),r};function r(r){return Ne(r)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(r)):n(r)}}},it={name:"headingAtx",tokenize:function(e,t,n){let r=this,a=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),o(t)};function o(l){return 35===l&&a++<6?(e.consume(l),o):null===l||we(l)?(e.exit("atxHeadingSequence"),r.interrupt?t(l):i(l)):n(l)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),l(n)):null===n||Ne(n)?(e.exit("atxHeading"),t(n)):Re(n)?Ae(e,i,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function l(t){return 35===t?(e.consume(t),l):(e.exit("atxHeadingSequence"),i(t))}function s(t){return null===t||35===t||we(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),s)}},resolve:function(e,t){let n,r,a=e.length-2,o=3;return"whitespace"===e[o][1].type&&(o+=2),a-2>o&&"whitespace"===e[a][1].type&&(a-=2),"atxHeadingSequence"===e[a][1].type&&(o===a-1||a-4>o&&"whitespace"===e[a-2][1].type)&&(a-=o+1===a?2:4),a>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[a][1].end},r={type:"chunkText",start:e[o][1].start,end:e[a][1].end,contentType:"text"},ue(e,o,a-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},lt=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],st=["pre","script","style","textarea"],ct={name:"htmlFlow",tokenize:function(e,t,n){let r,a,o,i,l,s=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c};function c(i){return 33===i?(e.consume(i),u):47===i?(e.consume(i),p):63===i?(e.consume(i),r=3,s.interrupt?t:P):ge(i)?(e.consume(i),o=String.fromCharCode(i),a=!0,m):n(i)}function u(a){return 45===a?(e.consume(a),r=2,f):91===a?(e.consume(a),r=5,o="CDATA[",i=0,d):ge(a)?(e.consume(a),r=4,s.interrupt?t:P):n(a)}function f(r){return 45===r?(e.consume(r),s.interrupt?t:P):n(r)}function d(r){return r===o.charCodeAt(i++)?(e.consume(r),i===o.length?s.interrupt?t:O:d):n(r)}function p(t){return ge(t)?(e.consume(t),o=String.fromCharCode(t),m):n(t)}function m(i){return null===i||47===i||62===i||we(i)?47!==i&&a&&st.includes(o.toLowerCase())?(r=1,s.interrupt?t(i):O(i)):lt.includes(o.toLowerCase())?(r=6,47===i?(e.consume(i),h):s.interrupt?t(i):O(i)):(r=7,s.interrupt&&!s.parser.lazy[s.now().line]?n(i):a?y(i):g(i)):45===i||be(i)?(e.consume(i),o+=String.fromCharCode(i),m):n(i)}function h(r){return 62===r?(e.consume(r),s.interrupt?t:O):n(r)}function g(t){return Re(t)?(e.consume(t),g):N(t)}function y(t){return 47===t?(e.consume(t),N):58===t||95===t||ge(t)?(e.consume(t),v):Re(t)?(e.consume(t),y):N(t)}function v(t){return 45===t||46===t||58===t||95===t||be(t)?(e.consume(t),v):b(t)}function b(t){return 61===t?(e.consume(t),E):Re(t)?(e.consume(t),b):y(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,T):Re(t)?(e.consume(t),E):(l=null,S(t))}function T(t){return null===t||Ne(t)?n(t):t===l?(e.consume(t),w):(e.consume(t),T)}function S(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||we(t)?b(t):(e.consume(t),S)}function w(e){return 47===e||62===e||Re(e)?y(e):n(e)}function N(t){return 62===t?(e.consume(t),R):n(t)}function R(t){return Re(t)?(e.consume(t),R):null===t||Ne(t)?O(t):n(t)}function O(t){return 45===t&&2===r?(e.consume(t),C):60===t&&1===r?(e.consume(t),I):62===t&&4===r?(e.consume(t),M):63===t&&3===r?(e.consume(t),P):93===t&&5===r?(e.consume(t),L):!Ne(t)||6!==r&&7!==r?null===t||Ne(t)?x(t):(e.consume(t),O):e.check(ut,M,x)(t)}function x(t){return e.exit("htmlFlowData"),k(t)}function k(t){return null===t?D(t):Ne(t)?e.attempt({tokenize:A,partial:!0},k,D)(t):(e.enter("htmlFlowData"),O(t))}function A(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r};function r(e){return s.parser.lazy[s.now().line]?n(e):t(e)}}function C(t){return 45===t?(e.consume(t),P):O(t)}function I(t){return 47===t?(e.consume(t),o="",_):O(t)}function _(t){return 62===t&&st.includes(o.toLowerCase())?(e.consume(t),M):ge(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),_):O(t)}function L(t){return 93===t?(e.consume(t),P):O(t)}function P(t){return 62===t?(e.consume(t),M):45===t&&2===r?(e.consume(t),P):O(t)}function M(t){return null===t||Ne(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),M)}function D(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},ut={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(je,t,n)}},partial:!0},ft={name:"htmlText",tokenize:function(e,t,n){let r,a,o,i,l=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),c):47===t?(e.consume(t),S):63===t?(e.consume(t),E):ge(t)?(e.consume(t),R):n(t)}function c(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),a="CDATA[",o=0,h):ge(t)?(e.consume(t),b):n(t)}function u(t){return 45===t?(e.consume(t),f):n(t)}function f(t){return null===t||62===t?n(t):45===t?(e.consume(t),d):p(t)}function d(e){return null===e||62===e?n(e):p(e)}function p(t){return null===t?n(t):45===t?(e.consume(t),m):Ne(t)?(i=p,L(t)):(e.consume(t),p)}function m(t){return 45===t?(e.consume(t),M):p(t)}function h(t){return t===a.charCodeAt(o++)?(e.consume(t),o===a.length?g:h):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),y):Ne(t)?(i=g,L(t)):(e.consume(t),g)}function y(t){return 93===t?(e.consume(t),v):g(t)}function v(t){return 62===t?M(t):93===t?(e.consume(t),v):g(t)}function b(t){return null===t||62===t?M(t):Ne(t)?(i=b,L(t)):(e.consume(t),b)}function E(t){return null===t?n(t):63===t?(e.consume(t),T):Ne(t)?(i=E,L(t)):(e.consume(t),E)}function T(e){return 62===e?M(e):E(e)}function S(t){return ge(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||be(t)?(e.consume(t),w):N(t)}function N(t){return Ne(t)?(i=N,L(t)):Re(t)?(e.consume(t),N):M(t)}function R(t){return 45===t||be(t)?(e.consume(t),R):47===t||62===t||we(t)?O(t):n(t)}function O(t){return 47===t?(e.consume(t),M):58===t||95===t||ge(t)?(e.consume(t),x):Ne(t)?(i=O,L(t)):Re(t)?(e.consume(t),O):M(t)}function x(t){return 45===t||46===t||58===t||95===t||be(t)?(e.consume(t),x):k(t)}function k(t){return 61===t?(e.consume(t),A):Ne(t)?(i=k,L(t)):Re(t)?(e.consume(t),k):O(t)}function A(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,C):Ne(t)?(i=A,L(t)):Re(t)?(e.consume(t),A):(e.consume(t),r=void 0,_)}function C(t){return t===r?(e.consume(t),I):null===t?n(t):Ne(t)?(i=C,L(t)):(e.consume(t),C)}function I(e){return 62===e||47===e||we(e)?O(e):n(e)}function _(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||we(t)?O(t):(e.consume(t),_)}function L(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Ae(e,P,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function P(t){return e.enter("htmlTextData"),i(t)}function M(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}},dt={name:"labelEnd",tokenize:function(e,t,n){let r,a,o=this,i=o.events.length;for(;i--;)if(("labelImage"===o.events[i][1].type||"labelLink"===o.events[i][1].type)&&!o.events[i][1]._balanced){r=o.events[i][1];break}return function(t){return r?r._inactive?s(t):(a=o.parser.defined.includes(nt(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l):n(t)};function l(n){return 40===n?e.attempt(pt,t,a?t:s)(n):91===n?e.attempt(mt,t,a?e.attempt(ht,t,s):s)(n):a?t(n):s(n)}function s(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,a,o,i=e.length,l=0;for(;i--;)if(n=e[i][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[i][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(a){if("enter"===e[i][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=i,"labelLink"!==n.type)){l=2;break}}else"labelEnd"===n.type&&(a=i);let s={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[a][1].end)},u={type:"labelText",start:Object.assign({},e[r+l+2][1].end),end:Object.assign({},e[a-2][1].start)};return o=[["enter",s,t],["enter",c,t]],o=fe(o,e.slice(r+1,r+l+3)),o=fe(o,[["enter",u,t]]),o=fe(o,Pe(t.parser.constructs.insideSpan.null,e.slice(r+l+4,a-3),t)),o=fe(o,[["exit",u,t],e[a-2],e[a-1],["exit",c,t]]),o=fe(o,e.slice(a+1)),o=fe(o,[["exit",s,t]]),ue(e,r,e.length,o),e},resolveAll:function(e){let t,n=-1;for(;++nFt,contentInitial:()=>Lt,disable:()=>zt,document:()=>_t,flow:()=>Mt,flowInitial:()=>Pt,insideSpan:()=>jt,string:()=>Dt,text:()=>Ut});var _t={42:Et,43:Et,45:Et,48:Et,49:Et,50:Et,51:Et,52:Et,53:Et,54:Et,55:Et,56:Et,57:Et,62:Fe},Lt={91:rt},Pt={[-2]:Ge,[-1]:Ge,32:Ge},Mt={35:it,42:bt,45:[wt,bt],60:ct,61:wt,95:bt,96:We,126:We},Dt={38:Ve,92:ze},Ut={[-5]:vt,[-4]:vt,[-3]:vt,33:gt,38:Ve,42:Me,60:[Ue,ft],91:yt,92:[ot,ze],93:dt,95:Me,96:$e},jt={null:[Me,Rt]},Ft={null:[42,95]},zt={null:[]},Bt=/[\0\t\n\r]/g;function Ht(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":String.fromCharCode(n)}var Vt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Wt(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return Ht(n.slice(t?2:1),t?16:10)}return He(n)||e}var Gt={}.hasOwnProperty,Yt=function(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(E),autolinkProtocol:d,autolinkEmail:d,atxHeading:i(y),blockQuote:i(function(){return{type:"blockquote",children:[]}}),characterEscape:d,characterReference:d,codeFenced:i(g),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:i(g,l),codeText:i(function(){return{type:"inlineCode",value:""}},l),codeTextData:d,data:d,codeFlowValue:d,definition:i(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:i(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:i(v),hardBreakTrailing:i(v),htmlFlow:i(b,l),htmlFlowData:d,htmlText:i(b,l),htmlTextData:d,image:i(function(){return{type:"image",title:null,url:"",alt:null}}),label:l,link:i(E),listItem:i(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){o("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),a("expectingFirstListItemValue"))},listOrdered:i(T,function(){a("expectingFirstListItemValue",!0)}),listUnordered:i(T),paragraph:i(function(){return{type:"paragraph",children:[]}}),reference:function(){a("referenceType","collapsed")},referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:i(y),strong:i(function(){return{type:"strong",children:[]}}),thematicBreak:i(function(){return{type:"thematicBreak"}})},exit:{atxHeading:c(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let n=this.sliceSerialize(e).length;t.depth=n}},autolink:c(),autolinkEmail:function(e){p.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){p.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:c(),characterEscapeValue:p,characterReferenceMarkerHexadecimal:h,characterReferenceMarkerNumeric:h,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=o("characterReferenceType");r?(t=Ht(n,"characterReferenceMarkerNumeric"===r?10:16),a("characterReferenceType")):t=He(n);let i=this.stack.pop();i.value+=t,i.position.end=$t(e.end)},codeFenced:c(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}),codeFencedFence:function(){o("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:p,codeIndented:c(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:c(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:p,data:p,definition:c(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=nt(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:c(),hardBreakEscape:c(m),hardBreakTrailing:c(m),htmlFlow:c(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:p,htmlText:c(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:p,image:c(function(){let e=this.stack[this.stack.length-1];if(o("inReference")){let t=o("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;a("referenceType")}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];a("inReference",!0),"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(Vt,Wt)}(t),n.identifier=nt(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(o("atHardBreak"))return n.children[n.children.length-1].position.end=$t(e.end),void a("atHardBreak");!o("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(d.call(this,e),p.call(this,e))},link:c(function(){let e=this.stack[this.stack.length-1];if(o("inReference")){let t=o("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;a("referenceType")}),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=nt(this.sliceSerialize(e)).toLowerCase(),a("referenceType","full")},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){a("inReference")},setextHeading:c(function(){a("setextHeadingSlurpLineEnding")}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){a("setextHeadingSlurpLineEnding",!0)},strong:c(),thematicBreak:c()}};Xt(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let n={type:"root",children:[]},i={stack:[n],tokenStack:[],config:t,enter:s,exit:u,buffer:l,resume:f,setData:a,getData:o},c=[],d=-1;for(;++d0){let e=i.tokenStack[i.tokenStack.length-1];(e[1]||Kt).call(i,void 0,e[0])}for(n.position={start:$t(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:$t(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d-1&&(n[0]=n[0].slice(a)),i>0&&n.push(e[o].slice(0,i))),n}(i,e)}function d(){return Object.assign({},r)}function p(e){u=u(e)}function m(e,t){t.restore()}function h(e,t){return function(n,a,o){let i,u,f,p;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):(m=n,function(e){let t=null!==e&&m[e],n=null!==e&&m.null;return h([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});var m;function h(e){return i=e,u=0,0===e.length?o:g(e[u])}function g(e){return function(n){return p=function(){let e=d(),t=c.previous,n=c.currentConstruct,a=c.events.length,o=Array.from(l);return{restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=a,l=o,y()},from:a}}(),f=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name)?b():e.tokenize.call(t?Object.assign(Object.create(c),t):c,s,v,b)(n)}}function v(t){return e(f,p),a}function b(e){return p.restore(),++u{let n=this.data("settings");return Yt(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})};function Qt(e){let t=[],n=-1,r=0,a=0;for(;++n55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(i=String.fromCharCode(o,t),a=1):i="�"}else i=String.fromCharCode(o);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+a+1,i=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function Zt(e,t){let n,r=String(t.identifier).toUpperCase(),a=Qt(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);-1===o?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,n=e.footnoteOrder.length):(e.footnoteCounts[r]++,n=o+1);let i=e.footnoteCounts[r],l={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+a,id:e.clobberPrefix+"fnref-"+a+(i>1?"-"+i:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let s={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,s),e.applyData(t,s)}function en(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};let a=e.all(t),o=a[0];o&&"text"===o.type?o.value="["+o.value:a.unshift({type:"text",value:"["});let i=a[a.length-1];return i&&"text"===i.type?i.value+=r:a.push({type:"text",value:r}),a}function tn(e){let t=e.spread;return null==t?e.children.length>1:t}var nn=an("start"),rn=an("end");function an(e){return function(t){let n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}function on(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),a=0,o=[];for(;r;)o.push(ln(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return o.push(ln(t.slice(a),a>0,!1)),o.join("")}function ln(e,t,n){let r=0,a=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(a-1);for(;9===t||32===t;)a--,t=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}var sn={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,a={};r&&(a.className=["language-"+r]);let o={type:"element",tagName:"code",properties:a,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:Zt,footnote:function(e,t){let n=e.footnoteById,r=1;for(;r in n;)r++;let a=String(r);return n[a]={type:"footnoteDefinition",identifier:a,children:[{type:"paragraph",children:t.children}],position:t.position},Zt(e,{type:"footnoteReference",identifier:a,position:t.position})},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){let n=e.definition(t.identifier);if(!n)return en(e,t);let r={src:Qt(n.url||""),alt:t.alt};null!=n.title&&(r.title=n.title);let a={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){let n={src:Qt(t.url)};null!=t.alt&&(n.alt=t.alt),null!=t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=e.definition(t.identifier);if(!n)return en(e,t);let r={href:Qt(n.url||"")};null!=n.title&&(r.title=n.title);let a={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){let n={href:Qt(t.url)};null!=t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),a=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let l=-1;for(;++l0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=nn(t.children[1]),i=rn(t.children[t.children.length-1]);o.line&&i.line&&(r.position={start:o,end:i}),a.push(r)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,a=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,i=o?o.length:t.children.length,l=-1,s=[];for(;++l":"")+")"})}return u;function u(){let c,u,f,d=[];if((!t||a(i,l,s[s.length-1]||null))&&(d=function(e){return Array.isArray(e)?e:"number"==typeof e?[!0,e]:[e]}(n(i,s)),!1===d[0]))return d;if(i.children&&"skip"!==d[0])for(u=(r?i.children.length:-1)+o,f=s.concat(i);u>-1&&u0&&n.push({type:"text",value:"\n"}),n}function Sn(e,t){let n=function(e,t){let n=t||{},r={};return o.dangerous=n.allowDangerousHtml||!1,o.clobberPrefix=null==n.clobberPrefix?"user-content-":n.clobberPrefix,o.footnoteLabel=n.footnoteLabel||"Footnotes",o.footnoteLabelTagName=n.footnoteLabelTagName||"h2",o.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},o.footnoteBackLabel=n.footnoteBackLabel||"Back to content",o.unknownHandler=n.unknownHandler,o.passThrough=n.passThrough,o.handlers=d(d({},sn),n.handlers),o.definition=function(e){let t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return pn(e,"definition",e=>{let n=hn(e.identifier);n&&!mn.call(t,n)&&(t[n]=e)}),function(e){let n=hn(e);return n&&mn.call(t,n)?t[n]:null}}(e),o.footnoteById=r,o.footnoteOrder=[],o.footnoteCounts={},o.patch=yn,o.applyData=vn,o.one=function(e,t){return bn(o,e,t)},o.all=function(e){return En(o,e)},o.wrap=Tn,o.augment=a,pn(e,"footnoteDefinition",e=>{let t=String(e.identifier).toUpperCase();gn.call(r,t)||(r[t]=e)}),o;function a(e,t){if(e&&"data"in e&&e.data){let n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties=d(d({},t.properties),n.hProperties)),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){let n="type"in e?e:{position:e};(function(e){return!(e&&e.position&&e.position.start&&e.position.start.line&&e.position.start.column&&e.position.end&&e.position.end.line&&e.position.end.column)})(n)||(t.position={start:nn(n),end:rn(n)})}return t}function o(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),a(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=n.one(e,null),a=function(e){let t=[],n=-1;for(;++n1?"-"+l:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};l>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(l)}]}),s.length>0&&s.push({type:"text",value:" "}),s.push(t)}let c=a[a.length-1];if(c&&"element"===c.type&&"p"===c.tagName){let e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...s)}else a.push(...s);let u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+i},children:e.wrap(a,!0)};e.patch(r,u),t.push(u)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:p(d({},JSON.parse(JSON.stringify(e.footnoteLabelProperties))),{id:"footnote-label"}),children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return a&&r.children.push({type:"text",value:"\n"},a),Array.isArray(r)?{type:"root",children:r}:r}var wn=function(e,t){return e&&"run"in e?function(e,t){return(n,r,a)=>{e.run(Sn(n,t),r,e=>{a(e)})}}(e,t):function(e){return t=>Sn(t,e)}(e||t)},Nn=y(N(),1),Rn=class{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}};function On(e,t){let n={},r={},a=-1;for(;++aIn,booleanish:()=>_n,commaOrSpaceSeparated:()=>Un,commaSeparated:()=>Dn,number:()=>Pn,overloadedBoolean:()=>Ln,spaceSeparated:()=>Mn});var Cn=0,In=jn(),_n=jn(),Ln=jn(),Pn=jn(),Mn=jn(),Dn=jn(),Un=jn();function jn(){return u(2,++Cn)}var Fn=Object.keys(An),zn=class extends kn{constructor(e,t,n,r){let a=-1;if(super(e,t),Bn(this,"space",r),"number"==typeof n)for(;++a"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Gn=Vn({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Yn(e,t){return t in e?e[t]:t}function $n(e,t){return Yn(e,t.toLowerCase())}var Xn=Vn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:$n,properties:{xmlns:null,xmlnsXLink:null}}),qn=Vn({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:_n,ariaAutoComplete:null,ariaBusy:_n,ariaChecked:_n,ariaColCount:Pn,ariaColIndex:Pn,ariaColSpan:Pn,ariaControls:Mn,ariaCurrent:null,ariaDescribedBy:Mn,ariaDetails:null,ariaDisabled:_n,ariaDropEffect:Mn,ariaErrorMessage:null,ariaExpanded:_n,ariaFlowTo:Mn,ariaGrabbed:_n,ariaHasPopup:null,ariaHidden:_n,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Mn,ariaLevel:Pn,ariaLive:null,ariaModal:_n,ariaMultiLine:_n,ariaMultiSelectable:_n,ariaOrientation:null,ariaOwns:Mn,ariaPlaceholder:null,ariaPosInSet:Pn,ariaPressed:_n,ariaReadOnly:_n,ariaRelevant:null,ariaRequired:_n,ariaRoleDescription:Mn,ariaRowCount:Pn,ariaRowIndex:Pn,ariaRowSpan:Pn,ariaSelected:_n,ariaSetSize:Pn,ariaSort:null,ariaValueMax:Pn,ariaValueMin:Pn,ariaValueNow:Pn,ariaValueText:null,role:null}}),Kn=Vn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:$n,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Dn,acceptCharset:Mn,accessKey:Mn,action:null,allow:null,allowFullScreen:In,allowPaymentRequest:In,allowUserMedia:In,alt:null,as:null,async:In,autoCapitalize:null,autoComplete:Mn,autoFocus:In,autoPlay:In,capture:In,charSet:null,checked:In,cite:null,className:Mn,cols:Pn,colSpan:null,content:null,contentEditable:_n,controls:In,controlsList:Mn,coords:Pn|Dn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:In,defer:In,dir:null,dirName:null,disabled:In,download:Ln,draggable:_n,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:In,formTarget:null,headers:Mn,height:Pn,hidden:In,high:Pn,href:null,hrefLang:null,htmlFor:Mn,httpEquiv:Mn,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:In,itemId:null,itemProp:Mn,itemRef:Mn,itemScope:In,itemType:Mn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:In,low:Pn,manifest:null,max:null,maxLength:Pn,media:null,method:null,min:null,minLength:Pn,multiple:In,muted:In,name:null,nonce:null,noModule:In,noValidate:In,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:In,optimum:Pn,pattern:null,ping:Mn,placeholder:null,playsInline:In,poster:null,preload:null,readOnly:In,referrerPolicy:null,rel:Mn,required:In,reversed:In,rows:Pn,rowSpan:Pn,sandbox:Mn,scope:null,scoped:In,seamless:In,selected:In,shape:null,size:Pn,sizes:null,slot:null,span:Pn,spellCheck:_n,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Pn,step:null,style:null,tabIndex:Pn,target:null,title:null,translate:null,type:null,typeMustMatch:In,useMap:null,value:_n,width:Pn,wrap:null,align:null,aLink:null,archive:Mn,axis:null,background:null,bgColor:null,border:Pn,borderColor:null,bottomMargin:Pn,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:In,declare:In,event:null,face:null,frame:null,frameBorder:null,hSpace:Pn,leftMargin:Pn,link:null,longDesc:null,lowSrc:null,marginHeight:Pn,marginWidth:Pn,noResize:In,noHref:In,noShade:In,noWrap:In,object:null,profile:null,prompt:null,rev:null,rightMargin:Pn,rules:null,scheme:null,scrolling:_n,standby:null,summary:null,text:null,topMargin:Pn,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Pn,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:In,disableRemotePlayback:In,prefix:null,property:null,results:Pn,security:null,unselectable:null}}),Jn=Vn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Yn,properties:{about:Un,accentHeight:Pn,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Pn,amplitude:Pn,arabicForm:null,ascent:Pn,attributeName:null,attributeType:null,azimuth:Pn,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Pn,by:null,calcMode:null,capHeight:Pn,className:Mn,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Pn,diffuseConstant:Pn,direction:null,display:null,dur:null,divisor:Pn,dominantBaseline:null,download:In,dx:null,dy:null,edgeMode:null,editable:null,elevation:Pn,enableBackground:null,end:null,event:null,exponent:Pn,externalResourcesRequired:null,fill:null,fillOpacity:Pn,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Dn,g2:Dn,glyphName:Dn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Pn,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Pn,horizOriginX:Pn,horizOriginY:Pn,id:null,ideographic:Pn,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Pn,k:Pn,k1:Pn,k2:Pn,k3:Pn,k4:Pn,kernelMatrix:Un,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Pn,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Pn,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Pn,overlineThickness:Pn,paintOrder:null,panose1:null,path:null,pathLength:Pn,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Mn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Pn,pointsAtY:Pn,pointsAtZ:Pn,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Un,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Un,rev:Un,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Un,requiredFeatures:Un,requiredFonts:Un,requiredFormats:Un,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Pn,specularExponent:Pn,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Pn,strikethroughThickness:Pn,string:null,stroke:null,strokeDashArray:Un,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Pn,strokeOpacity:Pn,strokeWidth:null,style:null,surfaceScale:Pn,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Un,tabIndex:Pn,tableValues:null,target:null,targetX:Pn,targetY:Pn,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Un,to:null,transform:null,u1:null,u2:null,underlinePosition:Pn,underlineThickness:Pn,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Pn,values:null,vAlphabetic:Pn,vMathematical:Pn,vectorEffect:null,vHanging:Pn,vIdeographic:Pn,version:null,vertAdvY:Pn,vertOriginX:Pn,vertOriginY:Pn,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Pn,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Qn=/^data[-\w.:]+$/i,Zn=/-[a-z]/g,er=/[A-Z]/g;function tr(e){return"-"+e.toLowerCase()}function nr(e){return e.charAt(1).toUpperCase()}var rr={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},ar=On([Gn,Wn,Xn,qn,Kn],"html"),or=On([Gn,Wn,Xn,qn,Jn],"svg");function ir(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{pn(t,"element",(t,n,r)=>{let a,o=r;if(e.allowedElements?a=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(a=e.disallowedElements.includes(t.tagName)),!a&&e.allowElement&&"number"==typeof n&&(a=!e.allowElement(t,n,o)),a&&"number"==typeof n)return e.unwrapDisallowed&&t.children?o.children.splice(n,1,...t.children):o.children.splice(n,1),n})}}var lr=y(b(),1),sr=y(O(),1);function cr(e){let t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}var ur=y(k(),1).default,fr={}.hasOwnProperty,dr=new Set(["table","thead","tbody","tfoot","tr"]);function pr(e,t){let n,r=[],a=-1;for(;++a0?lr.default.createElement(p,c,f):lr.default.createElement(p,c)}function hr(e,t){let n=-1,r=0;for(;++n4&&"data"===n.slice(0,4)&&Qn.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(Zn,nr);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!Zn.test(e)){let n=e.replace(er,tr);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=zn}return new a(r,t)}(r.schema,t),o=n;null==o||o!=o||(Array.isArray(o)&&(o=a.commaSeparated?function(e,t){let n={};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(o):function(e){return e.join(" ").trim()}(o)),"style"===a.property&&"string"==typeof o&&(o=function(e){let t={};try{ur(e,function(e,n){let r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[r.replace(/-([a-z])/g,yr)]=n})}catch(e){}return t}(o)),a.space&&a.property?e[fr.call(rr,a.property)?rr[a.property]:a.property]=o:a.attribute&&(e[a.attribute]=o))}function yr(e,t){return t.toUpperCase()}var vr={}.hasOwnProperty,br={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Er(e){for(let t in br)if(vr.call(br,t)&&vr.call(e,t)){let e=br[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${t}\` (see for more info)`),delete br[t]}let t=Q().use(Jt).use(e.remarkPlugins||[]).use(wn,p(d({},e.remarkRehypeOptions),{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(ir,e),n=new W;"string"==typeof e.children?n.value=e.children:null!=e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let r=t.runSync(t.parse(n),n);if("root"!==r.type)throw new TypeError("Expected a `root` node");let a=_.default.createElement(_.default.Fragment,{},pr({options:e,schema:ar,listDepth:0},r));return e.className&&(a=_.default.createElement("div",{className:e.className},a)),a}return Er.propTypes={children:Nn.default.string,className:Nn.default.string,allowElement:Nn.default.func,allowedElements:Nn.default.arrayOf(Nn.default.string),disallowedElements:Nn.default.arrayOf(Nn.default.string),unwrapDisallowed:Nn.default.bool,remarkPlugins:Nn.default.arrayOf(Nn.default.oneOfType([Nn.default.object,Nn.default.func,Nn.default.arrayOf(Nn.default.oneOfType([Nn.default.bool,Nn.default.string,Nn.default.object,Nn.default.func,Nn.default.arrayOf(Nn.default.any)]))])),rehypePlugins:Nn.default.arrayOf(Nn.default.oneOfType([Nn.default.object,Nn.default.func,Nn.default.arrayOf(Nn.default.oneOfType([Nn.default.bool,Nn.default.string,Nn.default.object,Nn.default.func,Nn.default.arrayOf(Nn.default.any)]))])),sourcePos:Nn.default.bool,rawSourcePos:Nn.default.bool,skipHtml:Nn.default.bool,includeElementIndex:Nn.default.bool,transformLinkUri:Nn.default.oneOfType([Nn.default.func,Nn.default.bool]),linkTarget:Nn.default.oneOfType([Nn.default.func,Nn.default.string]),transformImageUri:Nn.default.func,components:Nn.default.object},(e=>g(t({},"__esModule",{value:!0}),e))(A)})()}));const Zc=["node","inline","className","children"];function eu({solution:e}){return c.createElement("div",{className:"grid grid-cols-1 gap-2"},c.createElement(Qc,{children:e.description,components:{code(e){let{inline:t,className:n,children:r}=e,a=xe(e,Zc);const o=/language-(\w+)/.exec(n||"");return t?c.createElement("code",Ne({},a,{className:n,style:{background:"rgba(255,255,255,0.75)",padding:"0.15rem 0.25rem"}}),r):c.createElement(Gl,Ne({},a,{language:o?o[1]:null,children:String(r).replace(/\n$/,""),customStyle:{margin:"0.5rem 0",background:"rgba(255,255,255,0.75)",padding:"0.25rem 0.5rem",overflowX:"scroll"}}))}}}),e.action_description&&c.createElement("p",null,e.action_description),c.createElement("ul",{className:"grid grid-cols-1 gap-1 text-sm"},Object.entries(e.links).map(([e,t],n)=>c.createElement("li",{key:n},c.createElement("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"underline text-emerald-700 hover:text-emerald-800"},e)))))}function tu({solution:e}){const[t,n]=c.useState(!1),[r,a]=c.useState(null);function o(e){e.preventDefault(),location.reload()}return c.createElement(c.Fragment,null,null===r&&c.createElement(c.Fragment,null,c.createElement(Jc,{onClick:async function(){if(!t)try{if(n(!0),!e.execute_endpoint)return;const t=await fetch(e.execute_endpoint,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({solution:e.class,parameters:e.run_parameters})});a(t.status>=200&&t.status<300)}catch(e){console.error(e),a(!1)}finally{n(!1)}},disabled:t,className:"mb-4 inline-flex items-center gap-2 bg-emerald-600 border-emerald-500/25 text-white"},t?c.createElement("span",null,"Running..."):c.createElement(c.Fragment,null,c.createElement(co,{className:"opacity-50",icon:No}),e.run_button_text||"Run")),c.createElement(eu,{solution:e})),!0===r&&c.createElement("p",{className:""},"The solution was executed ",c.createElement("strong",null,"successfully"),".",c.createElement("br",null),c.createElement("a",{href:"#",className:"mt-2 inline-flex items-center gap-2 underline text-emerald-700 hover:text-emerald-800",onClick:o},c.createElement(co,{icon:_o,className:"text-sm opacity-50"}),"Refresh now")),!1===r&&c.createElement(c.Fragment,null,c.createElement("p",{className:"bg-red-200 px-4 py-2"},"Something ",c.createElement("strong",null,"went wrong"),". Please try refreshing the page and try again.",c.createElement("br",null),c.createElement("a",{href:"#",className:"mt-2 inline-flex items-center gap-2 underline text-red-700 hover:text-red-800",onClick:o},c.createElement(co,{icon:_o,className:"text-sm opacity-50"}),"Refresh now"))))}function nu({solution:e,isOpen:t=!1,isCollapsible:n=!0,canExecute:r=!1}){const[a,o]=c.useState(t);return c.createElement("section",null,c.createElement("header",{className:"group mb-4"},n?c.createElement("button",{className:"flex items-center justify-start",onClick:()=>{o(!a)}},c.createElement("span",{className:"w-6 -ml-6"},c.createElement(co,{icon:Lo,className:"group-hover:opacity-50 opacity-0 text-sm transform transition "+(a?"":"-rotate-90")})),c.createElement("h2",{className:"min-w-0 truncate font-semibold leading-snug"},e.title)):c.createElement("h2",{className:"truncate font-semibold leading-snug"},e.title)),c.createElement("div",{className:a?"":"hidden"},c.createElement(e.is_runnable&&r?tu:eu,{solution:e}),e.ai_generated&&c.createElement(c.Fragment,null,c.createElement("hr",{className:"border-emerald-500/50 my-4"}),c.createElement("div",{className:"flex items-center gap-x-2 text-green-700"},c.createElement(co,{fixedWidth:!0,icon:zo}),c.createElement("span",{id:"ai-message",className:"text-xs"},"This solution was ",c.createElement("a",{className:"underline",target:"_blank",rel:"noopener noreferrer",href:"https://flareapp.io/docs/ignition/solutions/ai-powered-solutions"},"generated by AI")," and might not be 100% accurate.")))))}function ru(){const{solutions:e}=c.useContext(be),[t,n]=c.useState(!1),[r,a]=c.useState(!0);return c.useEffect(()=>{try{(async()=>{var t;if(null==(t=e[0])||!t.execute_endpoint)return;const r=await(await fetch(e[0].execute_endpoint.replace("execute-solution","health-check"))).json();n(r.can_execute_commands)})()}catch(e){console.error(e),n(!1)}},[]),c.createElement(c.Fragment,null,r?c.createElement("aside",{id:"solution",className:"relative flex flex-col lg:w-2/5 flex-none"},c.createElement("div",{className:"flex-grow px-6 sm:px-10 py-8 bg-emerald-300 text-gray-800 rounded-bl-lg rounded-br-lg @4xl:rounded-bl-none @4xl:rounded-r-lg"},c.createElement("button",{onClick:()=>a(!1),className:"absolute top-3 right-4 leading-none text-emerald-500 hover:text-emerald-700 text-sm"},c.createElement(co,{icon:jo})),e.map((n,r)=>c.createElement("div",{key:r},c.createElement(nu,{solution:n,canExecute:t,isOpen:0===r,isCollapsible:e.length>1}),r!==e.length-1&&c.createElement("hr",{className:"my-4 border-t border-gray-800/20"}))))):c.createElement("button",{onClick:()=>a(!0),className:"\n absolute -top-3 -right-3 z-20\n w-6 h-6 rounded-full flex items-center justify-center\n text-xs bg-emerald-500 text-white hover:shadow-lg\n shadow-md\n active:shadow-sm active:translate-y-px"},c.createElement(co,{icon:po})))}var au={prefix:"fab",iconName:"laravel",icon:[512,512,[],"f3bd","M504.4,115.83a5.72,5.72,0,0,0-.28-.68,8.52,8.52,0,0,0-.53-1.25,6,6,0,0,0-.54-.71,9.36,9.36,0,0,0-.72-.94c-.23-.22-.52-.4-.77-.6a8.84,8.84,0,0,0-.9-.68L404.4,55.55a8,8,0,0,0-8,0L300.12,111h0a8.07,8.07,0,0,0-.88.69,7.68,7.68,0,0,0-.78.6,8.23,8.23,0,0,0-.72.93c-.17.24-.39.45-.54.71a9.7,9.7,0,0,0-.52,1.25c-.08.23-.21.44-.28.68a8.08,8.08,0,0,0-.28,2.08V223.18l-80.22,46.19V63.44a7.8,7.8,0,0,0-.28-2.09c-.06-.24-.2-.45-.28-.68a8.35,8.35,0,0,0-.52-1.24c-.14-.26-.37-.47-.54-.72a9.36,9.36,0,0,0-.72-.94,9.46,9.46,0,0,0-.78-.6,9.8,9.8,0,0,0-.88-.68h0L115.61,1.07a8,8,0,0,0-8,0L11.34,56.49h0a6.52,6.52,0,0,0-.88.69,7.81,7.81,0,0,0-.79.6,8.15,8.15,0,0,0-.71.93c-.18.25-.4.46-.55.72a7.88,7.88,0,0,0-.51,1.24,6.46,6.46,0,0,0-.29.67,8.18,8.18,0,0,0-.28,2.1v329.7a8,8,0,0,0,4,6.95l192.5,110.84a8.83,8.83,0,0,0,1.33.54c.21.08.41.2.63.26a7.92,7.92,0,0,0,4.1,0c.2-.05.37-.16.55-.22a8.6,8.6,0,0,0,1.4-.58L404.4,400.09a8,8,0,0,0,4-6.95V287.88l92.24-53.11a8,8,0,0,0,4-7V117.92A8.63,8.63,0,0,0,504.4,115.83ZM111.6,17.28h0l80.19,46.15-80.2,46.18L31.41,63.44Zm88.25,60V278.6l-46.53,26.79-33.69,19.4V123.5l46.53-26.79Zm0,412.78L23.37,388.5V77.32L57.06,96.7l46.52,26.8V338.68a6.94,6.94,0,0,0,.12.9,8,8,0,0,0,.16,1.18h0a5.92,5.92,0,0,0,.38.9,6.38,6.38,0,0,0,.42,1v0a8.54,8.54,0,0,0,.6.78,7.62,7.62,0,0,0,.66.84l0,0c.23.22.52.38.77.58a8.93,8.93,0,0,0,.86.66l0,0,0,0,92.19,52.18Zm8-106.17-80.06-45.32,84.09-48.41,92.26-53.11,80.13,46.13-58.8,33.56Zm184.52,4.57L215.88,490.11V397.8L346.6,323.2l45.77-26.15Zm0-119.13L358.68,250l-46.53-26.79V131.79l33.69,19.4L392.37,178Zm8-105.28-80.2-46.17,80.2-46.16,80.18,46.15Zm8,105.28V178L455,151.19l33.68-19.4v91.39h0Z"]};function ou(){const e=c.useContext(be);return c.createElement("span",{className:"py-1 px-4 items-center flex gap-3 rounded-sm ~bg-gray-500/5"},c.createElement(At,{path:e.exception_class}))}function iu({githubLink:e}){return c.createElement("section",{className:"flex flex-col flex-grow px-6 sm:px-10 py-8 bg-red-600 text-red-100 shadow-lg gap-3"},c.createElement("h2",{className:"text-xl font-semibold leading-snug"},"Something went wrong in Ignition!"),c.createElement("p",{className:"text-base"},"An error occurred in Ignition's UI. Please open an issue on"," ",c.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"underline"},"the Ignition GitHub repo")," ","and make sure to include any errors or warnings in the developer console."))}class lu extends c.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}render(){const{error:e}=this.state;if(e){var t,n;let r="https://github.com/spatie/ignition/issues";if(e instanceof Error){const t=`\n**Please include some context and the contents of the console in your browser's developer tools.**\n\n## JavaScript Error\n\`\`\`\n${e.stack}\n\`\`\`\n\n## Reproduction Steps\nPlease tell us what you were doing when this error occurred, so we can more easily debug it and find a solution.\n\n1. …\n\n## User Agent\n\`\`\`\n${navigator.userAgent}\n\`\`\`\n`;r=`https://github.com/spatie/ignition/issues/new?title=${e.name}: ${e.message}&labels=bug&body=${encodeURIComponent(t)}`}return(null==(t=(n=this.props).fallbackComponent)?void 0:t.call(n,r))||c.createElement(iu,{githubLink:r})}return this.props.children}}function su(){var e;const t=c.useContext(be),n=t.solutions.length>0,r=!(null==(e=t.context_items.env)||!e.laravel_version);return c.createElement(lu,null,c.createElement("section",{className:"@container | bg-white dark:shadow-none dark:bg-gray-800/50 dark:bg-gradient-to-bl from-gray-700/50 via-transparent dark:ring-1 dark:ring-inset dark:ring-white/5 rounded-lg shadow-2xl shadow-gray-500/20"},c.createElement("div",{className:"@4xl:flex items-stretch"},c.createElement("main",{id:"exception",className:"z-10 flex-grow min-w-0"},c.createElement("div",{className:"overflow-hidden"},c.createElement("div",{className:"px-6 @lg:px-10 py-8 overflow-x-auto"},c.createElement("header",{className:"flex items-center justify-between gap-2"},c.createElement(ou,null),c.createElement("div",{className:"grid grid-flow-col justify-end gap-4 text-sm ~text-gray-500"},c.createElement("span",null,c.createElement("span",{className:"tracking-wider"},"PHP")," ",t.language_version),t.framework_version&&c.createElement("span",{className:"inline-flex items-center gap-1"},c.createElement(co,{icon:r?au:Oo}),t.framework_version))),c.createElement(qc,{exceptionClass:t.exception_class,message:t.exception_message})))),n&&c.createElement(ru,null))))}const cu=(e,t)=>e.join(t).toLowerCase(),uu=/[\u0300-\u036F\u1AB0-\u1AFF\u1DC0-\u1DFF]+/g,fu=/[A-Za-z\d]+/g,du=new RegExp("[A-Za-z\\d]*?(?:[a-z](?=[A-Z])|[A-Z](?=[A-Z][a-z]))|[A-Za-z\\d]+","g");function pu(e,{camelCase:t=!0,dictionary:n,separator:r="-",transformer:a=cu}={}){const o=(n?function(e,t){for(let n=0,r=e.length;nc.createElement(mu,{githubLink:e})},t)))}var gu=/* @__PURE__ */new Map,yu=/* @__PURE__ */new WeakMap,vu=0,bu=c.createContext({inView:[],setInView:Ee});function Eu({icon:e,title:t,children:n,anchor:r}){const a=function(e){const{setInView:t}=c.useContext(bu),{ref:n,inView:r}=function({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:a,triggerOnce:o,skip:i,initialInView:l,fallbackInView:s,onChange:u}={}){var f;const[d,p]=c.useState(null),m=c.useRef(),[h,g]=c.useState({inView:!!l,entry:void 0});m.current=u,c.useEffect(()=>{if(i||!d)return;let l;return l=function(e,t,n={},r){if(void 0===window.IntersectionObserver&&void 0!==r){const a=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:a,intersectionRect:a,rootBounds:a}),()=>{}}const{id:a,observer:o,elements:i}=function(e){const t=function(e){return Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{return`${t}_${"root"===t?(n=e.root,n?(yu.has(n)||yu.set(n,(vu+=1).toString()),yu.get(n)):"0"):e[t]}`;var n}).toString()}(e);let n=gu.get(t);if(!n){const r=/* @__PURE__ */new Map;let a;const o=new IntersectionObserver(t=>{t.forEach(t=>{var n;const o=t.isIntersecting&&a.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(n=r.get(t.target))||n.forEach(e=>{e(o,t)})})},e);a=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:r},gu.set(t,n)}return n}(n),l=i.get(e)||[];return i.has(e)||i.set(e,l),l.push(t),o.observe(e),function(){l.splice(l.indexOf(t),1),0===l.length&&(i.delete(e),o.unobserve(e)),0===i.size&&(o.disconnect(),gu.delete(a))}}(d,(e,t)=>{g({inView:e,entry:t}),m.current&&m.current(e,t),t.isIntersecting&&o&&l&&(l(),l=void 0)},{root:a,rootMargin:r,threshold:e,trackVisibility:n,delay:t},s),()=>{l&&l()}},[Array.isArray(e)?e.toString():e,d,a,r,o,i,n,s,t]);const y=null==(f=h.entry)?void 0:f.target,v=c.useRef();d||!y||o||i||v.current===y||(v.current=y,g({inView:!!l,entry:void 0}));const b=[p,h.inView,h.entry];return b.ref=b[0],b.inView=b[1],b.entry=b[2],b}({rootMargin:"-45% 0px -45%"});return c.useEffect(()=>{t(r?t=>[...t,e]:t=>t.filter(t=>t!==e))},[r]),n}(t);return c.createElement("div",{ref:a},c.createElement("a",{id:`context-${r}`,className:"scroll-target"}),c.createElement("h1",{className:"mb-2 flex items-center gap-2 font-semibold text-lg ~text-indigo-600"},t,c.createElement("span",{className:"opacity-50 ~text-indigo-600 text-sm"},e)),c.createElement(lu,{fallbackComponent:e=>c.createElement(mu,{githubLink:e})},n))}function Tu({children:e,className:t="",color:n="gray"}){return c.createElement("div",{className:`${t} ${{red:"~text-red-600 border-red-500/50",orange:"~text-orange-600 border-orange-500/50",green:"~text-emerald-600 border-emerald-500/50",blue:"~text-indigo-600 border-indigo-500/50",purple:"~text-violet-600 border-violet-600/50",gray:"~text-gray-500 border-gray-500/50"}[n]} px-1.5 py-0.5 rounded-sm bg-opacity-20 border text-xs font-medium uppercase tracking-wider`},e)}function Su({request:e,requestData:t,headers:n}){const r=c.useMemo(()=>function(e,t,n){if(!e.url||!e.method)return null;const r=[`curl "${e.url}"`];r.push(` -X ${e.method}`),Object.entries(n||{}).map(function([e,t]){r.push(` -H '${e}: ${t}'`)});const a=function(e,t){var n,r;return e.body?null!=(n=t["content-type"])&&null!=(r=n[0])&&r.includes("application/json")?` -d ${JSON.stringify(e.body)}`:` ${Object.entries(e.body||{}).map(function([e,t]){return`-F '${e}=${t}'`}).join(" ")}`:null}(t,n);return a&&r.push(a),r.join(" \\\n").trimEnd().replace(/\s\\$/g,";")}(e,t,n),[e,t,n]);return c.createElement("div",null,c.createElement("div",{className:"text-lg font-semibold flex items-center gap-2"},c.createElement("span",{className:"~text-indigo-600"},e.url),e.method&&c.createElement(Tu,{color:"DELETE"==e.method.toUpperCase()?"red":"blue"},e.method.toUpperCase())),r&&c.createElement("div",{className:"mt-2"},c.createElement(Hc,{value:r,language:"curl"})))}function wu({items:e}){return c.createElement(Wc,null,Object.entries(e||{}).map(([e,t])=>c.createElement(Wc.Row,{key:e,label:e,value:t})))}var Nu=function(e){return null==e},Ru=Object.prototype.hasOwnProperty,Ou=function(e){if(null==e)return!0;if(Ls(e)&&(rs(e)||"string"==typeof e||"function"==typeof e.splice||gs(e)||Ns(e)||ms(e)))return!e.length;var t=Ys(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(ks(e))return!_s(e).length;for(var n in e)if(Ru.call(e,n))return!1;return!0},xu=function(){try{var e=Ze(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),ku=Object.prototype.hasOwnProperty,Au=function(e,t,n){var r=e[t];ku.call(e,t)&&ot(r,n)&&(void 0!==n||t in e)||function(e,t,n){"__proto__"==t&&xu?xu(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}(e,t,n)},Cu=function(e,t,n,r){if(!Ge(e))return e;for(var a=-1,o=(t=dc(t,e)).length,i=o-1,l=e;null!=l&&++ac.createElement(Wc.Row,{key:n,label:t,value:e}))):null}const Gu=["children","className"];function Yu(e){let{children:t,className:n=""}=e,r=xe(e,Gu);return c.createElement(c.Fragment,null,t&&c.createElement("ul",Ne({className:`gap-y-2 flex flex-col ${n}`},r),t))}function $u({route:e}){var t;return c.createElement(Wc,null,c.createElement(Wc.Row,{value:e.controllerAction,label:"Controller"}),e.route&&c.createElement(Wc.Row,{value:e.route,label:"Route name"}),!(null==(t=e.routeParameters)||!t.length)&&c.createElement(Wc.Row,{value:c.createElement(Wc,null,Object.entries(e.routeParameters).map(([e,t])=>c.createElement(Wc.Row,{stacked:!0,key:e,label:e,value:t}))),label:"Route parameters"}),e.middleware&&c.createElement(Wc.Row,{value:c.createElement(Yu,null,(e.middleware||[]).map((e,t)=>c.createElement(Yu.Item,{key:t,value:e}))),label:"Middleware"}))}Yu.Item=function({value:e=""}){let t=e;return c.isValidElement(e)?t=e:"object"==typeof e?t=c.createElement(Hc,{value:Ko(e),language:"json"}):"string"==typeof e&&(t=c.createElement(Hc,{value:e})),c.createElement("li",null,t)};const Xu=["value"];function qu(e){let{value:t}=e,n=xe(e,Xu);return c.useEffect(()=>{const e=t.match(/sf-dump-\d+/);e&&window.Sfdump(e[0])},[t]),c.createElement("div",Ne({className:"~bg-gray-500/5 px-4 py-2",dangerouslySetInnerHTML:{__html:t}},n))}function Ku(){const e=c.useContext(be).context_items.view;return e?c.createElement(Wc,null,c.createElement(Wc.Row,{value:c.createElement(ti,{path:e.view}),label:"View"}),e.data&&c.createElement(Wc.Row,{value:c.createElement(Wc,null,Object.entries(e.data).map(([e,t])=>c.createElement(Wc.Row,{stacked:!0,key:e,label:e,value:c.createElement(qu,{value:t})}))),label:"Data"})):null}var Ju=_e(function(e){!function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n>>6*(3-o)&63):"=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,a=0;r>>6-2*a);return n}};e.exports=n}()}),Qu={utf8:{stringToBytes:function(e){return Qu.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(Qu.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n>>24)|4278255360&(l[p]<<24|l[p]>>>8);l[s>>>5]|=128<>>9<<4)]=s;var m=e._ff,h=e._gg,g=e._hh,y=e._ii;for(p=0;p>>0,u=u+b>>>0,f=f+E>>>0,d=d+T>>>0}return t.endian([c,u,f,d])};o._ff=function(e,t,n,r,a,o,i){var l=e+(t&n|~t&r)+(a>>>0)+i;return(l<>>32-o)+t},o._gg=function(e,t,n,r,a,o,i){var l=e+(t&r|n&~r)+(a>>>0)+i;return(l<>>32-o)+t},o._hh=function(e,t,n,r,a,o,i){var l=e+(t^n^r)+(a>>>0)+i;return(l<>>32-o)+t},o._ii=function(e,t,n,r,a,o,i){var l=e+(n^(t|~r))+(a>>>0)+i;return(l<>>32-o)+t},o._blocksize=16,o._digestsize=16,e.exports=function(e,n){if(null==e)throw new Error("Illegal argument "+e);var r=t.wordsToBytes(o(e,n));return n&&n.asBytes?r:n&&n.asString?a.bytesToString(r):t.bytesToHex(r)}}()});function rf({user:e}){return c.createElement(c.Fragment,null,e.email&&c.createElement("div",{className:"mb-2 flex items-center gap-3"},c.createElement("div",null,c.createElement("img",{className:"inline-block h-9 w-9 rounded-full",alt:e.email,src:`https://gravatar.com/avatar/${nf(e.email)}/?s=240`})),c.createElement("div",{className:"leading-tight"},e.name&&c.createElement("p",{className:"font-semibold"},e.name),c.createElement("p",{className:"text-sm"},e.email))),c.createElement(Hc,{value:Ko(e),language:"json"}))}function af({children:e,className:t=""}){return c.createElement("div",{className:`${t}`},c.createElement("div",{className:"flex items-center gap-2 bg-yellow-50 dark:bg-yellow-500/10 px-4 py-2"},c.createElement("div",{className:"flex-shrink-0","aria-hidden":"true"},c.createElement(co,{className:"text-yellow-500 ",icon:Vo})),c.createElement("p",{className:"text-sm"},e)))}var of=function(e,t){!0===t&&(t=0);var n=e.indexOf("://"),r=e.substring(0,n).split("+").filter(Boolean);return"number"==typeof t?r[t]:r},lf=function e(t){if(Array.isArray(t))return-1!==t.indexOf("ssh")||-1!==t.indexOf("rsync");if("string"!=typeof t)return!1;var n=of(t);if(t=t.substring(t.indexOf("://")+3),e(n))return!0;var r=new RegExp(".([a-zA-Z\\d]+):(\\d+)/");return!t.match(r)&&t.indexOf("@"){if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]},mf=function(e,t){for(var n={},r=Object.keys(e),a=Array.isArray(t),o=0;o`%${e.charCodeAt(0).toString(16).toUpperCase()}`):encodeURIComponent(e):e}function a(e,t){return t.decode?df(e):e}function o(e){return Array.isArray(e)?e.sort():"object"==typeof e?o(Object.keys(e)).sort((e,t)=>Number(e)-Number(t)).map(t=>e[t]):e}function i(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function l(e){const t=(e=i(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function s(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function c(e,t){n((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const r=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),r[e=e.replace(/\[\]$/,"")]=t?void 0!==r[e]?[].concat(r[e],n):[n]:n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&a(n,e).includes(e.arrayFormatSeparator);n=i?a(n,e):n;const l=o||i?n.split(e.arrayFormatSeparator).map(t=>a(t,e)):null===n?n:a(n,e);r[t]=l};default:return(e,t,n)=>{n[e]=void 0!==n[e]?[].concat(n[e],t):t}}}(t),i=Object.create(null);if("string"!=typeof e)return i;if(!(e=e.trim().replace(/^[?#&]/,"")))return i;for(const n of e.split("&")){if(""===n)continue;let[e,o]=pf(t.decode?n.replace(/\+/g," "):n,"=");o=void 0===o?null:["comma","separator"].includes(t.arrayFormat)?o:a(o,t),r(a(e,t),o,i)}for(const e of Object.keys(i)){const n=i[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=s(n[e],t);else i[e]=s(n,t)}return!1===t.sort?i:(!0===t.sort?Object.keys(i).sort():Object.keys(i).sort(t.sort)).reduce((e,t)=>{const n=i[t];return e[t]=Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?o(n):n,e},Object.create(null))}t.extract=l,t.parse=c,t.stringify=(e,t)=>{if(!e)return"";n((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const a=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],o=function(e){switch(e.arrayFormat){case"index":return t=>(n,a)=>{const o=n.length;return void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?n:null===a?[...n,[r(t,e),"[",o,"]"].join("")]:[...n,[r(t,e),"[",r(o,e),"]=",r(a,e)].join("")]};case"bracket":return t=>(n,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?n:null===a?[...n,[r(t,e),"[]"].join("")]:[...n,[r(t,e),"[]=",r(a,e)].join("")];case"comma":case"separator":return t=>(n,a)=>null==a||0===a.length?n:0===n.length?[[r(t,e),"=",r(a,e)].join("")]:[[n,r(a,e)].join(e.arrayFormatSeparator)];default:return t=>(n,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?n:null===a?[...n,r(t,e)]:[...n,[r(t,e),"=",r(a,e)].join("")]}}(t),i={};for(const t of Object.keys(e))a(t)||(i[t]=e[t]);const l=Object.keys(i);return!1!==t.sort&&l.sort(t.sort),l.map(n=>{const a=e[n];return void 0===a?"":null===a?r(n,t):Array.isArray(a)?a.reduce(o(n),[]).join("&"):r(n,t)+"="+r(a,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=pf(e,"#");return Object.assign({url:n.split("?")[0]||"",query:c(l(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:a(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0},n);const a=i(e.url).split("?")[0]||"",o=t.extract(e.url),l=t.parse(o,{sort:!1}),s=Object.assign(l,e.query);let c=t.stringify(s,n);c&&(c=`?${c}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${r(e.fragmentIdentifier,n)}`),`${a}${c}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0},r);const{url:a,query:o,fragmentIdentifier:i}=t.parseUrl(e,r);return t.stringifyUrl({url:a,query:mf(o,n),fragmentIdentifier:i},r)},t.exclude=(e,n,r)=>{const a=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,a,r)}});function gf(e){if("string"!=typeof e)throw new Error("The url must be a string.");let t=function(e){let t=function(e){if("string"!=typeof e||!e.trim())throw new Error("Invalid url.");return function(e){e=(e||"").trim();var t={protocols:of(e),protocol:null,port:null,resource:"",user:"",pathname:"",hash:"",search:"",href:e,query:Object.create(null)},n=e.indexOf("://"),r=null,a=null;e.startsWith(".")&&(e.startsWith("./")&&(e=e.substring(2)),t.pathname=e,t.protocol="file");var o=e.charAt(1);return t.protocol||(t.protocol=t.protocols[0],t.protocol||(lf(e)?t.protocol="ssh":"/"===o||"~"===o?(e=e.substring(2),t.protocol="file"):t.protocol="file")),-1!==n&&(e=e.substring(n+3)),a=e.split(/\/|\\/),t.resource="file"!==t.protocol?a.shift():"",2===(r=t.resource.split("@")).length&&(t.user=r[0],t.resource=r[1]),2===(r=t.resource.split(":")).length&&(t.resource=r[0],r[1]?(t.port=Number(r[1]),isNaN(t.port)&&(t.port=null,a.unshift(r[1]))):t.port=null),a=a.filter(Boolean),t.pathname="file"===t.protocol?t.href:t.pathname||("file"!==t.protocol||"/"===t.href[0]?"/":"")+a.join("/"),2===(r=t.pathname.split("#")).length&&(t.pathname=r[0],t.hash=r[1]),2===(r=t.pathname.split("?")).length&&(t.pathname=r[0],t.search=r[1]),t.query=hf.parse(t.search),t.href=t.href.replace(/\/$/,""),t.pathname=t.pathname.replace(/\/$/,""),t}(e)}(e);t.token="";let n=t.user.split(":");return 2===n.length&&("x-oauth-basic"===n[1]?t.token=n[0]:"x-token-auth"===n[0]&&(t.token=n[1])),t.protocol=lf(t.protocols)||lf(e)?"ssh":t.protocols.length?t.protocols[0]:"file",t.href=t.href.replace(/\/$/,""),t}(e),n=t.resource.split("."),r=null;switch(t.toString=function(e){return gf.stringify(this,e)},t.source=n.length>2?n.slice(1-n.length).join("."):t.source=t.resource,t.git_suffix=/\.git$/.test(t.pathname),t.name=decodeURIComponent(t.pathname.replace(/^\//,"").replace(/\.git$/,"")),t.owner=decodeURIComponent(t.user),t.source){case"git.cloudforge.com":t.owner=t.user,t.organization=n[0],t.source="cloudforge.com";break;case"visualstudio.com":if("vs-ssh.visualstudio.com"===t.resource){r=t.name.split("/"),4===r.length&&(t.organization=r[1],t.owner=r[2],t.name=r[3],t.full_name=r[2]+"/"+r[3]);break}r=t.name.split("/"),2===r.length?(t.owner=r[1],t.name=r[1],t.full_name="_git/"+t.name):3===r.length?(t.name=r[2],"DefaultCollection"===r[0]?(t.owner=r[2],t.organization=r[0],t.full_name=t.organization+"/_git/"+t.name):(t.owner=r[0],t.full_name=t.owner+"/_git/"+t.name)):4===r.length&&(t.organization=r[0],t.owner=r[1],t.name=r[3],t.full_name=t.organization+"/"+t.owner+"/_git/"+t.name);break;case"dev.azure.com":case"azure.com":if("ssh.dev.azure.com"===t.resource){r=t.name.split("/"),4===r.length&&(t.organization=r[1],t.owner=r[2],t.name=r[3]);break}r=t.name.split("/"),5===r.length?(t.organization=r[0],t.owner=r[1],t.name=r[4],t.full_name="_git/"+t.name):3===r.length?(t.name=r[2],"DefaultCollection"===r[0]?(t.owner=r[2],t.organization=r[0],t.full_name=t.organization+"/_git/"+t.name):(t.owner=r[0],t.full_name=t.owner+"/_git/"+t.name)):4===r.length&&(t.organization=r[0],t.owner=r[1],t.name=r[3],t.full_name=t.organization+"/"+t.owner+"/_git/"+t.name),t.query&&t.query.path&&(t.filepath=t.query.path.replace(/^\/+/g,"")),t.query&&t.query.version&&(t.ref=t.query.version.replace(/^GB/,""));break;default:r=t.name.split("/");let e=r.length-1;if(r.length>=2){const n=r.indexOf("-",2),a=r.indexOf("blob",2),o=r.indexOf("tree",2),i=r.indexOf("commit",2),l=r.indexOf("src",2),s=r.indexOf("raw",2);e=n>0?n-1:a>0?a-1:o>0?o-1:i>0?i-1:l>0?l-1:s>0?s-1:e,t.owner=r.slice(0,e).join("/"),t.name=r[e],i&&(t.commit=r[e+2])}t.ref="",t.filepathtype="",t.filepath="";const a=r.length>e&&"-"===r[e+1]?e+1:e;r.length>a+2&&["raw","src","blob","tree"].indexOf(r[a+1])>=0&&(t.filepathtype=r[a+1],t.ref=r[a+2],r.length>a+3&&(t.filepath=r.slice(a+3).join("/"))),t.organization=t.owner}t.full_name||(t.full_name=t.owner,t.name&&(t.full_name&&(t.full_name+="/"),t.full_name+=t.name)),t.owner.startsWith("scm/")&&(t.source="bitbucket-server",t.owner=t.owner.replace("scm/",""),t.organization=t.owner,t.full_name=`${t.owner}/${t.name}`);const a=/(projects|users)\/(.*?)\/repos\/(.*?)((\/.*$)|$)/.exec(t.pathname);return null!=a&&(t.source="bitbucket-server",t.owner="users"===a[1]?"~"+a[2]:a[2],t.organization=t.owner,t.name=a[3],r=a[4].split("/"),r.length>1&&(["raw","browse"].indexOf(r[1])>=0?(t.filepathtype=r[1],r.length>2&&(t.filepath=r[2])):"commits"===r[1]&&r.length>2&&(t.commit=r[2])),t.full_name=`${t.owner}/${t.name}`,t.ref=t.query.at?t.query.at:""),t}function yf({git:e}){const{commitUrl:t}=function(e,t){if(!e)return{resource:null,repoUrl:null,commitUrl:null};const n=gf(e),r=gf.stringify(Ne({},n,{git_suffix:!1}),"https");return{repoUrl:r,resource:n.resource,commitUrl:`${r}/commit/${t}`}}(e.remote,e.hash);return c.createElement(c.Fragment,null,e.hash&&e.message&&c.createElement("div",{className:"flex items-center gap-4"},c.createElement("div",{className:"flex-grow font-semibold"},e.message),c.createElement("div",{className:"~bg-gray-500/5 flex items-center"},c.createElement(Hc,{transparent:!0,overflowX:!1,value:e.hash}),t&&c.createElement("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"mr-4"},c.createElement(kt,null,c.createElement(co,{className:"group-hover:text-indigo-500",icon:Ao}),"View commit ",e.hash.substr(0,7))))),e.isDirty&&c.createElement("div",null,c.createElement(af,{className:"mt-4"},"Last commit is dirty. (Un)staged changes have been made since this commit.")),e.tag&&c.createElement(Wc,null,c.createElement(Wc.Row,{label:"Latest tag",value:e.tag})))}gf.stringify=function(e,t){t=t||(e.protocols&&e.protocols.length?e.protocols.join("+"):e.protocol);const n=e.port?`:${e.port}`:"",r=e.user||"git",a=e.git_suffix?".git":"";switch(t){case"ssh":return n?`ssh://${r}@${e.resource}${n}/${e.full_name}${a}`:`${r}@${e.resource}:${e.full_name}${a}`;case"git+ssh":case"ssh+git":case"ftp":case"ftps":return`${t}://${r}@${e.resource}${n}/${e.full_name}${a}`;case"http":case"https":return`${t}://${e.token?function(e){switch(e.source){case"bitbucket.org":return`x-token-auth:${e.token}@`;default:return`${e.token}@`}}(e):e.user&&(e.protocols.includes("http")||e.protocols.includes("https"))?`${e.user}@`:""}${e.resource}${n}/${function(e){switch(e.source){case"bitbucket-server":return`scm/${e.full_name}`;default:return`${e.full_name}`}}(e)}${a}`;default:return e.href}};var vf,bf,Ef=(vf={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},function(e){return null==vf?void 0:vf[e]}),Tf=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Sf=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g"),wf=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Nf=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Rf="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Of="["+Rf+"]",xf="\\d+",kf="[a-z\\xdf-\\xf6\\xf8-\\xff]",Af="[^\\ud800-\\udfff"+Rf+xf+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Cf="(?:\\ud83c[\\udde6-\\uddff]){2}",If="[\\ud800-\\udbff][\\udc00-\\udfff]",_f="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Lf="(?:"+kf+"|"+Af+")",Pf="(?:"+_f+"|"+Af+")",Mf="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Df="[\\ufe0e\\ufe0f]?"+Mf+"(?:\\u200d(?:"+["[^\\ud800-\\udfff]",Cf,If].join("|")+")[\\ufe0e\\ufe0f]?"+Mf+")*",Uf="(?:"+["[\\u2700-\\u27bf]",Cf,If].join("|")+")"+Df,jf=RegExp([_f+"?"+kf+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Of,_f,"$"].join("|")+")",Pf+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Of,_f+Lf,"$"].join("|")+")",_f+"?"+Lf+"+(?:['’](?:d|ll|m|re|s|t|ve))?",_f+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",xf,Uf].join("|"),"g"),Ff=RegExp("['’]","g"),zf=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),Bf=function(e){return zf.test(e)},Hf="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Vf="\\ud83c[\\udffb-\\udfff]",Wf="[^\\ud800-\\udfff]",Gf="(?:\\ud83c[\\udde6-\\uddff]){2}",Yf="[\\ud800-\\udbff][\\udc00-\\udfff]",$f="(?:"+Hf+"|"+Vf+")?",Xf="[\\ufe0e\\ufe0f]?"+$f+"(?:\\u200d(?:"+[Wf,Gf,Yf].join("|")+")[\\ufe0e\\ufe0f]?"+$f+")*",qf="(?:"+[Wf+Hf+"?",Hf,Gf,Yf,"[\\ud800-\\udfff]"].join("|")+")",Kf=RegExp(Vf+"(?="+Vf+")|"+qf+Xf,"g"),Jf=(bf=function(e,t,n){return e+(n?" ":"")+function(e){e=fc(e);var t,n,r,a=Bf(e)?function(e){return Bf(e)?function(e){return e.match(Kf)||[]}(e):function(e){return e.split("")}(e)}(e):void 0,o=a?a[0]:e.charAt(0),i=a?(t=a,r=t.length,n=void 0===n?r:n,function(e,t,n){var r=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(a);++rc.createElement(Wc.Row,{key:e,value:t,label:Jf(e)})))}function Zf({children:e}){return c.createElement("ul",{className:"grid grid-cols-1 gap-10"},e)}function ed({title:e,children:t,anchor:n}){return c.createElement("li",null,c.createElement("a",{href:`#context-${n}`,className:"uppercase tracking-wider ~text-gray-500 text-xs font-bold"},e),c.createElement("ul",{className:"mt-3 grid grid-cols-1 gap-3"},t))}function td({icon:e,title:t,anchor:n,active:r=!1}){return c.createElement("li",null,c.createElement("a",{href:`#context-${n}`,className:`\n flex items-center gap-3\n group text-base hover:text-indigo-500\n ${r?"~text-indigo-600":""}\n `},c.createElement("span",{className:"opacity-50"},e),c.createElement("span",null,t)))}function nd({children:e}){const{inView:t}=c.useContext(bu);return c.createElement(c.Fragment,null,c.createElement("nav",{className:"hidden @2xl:block min-w-[8rem] flex-none mr-10 @4xl:mr-20"},c.createElement("div",{className:"sticky top-[7.5rem]"},c.createElement(Zf,null,c.Children.map(e,e=>c.createElement(c.Fragment,null,e&&c.createElement(ed,{title:e.props.title,anchor:e.props.anchor},c.Children.map(e.props.children,e=>c.createElement(c.Fragment,null,e&&e.type===Eu&&c.createElement(td,{icon:e.props.icon,active:t[t.length-1]===e.props.title,title:e.props.title,anchor:e.props.anchor}))))))))),c.createElement("div",{className:"overflow-hidden grid grid-cols-1 gap-px bg-white dark:shadow-none dark:bg-gray-800/50 dark:bg-gradient-to-bl from-gray-700/50 via-transparent dark:ring-1 dark:ring-inset dark:ring-white/5 rounded-lg shadow-2xl shadow-gray-500/20 flex-grow"},e))}function rd({children:e}){const[t,n]=c.useState([]);return c.createElement(bu.Provider,{value:{inView:t,setInView:n}},e)}function ad({className:e=""}){return c.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 512 512",enableBackground:"new 0 0 512 512",className:`${e}`},c.createElement("path",{fill:"currentcolor",d:"M381.6,334.8c-24.7,0-27.7,33.6-45.2,44.6v52c0,17.6,14.2,31.8,31.8,31.8c17.6,0,31.8-14.2,31.8-31.8v-88.6\n C395,338.1,389.2,334.8,381.6,334.8z"}),c.createElement("path",{fill:"currentcolor",d:"M263.2,334.8c-25.5,0-27.8,35.8-46.9,45.7v96.2c0,19.5,15.8,35.3,35.3,35.3s35.3-15.8,35.3-35.3V349.1\n C280.9,341.1,273.9,334.8,263.2,334.8z"}),c.createElement("path",{fill:"currentcolor",d:"M144.8,334.8c-22.9,0-27.1,28.9-41.6,41.9l0,38c0,17.6,14.2,31.8,31.8,31.8c17.6,0,31.8-14.2,31.8-31.8v-67.9\n C161.2,339.9,154.5,334.8,144.8,334.8z"}),c.createElement("path",{id:"Body-Copy-4",fill:"currentcolor",fillRule:"evenodd",clipRule:"evenodd",d:"M458.9,340.2c-8.3,12.6-14.7,28.2-31.7,28.2\n\t\tc-28.6,0-30.1-44-58.7-44c-28.6,0-27,44-55.6,44c-28.6,0-30.1-44-58.7-44s-27,44-55.6,44s-30.1-44-58.7-44s-27,44-55.6,44\n\t\tc-9,0-15.3-4.4-20.6-10.3c-20.4-35.6-32.2-77.2-32.2-121.8C31.6,105.8,132.4,0,256.7,0s225.1,105.8,225.1,236.2\n\t\tC481.8,273.5,473.6,308.8,458.9,340.2z"}),c.createElement("path",{id:"Oval",fillRule:"evenodd",clipRule:"evenodd",fill:"#FFFFFF",d:"M244.6,295.1c78.3,0,111.2-45.4,111.2-109.9\n\t\tS306.1,61.4,244.6,61.4s-111.2,59.4-111.2,123.9S166.4,295.1,244.6,295.1z"}),c.createElement("ellipse",{id:"Oval_1_",fill:"currentcolor",fillRule:"evenodd",clipRule:"evenodd",cx:"214.7",cy:"142.9",rx:"41.7",ry:"46"}),c.createElement("ellipse",{id:"Oval_2_",fillRule:"evenodd",clipRule:"evenodd",fill:"#FFFFFF",cx:"207.8",cy:"132.2",rx:"20.9",ry:"21.3"}))}function od({items:e}){return c.createElement(Wc,null,Object.entries(e).map(([e,t])=>c.createElement(Wc.Row,{key:e,value:t,label:Jf(e)})))}function id({commandArguments:e}){return c.createElement("div",{className:"col-span-2"},c.createElement(Hc,{value:e.join(" ")}))}function ld({request:e}){return e.useragent?c.createElement(Hc,{value:e.useragent}):null}function sd(){var e,t,n,r,a;const o=c.useContext(be),i=o.context_items,l=i.request_data;return c.createElement(lu,null,c.createElement("div",{className:"@container flex items-stretch"},c.createElement(rd,null,c.createElement(nd,null,(i.route||i.view||i.laravel_context||i.arguments||i.job)&&c.createElement(hu,{title:"App",anchor:"app"},i.route&&c.createElement(Eu,{title:"Routing",anchor:"app-routing",icon:c.createElement(co,{fixedWidth:!0,icon:bo}),children:c.createElement($u,{route:i.route})}),i.view&&c.createElement(Eu,{title:"Views",anchor:"app-views",icon:c.createElement(co,{fixedWidth:!0,icon:Po}),children:c.createElement(Ku,null)}),i.laravel_context&&c.createElement(Eu,{title:"Laravel Context",anchor:"app-laravel-context",icon:c.createElement(co,{fixedWidth:!0,icon:au}),children:c.createElement(od,{items:i.laravel_context})}),i.arguments&&c.createElement(Eu,{title:"Command",anchor:"context-command",icon:c.createElement(co,{fixedWidth:!0,icon:xo}),children:c.createElement(id,{commandArguments:i.arguments})}),i.job&&c.createElement(Eu,{title:"Job",anchor:"context-job",icon:c.createElement(co,{fixedWidth:!0,icon:To}),children:c.createElement(od,{items:i.job||{}})})),i.livewire&&c.createElement(hu,{title:"Livewire",anchor:"livewire"},c.createElement(Eu,{title:"Component",anchor:"livewire-component",icon:c.createElement(ad,{className:"svg-inline--fa fa-w-16 fa-fw"}),children:c.createElement(Vu,null)}),c.createElement(Eu,{title:"Updates",anchor:"livewire-updates",icon:c.createElement(co,{fixedWidth:!0,icon:wo}),children:c.createElement(Wu,null)}),c.createElement(Eu,{title:"Data",anchor:"livewire-data",icon:c.createElement(co,{fixedWidth:!0,icon:Co}),children:c.createElement(Hu,null)})),i.request&&c.createElement(hu,{title:"Request",anchor:"request"},c.createElement(Su,{request:i.request,requestData:i.request_data,headers:i.headers}),!!i.request.useragent&&c.createElement(Eu,{title:"Browser",anchor:"request-browser",icon:c.createElement(co,{fixedWidth:!0,icon:ko}),children:c.createElement(ld,{request:i.request})}),i.headers&&c.createElement(Eu,{title:"Headers",anchor:"request-headers",icon:c.createElement(co,{fixedWidth:!0,icon:Go}),children:c.createElement(Du,{headers:i.headers})}),i.request_data&&!!Object.values(i.request_data.queryString||[]).length&&c.createElement(Eu,{title:"Query String",anchor:"request-query-string",icon:c.createElement(co,{fixedWidth:!0,icon:Ro}),children:c.createElement(Uu,{requestData:i.request_data})}),!(null==(e=i.request_data)||!e.body)&&c.createElement(Eu,{title:"Body",anchor:"request-body",icon:c.createElement(co,{fixedWidth:!0,icon:So}),children:c.createElement(ju,null)}),!(null==l||null==(t=l.files)||!t.length)&&c.createElement(Eu,{title:"Files",anchor:"request-files",icon:c.createElement(co,{fixedWidth:!0,icon:Mo}),children:c.createElement(Fu,null)}),!(null==(n=i.session)||!n.length)&&c.createElement(Eu,{title:"Session",anchor:"request-session",icon:c.createElement(co,{fixedWidth:!0,icon:ho}),children:c.createElement(zu,{session:i.session})}),!(null==(r=i.cookies)||!r.length)&&c.createElement(Eu,{title:"Cookies",anchor:"request-cookies",icon:c.createElement(co,{fixedWidth:!0,icon:Bo}),children:c.createElement(Bu,{cookies:i.cookies})})),!!(i.user||i.git||i.env||o.application_version||i.exception)&&c.createElement(hu,{title:"Context",anchor:"context"},i.user&&c.createElement(Eu,{title:"User",anchor:"user-user",icon:c.createElement(co,{fixedWidth:!0,icon:vo}),children:c.createElement(rf,{user:i.user})}),i.git&&c.createElement(Eu,{title:"Git",anchor:"context-git",icon:c.createElement(co,{fixedWidth:!0,icon:Oo}),children:c.createElement(yf,{git:i.git})}),!(!i.env&&!o.application_version)&&c.createElement(Eu,{title:"Versions",anchor:"context-versions",icon:c.createElement(co,{fixedWidth:!0,icon:Io}),children:c.createElement(Qf,{env:i.env||{}})}),i.exception&&c.createElement(Eu,{title:"Exception",anchor:"context-exception",icon:c.createElement(co,{fixedWidth:!0,icon:Eo}),children:c.createElement(od,{items:i.exception||{}})})),(null==(a=o.custom_context_items)?void 0:a.length)>0&&c.createElement(hu,{title:"Custom",anchor:"custom-context"},o.custom_context_items.map(e=>c.createElement(Eu,{key:e.name,title:Jf(e.name),anchor:`custom-context-${pu(e.name)}`,icon:c.createElement(co,{fixedWidth:!0,icon:mo}),children:c.createElement(od,{items:e.items})})))))))}function cd({children:e,className:t}){const[n,r]=c.useState(0),a=e.filter(e=>!1!==e),o=c.Children.map(a,e=>({name:e.props.name,component:e.props.component,count:e.props.count,checked:e.props.checked,onChange:e.props.onChange})).filter(e=>e.count),i=o[n].component;return c.createElement("div",{className:`${t} | bg-gray-300/50 dark:bg-black/10 shadow-inner rounded-lg`},c.createElement("nav",{className:"z-10 flex justify-center items-center"},c.createElement("ul",{className:"-my-5 flex justify-start items-center rounded-full shadow-lg bg-indigo-500 text-white space-x-px"},o.map((e,t)=>c.createElement("li",{key:t,className:`\n ${t===n?"bg-indigo-600":"bg-indigo-500 text-indigo-100"}\n ${0===t?"rounded-l-full":""}\n ${t===o.length-1?"rounded-r-full":""}\n hover:text-white\n `},c.createElement("button",{onClick:()=>r(t),className:"group flex items-center px-3 sm:px-5 h-10 uppercase tracking-wider text-xs font-medium "},c.createElement("span",{className:"mr-1.5 inline-flex items-center justify-center px-1 min-w-[1rem] h-4 bg-gray-900/30 text-white rounded-full text-xs"},e.count),c.createElement("span",null,e.name)))))),c.createElement(lu,{fallbackComponent:e=>c.createElement(mu,{githubLink:e,className:"pt-10"})},c.createElement("div",{className:"grid grid-cols-1 gap-10 py-10 px-6 @lg:px-10"},c.createElement(i,null))))}function ud({children:e,context:t=null,level:n=null,meta:r=null,time:a}){const[o,i]=c.useState(!1),l={error:"red",warn:"orange",warning:"orange",info:"blue",debug:"green",trace:"gray",notice:"purple",critical:"red",alert:"red",emergency:"red"};return c.createElement("div",{className:"min-w-0 grid grid-cols-1 gap-2"},c.createElement("div",{className:"flex items-center gap-1"},c.createElement(Tu,{color:n?l[n]:"gray",className:"font-mono"},a.toLocaleTimeString()),n&&c.createElement(Tu,{color:l[n]},n),r&&Object.entries(r).map(([e,t])=>c.createElement(c.Fragment,{key:e},"runtime"===e&&c.createElement(Tu,{className:"inline-flex items-center gap-2"},c.createElement(co,{title:"Runtime",className:"opacity-50",icon:go})," ",t),"connection"===e&&c.createElement(Tu,{className:"inline-flex items-center gap-2"},c.createElement(co,{title:"Connection",className:"opacity-50",icon:Wo})," ",t),"runtime"!==e&&"connection"!==e&&c.createElement(Tu,null,e,": ",t))),t&&c.createElement(c.Fragment,null,c.createElement("div",{className:"ml-auto"},c.createElement(kt,{onClick:()=>i(!o)},c.createElement(co,{icon:o?Do:So,className:"text-[8px] ~text-gray-500 group-hover:text-indigo-500"}),o?"As list":"Raw")))),c.createElement("div",null,e),t&&c.createElement(c.Fragment,null,o?c.createElement(Hc,{value:Ko(t),language:"json"}):c.createElement("div",{className:"pl-4"},c.createElement(wu,{items:t}))))}function fd(){const e=c.useContext(be),t=Object.values(e.context_items.logs);return c.createElement(c.Fragment,null,t.map((e,t)=>c.createElement(ud,{key:t,context:e.context,level:e.level,time:qo(e.microtime)},c.createElement(Hc,{value:e.message}))))}function dd(){const e=c.useContext(be),t=Object.values(e.context_items.dumps);return c.createElement(c.Fragment,null,t.map((e,t)=>c.createElement(ud,{key:t,time:qo(e.microtime)},c.createElement("div",{className:"mb-2"},c.createElement(ti,{path:e.file,lineNumber:e.line_number,className:"text-sm"})),c.createElement(qu,{value:e.html_dump}))))}function pd({bindings:e,hidden:t=!1}){const[n,r]=c.useState(t);return c.createElement("div",null,c.createElement("button",{type:"button",className:"font-bold text-xs ~text-gray-500 uppercase tracking-wider flex flex-row items-center gap-2 mb-2",onClick:()=>r(!n)},c.createElement(co,{icon:yo,className:"transition-transform duration-300 transform "+(n?"":"rotate-90")}),e.length," query ",e.length>1?"parameters":"parameter"),!n&&c.createElement(Wc,{className:"ml-4"},e.map((e,t)=>c.createElement(Wc.Row,{small:!0,key:t,value:e,label:c.createElement("code",{className:"text-sm text-gray-500"},t+1)}))))}function md(){const e=c.useContext(be);let t=Object.values(e.context_items.queries);function n(e){return null!==e.bindings&&e.sql.split("?").length-1===e.bindings.length}function r(e){var t;let n=e.sql;return null==(t=e.bindings)||t.forEach(e=>{n=n.replace("?",e)}),n}return c.createElement(c.Fragment,null,t.map((e,t)=>c.createElement(ud,{key:t,time:qo(e.microtime),meta:{runtime:`${e.time}ms`,connection:e.connection_name}},e.bindings&&e.bindings.length>0?c.createElement("div",{className:"grid gap-4 grid-cols-1"},c.createElement(Hc,{value:n(e)?r(e):e.sql,language:"sql"}),c.createElement(pd,{bindings:e.bindings,hidden:n(e)})):c.createElement(Hc,{value:e.sql,language:"sql"}))))}function hd(){const e=c.useContext(be);return c.createElement(c.Fragment,null,e.glows.map((e,t)=>c.createElement(ud,{key:t,level:e.message_level,context:e.meta_data,time:qo(e.microtime)},c.createElement(Hc,{value:e.name}))))}function gd(){const e=c.useContext(be),t=e.context_items.queries,n=e.context_items.logs,r=e.glows;return c.createElement(lu,null,c.createElement(cd,{className:"@container"},c.createElement(cd.Tab,{component:dd,name:"Dumps",count:Object.keys(e.context_items.dumps||[]).length}),c.createElement(cd.Tab,{component:hd,name:"Glows",count:r.length}),c.createElement(cd.Tab,{component:md,name:"Queries",count:Object.keys(t||[]).length}),c.createElement(cd.Tab,{component:fd,name:"Logs",count:Object.keys(n||[]).length})))}function yd({children:e,className:t=""}){return c.createElement("code",{className:`font-mono leading-relaxed font-normal ~bg-gray-500/5 px-1 py-1 ${t}`},e)}function vd({className:e=""}){return c.createElement("svg",{height:"58",viewBox:"0 0 38 58",width:"38",xmlns:"http://www.w3.org/2000/svg",className:`w-4 h-5 ml-1.5 ${e}`},c.createElement("linearGradient",{id:"a",x1:"50%",x2:"50%",y1:"100%",y2:"0%"},c.createElement("stop",{offset:"0",stopColor:"#48b987"}),c.createElement("stop",{offset:"1",stopColor:"#137449"})),c.createElement("linearGradient",{id:"b",x1:"50%",x2:"50%",y1:"0%",y2:"100%"},c.createElement("stop",{offset:"0",stopColor:"#66ffbc"}),c.createElement("stop",{offset:"1",stopColor:"#218e5e"})),c.createElement("linearGradient",{id:"c",x1:"81.686741%",x2:"17.119683%",y1:"50%",y2:"46.893103%"},c.createElement("stop",{offset:"0",stopColor:"#ccffe7",stopOpacity:".492379"}),c.createElement("stop",{offset:".37576486",stopColor:"#fff",stopOpacity:".30736"}),c.createElement("stop",{offset:"1",stopColor:"#00ff85",stopOpacity:"0"})),c.createElement("linearGradient",{id:"d",x1:"50%",x2:"50%",y1:"100%",y2:"0%"},c.createElement("stop",{offset:"0",stopColor:"#a189f2"}),c.createElement("stop",{offset:"1",stopColor:"#3f00f5"})),c.createElement("linearGradient",{id:"e",x1:"50%",x2:"50%",y1:"0%",y2:"100%"},c.createElement("stop",{offset:"0",stopColor:"#bbadfa"}),c.createElement("stop",{offset:"1",stopColor:"#9275f4"})),c.createElement("g",{fill:"none"},c.createElement("g",{transform:"translate(1 1)"},c.createElement("path",{d:"m11.9943899 27.9858314-11.9943899-6.9992916v-13.98724823l12.0617111 7.02196133z",fill:"url(#a)"}),c.createElement("path",{d:"m23.9775596 20.9808724-23.9775596-13.98158083 11.9943899-6.99929157 24.0056101 13.9815808z",fill:"url(#b)",stroke:"url(#c)"})),c.createElement("g",{transform:"translate(1 29.014169)"},c.createElement("path",{d:"m11.9943899 27.9858314-11.9943899-6.9936241v-13.99291573l11.9663394 6.99362413z",fill:"url(#d)"}),c.createElement("path",{d:"m11.9663394 13.9929157-11.9663394-6.99362413 11.9943899-6.99929157 11.9943899 6.99929157z",fill:"url(#e)"}))))}function bd(){return c.createElement("svg",{id:"ignition",className:"w-8 h-8 -ml-1",viewBox:"0 0 500 500"},c.createElement("g",null,c.createElement("polygon",{style:{fill:"transparent"},points:"466.5,375 466.5,125 250,0 33.5,125 33.5,375 250,500 \t"}),c.createElement("g",null,c.createElement("polygon",{style:{fill:"#ff4590"},points:"314.2,176 314.2,250 250,287 250,212.6 \t\t"}),c.createElement("polygon",{style:{fill:"#ffd000"},points:"185.9,398.1 185.9,324.1 250,287 249.9,360.9 \t\t"}),c.createElement("polygon",{style:{fill:"#de075d"},points:"250,139.1 250,287 185.9,250 185.8,101.9 \t\t"}),c.createElement("polygon",{style:{fill:"#e0b800"},points:"249.9,360.9 250,287 314.1,324 314.1,398.1 \t\t"}))))}function Ed(e){var t=e.label,n=e.onChange;return c.createElement("label",{className:"flex items-center"},c.createElement("input",{type:"checkbox",checked:e.checked,onChange:function(e){return n(e.target.checked)},className:"sr-only peer"}),c.createElement("span",{className:"mr-2 flex items-center w-6 h-4 ~bg-gray-100 peer-checked:bg-emerald-300 rounded-full shadow-inner transition-colors"}),c.createElement("span",{className:"absolute left-0.5 top-0.5 w-3 h-3 ~bg-dropdown rounded-full shadow-md transform peer-checked:translate-x-2 transition-transform"}),c.createElement("span",{className:"uppercase tracking-wider text-xs font-medium"},t))}cd.Tab=e=>null;var Td=c.createContext();function Sd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function wd(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function cp(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function up(e){return e.classList?cp(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(e){return e})}function fp(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function dp(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function pp(e){return e.size!==lp.size||e.x!==lp.x||e.y!==lp.y||e.rotate!==lp.rotate||e.flipX||e.flipY}function mp(){var e="fa",t="svg-inline--fa",n=ap.familyPrefix,r=ap.replacementClass,a=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");a=a.replace(o,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(l,".".concat(r))}return a}var hp=!1;function gp(){ap.autoAddCss&&!hp&&(function(e){if(e&&Bd){var t=jd.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=jd.head.childNodes,r=null,a=n.length-1;a>-1;a--){var o=n[a],i=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=o)}jd.head.insertBefore(t,r)}}(mp()),hp=!0)}var yp={mixout:function(){return{dom:{css:mp,insertCss:gp}}},hooks:function(){return{beforeDOMElementCreation:function(){gp()},beforeI2svg:function(){gp()}}}},vp=Ud||{};vp.___FONT_AWESOME___||(vp.___FONT_AWESOME___={}),vp.___FONT_AWESOME___.styles||(vp.___FONT_AWESOME___.styles={}),vp.___FONT_AWESOME___.hooks||(vp.___FONT_AWESOME___.hooks={}),vp.___FONT_AWESOME___.shims||(vp.___FONT_AWESOME___.shims=[]);var bp=vp.___FONT_AWESOME___,Ep=[],Tp=!1;function Sp(e){Bd&&(Tp?setTimeout(e,0):Ep.push(e))}function wp(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,a=e.children,o=void 0===a?[]:a;return"string"==typeof e?fp(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(fp(e[n]),'" ')},"").trim()}(r),">").concat(o.map(wp).join(""),"")}function Np(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Bd&&((Tp=(jd.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(jd.readyState))||jd.addEventListener("DOMContentLoaded",function e(){jd.removeEventListener("DOMContentLoaded",e),Tp=1,Ep.map(function(e){return e()})}));var Rp=function(e,t,n,r){var a,o,i,l=Object.keys(e),s=l.length,c=void 0!==r?function(e,t){return function(n,r,a,o){return e.call(t,n,r,a,o)}}(t,r):t;for(void 0===n?(a=1,i=e[l[0]]):(a=0,i=n);a=55296&&a<=56319&&n2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,a=void 0!==r&&r,o=xp(t);"function"!=typeof bp.hooks.addPack||a?bp.styles[e]=wd(wd({},bp.styles[e]||{}),o):bp.hooks.addPack(e,xp(t)),"fas"===e&&kp("fa",t)}var Ap=bp.styles,Cp=bp.shims,Ip=Object.values($d),_p=null,Lp={},Pp={},Mp={},Dp={},Up={},jp=Object.keys(Gd);function Fp(e,t){var n=t.split("-"),r=n[0],a=n.slice(1).join("-");return r!==e||""===a||~tp.indexOf(a)?null:a}var zp=function(){var e=function(e){return Rp(Ap,function(t,n,r){return t[r]=Rp(n,e,{}),t},{})};Lp=e(function(e,t,n){return t[3]&&(e[t[3]]=n),t[2]&&t[2].filter(function(e){return"number"==typeof e}).forEach(function(t){e[t.toString(16)]=n}),e}),Pp=e(function(e,t,n){return e[n]=n,t[2]&&t[2].filter(function(e){return"string"==typeof e}).forEach(function(t){e[t]=n}),e}),Up=e(function(e,t,n){var r=t[2];return e[n]=n,r.forEach(function(t){e[t]=n}),e});var t="far"in Ap||ap.autoFetchSvg,n=Rp(Cp,function(e,n){var r=n[0],a=n[1],o=n[2];return"far"!==a||t||(a="fas"),"string"==typeof r&&(e.names[r]={prefix:a,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:a,iconName:o}),e},{names:{},unicodes:{}});Mp=n.names,Dp=n.unicodes,_p=Gp(ap.styleDefault)};function Bp(e,t){return(Lp[e]||{})[t]}function Hp(e,t){return(Up[e]||{})[t]}function Vp(e){return Mp[e]||{prefix:null,iconName:null}}function Wp(){return _p}function Gp(e){return Yd[e]||Yd[Gd[e]]||(e in bp.styles?e:null)||null}function Yp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.skipLookups,r=void 0!==n&&n,a=null,o=e.reduce(function(e,t){var n=Fp(ap.familyPrefix,t);if(Ap[t]?(t=Ip.includes(t)?Xd[t]:t,a=t,e.prefix=t):jp.indexOf(t)>-1?(a=t,e.prefix=Gp(t)):n?e.iconName=n:t!==ap.replacementClass&&e.rest.push(t),!r&&e.prefix&&e.iconName){var o="fa"===a?Vp(e.iconName):{},i=Hp(e.prefix,e.iconName);o.prefix&&(a=null),e.iconName=o.iconName||i||e.iconName,e.prefix=o.prefix||e.prefix,"far"!==e.prefix||Ap.far||!Ap.fas||ap.autoFetchSvg||(e.prefix="fas")}return e},{prefix:null,iconName:null,rest:[]});return"fa"!==o.prefix&&"fa"!==a||(o.prefix=Wp()||"fas"),o}op.push(function(e){_p=Gp(e.styleDefault)}),zp();var $p=/*#__PURE__*/function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,(n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r0&&l.forEach(function(t){"string"==typeof t&&(e[a][t]=i)}),e[a][o]=i}),e}}])&&function(e,t){for(var n=0;n2?n-2:0),a=2;a1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{};return Bd?(Zp("beforeI2svg",e),em("pseudoElements2svg",e),em("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot;!1===ap.autoReplaceSvg&&(ap.autoReplaceSvg=!0),ap.observeMutations=!0,Sp(function(){om({autoReplaceSvgRoot:t}),Zp("watch",e)})}},am={noAuto:function(){ap.autoReplaceSvg=!1,ap.observeMutations=!1,Zp("noAuto")},config:ap,dom:rm,parse:{icon:function(e){if(null===e)return null;if("object"===Nd(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Hp(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=Gp(e[0]);return{prefix:n,iconName:Hp(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(ap.familyPrefix,"-"))>-1||e.match(qd))){var r=Yp(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||Wp(),iconName:Hp(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var a=Wp();return{prefix:a,iconName:Hp(a,e)||e}}}},library:nm,findIconDefinition:tm,toHtml:wp},om=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=void 0===t?jd:t;(Object.keys(bp.styles).length>0||ap.autoFetchSvg)&&Bd&&ap.autoReplaceSvg&&am.dom.i2svg({node:n})};function im(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return wp(e)})}}),Object.defineProperty(e,"node",{get:function(){if(Bd){var t=jd.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function lm(e){var t=e.icons,n=t.main,r=t.mask,a=e.prefix,o=e.iconName,i=e.transform,l=e.symbol,s=e.title,c=e.maskId,u=e.titleId,f=e.extra,d=e.watchable,p=void 0!==d&&d,m=r.found?r:n,h=m.width,g=m.height,y="fak"===a,v=[ap.replacementClass,o?"".concat(ap.familyPrefix,"-").concat(o):""].filter(function(e){return-1===f.classes.indexOf(e)}).filter(function(e){return""!==e||!!e}).concat(f.classes).join(" "),b={children:[],attributes:wd(wd({},f.attributes),{},{"data-prefix":a,"data-icon":o,class:v,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(h," ").concat(g)})},E=y&&!~f.classes.indexOf("fa-fw")?{width:"".concat(h/g*16*.0625,"em")}:{};p&&(b.attributes["data-fa-i2svg"]=""),s&&(b.children.push({tag:"title",attributes:{id:b.attributes["aria-labelledby"]||"title-".concat(u||sp())},children:[s]}),delete b.attributes.title);var T=wd(wd({},b),{},{prefix:a,iconName:o,main:n,mask:r,maskId:c,transform:i,symbol:l,styles:wd(wd({},E),f.styles)}),S=r.found&&n.found?em("generateAbstractMask",T)||{children:[],attributes:{}}:em("generateAbstractIcon",T)||{children:[],attributes:{}},w=S.attributes;return T.children=S.children,T.attributes=w,l?function(e){var t=e.iconName,n=e.children,r=e.attributes,a=e.symbol,o=!0===a?"".concat(e.prefix,"-").concat(ap.familyPrefix,"-").concat(t):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:wd(wd({},r),{},{id:o}),children:n}]}]}(T):function(e){var t=e.children,n=e.main,r=e.mask,a=e.attributes,o=e.styles,i=e.transform;if(pp(i)&&n.found&&!r.found){var l={x:n.width/n.height/2,y:.5};a.style=dp(wd(wd({},o),{},{"transform-origin":"".concat(l.x+i.x/16,"em ").concat(l.y+i.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}(T)}function sm(e){var t=e.content,n=e.width,r=e.height,a=e.transform,o=e.title,i=e.extra,l=e.watchable,s=void 0!==l&&l,c=wd(wd(wd({},i.attributes),o?{title:o}:{}),{},{class:i.classes.join(" ")});s&&(c["data-fa-i2svg"]="");var u=wd({},i.styles);pp(a)&&(u.transform=function(e){var t=e.transform,n=e.width,r=e.height,a=void 0===r?16:r,o=e.startCentered,i=void 0!==o&&o,l="";return l+=i&&Hd?"translate(".concat(t.x/ip-(void 0===n?16:n)/2,"em, ").concat(t.y/ip-a/2,"em) "):i?"translate(calc(-50% + ".concat(t.x/ip,"em), calc(-50% + ").concat(t.y/ip,"em)) "):"translate(".concat(t.x/ip,"em, ").concat(t.y/ip,"em) "),(l+="scale(".concat(t.size/ip*(t.flipX?-1:1),", ").concat(t.size/ip*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:a,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var f=dp(u);f.length>0&&(c.style=f);var d=[];return d.push({tag:"span",attributes:c,children:[t]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}function cm(e){var t=e.content,n=e.title,r=e.extra,a=wd(wd(wd({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=dp(r.styles);o.length>0&&(a.style=o);var i=[];return i.push({tag:"span",attributes:a,children:[t]}),n&&i.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),i}var um=bp.styles;function fm(e){var t=e[0],n=e[1],r=Od(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(ap.familyPrefix,"-").concat("duotone-group")},children:[{tag:"path",attributes:{class:"".concat(ap.familyPrefix,"-").concat("secondary"),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(ap.familyPrefix,"-").concat("primary"),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var dm={found:!1,width:512,height:512};function pm(e,t){var n=t;return"fa"===t&&null!==ap.styleDefault&&(t=Wp()),new Promise(function(r,a){if(em("missingIconAbstract"),"fa"===n){var o=Vp(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&um[t]&&um[t][e])return r(fm(um[t][e]));!function(e,t){Wd||ap.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(wd(wd({},dm),{},{icon:ap.showMissingIcons&&e&&em("missingIconAbstract")||{}}))})}var mm=function(){},hm=ap.measurePerformance&&zd&&zd.mark&&zd.measure?zd:{mark:mm,measure:mm},gm=function(e){return hm.mark("".concat('FA "6.1.1"'," ").concat(e," begins")),function(){return function(e){hm.mark("".concat('FA "6.1.1"'," ").concat(e," ends")),hm.measure("".concat('FA "6.1.1"'," ").concat(e),"".concat('FA "6.1.1"'," ").concat(e," begins"),"".concat('FA "6.1.1"'," ").concat(e," ends"))}(e)}},ym=function(){};function vm(e){return"string"==typeof(e.getAttribute?e.getAttribute("data-fa-i2svg"):null)}function bm(e){return jd.createElementNS("http://www.w3.org/2000/svg",e)}function Em(e){return jd.createElement(e)}function Tm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.ceFn,r=void 0===n?"svg"===e.tag?bm:Em:n;if("string"==typeof e)return jd.createTextNode(e);var a=r(e.tag);Object.keys(e.attributes||[]).forEach(function(t){a.setAttribute(t,e.attributes[t])});var o=e.children||[];return o.forEach(function(e){a.appendChild(Tm(e,{ceFn:r}))}),a}var Sm={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach(function(e){t.parentNode.insertBefore(Tm(e),t)}),null===t.getAttribute("data-fa-i2svg")&&ap.keepOriginalSource){var n=jd.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~up(t).indexOf(ap.replacementClass))return Sm.replace(e);var r=new RegExp("".concat(ap.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var a=n[0].attributes.class.split(" ").reduce(function(e,t){return t===ap.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e},{toNode:[],toSvg:[]});n[0].attributes.class=a.toSvg.join(" "),0===a.toNode.length?t.removeAttribute("class"):t.setAttribute("class",a.toNode.join(" "))}var o=n.map(function(e){return wp(e)}).join("\n");t.setAttribute("data-fa-i2svg",""),t.innerHTML=o}};function wm(e){e()}function Nm(e,t){var n="function"==typeof t?t:ym;if(0===e.length)n();else{var r=wm;"async"===ap.mutateApproach&&(r=Ud.requestAnimationFrame||wm),r(function(){var t=!0===ap.autoReplaceSvg?Sm.replace:Sm[ap.autoReplaceSvg]||Sm.replace,r=gm("mutate");e.map(t),r(),n()})}}var Rm=!1;function Om(){Rm=!0}function xm(){Rm=!1}var km=null;function Am(e){if(Fd&&ap.observeMutations){var t=e.treeCallback,n=void 0===t?ym:t,r=e.nodeCallback,a=void 0===r?ym:r,o=e.pseudoElementsCallback,i=void 0===o?ym:o,l=e.observeMutationsRoot,s=void 0===l?jd:l;km=new Fd(function(e){if(!Rm){var t=Wp();cp(e).forEach(function(e){if("childList"===e.type&&e.addedNodes.length>0&&!vm(e.addedNodes[0])&&(ap.searchPseudoElements&&i(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&ap.searchPseudoElements&&i(e.target.parentNode),"attributes"===e.type&&vm(e.target)&&~ep.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute("data-prefix"):null,n=e.getAttribute?e.getAttribute("data-icon"):null;return t&&n}(e.target)){var r=Yp(up(e.target)),o=r.iconName;e.target.setAttribute("data-prefix",r.prefix||t),o&&e.target.setAttribute("data-icon",o)}else(function(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(ap.replacementClass)})(e.target)&&a(e.target)})}}),Bd&&km.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Cm(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(e,t){var n=t.split(":"),r=n[0],a=n.slice(1);return r&&a.length>0&&(e[r]=a.join(":").trim()),e},{})),n}function Im(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"",a=Yp(up(e));return a.prefix||(a.prefix=Wp()),t&&n&&(a.prefix=t,a.iconName=n),a.iconName&&a.prefix||a.prefix&&r.length>0&&(a.iconName=(Pp[a.prefix]||{})[e.innerText]||Bp(a.prefix,Op(e.innerText))),a}function _m(e){var t=cp(e.attributes).reduce(function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return ap.autoA11y&&(n?t["aria-labelledby"]="".concat(ap.replacementClass,"-title-").concat(r||sp()):(t["aria-hidden"]="true",t.focusable="false")),t}function Lm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Im(e),r=n.iconName,a=n.prefix,o=n.rest,i=_m(e),l=Qp("parseNodeAttributes",{},e),s=t.styleParser?Cm(e):[];return wd({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:a,transform:lp,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:s,attributes:i}},l)}var Pm=bp.styles;function Mm(e){var t="nest"===ap.autoReplaceSvg?Lm(e,{styleParser:!1}):Lm(e);return~t.extra.classes.indexOf("fa-layers-text")?em("generateLayersText",e,t):em("generateSvgReplacementMutation",e,t)}function Dm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Bd)return Promise.resolve();var n=jd.documentElement.classList,r=function(e){return n.add("".concat("fontawesome-i2svg","-").concat(e))},a=function(e){return n.remove("".concat("fontawesome-i2svg","-").concat(e))},o=Object.keys(ap.autoFetchSvg?Gd:Pm),i=[".".concat("fa-layers-text",":not([").concat("data-fa-i2svg","])")].concat(o.map(function(e){return".".concat(e,":not([").concat("data-fa-i2svg","])")})).join(", ");if(0===i.length)return Promise.resolve();var l=[];try{l=cp(e.querySelectorAll(i))}catch(e){}if(!(l.length>0))return Promise.resolve();r("pending"),a("complete");var s=gm("onTree"),c=l.reduce(function(e,t){try{var n=Mm(t);n&&e.push(n)}catch(e){Wd||"MissingIcon"===e.name&&console.error(e)}return e},[]);return new Promise(function(e,n){Promise.all(c).then(function(n){Nm(n,function(){r("active"),r("complete"),a("pending"),"function"==typeof t&&t(),s(),e()})}).catch(function(e){s(),n(e)})})}function Um(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Mm(e).then(function(e){e&&Nm([e],t)})}var jm=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?lp:n,a=t.symbol,o=void 0!==a&&a,i=t.mask,l=void 0===i?null:i,s=t.maskId,c=void 0===s?null:s,u=t.title,f=void 0===u?null:u,d=t.titleId,p=void 0===d?null:d,m=t.classes,h=void 0===m?[]:m,g=t.attributes,y=void 0===g?{}:g,v=t.styles,b=void 0===v?{}:v;if(e){var E=e.prefix,T=e.iconName,S=e.icon;return im(wd({type:"icon"},e),function(){return Zp("beforeDOMElementCreation",{iconDefinition:e,params:t}),ap.autoA11y&&(f?y["aria-labelledby"]="".concat(ap.replacementClass,"-title-").concat(p||sp()):(y["aria-hidden"]="true",y.focusable="false")),lm({icons:{main:fm(S),mask:l?fm(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:E,iconName:T,transform:wd(wd({},lp),r),symbol:o,title:f,maskId:c,titleId:p,extra:{attributes:y,styles:b,classes:h}})})}},Fm={mixout:function(){return{icon:(e=jm,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:tm(t||{}),a=n.mask;return a&&(a=(a||{}).icon?a:tm(a||{})),e(r,wd(wd({},n),{},{mask:a}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=Dm,e.nodeCallback=Um,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=e.callback;return Dm(void 0===t?jd:t,void 0===n?function(){}:n)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,a=t.titleId,o=t.prefix,i=t.transform,l=t.symbol,s=t.mask,c=t.maskId,u=t.extra;return new Promise(function(t,f){Promise.all([pm(n,o),s.iconName?pm(s.iconName,s.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(s){var f=Od(s,2);t([e,lm({icons:{main:f[0],mask:f[1]},prefix:o,iconName:n,transform:i,symbol:l,maskId:c,title:r,titleId:a,extra:u,watchable:!0})])}).catch(f)})},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,a=e.main,o=e.transform,i=dp(e.styles);return i.length>0&&(r.style=i),pp(o)&&(t=em("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),n.push(t||a.icon),{children:n,attributes:r}}}},zm={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return im({type:"layer"},function(){Zp("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e(function(e){Array.isArray(e)?e.map(function(e){n=n.concat(e.abstract)}):n=n.concat(e.abstract)}),[{tag:"span",attributes:{class:["".concat(ap.familyPrefix,"-layers")].concat(xd(r)).join(" ")},children:n}]})}}}},Bm={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,a=t.classes,o=void 0===a?[]:a,i=t.attributes,l=void 0===i?{}:i,s=t.styles,c=void 0===s?{}:s;return im({type:"counter",content:e},function(){return Zp("beforeDOMElementCreation",{content:e,params:t}),cm({content:e.toString(),title:r,extra:{attributes:l,styles:c,classes:["".concat(ap.familyPrefix,"-layers-counter")].concat(xd(o))}})})}}}},Hm={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?lp:n,a=t.title,o=void 0===a?null:a,i=t.classes,l=void 0===i?[]:i,s=t.attributes,c=void 0===s?{}:s,u=t.styles,f=void 0===u?{}:u;return im({type:"text",content:e},function(){return Zp("beforeDOMElementCreation",{content:e,params:t}),sm({content:e,transform:wd(wd({},lp),r),title:o,extra:{attributes:c,styles:f,classes:["".concat(ap.familyPrefix,"-layers-text")].concat(xd(l))}})})}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,a=t.extra,o=null,i=null;if(Hd){var l=parseInt(getComputedStyle(e).fontSize,10),s=e.getBoundingClientRect();o=s.width/l,i=s.height/l}return ap.autoA11y&&!n&&(a.attributes["aria-hidden"]="true"),Promise.resolve([e,sm({content:e.innerHTML,width:o,height:i,transform:r,title:n,extra:a,watchable:!0})])}}},Vm=new RegExp('"',"ug"),Wm=[1105920,1112319];function Gm(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise(function(r,a){if(null!==e.getAttribute(n))return r();var o,i,l,s=cp(e.children).filter(function(e){return e.getAttribute("data-fa-pseudo-element")===t})[0],c=Ud.getComputedStyle(e,t),u=c.getPropertyValue("font-family").match(Kd),f=c.getPropertyValue("font-weight"),d=c.getPropertyValue("content");if(s&&!u)return e.removeChild(s),r();if(u&&"none"!==d&&""!==d){var p=c.getPropertyValue("content"),m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?Yd[u[2].toLowerCase()]:Jd[f],h=function(e){var t,n,r,a,o=e.replace(Vm,""),i=(r=(t=o).length,(a=t.charCodeAt(0))>=55296&&a<=56319&&r>1&&(n=t.charCodeAt(1))>=56320&&n<=57343?1024*(a-55296)+n-56320+65536:a),l=i>=Wm[0]&&i<=Wm[1],s=2===o.length&&o[0]===o[1];return{value:Op(s?o[0]:o),isSecondary:l||s}}(p),g=h.value,y=h.isSecondary,v=u[0].startsWith("FontAwesome"),b=Bp(m,g),E=b;if(v){var T=(i=Dp[o=g],l=Bp("fas",o),i||(l?{prefix:"fas",iconName:l}:null)||{prefix:null,iconName:null});T.iconName&&T.prefix&&(b=T.iconName,m=T.prefix)}if(!b||y||s&&s.getAttribute("data-prefix")===m&&s.getAttribute("data-icon")===E)r();else{e.setAttribute(n,E),s&&e.removeChild(s);var S={iconName:null,title:null,titleId:null,prefix:null,transform:lp,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},w=S.extra;w.attributes["data-fa-pseudo-element"]=t,pm(b,m).then(function(a){var o=lm(wd(wd({},S),{},{icons:{main:a,mask:{prefix:null,iconName:null,rest:[]}},prefix:m,iconName:E,extra:w,watchable:!0})),i=jd.createElement("svg");"::before"===t?e.insertBefore(i,e.firstChild):e.appendChild(i),i.outerHTML=o.map(function(e){return wp(e)}).join("\n"),e.removeAttribute(n),r()}).catch(a)}}else r()})}function Ym(e){return Promise.all([Gm(e,"::before"),Gm(e,"::after")])}function $m(e){return!(e.parentNode===document.head||~Vd.indexOf(e.tagName.toUpperCase())||e.getAttribute("data-fa-pseudo-element")||e.parentNode&&"svg"===e.parentNode.tagName)}function Xm(e){if(Bd)return new Promise(function(t,n){var r=cp(e.querySelectorAll("*")).filter($m).map(Ym),a=gm("searchPseudoElements");Om(),Promise.all(r).then(function(){a(),xm(),t()}).catch(function(){a(),xm(),n()})})}var qm=!1,Km=function(e){return e.toLowerCase().split(" ").reduce(function(e,t){var n=t.toLowerCase().split("-"),r=n[0],a=n.slice(1).join("-");if(r&&"h"===a)return e.flipX=!0,e;if(r&&"v"===a)return e.flipY=!0,e;if(a=parseFloat(a),isNaN(a))return e;switch(r){case"grow":e.size=e.size+a;break;case"shrink":e.size=e.size-a;break;case"left":e.x=e.x-a;break;case"right":e.x=e.x+a;break;case"up":e.y=e.y-a;break;case"down":e.y=e.y+a;break;case"rotate":e.rotate=e.rotate+a}return e},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Jm={x:0,y:0,width:"100%",height:"100%"};function Qm(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}!function(e,t){var n=am;Xp=e,qp={},Object.keys(Kp).forEach(function(e){-1===Jp.indexOf(e)&&delete Kp[e]}),Xp.forEach(function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach(function(e){"function"==typeof t[e]&&(n[e]=t[e]),"object"===Nd(t[e])&&Object.keys(t[e]).forEach(function(r){n[e]||(n[e]={}),n[e][r]=t[e][r]})}),e.hooks){var r=e.hooks();Object.keys(r).forEach(function(e){qp[e]||(qp[e]=[]),qp[e].push(r[e])})}e.provides&&e.provides(Kp)})}([yp,Fm,zm,Bm,Hm,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=Xm,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node;ap.searchPseudoElements&&Xm(void 0===t?jd:t)}}},{mixout:function(){return{dom:{unwatch:function(){Om(),qm=!0}}}},hooks:function(){return{bootstrap:function(){Am(Qp("mutationObserverCallbacks",{}))},noAuto:function(){km&&km.disconnect()},watch:function(e){var t=e.observeMutationsRoot;qm?xm():Am(Qp("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},{mixout:function(){return{parse:{transform:function(e){return Km(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=Km(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.iconWidth,a={transform:"translate(".concat(e.containerWidth/2," 256)")},o="translate(".concat(32*n.x,", ").concat(32*n.y,") "),i="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),s={outer:a,inner:{transform:"".concat(o," ").concat(i," ").concat(l)},path:{transform:"translate(".concat(r/2*-1," -256)")}};return{tag:"g",attributes:wd({},s.outer),children:[{tag:"g",attributes:wd({},s.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:wd(wd({},t.icon.attributes),s.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?Yp(n.split(" ").map(function(e){return e.trim()})):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=Wp()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,a=e.main,o=e.mask,i=e.maskId,l=a.icon,s=o.icon,c=function(e){var t=e.transform,n=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},a="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),i="rotate(".concat(t.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(a," ").concat(o," ").concat(i)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:e.transform,containerWidth:o.width,iconWidth:a.width}),u={tag:"rect",attributes:wd(wd({},Jm),{},{fill:"white"})},f=l.children?{children:l.children.map(Qm)}:{},d={tag:"g",attributes:wd({},c.inner),children:[Qm(wd({tag:l.tag,attributes:wd(wd({},l.attributes),c.path)},f))]},p={tag:"g",attributes:wd({},c.outer),children:[d]},m="mask-".concat(i||sp()),h="clip-".concat(i||sp()),g={tag:"mask",attributes:wd(wd({},Jm),{},{id:m,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[u,p]},y={tag:"defs",children:[{tag:"clipPath",attributes:{id:h},children:(t=s,"g"===t.tag?t.children:[t])},g]};return n.push(y,{tag:"rect",attributes:wd({fill:"currentColor","clip-path":"url(#".concat(h,")"),mask:"url(#".concat(m,")")},Jm)}),{children:n,attributes:r}}}},{provides:function(e){var t=!1;Ud.matchMedia&&(t=Ud.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:wd(wd({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var a=wd(wd({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:wd(wd({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:wd(wd({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:wd(wd({},a),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:wd(wd({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:wd(wd({},a),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:wd(wd({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:wd(wd({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol");return e.symbol=null!==n&&(""===n||n),e}}}}]);var Zm,eh=am.parse,th=am.icon,nh=n(function(e,t){!function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,a=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:var p=e.type;switch(p){case c:case u:case a:case i:case o:case d:return p;default:var g=p&&p.$$typeof;switch(g){case s:case f:case h:case m:case l:return g;default:return t}}case r:return t}}}var T=u,S=s,w=l,N=n,R=f,O=a,x=h,k=m,A=r,C=i,I=o,_=d,L=!1;function P(e){return E(e)===u}t.AsyncMode=c,t.ConcurrentMode=T,t.ContextConsumer=S,t.ContextProvider=w,t.Element=N,t.ForwardRef=R,t.Fragment=O,t.Lazy=x,t.Memo=k,t.Portal=A,t.Profiler=C,t.StrictMode=I,t.Suspense=_,t.isAsyncMode=function(e){return L||(L=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),P(e)||E(e)===c},t.isConcurrentMode=P,t.isContextConsumer=function(e){return E(e)===s},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return E(e)===f},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===h},t.isMemo=function(e){return E(e)===m},t.isPortal=function(e){return E(e)===r},t.isProfiler=function(e){return E(e)===i},t.isStrictMode=function(e){return E(e)===o},t.isSuspense=function(e){return E(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===u||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===l||e.$$typeof===s||e.$$typeof===f||e.$$typeof===y||e.$$typeof===v||e.$$typeof===b||e.$$typeof===g)},t.typeOf=E}()}),rh=n(function(e){e.exports=nh}),ah="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",oh=Function.call.bind(Object.prototype.hasOwnProperty),ih={},lh=oh;function sh(e,t,n,r,a){for(var o in e)if(lh(e,o)){var i;try{if("function"!=typeof e[o]){var l=Error((r||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}i=e[o](t,o,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){i=e}if(!i||i instanceof Error||Zm((r||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof i+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),i instanceof Error&&!(i.message in ih)){ih[i.message]=!0;var s=a?a():"";Zm("Failed "+n+" type: "+i.message+(null!=s?s:""))}}}Zm=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},sh.resetWarningCache=function(){ih={}};var ch,uh=sh;function fh(){return null}ch=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}};var dh=n(function(e){e.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,r="<>",a={array:c("array"),bigint:c("bigint"),bool:c("boolean"),func:c("function"),number:c("number"),object:c("object"),string:c("string"),symbol:c("symbol"),any:s(fh),arrayOf:function(e){return s(function(t,n,r,a,o){if("function"!=typeof e)return new i("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var l=t[n];if(!Array.isArray(l))return new i("Invalid "+a+" `"+o+"` of type `"+d(l)+"` supplied to `"+r+"`, expected an array.");for(var s=0;s1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),fh;function t(t,n,r,a,l){for(var s=t[n],c=0;c0?", expected one of type ["+l.join(", ")+"]":"")+".")})},shape:function(e){return s(function(t,n,r,a,o){var l=t[n],s=d(l);if("object"!==s)return new i("Invalid "+a+" `"+o+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var f=e[c];if("function"!=typeof f)return u(r,a,o,c,p(f));var m=f(l,c,r,a,o+"."+c,ah);if(m)return m}return null})},exact:function(e){return s(function(t,n,r,a,o){var s=t[n],c=d(s);if("object"!==c)return new i("Invalid "+a+" `"+o+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");var f=l({},t[n],e);for(var m in f){var h=e[m];if(oh(e,m)&&"function"!=typeof h)return u(r,a,o,m,p(h));if(!h)return new i("Invalid "+a+" `"+o+"` key `"+m+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var g=h(s,m,r,a,o+"."+m,ah);if(g)return g}return null})}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function i(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function s(e){function t(t,n,a,o,l,s,c){if(o=o||r,s=s||a,c!==ah){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}return null==n[a]?t?new i(null===n[a]?"The "+l+" `"+s+"` is marked as required in `"+o+"`, but its value is `null`.":"The "+l+" `"+s+"` is marked as required in `"+o+"`, but its value is `undefined`."):null:e(n,a,o,l,s)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function c(e){return s(function(t,n,r,a,o,l){var s=t[n];return d(s)!==e?new i("Invalid "+a+" `"+o+"` of type `"+p(s)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function u(e,t,n,r,a){return new i((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+a+"`.")}function f(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(f);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var a,o=r.call(t);if(r!==t.entries){for(;!(a=o.next()).done;)if(!f(a.value))return!1}else for(;!(a=o.next()).done;){var i=a.value;if(i&&!f(i[1]))return!1}return!0;default:return!1}}function d(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function p(e){if(null==e)return""+e;var t=d(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function m(e){var t=p(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return i.prototype=Error.prototype,a.checkPropTypes=uh,a.resetWarningCache=uh.resetWarningCache,a.PropTypes=a,a}(rh.isElement)});function ph(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function mh(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function vh(e){return function(e){if(Array.isArray(e))return bh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return bh(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bh(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||!Array.isArray(t)&&t?gh({},e,t):{}}var Oh=["forwardedRef"];function xh(e){var t=e.forwardedRef,n=yh(e,Oh),r=n.mask,a=n.symbol,o=n.className,i=n.title,l=n.titleId,s=n.maskId,c=Nh(n.icon),u=Rh("classes",[].concat(vh(function(e){var t,n=e.flip,r=e.size,a=e.rotation,o=e.pull,i=(gh(t={"fa-beat":e.beat,"fa-fade":e.fade,"fa-beat-fade":e.beatFade,"fa-bounce":e.bounce,"fa-shake":e.shake,"fa-flash":e.flash,"fa-spin":e.spin,"fa-spin-reverse":e.spinReverse,"fa-spin-pulse":e.spinPulse,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-inverse":e.inverse,"fa-border":e.border,"fa-li":e.listItem,"fa-flip-horizontal":"horizontal"===n||"both"===n,"fa-flip-vertical":"vertical"===n||"both"===n},"fa-".concat(r),null!=r),gh(t,"fa-rotate-".concat(a),null!=a&&0!==a),gh(t,"fa-pull-".concat(o),null!=o),gh(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(i).map(function(e){return i[e]?e:null}).filter(function(e){return e})}(n)),vh(o.split(" ")))),f=Rh("transform","string"==typeof n.transform?eh.transform(n.transform):n.transform),d=Rh("mask",Nh(r)),p=th(c,mh(mh(mh(mh({},u),f),d),{},{symbol:a,title:i,titleId:l,maskId:s}));if(!p)return function(){var e;!wh&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var m=p.abstract,h={ref:t};return Object.keys(n).forEach(function(e){xh.defaultProps.hasOwnProperty(e)||(h[e]=n[e])}),kh(m[0],h)}xh.displayName="FontAwesomeIcon",xh.propTypes={beat:dh.bool,border:dh.bool,bounce:dh.bool,className:dh.string,fade:dh.bool,flash:dh.bool,mask:dh.oneOfType([dh.object,dh.array,dh.string]),maskId:dh.string,fixedWidth:dh.bool,inverse:dh.bool,flip:dh.oneOf(["horizontal","vertical","both"]),icon:dh.oneOfType([dh.object,dh.array,dh.string]),listItem:dh.bool,pull:dh.oneOf(["right","left"]),pulse:dh.bool,rotation:dh.oneOf([0,90,180,270]),shake:dh.bool,size:dh.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:dh.bool,spinPulse:dh.bool,spinReverse:dh.bool,symbol:dh.oneOfType([dh.bool,dh.string]),title:dh.string,titleId:dh.string,transform:dh.oneOfType([dh.string,dh.object]),swapOpacity:dh.bool},xh.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var kh=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var a=(n.children||[]).map(function(n){return e(t,n)}),o=Object.keys(n.attributes||{}).reduce(function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=Sh(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Eh(t)]=r}return e},{attrs:{}}),i=r.style,l=void 0===i?{}:i,s=yh(r,Th);return o.attrs.style=mh(mh({},o.attrs.style),l),t.apply(void 0,[n.tag,mh(mh({},o.attrs),s)].concat(vh(a)))}.bind(null,c.createElement),Ah={prefix:"fas",iconName:"align-left",icon:[448,512,[],"f036","M256 96H32C14.33 96 0 81.67 0 64C0 46.33 14.33 32 32 32H256C273.7 32 288 46.33 288 64C288 81.67 273.7 96 256 96zM256 352H32C14.33 352 0 337.7 0 320C0 302.3 14.33 288 32 288H256C273.7 288 288 302.3 288 320C288 337.7 273.7 352 256 352zM0 192C0 174.3 14.33 160 32 160H416C433.7 160 448 174.3 448 192C448 209.7 433.7 224 416 224H32C14.33 224 0 209.7 0 192zM416 480H32C14.33 480 0 465.7 0 448C0 430.3 14.33 416 32 416H416C433.7 416 448 430.3 448 448C448 465.7 433.7 480 416 480z"]},Ch={prefix:"fas",iconName:"angle-down",icon:[384,512,[8964],"f107","M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"]},Ih={prefix:"fas",iconName:"bug",icon:[512,512,[],"f188","M352 96V99.56C352 115.3 339.3 128 323.6 128H188.4C172.7 128 159.1 115.3 159.1 99.56V96C159.1 42.98 202.1 0 255.1 0C309 0 352 42.98 352 96zM41.37 105.4C53.87 92.88 74.13 92.88 86.63 105.4L150.6 169.4C151.3 170 151.9 170.7 152.5 171.4C166.8 164.1 182.9 160 199.1 160H312C329.1 160 345.2 164.1 359.5 171.4C360.1 170.7 360.7 170 361.4 169.4L425.4 105.4C437.9 92.88 458.1 92.88 470.6 105.4C483.1 117.9 483.1 138.1 470.6 150.6L406.6 214.6C405.1 215.3 405.3 215.9 404.6 216.5C410.7 228.5 414.6 241.9 415.7 256H480C497.7 256 512 270.3 512 288C512 305.7 497.7 320 480 320H416C416 344.6 410.5 367.8 400.6 388.6C402.7 389.9 404.8 391.5 406.6 393.4L470.6 457.4C483.1 469.9 483.1 490.1 470.6 502.6C458.1 515.1 437.9 515.1 425.4 502.6L362.3 439.6C337.8 461.4 306.5 475.8 272 479.2V240C272 231.2 264.8 224 255.1 224C247.2 224 239.1 231.2 239.1 240V479.2C205.5 475.8 174.2 461.4 149.7 439.6L86.63 502.6C74.13 515.1 53.87 515.1 41.37 502.6C28.88 490.1 28.88 469.9 41.37 457.4L105.4 393.4C107.2 391.5 109.3 389.9 111.4 388.6C101.5 367.8 96 344.6 96 320H32C14.33 320 0 305.7 0 288C0 270.3 14.33 256 32 256H96.3C97.38 241.9 101.3 228.5 107.4 216.5C106.7 215.9 106 215.3 105.4 214.6L41.37 150.6C28.88 138.1 28.88 117.9 41.37 105.4H41.37z"]},_h={prefix:"fas",iconName:"circle-half-stroke",icon:[512,512,[9680,"adjust"],"f042","M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 64V448C362 448 448 362 448 256C448 149.1 362 64 256 64z"]},Lh={prefix:"fas",iconName:"expand",icon:[448,512,[],"f065","M128 32H32C14.31 32 0 46.31 0 64v96c0 17.69 14.31 32 32 32s32-14.31 32-32V96h64c17.69 0 32-14.31 32-32S145.7 32 128 32zM416 32h-96c-17.69 0-32 14.31-32 32s14.31 32 32 32h64v64c0 17.69 14.31 32 32 32s32-14.31 32-32V64C448 46.31 433.7 32 416 32zM128 416H64v-64c0-17.69-14.31-32-32-32s-32 14.31-32 32v96c0 17.69 14.31 32 32 32h96c17.69 0 32-14.31 32-32S145.7 416 128 416zM416 320c-17.69 0-32 14.31-32 32v64h-64c-17.69 0-32 14.31-32 32s14.31 32 32 32h96c17.69 0 32-14.31 32-32v-96C448 334.3 433.7 320 416 320z"]},Ph={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6C499.2 175.2 496.4 184.9 489.6 191.2L446.3 230.6C447.4 238.9 448 247.4 448 256C448 264.6 447.4 273.1 446.3 281.4L489.6 320.8C496.4 327.1 499.2 336.8 495.9 345.4C491.5 357.3 486.2 368.8 480.2 379.7L475.5 387.8C468.9 398.8 461.5 409.2 453.4 419.1C447.4 426.2 437.7 428.7 428.9 425.9L373.2 408.1C359.8 418.4 344.1 427 329.2 433.6L316.7 490.7C314.7 499.7 307.7 506.1 298.5 508.5C284.7 510.8 270.5 512 255.1 512C241.5 512 227.3 510.8 213.5 508.5C204.3 506.1 197.3 499.7 195.3 490.7L182.8 433.6C167 427 152.2 418.4 138.8 408.1L83.14 425.9C74.3 428.7 64.55 426.2 58.63 419.1C50.52 409.2 43.12 398.8 36.52 387.8L31.84 379.7C25.77 368.8 20.49 357.3 16.06 345.4C12.82 336.8 15.55 327.1 22.41 320.8L65.67 281.4C64.57 273.1 64 264.6 64 256C64 247.4 64.57 238.9 65.67 230.6L22.41 191.2C15.55 184.9 12.82 175.3 16.06 166.6C20.49 154.7 25.78 143.2 31.84 132.3L36.51 124.2C43.12 113.2 50.52 102.8 58.63 92.95C64.55 85.8 74.3 83.32 83.14 86.14L138.8 103.9C152.2 93.56 167 84.96 182.8 78.43L195.3 21.33C197.3 12.25 204.3 5.04 213.5 3.51C227.3 1.201 241.5 0 256 0C270.5 0 284.7 1.201 298.5 3.51C307.7 5.04 314.7 12.25 316.7 21.33L329.2 78.43C344.1 84.96 359.8 93.56 373.2 103.9L428.9 86.14C437.7 83.32 447.4 85.8 453.4 92.95C461.5 102.8 468.9 113.2 475.5 124.2L480.2 132.3C486.2 143.2 491.5 154.7 495.9 166.6V166.6zM256 336C300.2 336 336 300.2 336 255.1C336 211.8 300.2 175.1 256 175.1C211.8 175.1 176 211.8 176 255.1C176 300.2 211.8 336 256 336z"]},Mh={prefix:"fas",iconName:"moon",icon:[512,512,[127769,9214],"f186","M32 256c0-123.8 100.3-224 223.8-224c11.36 0 29.7 1.668 40.9 3.746c9.616 1.777 11.75 14.63 3.279 19.44C245 86.5 211.2 144.6 211.2 207.8c0 109.7 99.71 193 208.3 172.3c9.561-1.805 16.28 9.324 10.11 16.95C387.9 448.6 324.8 480 255.8 480C132.1 480 32 379.6 32 256z"]},Dh={prefix:"fas",iconName:"share",icon:[512,512,["arrow-turn-right","mail-forward"],"f064","M503.7 226.2l-176 151.1c-15.38 13.3-39.69 2.545-39.69-18.16V272.1C132.9 274.3 66.06 312.8 111.4 457.8c5.031 16.09-14.41 28.56-28.06 18.62C39.59 444.6 0 383.8 0 322.3c0-152.2 127.4-184.4 288-186.3V56.02c0-20.67 24.28-31.46 39.69-18.16l176 151.1C514.8 199.4 514.8 216.6 503.7 226.2z"]},Uh={prefix:"fas",iconName:"shield-halved",icon:[512,512,["shield-alt"],"f3ed","M256-.0078C260.7-.0081 265.2 1.008 269.4 2.913L457.7 82.79C479.7 92.12 496.2 113.8 496 139.1C495.5 239.2 454.7 420.7 282.4 503.2C265.7 511.1 246.3 511.1 229.6 503.2C57.25 420.7 16.49 239.2 15.1 139.1C15.87 113.8 32.32 92.12 54.3 82.79L242.7 2.913C246.8 1.008 251.4-.0081 256-.0078V-.0078zM256 444.8C393.1 378 431.1 230.1 432 141.4L256 66.77L256 444.8z"]},jh={prefix:"fas",iconName:"sun",icon:[512,512,[9728],"f185","M256 159.1c-53.02 0-95.1 42.98-95.1 95.1S202.1 351.1 256 351.1s95.1-42.98 95.1-95.1S309 159.1 256 159.1zM509.3 347L446.1 255.1l63.15-91.01c6.332-9.125 1.104-21.74-9.826-23.72l-109-19.7l-19.7-109c-1.975-10.93-14.59-16.16-23.72-9.824L256 65.89L164.1 2.736c-9.125-6.332-21.74-1.107-23.72 9.824L121.6 121.6L12.56 141.3C1.633 143.2-3.596 155.9 2.736 164.1L65.89 256l-63.15 91.01c-6.332 9.125-1.105 21.74 9.824 23.72l109 19.7l19.7 109c1.975 10.93 14.59 16.16 23.72 9.824L256 446.1l91.01 63.15c9.127 6.334 21.75 1.107 23.72-9.822l19.7-109l109-19.7C510.4 368.8 515.6 356.1 509.3 347zM256 383.1c-70.69 0-127.1-57.31-127.1-127.1c0-70.69 57.31-127.1 127.1-127.1s127.1 57.3 127.1 127.1C383.1 326.7 326.7 383.1 256 383.1z"]},Fh={prefix:"fas",iconName:"up-right-from-square",icon:[512,512,["external-link-alt"],"f35d","M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"]};function zh(e){var t=e.url,n=e.openText;return c.createElement("div",null,c.createElement("p",{className:"text-sm mb-1"},e.helpText),c.createElement("div",{className:"flex gap-3"},c.createElement("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"underline ~text-violet-500 hover:~text-violet-600"},c.createElement(xh,{icon:Fh,className:"opacity-50 text-xs mr-1"}),n),c.createElement(ei,{alwaysVisible:!0,direction:"left",value:t})))}function Bh(e){var t=[];return e.includes("stackTrace")&&t.push("stackTraceTab"),e.includes("context")&&t.push("requestTab","appTab","userTab","contextTab"),e.includes("debug")&&t.push("debugTab"),t}function Hh(e,t){return t.includes("stackTrace")||(e.stacktrace=e.stacktrace.slice(0,1)),t.includes("debug")||(e.glows=[],e.context.dumps=[],e.context.queries=[],e.context.logs=[]),t.includes("context")||(e.context.request_data={queryString:{},body:{},files:[]},e.context.headers={},e.context.cookies={},e.context.session={},e.context.route=null,e.context.laravel_context=null,e.context.user=null,delete e.context.git,delete e.context.livewire,e.context.view=null),e}function Vh(t){var n=t.isOpen,r=c.useContext(Td),a=c.useState(null),o=a[0],i=a[1],l=c.useState(null),s=l[0],u=l[1],f=c.useState(!1),d=f[0],p=f[1],m=c.useState([{name:"stackTrace",label:"Stack",selected:!0},{name:"context",label:"Context",selected:!0},{name:"debug",label:"Debug",selected:!0}]),h=m[0],g=m[1];return c.createElement("div",{className:"block absolute mt-2 top-10 right-1/2 transform translate-x-8 transition-all duration-150 origin-top-right\n "+(n?"":"opacity-0 pointer-events-none scale-90")},c.createElement("div",{className:"flex px-4 justify-end"},c.createElement("div",{className:"w-0 h-0 border-[10px] border-t-0 border-transparent ~border-b-dropdown"})),c.createElement("div",{className:"flex flex-col gap-6 ~bg-dropdown px-10 py-8 shadow-2xl"},c.createElement("div",{className:"flex items-center justify-between gap-6"},c.createElement("h4",{className:"whitespace-nowrap font-semibold"},"Share with Flare"),c.createElement("a",{className:"text-xs ~text-gray-500 hover:text-violet-500 flex items-center underline transition-colors",href:"https://flareapp.io/docs/ignition/introducing-ignition/sharing-errors?utm_campaign=ignition&utm_source=ignition",target:"_blank",rel:"noopener noreferrer"},"Docs",c.createElement(vd,null))),!o&&c.createElement(c.Fragment,null,c.createElement("ul",{className:"grid justify-start gap-3"},h.map(function(t){var n=t.name;return c.createElement("li",{key:n},c.createElement(Ed,{onChange:function(){return t=n,void(h.find(function(e){return e.name===t})&&g(h.map(function(n){return n.name===t?e({},n,{selected:!n.selected}):n})));var t},checked:t.selected,label:t.label}))})),c.createElement("div",{className:"flex items-center gap-4"},c.createElement(Jc,{disabled:d||!h.some(function(e){return e.selected}),className:"bg-violet-500 border-violet-500/25 CopyButton text-white",onClick:function(){try{var e=function(){p(!1)};if(!r.config.shareEndpoint)return Promise.resolve();u(null),p(!0);var t=h.filter(function(e){return e.selected}).map(function(e){return e.name}),n=function(e,n){try{var a=Promise.resolve(function(e,t){var n={tabs:Bh(t),lineSelection:window.location.hash,report:Hh(e.shareableReport,t)};return new Promise(function(t,r){try{var a=function(){r()},o=function(r,a){try{var o=Promise.resolve(fetch(e.config.shareEndpoint,{method:"POST",body:JSON.stringify(n),headers:{"Content-Type":"application/json",Accept:"application/json"}})).then(function(e){return Promise.resolve(e.json()).then(function(e){e&&e.owner_url&&e.public_url&&t(e)})})}catch(e){return a(e)}return o&&o.then?o.then(void 0,a):o}(0,function(e){r(e)});return Promise.resolve(o&&o.then?o.then(a):a())}catch(e){return Promise.reject(e)}})}(r,t)).then(function(e){window.open(e.owner_url,"_blank","noopener,noreferrer"),i(e.public_url)})}catch(e){return n(e)}return a&&a.then?a.then(void 0,n):a}(0,function(e){console.error(e),u("Something went wrong while sharing, please try again.")});return Promise.resolve(n&&n.then?n.then(e):e())}catch(e){return Promise.reject(e)}}},c.createElement(xh,{icon:Fh,className:"opacity-50 text-xs mr-1"}),"Create Share"))),o&&c.createElement("div",{className:"grid grid-cols-1 gap-4"},c.createElement(zh,{url:o,helpText:"Share your error with others",openText:"Visit public share"})),s&&c.createElement("p",{className:"text-red-500"},s)))}function Wh(t){var n,r=t.isOpen,a=c.useContext(Td),o=c.useContext(Te),i=o.ignitionConfig,l=o.setIgnitionConfig,s=c.useState(i.editor||""),u=s[0],f=s[1],d=c.useState(null),p=d[0],m=d[1],h=c.useState(!1),g=h[0],y=h[1],v=c.useState(!1),b=v[0],E=v[1],T=c.useState([{value:"light",icon:c.createElement(xh,{icon:jh,className:"group-hover:text-amber-400"}),selected:"light"===i.theme},{value:"dark",icon:c.createElement(xh,{icon:Mh,className:"group-hover:text-amber-300"}),selected:"dark"===i.theme},{value:"auto",icon:c.createElement(xh,{icon:_h,className:"group-hover:text-indigo-500"}),selected:"auto"===i.theme}]),S=T[0],w=T[1];return c.createElement("div",{className:"\n absolute mt-2 top-10 right-1/2 translate-x-6 transition-all duration-150 origin-top-right\n "+(r?"":"opacity-0 pointer-events-none scale-90")+"\n "},c.createElement("div",{className:"flex px-4 justify-end"},c.createElement("div",{className:"w-0 h-0 border-[10px] border-t-0 border-transparent ~border-b-dropdown"})),c.createElement("div",{className:"flex flex-col gap-6 ~bg-dropdown px-10 py-8 shadow-2xl"},c.createElement("div",{className:"flex items-center justify-between gap-6"},c.createElement("h4",{className:"whitespace-nowrap font-semibold"},"Ignition Settings"),c.createElement("a",{className:"text-xs ~text-gray-500 hover:text-red-500 flex items-center underline transition-colors",href:"https://flareapp.io/ignition?utm_campaign=ignition&utm_source=ignition",target:"_blank",rel:"noopener noreferrer"},"Docs",c.createElement(bd,null))),c.createElement("label",{htmlFor:"editor-select"},c.createElement("span",{className:"uppercase tracking-wider ~text-gray-500 text-xs font-bold"},"Editor"),c.createElement("div",{className:"group mt-2"},c.createElement("select",{id:"editor-select",className:"block appearance-none w-full ~bg-gray-500/5 h-12 px-4 pr-8 rounded-none leading-tight",value:u,onChange:function(t){return function(t){f(t),l(e({},i,{editor:t}))}(t.target.value)}},Object.entries((null==i?void 0:i.editorOptions)||[]).map(function(e){var t=e[0];return c.createElement("option",{className:"text-gray-800",key:t,value:t},e[1].label)})),c.createElement("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-4"},c.createElement(xh,{icon:Ch,className:"group-hover:text-indigo-500 text-sm"})))),c.createElement("div",null,c.createElement("span",{className:"uppercase tracking-wider ~text-gray-500 text-xs font-bold"},"Theme"),c.createElement("button",{className:"mt-2 w-full ~bg-gray-500/5 rounded-none leading-tight",onClick:function(){var t=S.findIndex(function(e){return e.selected}),n=-1===t||t===S.length-1?0:t+1;m(S[t].value),w([].concat(S.map(function(e,t){return e.selected=t===n,e}))),l(e({},i,{theme:S[n].value}))}},c.createElement("div",{className:"group flex items-center",style:{WebkitMaskImage:"linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%)"}},c.createElement("div",{className:"px-4"},S.map(function(e){var t=e.value,n=e.selected;return c.createElement("div",{key:t,className:"\n h-12 flex items-center origin-bottom\n "+(n?"transition-transform duration-1000":"")+"\n "+(t===p?"transition-transform duration-1000 absolute top-0 left-4 rotate-180":"")+"\n "+(n||t===p?"":"absolute top-0 left-4 -rotate-180")+"\n "},c.createElement("span",{className:"text-sm ~text-gray-500 transition-colors duration-500"},e.icon))})),c.createElement("div",{id:"theme-name",className:"-ml-1 first-letter:uppercase"},null==(n=S.find(function(e){return e.selected}))?void 0:n.value)))),c.createElement("div",{className:"flex items-center gap-4"},c.createElement(Jc,{onClick:function(){try{return g?Promise.resolve():Promise.resolve(function(e,t){try{var n=function(e,t){try{var n=function(){var e;if(E(!1),y(!0),a.updateConfigEndpoint)return Promise.resolve(fetch(a.updateConfigEndpoint,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({editor:u,theme:null==(e=S.find(function(e){return e.selected}))?void 0:e.value,hide_solutions:!1})})).then(function(e){E(e.status>=200&&e.status<300),setTimeout(function(){E(!1)},3e3)})}()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}(0,function(e){console.error(e),E(!1)})}catch(e){return t(!0,e)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,n)}(0,function(e,t){if(y(!1),e)throw t;return t}))}catch(e){return Promise.reject(e)}},disabled:g,className:"bg-red-500 border-red-500/25 text-white"},"Save settings"),b&&c.createElement("p",{className:"text-emerald-500 text-sm"},"Saved!")),c.createElement("p",{className:"text-xs"},"Settings will be saved locally in ",c.createElement(yd,null,"~/.ignition.json"),".")))}var Gh={prefix:"fab",iconName:"laravel",icon:[512,512,[],"f3bd","M504.4 115.8a5.72 5.72 0 0 0 -.28-.68 8.52 8.52 0 0 0 -.53-1.25 6 6 0 0 0 -.54-.71 9.36 9.36 0 0 0 -.72-.94c-.23-.22-.52-.4-.77-.6a8.84 8.84 0 0 0 -.9-.68L404.4 55.55a8 8 0 0 0 -8 0L300.1 111h0a8.07 8.07 0 0 0 -.88 .69 7.68 7.68 0 0 0 -.78 .6 8.23 8.23 0 0 0 -.72 .93c-.17 .24-.39 .45-.54 .71a9.7 9.7 0 0 0 -.52 1.25c-.08 .23-.21 .44-.28 .68a8.08 8.08 0 0 0 -.28 2.08V223.2l-80.22 46.19V63.44a7.8 7.8 0 0 0 -.28-2.09c-.06-.24-.2-.45-.28-.68a8.35 8.35 0 0 0 -.52-1.24c-.14-.26-.37-.47-.54-.72a9.36 9.36 0 0 0 -.72-.94 9.46 9.46 0 0 0 -.78-.6 9.8 9.8 0 0 0 -.88-.68h0L115.6 1.07a8 8 0 0 0 -8 0L11.34 56.49h0a6.52 6.52 0 0 0 -.88 .69 7.81 7.81 0 0 0 -.79 .6 8.15 8.15 0 0 0 -.71 .93c-.18 .25-.4 .46-.55 .72a7.88 7.88 0 0 0 -.51 1.24 6.46 6.46 0 0 0 -.29 .67 8.18 8.18 0 0 0 -.28 2.1v329.7a8 8 0 0 0 4 6.95l192.5 110.8a8.83 8.83 0 0 0 1.33 .54c.21 .08 .41 .2 .63 .26a7.92 7.92 0 0 0 4.1 0c.2-.05 .37-.16 .55-.22a8.6 8.6 0 0 0 1.4-.58L404.4 400.1a8 8 0 0 0 4-6.95V287.9l92.24-53.11a8 8 0 0 0 4-7V117.9A8.63 8.63 0 0 0 504.4 115.8zM111.6 17.28h0l80.19 46.15-80.2 46.18L31.41 63.44zm88.25 60V278.6l-46.53 26.79-33.69 19.4V123.5l46.53-26.79zm0 412.8L23.37 388.5V77.32L57.06 96.7l46.52 26.8V338.7a6.94 6.94 0 0 0 .12 .9 8 8 0 0 0 .16 1.18h0a5.92 5.92 0 0 0 .38 .9 6.38 6.38 0 0 0 .42 1v0a8.54 8.54 0 0 0 .6 .78 7.62 7.62 0 0 0 .66 .84l0 0c.23 .22 .52 .38 .77 .58a8.93 8.93 0 0 0 .86 .66l0 0 0 0 92.19 52.18zm8-106.2-80.06-45.32 84.09-48.41 92.26-53.11 80.13 46.13-58.8 33.56zm184.5 4.57L215.9 490.1V397.8L346.6 323.2l45.77-26.15zm0-119.1L358.7 250l-46.53-26.79V131.8l33.69 19.4L392.4 178zm8-105.3-80.2-46.17 80.2-46.16 80.18 46.15zm8 105.3V178L455 151.2l33.68-19.4v91.39h0z"]},Yh={prefix:"fab",iconName:"php",icon:[640,512,[],"f457","M320 104.5c171.4 0 303.2 72.2 303.2 151.5S491.3 407.5 320 407.5c-171.4 0-303.2-72.2-303.2-151.5S148.7 104.5 320 104.5m0-16.8C143.3 87.7 0 163 0 256s143.3 168.3 320 168.3S640 349 640 256 496.7 87.7 320 87.7zM218.2 242.5c-7.9 40.5-35.8 36.3-70.1 36.3l13.7-70.6c38 0 63.8-4.1 56.4 34.3zM97.4 350.3h36.7l8.7-44.8c41.1 0 66.6 3 90.2-19.1 26.1-24 32.9-66.7 14.3-88.1-9.7-11.2-25.3-16.7-46.5-16.7h-70.7L97.4 350.3zm185.7-213.6h36.5l-8.7 44.8c31.5 0 60.7-2.3 74.8 10.7 14.8 13.6 7.7 31-8.3 113.1h-37c15.4-79.4 18.3-86 12.7-92-5.4-5.8-17.7-4.6-47.4-4.6l-18.8 96.6h-36.5l32.7-168.6zM505 242.5c-8 41.1-36.7 36.3-70.1 36.3l13.7-70.6c38.2 0 63.8-4.1 56.4 34.3zM384.2 350.3H421l8.7-44.8c43.2 0 67.1 2.5 90.2-19.1 26.1-24 32.9-66.7 14.3-88.1-9.7-11.2-25.3-16.7-46.5-16.7H417l-32.8 168.7z"]},$h="object"==typeof t&&t&&t.Object===Object&&t,Xh="object"==typeof self&&self&&self.Object===Object&&self,qh=$h||Xh||Function("return this")(),Kh=qh.Symbol,Jh=Object.prototype,Qh=Jh.hasOwnProperty,Zh=Jh.toString,eg=Kh?Kh.toStringTag:void 0,tg=Object.prototype.toString,ng=Kh?Kh.toStringTag:void 0,rg=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ng&&ng in Object(e)?function(e){var t=Qh.call(e,eg),n=e[eg];try{e[eg]=void 0;var r=!0}catch(e){}var a=Zh.call(e);return r&&(t?e[eg]=n:delete e[eg]),a}(e):function(e){return tg.call(e)}(e)},ag=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},og=function(e){if(!ag(e))return!1;var t=rg(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},ig=qh["__core-js_shared__"],lg=function(){var e=/[^.]+$/.exec(ig&&ig.keys&&ig.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),sg=Function.prototype.toString,cg=function(e){if(null!=e){try{return sg.call(e)}catch(e){}try{return e+""}catch(e){}}return""},ug=/^\[object .+?Constructor\]$/,fg=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),dg=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!ag(e)||function(e){return!!lg&&lg in e}(e))&&(og(e)?fg:ug).test(cg(e))}(n)?n:void 0},pg=function(){try{var e=dg(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),mg=function(e,t,n){"__proto__"==t&&pg?pg(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},hg=function(e){return null!=e&&"object"==typeof e},gg=function(e){return hg(e)&&"[object Arguments]"==rg(e)},yg=Object.prototype,vg=yg.hasOwnProperty,bg=yg.propertyIsEnumerable,Eg=gg(function(){return arguments}())?gg:function(e){return hg(e)&&vg.call(e,"callee")&&!bg.call(e,"callee")},Tg=Array.isArray,Sg=function(){return!1},wg=n(function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,a=r&&r.exports===n?qh.Buffer:void 0;e.exports=(a?a.isBuffer:void 0)||Sg}),Ng=/^(?:0|[1-9]\d*)$/,Rg=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Ng.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},xg={};xg["[object Float32Array]"]=xg["[object Float64Array]"]=xg["[object Int8Array]"]=xg["[object Int16Array]"]=xg["[object Int32Array]"]=xg["[object Uint8Array]"]=xg["[object Uint8ClampedArray]"]=xg["[object Uint16Array]"]=xg["[object Uint32Array]"]=!0,xg["[object Arguments]"]=xg["[object Array]"]=xg["[object ArrayBuffer]"]=xg["[object Boolean]"]=xg["[object DataView]"]=xg["[object Date]"]=xg["[object Error]"]=xg["[object Function]"]=xg["[object Map]"]=xg["[object Number]"]=xg["[object Object]"]=xg["[object RegExp]"]=xg["[object Set]"]=xg["[object String]"]=xg["[object WeakMap]"]=!1;var kg=n(function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,a=r&&r.exports===n&&$h.process,o=function(){try{return r&&r.require&&r.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=o}),Ag=kg&&kg.isTypedArray,Cg=Ag?function(e){return function(t){return e(t)}}(Ag):function(e){return hg(e)&&Og(e.length)&&!!xg[rg(e)]},Ig=Object.prototype.hasOwnProperty,_g=Object.prototype,Lg=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),Pg=Object.prototype.hasOwnProperty,Mg=function(e){return null!=e&&Og(e.length)&&!og(e)},Dg=function(e){return Mg(e)?function(e,t){var n=Tg(e),r=!n&&Eg(e),a=!n&&!r&&wg(e),o=!n&&!r&&!a&&Cg(e),i=n||r||a||o,l=i?function(e,t){for(var n=-1,r=Array(e);++n-1},Bg.prototype.set=function(e,t){var n=this.__data__,r=Fg(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var Hg=Bg,Vg=dg(qh,"Map"),Wg=dg(Object,"create"),Gg=Object.prototype.hasOwnProperty,Yg=Object.prototype.hasOwnProperty;function $g(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tl))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var f=-1,d=!0,p=2&n?new ty:void 0;for(o.set(e,t),o.set(t,e);++f=10}(),d=c.useContext(Te).ignitionConfig,p=c.useRef(null),m=c.useRef(null);nv(p,function(){return i(!1)}),nv(m,function(){return u(!1)});var h=Jy(tv(r.context_items.env||[],"name"),"value"),g="local"!==h.app_env&&h.app_debug,y=function(e){var t;if(null!=(t=e.context_items.env)&&t.laravel_version){var n=e.documentation_links.find(function(e){return e.startsWith("https://laravel.com/")});return n?{type:"laravel",url:n,tailored:!0}:{type:"laravel",url:"https://laravel.com/docs/",tailored:!1}}var r=e.documentation_links.find(function(e){return e.startsWith("https://php.net/")});return r?{type:"php",url:r,tailored:!0}:{type:"generic",url:"https://php.net/docs",tailored:!1}}(r);return c.createElement("nav",{className:"z-50 fixed top-0 h-20 w-full"},c.createElement("div",null,c.createElement("div",{className:"\n "+(f?"~bg-gray-100":"~bg-body")+"\n z-10 transform translate-x-0 transition-color duration-100\n "},c.createElement("div",{className:"h-10 flex justify-between px-6 lg:px-10 mx-auto max-w-4xl lg:max-w-[90rem]"},c.createElement("ul",{className:"-ml-3 sm:-ml-5 grid grid-flow-col justify-start items-center"},c.createElement(ve,{name:"stack",icon:c.createElement(xh,{icon:Ah})}),c.createElement(ve,{name:"context",icon:c.createElement(xh,{icon:Lh})}),Jo(r)&&c.createElement(ve,{name:"debug",icon:c.createElement(xh,{icon:Ih}),important:!(null==(t=r.context_items.dumps)||!t.length)}),c.createElement(ve,{name:"flare",href:"https://flareapp.io/?utm_campaign=ignition&utm_source=ignition",icon:c.createElement("svg",{viewBox:"0 0 36 56",fill:"currentColor",className:"h-[.9rem] -top-[.1rem] inline-block"},c.createElement("path",{d:"M 11.995 55.987 L 0 48.993 L 0 35 L 11.967 41.994 L 11.995 55.987 Z"}),c.createElement("path",{d:"M 11.967 41.993 L 0 34.999 L 11.995 28 L 23.989 34.999 L 11.967 41.993 Z"}),c.createElement("path",{d:"M 11.995 27.987 L 0 20.987 L 0 7 L 12.062 14.022 L 11.995 27.987 Z"}),c.createElement("path",{d:"M 23.978 20.981 L 0 6.999 L 11.995 0 L 36 13.981 L 23.978 20.981 Z"}))})),c.createElement("ul",{className:"-mr-3 sm:-mr-5 grid grid-flow-col justify-end items-center"},d.enableShareButton&&c.createElement(ve,{navRef:p,name:"share",icon:c.createElement(xh,{icon:Dh}),onClick:function(){i(!o)}},c.createElement(Vh,{isOpen:o})),y&&c.createElement(ve,{name:"docs",href:y.url,icon:c.createElement(xh,{className:"text-sm",icon:"laravel"===y.type?Gh:Yh}),important:y.tailored}),c.createElement(ve,{navRef:m,name:"settings",icon:c.createElement(xh,{className:"text-sm",icon:Ph}),iconOpacity:"opacity-80",label:!1,onClick:function(){u(!s)}},c.createElement(Wh,{isOpen:s}))))),c.createElement("div",{className:"\n "+(f?"shadow-lg":"")+"\n "+(n?"translate-y-10 ~bg-gray-100":"translate-y-0 ~bg-body")+"\n absolute top-0 left-0 w-full\n ~bg-gray-100 border-b ~border-gray-200\n transform\n transition-animation\n duration-300\n "},c.createElement("div",{className:"flex items-center px-6 lg:px-10 mx-auto max-w-4xl lg:max-w-[90rem] h-10 border-t ~border-gray-200"},c.createElement("a",{href:"#top",className:"min-w-0 inline-flex items-center justify-start gap-2"},g&&c.createElement(xh,{title:"You have a security issue",icon:Uh,className:"text-red-500"}),c.createElement("div",{className:"font-semibold min-w-0 truncate hover:text-red-500"},r.exception_message))))))}var av=new Map,ov=new WeakMap,iv=0;function lv(e){var t=void 0===e?{}:e,n=t.threshold,r=t.delay,a=t.trackVisibility,o=t.rootMargin,i=t.root,l=t.triggerOnce,s=t.skip,u=t.initialInView,f=t.fallbackInView,d=c.useRef(),p=c.useState({inView:!!u}),m=p[0],h=p[1],g=c.useCallback(function(e){void 0!==d.current&&(d.current(),d.current=void 0),s||e&&(d.current=function(e,t,n,r){if(void 0===n&&(n={}),void 0===r&&(r=void 0),void 0===window.IntersectionObserver&&void 0!==r){var a=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:a,intersectionRect:a,rootBounds:a}),function(){}}var o=function(e){var t=function(e){return Object.keys(e).sort().filter(function(t){return void 0!==e[t]}).map(function(t){return t+"_"+("root"===t?(n=e.root)?(ov.has(n)||ov.set(n,(iv+=1).toString()),ov.get(n)):"0":e[t]);var n}).toString()}(e),n=av.get(t);if(!n){var r,a=new Map,o=new IntersectionObserver(function(t){t.forEach(function(t){var n,o=t.isIntersecting&&r.some(function(e){return t.intersectionRatio>=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(n=a.get(t.target))||n.forEach(function(e){e(o,t)})})},e);r=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),av.set(t,n={id:t,observer:o,elements:a})}return n}(n),i=o.id,l=o.observer,s=o.elements,c=s.get(e)||[];return s.has(e)||s.set(e,c),c.push(t),l.observe(e),function(){c.splice(c.indexOf(t),1),0===c.length&&(s.delete(e),l.unobserve(e)),0===s.size&&(l.disconnect(),av.delete(i))}}(e,function(e,t){h({inView:e,entry:t}),t.isIntersecting&&l&&d.current&&(d.current(),d.current=void 0)},{root:i,rootMargin:o,threshold:n,trackVisibility:a,delay:r},f))},[Array.isArray(n)?n.toString():n,i,o,l,s,a,f,r]);c.useEffect(function(){d.current||!m.entry||l||s||h({inView:!!u})});var y=[g,m.inView,m.entry];return y.ref=y[0],y.inView=y[1],y.entry=y[2],y}function sv(e){var t,n,r,a,o,i=e.children,l=e.className,s=void 0===l?"":l,u=e.name,f=(t=u,n=c.useContext(ge).setInView,a=(r=lv({rootMargin:"-40% 0px -40%"})).ref,c.useEffect(function(){n(o?function(e){return[].concat(e,[t])}:function(e){return e.filter(function(e){return e!==t})})},[o=r.inView]),a);return c.createElement("section",{ref:f,className:s},c.createElement("a",{id:u,className:"scroll-target"}),i)}function cv(){var e=c.useContext(be),t=Jy(tv(e.context_items.env||[],"name"),"value");return"local"!==t.app_env&&t.app_debug?c.createElement("section",{className:"lg:flex items-stretch ~bg-white shadow-lg"},c.createElement("div",{className:"lg:w-1/3 flex-none flex items-center min-w-0 px-6 sm:px-10 py-8 bg-red-500 text-red-50"},c.createElement("h2",{className:"min-w-0 truncate text-xl font-semibold leading-snug"},c.createElement("code",{className:"mr-0.5"},"APP_DEBUG")," is set to ",c.createElement("code",{className:"mx-0.5"},"true")," while",c.createElement("br",null),c.createElement("code",{className:"mr-0.5"},"APP_ENV")," is not ",c.createElement("code",{className:"mx-0.5"},"local"))),c.createElement("div",{className:"flex-grow px-6 sm:px-10 py-8 bg-red-600 text-red-100"},c.createElement("p",{className:"text-base"},"This could make your application vulnerable to remote execution. ",c.createElement("br",null),c.createElement("a",{className:"mt-1.5 underline inline-flex items-center gap-2",target:"_blank",rel:"noopener noreferrer",href:"https://flareapp.io/docs/ignition-for-laravel/security"},c.createElement(xh,{icon:Uh,className:"text-sm opacity-50"}),"Read more about Ignition security")))):null}function uv(){return c.createElement("footer",{className:"mx-auto mb-20 px-6 lg:px-10 max-w-4xl lg:max-w-[90rem] | flex flex-row justify-between gap-4 ~text-gray-500"},c.createElement("ul",{className:"grid grid-flow-col gap-5 justify-center items-center uppercase text-xs font-medium"},c.createElement("li",null,c.createElement(bd,null)),c.createElement("li",null,"·"),c.createElement("li",null,c.createElement("a",{href:"https://github.com/spatie/laravel-ignition",target:"_blank",rel:"noopener noreferrer",className:"hover:text-red-500"},"Source")),c.createElement("li",null,"·"),c.createElement("li",null,c.createElement("a",{href:"https://flareapp.io/docs/ignition/introducing-ignition/overview",target:"_blank",rel:"noopener noreferrer",className:"hover:text-red-500"},"Docs")),c.createElement("li",null,"·"),c.createElement("li",null,c.createElement("a",{href:"https://laravel.com",target:"_blank",rel:"noopener noreferrer",className:"hover:text-red-500"},"Laravel"))),c.createElement("div",{className:"text-sm flex items-center"},c.createElement("p",null,"Ignition is built by",c.createElement("a",{href:"https://flareapp.io/?utm_campaign=ignition&utm_source=ignition",target:"_blank",rel:"noopener noreferrer",className:"font-medium hover:text-purple-500"},c.createElement(vd,{className:"inline-block -mt-1 ml-1 mr-px"}),"Flare"),", the Laravel error reporting service.")))}function fv(e){var t=e.errorOccurrence,n=e.igniteData,r=lv({rootMargin:"-40px 0px 0px 0px",threshold:.3,initialInView:!0}),a=r.ref;return c.createElement(lu,null,c.createElement(Td.Provider,{value:n},c.createElement(Se,{ignitionConfig:n.config},c.createElement(be.Provider,{value:t},c.createElement(ye,null,c.createElement(rv,{showException:!r.inView}),c.createElement("main",{className:"mx-auto mt-20 mb-10 px-6 lg:px-10 max-w-4xl lg:max-w-[90rem] grid grid-cols-1 gap-10"},c.createElement(cv,null),c.createElement("div",{ref:a},c.createElement(su,null)),c.createElement(sv,{name:"stack",children:c.createElement($c,null)}),c.createElement(sv,{name:"context",children:c.createElement(sd,null)}),Jo(t)&&c.createElement(sv,{name:"debug",children:c.createElement(gd,null)}),c.createElement(sv,{name:"footer",children:c.createElement(uv,null)})))))))}window.ignite=function(t){var n,r,a,o,i,l,s,u,f,d,p,m,h,g,y,v,b,E,T,S,w,N,R,O,x,k,A=(i=(n=t).solutions,s=(l=(o=n.report).context).request,u=l.request_data,f=l.queries,d=l.dumps,p=l.logs,m=l.headers,h=l.cookies,g=l.session,y=l.env,v=l.user,b=l.route,E=l.git,T=l.livewire,S=l.view,w=l.exception,N=l.arguments,R=l.job,O=l.laravel_context,x=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(l,["request","request_data","queries","dumps","logs","headers","cookies","session","env","user","route","git","livewire","view","exception","arguments","job","laravel_context"]),k=Object.entries(x).map(function(e){return{name:e[0],items:e[1]}}),{frames:o.stacktrace.map(function(t){return e({},t,{relative_file:t.file.replace(o.application_path+"/","").replace(o.application_path+"\\",""),class:t.class||""})}),context_items:{request:s,request_data:u,queries:f||null,dumps:d||null,logs:p||null,laravel_context:O||null,headers:m||null,cookies:h||null,session:g||null,env:y||null,user:v||null,route:b||null,git:E||null,livewire:T||null,view:S||null,exception:w||null,arguments:N||null,job:R||null},custom_context_items:k,type:"web",entry_point:null==o||null==(r=o.context)||null==(a=r.request)?void 0:a.url,exception_class:o.exception_class,exception_message:o.message||"",application_path:o.application_path,application_version:o.application_version,language_version:o.language_version,framework_version:o.framework_version,notifier_client_name:"Flare",stage:o.stage,first_frame_class:o.stacktrace[0].class||"",first_frame_method:o.stacktrace[0].method,glows:o.glows,solutions:i,documentation_links:o.documentation_links});console.log(t,A),he.render(c.createElement(fv,{errorOccurrence:A,igniteData:t}),document.querySelector("#app"))}; +return c.createElement(k,j,/*#__PURE__*/c.createElement(C,s,!h&&M,O({rows:B,stylesheet:a,useInlineStyles:f})))});Wl.registerLanguage=Sl.registerLanguage;var Gl=Wl;function Yl({highlight:e,row:t,frame:n,lineNumber:r}){const{url:a,clipboard:o}=Xo({file:n.file,lineNumber:r});return c.createElement("span",{className:`\n flex group leading-loose hover:~bg-red-500/10\n ${e?" ~bg-red-500/20":""}\n `},!o&&c.createElement("span",{className:"z-30 opacity-0 group-hover:opacity-100 sticky left-10 w-0 h-full"},c.createElement("a",{href:a,className:"-ml-3 block"},c.createElement(Zo,null,c.createElement(co,{className:"text-xs",icon:fo})))),o&&c.createElement("span",{className:"z-30 opacity-0 group-hover:opacity-100 sticky w-0 h-full"},c.createElement(ei,{value:a,outside:!0,direction:"right"})),c.createElement("span",{className:"pl-6"},di({node:t,useInlineStyles:!1,key:`code-segement-${r}`})))}function $l({frame:e}){const t=Object.values(e.code_snippet).join("\n"),n=Object.keys(e.code_snippet).map(e=>Number(e)),r=n.indexOf(e.line_number),a=c.useMemo(()=>({rows:t})=>t.map((t,a)=>c.createElement(Yl,{key:n[a],frame:e,highlight:a===r,row:t,lineNumber:n[a]})),[e]);return c.createElement("main",{className:"flex items-stretch flex-grow overflow-x-auto overflow-y-hidden scrollbar-hidden-x mask-fade-r text-sm"},c.createElement("nav",{className:"sticky left-0 flex flex-none z-20"},c.createElement("div",{className:"select-none text-right"},n.map(t=>c.createElement("p",{key:t,className:`\n px-2 font-mono leading-loose select-none\n ${Number(t)===e.line_number?" text-opacity-75 ~text-red-700 ~bg-red-500/30":""}\n `},c.createElement("span",{className:"~text-gray-500"},t))))),c.createElement("div",{className:"flex-grow pr-10"},c.createElement(Gl,{language:(o=e.relative_file,o.endsWith(".blade.php")?"blade":o.match(/^resources\/views\//)?"php-template":"php"),renderer:a,customStyle:{background:"transparent"}},t)));var o}function Xl(e){var t=this.__data__=new ct(e);this.size=t.size}Gl.registerLanguage("php",function(e){const t={className:"variable",begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*(?![A-Za-z0-9])(?![$])"},n={className:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?[=]?/},{begin:/\?>/}]},r={className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},a=e.inherit(e.APOS_STRING_MODE,{illegal:null}),o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(r)}),i=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(r)}),l={className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[e.inherit(a,{begin:"b'",end:"'"}),e.inherit(o,{begin:'b"',end:'"'}),o,a,i]},s={className:"number",variants:[{begin:"\\b0b[01]+(?:_[01]+)*\\b"},{begin:"\\b0o[0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0x[\\da-f]+(?:_[\\da-f]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:e[+-]?\\d+)?"}],relevance:0},c={keyword:"__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ die echo exit include include_once print require require_once array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile enum eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list match|0 mixed new object or private protected public real return string switch throw trait try unset use var void while xor yield",literal:"false null true",built_in:"Error|0 AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException UnhandledMatchError ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Stringable Throwable Traversable WeakReference WeakMap Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass"};return{aliases:["php3","php4","php5","php6","php7","php8"],case_insensitive:!0,keywords:c,contains:[e.HASH_COMMENT_MODE,e.COMMENT("//","$",{contains:[n]}),e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler"}),n,{className:"keyword",begin:/\$this\b/},t,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{className:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:c,contains:["self",t,e.C_BLOCK_COMMENT_MODE,l,s]}]},{className:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",relevance:0,end:";",contains:[e.UNDERSCORE_TITLE_MODE]},l,s]}}),Gl.registerLanguage("php-template",function(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}),Gl.registerLanguage("blade",function(e){return{name:"Blade",case_insensitive:!0,subLanguage:"php-template",contains:[e.COMMENT(/\{\{--/,/--\}\}/),{className:"template-variable",begin:/\{\{/,starts:{end:/\}\}/,returnEnd:!0,subLanguage:"php"}},{className:"template-variable",begin:/\}\}/},{className:"template-variable",begin:/\{\{\{/,starts:{end:/\}\}\}/,returnEnd:!0,subLanguage:"php"}},{className:"template-variable",begin:/\}\}\}/},{className:"template-variable",begin:/\{!!/,starts:{end:/!!\}/,returnEnd:!0,subLanguage:"php"}},{className:"template-variable",begin:/!!\}/},{className:"template-tag",begin:/@php\(/,starts:{end:/\)/,returnEnd:!0,subLanguage:"php"},relevance:15},{className:"template-tag",begin:/@php/,starts:{end:/@endphp/,returnEnd:!0,subLanguage:"php"},relevance:10},{className:"attr",begin:/:[\w-]+="/,starts:{end:/"(?=\s|\n|\/)/,returnEnd:!0,subLanguage:"php"}},{begin:/@\w+/,end:/\W/,excludeEnd:!0,className:"template-tag"}]}}),Gl.registerLanguage("xml",function(e){const t=Rl(/[A-Z_]/,Rl("(",/[A-Z0-9_.-]*:/,")?"),/[A-Z0-9_.-]*/),n={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},r={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(r,{begin:/\(/,end:/\)/}),o=e.inherit(e.APOS_STRING_MODE,{className:"meta-string"}),i=e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),l={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[r,i,o,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[r,a,i,o]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},n,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:Rl(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:t,relevance:0,starts:l}]},{className:"tag",begin:Rl(/<\//,Nl(Rl(t,/>/))),contains:[{className:"name",begin:t,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}),Gl.registerLanguage("css",function(e){const t=(e=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}))(e),n=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[e.C_BLOCK_COMMENT_MODE,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},e.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+Al.join("|")+")"},{begin:"::("+Cl.join("|")+")"}]},{className:"attribute",begin:"\\b("+Il.join("|")+")\\b"},{begin:":",end:"[;}]",contains:[t.HEXCOLOR,t.IMPORTANT,e.CSS_NUMBER_MODE,...n,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},{className:"built_in",begin:/[\w-]+(?=\()/}]},{begin:(r=/@/,function(...e){return e.map(e=>function(e){return e?"string"==typeof e?e:e.source:null}(e)).join("")}("(?=",r,")")),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:kl.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...n,e.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+xl.join("|")+")\\b"}]};var r}),Gl.registerLanguage("javascript",function(e){const t="[A-Za-z$_][0-9A-Za-z$_]*",n={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,r=e.input[n];"<"!==r?">"===r&&(((e,{after:t})=>{const n="",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:m}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:"<>",end:""},{begin:n.begin,"on:begin":n.isTrulyOpeningTag,end:n.end}],subLanguage:"xml",contains:[{begin:n.begin,end:n.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:r,contains:["self",e.inherit(e.TITLE_MODE,{begin:t}),h],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[h,e.inherit(e.TITLE_MODE,{begin:t})]},{variants:[{begin:"\\."+t},{begin:"\\$"+t}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:t}),"self",h]},{begin:"(get|set)\\s+(?="+t+"\\()",end:/\{/,keywords:"get set",contains:[e.inherit(e.TITLE_MODE,{begin:t}),{begin:/\(\)/},h]},{begin:/\$[(.]/}]}}),Gl.registerLanguage("handlebars",function(e){const t={"builtin-name":["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},n=/\[\]|\[[^\]]+\]/,r=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,a=function(...e){return"("+e.map(e=>_l(e)).join("|")+")"}(/""|"[^"]+"/,/''|'[^']+'/,n,r),o=Ll(Ll("(",/\.|\.\/|\//,")?"),a,(d=Ll(/(\.|\/)/,a),Ll("(",d,")*"))),i=Ll("(",n,"|",r,")(?==)"),l={begin:o,lexemes:/[\w.\/]+/},s=e.inherit(l,{keywords:{literal:["true","false","undefined","null"]}}),c={begin:/\(/,end:/\)/},u={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},{className:"attr",begin:i,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,s,c]}}},s,c],returnEnd:!0},f=e.inherit(l,{className:"name",keywords:t,starts:e.inherit(u,{end:/\)/})});var d;c.contains=[f];const p=e.inherit(l,{keywords:t,className:"name",starts:e.inherit(u,{end:/\}\}/})}),m=e.inherit(l,{keywords:t,className:"name"}),h=e.inherit(l,{className:"name",keywords:t,starts:e.inherit(u,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[p],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[m]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[p]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[m]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[h]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[h]}]}}),Gl.registerLanguage("sql",function(e){const t=e.COMMENT("--","$"),n=["true","false","unknown"],r=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],a=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],o=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],i=a,l=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update ","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter(e=>!a.includes(e)),s={begin:zl(/\b/,Bl(...i),/\s*\(/),keywords:{built_in:i}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:t,when:n}={}){const r=n;return t=t||[],e.map(e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e)}(l,{when:e=>e.length<3}),literal:n,type:r,built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{begin:Bl(...o),keywords:{$pattern:/[\w\.]+/,keyword:l.concat(o),literal:n,type:r}},{className:"type",begin:Bl("double precision","large object","with timezone","without timezone")},s,{className:"variable",begin:/@[a-z0-9]+/},{className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{begin:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}}),Gl.registerLanguage("curl",function(e){return{name:"curl",aliases:["curl"],keywords:"curl",case_insensitive:!0,contains:[{className:"literal",begin:/(--request|-X)\s/,contains:[{className:"symbol",begin:/(get|post|delete|options|head|put|patch|trace|connect)/,end:/\s/,returnEnd:!0}],returnEnd:!0,relevance:10},{className:"literal",begin:/--/,end:/[\s"]/,returnEnd:!0,relevance:0},{className:"literal",begin:/-\w/,end:/[\s"]/,returnEnd:!0,relevance:0},{className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,{className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}],relevance:0},{className:"string",begin:/\\"/,relevance:0},{className:"string",begin:/'/,end:/'/,relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"number",variants:[{begin:e.C_NUMBER_RE}],relevance:0},{match:/(\/[a-z._-]+)+/}]}}),Gl.registerLanguage("json",function(e){const t={literal:"true false null"},n=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],r=[e.QUOTE_STRING_MODE,e.C_NUMBER_MODE],a={end:",",endsWithParent:!0,excludeEnd:!0,contains:r,keywords:t},o={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE],illegal:"\\n"},e.inherit(a,{begin:/:/})].concat(n),illegal:"\\S"},i={begin:"\\[",end:"\\]",contains:[e.inherit(a)],illegal:"\\S"};return r.push(o,i),n.forEach(function(e){r.push(e)}),{name:"JSON",contains:r,keywords:t,illegal:"\\S"}}),Xl.prototype.clear=function(){this.__data__=new ct,this.size=0},Xl.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Xl.prototype.get=function(e){return this.__data__.get(e)},Xl.prototype.has=function(e){return this.__data__.has(e)},Xl.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ct){var r=n.__data__;if(!ut||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new pt(r)}return n.set(e,t),this.size=n.size,this};var ql=Xl,Kl=function(e,t){for(var n=-1,r=null==e?0:e.length;++nl))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var f=-1,d=!0,p=2&n?new ht:void 0;for(o.set(e,t),o.set(t,e);++f-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},Es={};Es["[object Float32Array]"]=Es["[object Float64Array]"]=Es["[object Int8Array]"]=Es["[object Int16Array]"]=Es["[object Int32Array]"]=Es["[object Uint8Array]"]=Es["[object Uint8ClampedArray]"]=Es["[object Uint16Array]"]=Es["[object Uint32Array]"]=!0,Es["[object Arguments]"]=Es["[object Array]"]=Es["[object ArrayBuffer]"]=Es["[object Boolean]"]=Es["[object DataView]"]=Es["[object Date]"]=Es["[object Error]"]=Es["[object Function]"]=Es["[object Map]"]=Es["[object Number]"]=Es["[object Object]"]=Es["[object RegExp]"]=Es["[object Set]"]=Es["[object String]"]=Es["[object WeakMap]"]=!1;var Ts,Ss=_e(function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,a=r&&r.exports===n&&Pe.process,o=function(){try{return r&&r.require&&r.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=o}),ws=Ss&&Ss.isTypedArray,Ns=ws?(Ts=ws,function(e){return Ts(e)}):function(e){return cs(e)&&bs(e.length)&&!!Es[We(e)]},Rs=Object.prototype.hasOwnProperty,Os=function(e,t){var n=rs(e),r=!n&&ms(e),a=!n&&!r&&gs(e),o=!n&&!r&&!a&&Ns(e),i=n||r||a||o,l=i?function(e,t){for(var n=-1,r=Array(e);++n0&&(0,Ec.last)(this.indentTypes)===n&&this.indentTypes.pop()}},{key:"decreaseBlockLevel",value:function(){for(;this.indentTypes.length>0&&this.indentTypes.pop()===n;);}},{key:"resetIndentation",value:function(){this.indentTypes=[]}}])&&function(e,t){for(var n=0;n0?this.level++:this.level=0}},{key:"end",value:function(){this.level--}},{key:"isActive",value:function(){return this.level>0}},{key:"isInlineBlock",value:function(e,t){for(var n=0,a=0,o=t;o50)return!1;if(i.type===r.default.OPEN_PAREN)a++;else if(i.type===r.default.CLOSE_PAREN&&0==--a)return!0;if(this.isForbiddenToken(i))return!1}return!1}},{key:"isForbiddenToken",value:function(e){var t=e.type;return t===r.default.RESERVED_TOP_LEVEL||t===r.default.RESERVED_NEWLINE||t===r.default.COMMENT||t===r.default.BLOCK_COMMENT||";"===e.value}}])&&function(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:1;return this.tokens[this.index-e]}},{key:"tokenLookAhead",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return this.tokens[this.index+e]}}])&&function(e,t){for(var n=0;n\\$\\w*\\$)[\\s\\S]*?(?:\\k|$))"};return e.map(function(e){return t[e]}).join("|")}function xc(e){return 1===e.length?(0,Ec.escapeRegExp)(e):"\\b"+e+"\\b"}var kc=/*#__PURE__*/Object.defineProperty({createOperatorRegex:function(e){return new RegExp("^(".concat((0,Ec.sortByLengthDesc)(e).map(Ec.escapeRegExp).join("|"),"|.)"),"u")},createLineCommentRegex:function(e){return new RegExp("^((?:".concat(e.map(function(e){return(0,Ec.escapeRegExp)(e)}).join("|"),").*?)(?:\r\n|\r|\n|$)"),"u")},createReservedWordRegex:function(e){if(0===e.length)return new RegExp("^\b$","u");var t=(0,Ec.sortByLengthDesc)(e).join("|").replace(/ /g,"\\s+");return new RegExp("^(".concat(t,")\\b"),"iu")},createWordRegex:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new RegExp("^([\\p{Alphabetic}\\p{Mark}\\p{Decimal_Number}\\p{Connector_Punctuation}\\p{Join_Control}".concat(e.join(""),"]+)"),"u")},createStringRegex:function(e){return new RegExp("^("+Oc(e)+")","u")},createStringPattern:Oc,createParenRegex:function(e){return new RegExp("^("+e.map(xc).join("|")+")","iu")},createPlaceholderRegex:function(e,t){if((0,Ec.isEmpty)(e))return!1;var n=e.map(Ec.escapeRegExp).join("|");return new RegExp("^((?:".concat(n,")(?:").concat(t,"))"),"u")}},"__esModule",{value:!0}),Ac=_e(function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=bc)&&r.__esModule?r:{default:r},o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=a?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(r,o,l):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(kc);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n","<=",">="].concat(function(e){if(Array.isArray(e))return u(e)}(n=t.operators||[])||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),this.BLOCK_COMMENT_REGEX=/^(\/\*(?:(?![])[\s\S])*?(?:\*\/|$))/,this.LINE_COMMENT_REGEX=o.createLineCommentRegex(t.lineCommentTypes),this.RESERVED_TOP_LEVEL_REGEX=o.createReservedWordRegex(t.reservedTopLevelWords),this.RESERVED_TOP_LEVEL_NO_INDENT_REGEX=o.createReservedWordRegex(t.reservedTopLevelWordsNoIndent),this.RESERVED_NEWLINE_REGEX=o.createReservedWordRegex(t.reservedNewlineWords),this.RESERVED_PLAIN_REGEX=o.createReservedWordRegex(t.reservedWords),this.WORD_REGEX=o.createWordRegex(t.specialWordChars),this.STRING_REGEX=o.createStringRegex(t.stringTypes),this.OPEN_PAREN_REGEX=o.createParenRegex(t.openParens),this.CLOSE_PAREN_REGEX=o.createParenRegex(t.closeParens),this.INDEXED_PLACEHOLDER_REGEX=o.createPlaceholderRegex(t.indexedPlaceholderTypes,"[0-9]*"),this.IDENT_NAMED_PLACEHOLDER_REGEX=o.createPlaceholderRegex(t.namedPlaceholderTypes,"[a-zA-Z0-9._$]+"),this.STRING_NAMED_PLACEHOLDER_REGEX=o.createPlaceholderRegex(t.namedPlaceholderTypes,o.createStringPattern(t.stringTypes))}var t;return(t=[{key:"tokenize",value:function(e){for(var t,n=[];e.length;){var r=this.getWhitespace(e);(e=e.substring(r.length)).length&&(t=this.getNextToken(e,t),e=e.substring(t.value.length),n.push(s(s({},t),{},{whitespaceBefore:r})))}return n}},{key:"getWhitespace",value:function(e){var t=e.match(this.WHITESPACE_REGEX);return t?t[1]:""}},{key:"getNextToken",value:function(e,t){return this.getCommentToken(e)||this.getStringToken(e)||this.getOpenParenToken(e)||this.getCloseParenToken(e)||this.getPlaceholderToken(e)||this.getNumberToken(e)||this.getReservedWordToken(e,t)||this.getWordToken(e)||this.getOperatorToken(e)}},{key:"getCommentToken",value:function(e){return this.getLineCommentToken(e)||this.getBlockCommentToken(e)}},{key:"getLineCommentToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.LINE_COMMENT,regex:this.LINE_COMMENT_REGEX})}},{key:"getBlockCommentToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.BLOCK_COMMENT,regex:this.BLOCK_COMMENT_REGEX})}},{key:"getStringToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.STRING,regex:this.STRING_REGEX})}},{key:"getOpenParenToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.OPEN_PAREN,regex:this.OPEN_PAREN_REGEX})}},{key:"getCloseParenToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.CLOSE_PAREN,regex:this.CLOSE_PAREN_REGEX})}},{key:"getPlaceholderToken",value:function(e){return this.getIdentNamedPlaceholderToken(e)||this.getStringNamedPlaceholderToken(e)||this.getIndexedPlaceholderToken(e)}},{key:"getIdentNamedPlaceholderToken",value:function(e){return this.getPlaceholderTokenWithKey({input:e,regex:this.IDENT_NAMED_PLACEHOLDER_REGEX,parseKey:function(e){return e.slice(1)}})}},{key:"getStringNamedPlaceholderToken",value:function(e){var t=this;return this.getPlaceholderTokenWithKey({input:e,regex:this.STRING_NAMED_PLACEHOLDER_REGEX,parseKey:function(e){return t.getEscapedPlaceholderKey({key:e.slice(2,-1),quoteChar:e.slice(-1)})}})}},{key:"getIndexedPlaceholderToken",value:function(e){return this.getPlaceholderTokenWithKey({input:e,regex:this.INDEXED_PLACEHOLDER_REGEX,parseKey:function(e){return e.slice(1)}})}},{key:"getPlaceholderTokenWithKey",value:function(e){var t=e.parseKey,n=this.getTokenOnFirstMatch({input:e.input,regex:e.regex,type:a.default.PLACEHOLDER});return n&&(n.key=t(n.value)),n}},{key:"getEscapedPlaceholderKey",value:function(e){var t=e.quoteChar;return e.key.replace(new RegExp((0,Ec.escapeRegExp)("\\"+t),"gu"),t)}},{key:"getNumberToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.NUMBER,regex:this.NUMBER_REGEX})}},{key:"getOperatorToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.OPERATOR,regex:this.OPERATOR_REGEX})}},{key:"getReservedWordToken",value:function(e,t){if(!t||!t.value||"."!==t.value)return this.getTopLevelReservedToken(e)||this.getNewlineReservedToken(e)||this.getTopLevelReservedTokenNoIndent(e)||this.getPlainReservedToken(e)}},{key:"getTopLevelReservedToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.RESERVED_TOP_LEVEL,regex:this.RESERVED_TOP_LEVEL_REGEX})}},{key:"getNewlineReservedToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.RESERVED_NEWLINE,regex:this.RESERVED_NEWLINE_REGEX})}},{key:"getTopLevelReservedTokenNoIndent",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.RESERVED_TOP_LEVEL_NO_INDENT,regex:this.RESERVED_TOP_LEVEL_NO_INDENT_REGEX})}},{key:"getPlainReservedToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.RESERVED,regex:this.RESERVED_PLAIN_REGEX})}},{key:"getWordToken",value:function(e){return this.getTokenOnFirstMatch({input:e,type:a.default.WORD,regex:this.WORD_REGEX})}},{key:"getTokenOnFirstMatch",value:function(e){var t=e.type,n=e.input.match(e.regex);return n?{type:t,value:n[1]}:void 0}}])&&function(e,t){for(var n=0;n","!>","||"]})}}])&&function(e,t){for(var n=0;n>","!=","<>","<=>","&&","||"]})}}])&&function(e,t){for(var n=0;n>","!=","<>","<=>","&&","||","->","->>"]})}}])&&function(e,t){for(var n=0;n>","||/","|/","::","->>","->","~~*","~~","!~~*","!~~","~*","!~*","!~","!!"]})}}])&&function(e,t){for(var n=0;n>","!=","||"]})}}])&&function(e,t){for(var n=0;n","&&","||","=="]})}},{key:"tokenOverride",value:function(e){if((0,Nc.isWindow)(e)){var t=this.tokenLookAhead();if(t&&t.type===o.default.OPEN_PAREN)return{type:o.default.RESERVED,value:e.value}}if((0,Nc.isEnd)(e)){var n=this.tokenLookBehind();if(n&&n.type===o.default.OPERATOR&&"."===n.value)return{type:o.default.WORD,value:e.value}}return e}}])&&function(e,t){for(var n=0;n=","<=","<>","!=","!<","!>","+=","-=","*=","/=","%=","|=","&=","^=","::"]})}}])&&function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof e)throw new Error("Invalid query argument. Extected string, instead got "+p(e));var n=u.default;if(void 0!==t.language&&(n=m[t.language]),void 0===n)throw Error("Unsupported SQL dialect: ".concat(t.language));return new n(t).format(e)};var h=Object.keys(m);t.supportedDialects=h}));function Bc({children:e,language:t}){return c.createElement(Gl,{language:t,customStyle:{background:"transparent"}},e)}function Hc({value:e,limitHeight:t=!0,language:n=null,transparent:r=!1,overflowX:a=!0}){const[o,i]=c.useState(t),[l,s]=c.useState("sql"===n),u=c.useRef(null),f=c.useRef(null);return c.useEffect(()=>{u.current&&s(u.current.scrollHeight>u.current.clientHeight)},[u.current,o,e,t]),c.createElement("div",{ref:f,className:`\n ${l?"cursor-pointer":""}\n ${r?"":"~bg-gray-500/5"}\n group py-2 relative`,onClick:function(e){var t;3!==e.detail?l&&(!o&&null!=(t=window.getSelection())&&t.toString().length||i(!o)):function(){const e=document.createRange();e.selectNodeContents(f.current);const t=window.getSelection();t.removeAllRanges(),t.addRange(e)}()}},c.createElement("div",{className:a?"mask-fade-x":""},"sql"===n&&c.createElement(c.Fragment,null,o?c.createElement("pre",{className:"pl-4 "+(a?"overflow-x-scroll scrollbar-hidden-x pr-12":"truncate pr-8")},c.createElement("code",{className:"font-mono leading-relaxed text-sm font-normal"},c.createElement(Bc,{language:"sql"},e))):c.createElement("pre",{className:"pl-4 "+(a?"overflow-x-scroll scrollbar-hidden-x pr-12":"pr-8")},c.createElement("code",{className:"font-mono leading-relaxed text-sm font-normal"},c.createElement(Bc,{language:"sql"},zc.format(e,{language:"mysql"}))))),"sql"!==n&&c.createElement("pre",{ref:u,className:`\n pl-4\n ${l?"mask-fade-y -mb-2":""}\n ${o?"overflow-y-hidden max-h-32":""}\n ${a?"overflow-x-scroll scrollbar-hidden-x pr-12":"pr-8"}\n `},c.createElement("code",{className:"font-mono leading-relaxed text-sm font-normal"},n?c.createElement(Bc,{language:n},e):e))),c.createElement(ei,{className:"absolute top-2 right-3",value:e}),l&&c.createElement(Zo,{onClick:()=>i(!o),className:"\n absolute -bottom-3 left-1/2 -translate-x-1/2\n opacity-0 group-hover:opacity-100 scale-80 group-hover:scale-100 delay-100\n "},c.createElement(co,{icon:Lo,className:"transition-transform duration-300 transform "+(o?"":"rotate-180")})))}const Vc=["children","className"];function Wc(e){let{children:t,className:n=""}=e,r=xe(e,Vc);return t?c.createElement("dl",Ne({className:`grid grid-cols-1 gap-2 ${n}`},r),t):null}function Gc({frame:e}){var t;return c.createElement(Wc,{className:"pb-10 px-6 @lg:px-10"},null==(t=e.arguments)?void 0:t.map((e,t)=>c.createElement(Wc.Row,{key:t,label:c.createElement("div",{className:"font-mono text-sm"},c.createElement("span",{className:"hljs-function hljs-params hljs-variable"},c.createElement("span",{title:"by reference"},e.is_variadic&&"…"),c.createElement("span",null,e.passed_by_reference&&"&"),c.createElement("span",{title:"variadic"},"$"),e.name),c.createElement("span",{className:"text-xs pl-px hljs-function hljs-keyword"},":",e.original_type,e.truncated&&" - truncated")),value:e.value,type:e.original_type,stacked:!0})))}function Yc({frames:e,openFrameIndex:t}){const n=c.useMemo(()=>{let n=1;const r=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=0;return a<0&&(a=vc(r+a,0)),gt(e,yc(e=>"application"===Ae(e)),a)}(e);return-1!==r&&(n=e.length-r),t&&(n=e.length-t),Nt({frames:e,expanded:[],selected:n},{type:"COLLAPSE_ALL_VENDOR_FRAMES"})},[e]),[r,a]=c.useReducer(Nt,n),o=c.useMemo(()=>function(e){return ke(e.frames).filter(e=>"vendor"===Ae(e)).every(t=>e.expanded.includes(t.frame_number))}(r),[r]),i=c.useMemo(()=>function({frames:e,selected:t,expanded:n}){return e.reduce((r,a,o)=>{const i={current:a,previous:r[r.length-1]||Rt,isFirstFrame:0===o,frameNumber:e.length-o,expanded:n,selected:t};return i.expanded.includes(i.frameNumber)?r.concat(function(e){return e.current.relative_file!==e.previous.relative_file?[{type:Ae(e.current),relative_file:e.current.relative_file,expanded:!0,frames:[Ne({},e.current,{frame_number:e.frameNumber,selected:e.selected===e.frameNumber})]}]:(e.previous.frames.push(Ne({},e.current,{frame_number:e.frameNumber,selected:e.selected===e.frameNumber})),[])}(i)):r.concat(function(e){const t=Ae(e.current);return e.previous.expanded||t!==e.previous.type?[{type:t,relative_file:e.current.relative_file,expanded:!1,frames:[Ne({},e.current,{frame_number:e.frameNumber,selected:e.selected===e.frameNumber})]}]:(e.previous.frames.push(Ne({},e.current,{selected:!1,frame_number:e.frameNumber})),[])}(i))},[])}(r),[r]),l=c.useMemo(()=>function(e){const t=ke(e.frames);return t.find(t=>t.frame_number===e.selected)||t[0]||null}(r),[r]);return Ot("j",()=>{a({type:"SELECT_NEXT_FRAME"})}),Ot("k",()=>{a({type:"SELECT_PREVIOUS_FRAME"})}),c.createElement(c.Fragment,null,c.createElement("aside",{className:"z-30 flex flex-col border-r ~border-gray-200 relative"},c.createElement("div",{className:"max-h-[33vh] @4xl:max-h-[none] @4xl:absolute inset-0 flex flex-col overflow-hidden ~bg-white rounded-t-lg"},c.createElement("header",{className:"flex-none px-6 @lg:px-10 h-16 flex items-center justify-start ~bg-white border-b ~border-gray-200"},c.createElement(kt,{onClick:()=>a({type:o?"COLLAPSE_ALL_VENDOR_FRAMES":"EXPAND_ALL_VENDOR_FRAMES"})},c.createElement("div",{className:"flex "+(o?"flex-col-reverse":"flex-col")},c.createElement(co,{icon:Fo,className:"-my-px text-[8px] ~text-gray-500 group-hover:text-indigo-500"}),c.createElement(co,{icon:Lo,className:"-my-px text-[8px] ~text-gray-500 group-hover:text-indigo-500"})),o?"Collapse vendor frames":" Expand vendor frames")),c.createElement("div",{id:"frames",className:"flex-grow overflow-auto scrollbar-hidden-y mask-fade-frames"},c.createElement("ol",{className:"text-sm pb-16"},i.map((e,t)=>c.createElement($o,{key:t,frameGroup:e,onExpand:()=>a({type:"EXPAND_FRAMES",frames:e.frames.map(e=>e.frame_number)}),onSelect:e=>{a({type:"SELECT_FRAME",frame:e})}})))))),c.createElement("section",{className:"flex flex-col border-t @4xl:border-t-0 ~border-gray-200 relative"},l&&c.createElement(c.Fragment,null,c.createElement("header",{className:"~text-gray-500 flex-none z-30 h-16 px-6 @lg:px-10 flex items-center justify-end"},c.createElement(ti,{path:l.file,lineNumber:l.line_number,className:"flex items-center text-sm"})),c.createElement($l,{frame:l}))),(null==l?void 0:l.arguments)&&l.arguments.length>0&&c.createElement("section",{className:"border-t ~border-gray-200 @4xl:col-span-2"},c.createElement("header",{className:"font-bold text-xs ~text-gray-500 uppercase tracking-wider h-16 px-6 @lg:px-10 flex items-center"},"arguments"),c.createElement(Gc,{frame:l})))}function $c({openFrameIndex:e}){const{frames:t}=c.useContext(be);return c.createElement("div",{className:"@container bg-gray-25 dark:shadow-none dark:bg-gray-800/50 bg-gradient-to-bl from-white dark:from-gray-700/50 via-transparent dark:ring-1 dark:ring-inset dark:ring-white/5 rounded-lg shadow-2xl shadow-gray-500/20"},c.createElement("div",{className:"grid grid-cols-1 @4xl:grid-cols-[33.33%_66.66%] @4xl:grid-rows-[57rem] items-stretch overflow-hidden"},c.createElement(Yc,{frames:t,openFrameIndex:e})))}function Xc({message:e,className:t=""}){const[n,r]=c.useState(!1);return c.createElement("div",{className:`\n my-4 font-semibold leading-snug text-xl\n ${t}\n `,onClick:function(){var e;n&&null!=(e=window.getSelection())&&e.toString().length||r(!n)}},c.createElement("div",{className:n?"line-clamp-none":"line-clamp-2"},e))}function qc({message:e,exceptionClass:t,className:n=""}){const[r,a]=c.useState(e),[o,i]=c.useState(null);return c.useEffect(()=>{if("Illuminate\\Database\\QueryException"===t||e.match(/SQLSTATE\[[\s\S]*\][\s\S]*SQL: [\s\S]*\)/)){const t=/*#__PURE__*/we(/\((?:|Connection: [\s\S]*?, )SQL: ([\s\S]*?)\)($| \(View: [\s\S]*\)$)/,{query:1}),[,n]=e.match(t)||[];i(n),a(e.replace(t,"$2"))}},[e,t]),c.createElement(c.Fragment,null,c.createElement(Xc,{message:r,className:n}),o&&c.createElement(Hc,{value:o,language:"sql"}))}Wc.Row=function({value:e="",label:t="",className:n="",stacked:r=!1,type:a,small:o=!1}){let i=e;const[l,s]=c.useState(!1);let u;return c.isValidElement(e)?i=e:"boolean"==typeof e?i=c.createElement("span",{className:(e?"text-emerald-500 bg-emerald-500/5":"text-red-500 bg-red-800/5")+" text-sm px-3 py-2 inline-flex gap-2 items-center justify-center"},c.createElement(co,{className:`${e} ? 'text-emerald-500' : 'text-red-500`,icon:e?Ho:jo}),c.createElement("span",{className:"font-mono"},e?"true":"false")):"string"===a||"object"==typeof e?i=c.createElement(Hc,{value:Ko(e),language:"json"}):"string"==typeof e?i=c.createElement(Hc,{value:e}):"number"==typeof e&&(i=c.createElement(Hc,{value:String(e)})),c.createElement("div",{className:`${r?"flex flex-col":"flex items-baseline "+(o?"gap-3":"gap-10")} ${n}`},c.createElement("dt",{className:`\n ${r?"self-start pt-2 pb-1.5 leading-tight":l?o?"flex-grow truncate min-w-[2rem] max-w-max":"flex-grow truncate min-w-[8rem] max-w-max":o?"flex-none truncate w-[2rem]":"flex-none truncate w-[8rem]"}\n `,onMouseOver:()=>{u=setTimeout(()=>s(!0),500)},onMouseOut:()=>{clearTimeout(u),s(!1)}},t),c.createElement("dd",{className:"flex-grow min-w-0"},i))};const Kc=["children","className","disabled"];function Jc(e){let{children:t,className:n="",disabled:r=!1}=e,a=xe(e,Kc);return c.createElement("button",Ne({disabled:r,className:`px-4 h-8 whitespace-nowrap border-b\n text-xs uppercase tracking-wider font-bold rounded-sm\n shadow-md\n transform\n transition-animation\n hover:shadow-lg\n active:shadow-inner\n active:translate-y-px\n ${r?"opacity-50":"opacity-100"}\n ${n}\n `},a),t)}var Qc=/*@__PURE__*/Ie(_e(function(e,t){e.exports=(()=>{var e=Object.create,t=Object.defineProperty,n=Object.defineProperties,r=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,l=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,u=Math.pow,f=(e,n,r)=>n in e?t(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,d=(e,t)=>{for(var n in t||(t={}))s.call(t,n)&&f(e,n,t[n]);if(i)for(var n of i(t))c.call(t,n)&&f(e,n,t[n]);return e},p=(e,t)=>n(e,a(t)),m=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),h=(e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})},g=(e,n,a,i)=>{if(n&&"object"==typeof n||"function"==typeof n)for(let l of o(n))!s.call(e,l)&&l!==a&&t(e,l,{get:()=>n[l],enumerable:!(i=r(n,l))||i.enumerable});return e},y=(n,r,a)=>(a=null!=n?e(l(n)):{},g(!r&&n&&n.__esModule?a:t(a,"default",{value:n,enumerable:!0}),n)),v=m(e=>{var t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),d=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,h={};function g(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||p}function y(){}function v(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var b=v.prototype=new y;b.constructor=v,m(b,g.prototype),b.isPureReactComponent=!0;var E=Array.isArray,T=Object.prototype.hasOwnProperty,S={current:null},w={key:!0,ref:!0,__self:!0,__source:!0};function N(e,n,r){var a,o={},i=null,l=null;if(null!=n)for(a in void 0!==n.ref&&(l=n.ref),void 0!==n.key&&(i=""+n.key),n)T.call(n,a)&&!w.hasOwnProperty(a)&&(o[a]=n[a]);var s=arguments.length-2;if(1===s)o.children=r;else if(1{t.exports=v()}),E=m((e,t)=>{t.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}}),T=m((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},l=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var t,a=n.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!a&&!o)return!1;for(t in e);return void 0===t||n.call(e,t)},s=function(e,t){a&&"__proto__"===t.name?a(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(o)return o(e,t).value}return e[t]};t.exports=function e(){var t,n,r,a,o,u,f=arguments[0],d=1,p=arguments.length,m=!1;for("boolean"==typeof f&&(m=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d{t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}),w=m((e,t)=>{var n=S();function r(){}function a(){}a.resetWarningCache=r,t.exports=function(){function e(e,t,r,a,o,i){if(i!==n){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:r};return o.PropTypes=o,o}}),N=m((e,t)=>{t.exports=w()()}),R=m(e=>{var t,n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case a:case i:case o:case f:case d:return e;default:switch(e=e&&e.$$typeof){case c:case s:case u:case m:case p:case l:return e;default:return t}}case r:return t}}}t=Symbol.for("react.module.reference"),e.ContextConsumer=s,e.ContextProvider=l,e.Element=n,e.ForwardRef=u,e.Fragment=a,e.Lazy=m,e.Memo=p,e.Portal=r,e.Profiler=i,e.StrictMode=o,e.Suspense=f,e.SuspenseList=d,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(e){return g(e)===s},e.isContextProvider=function(e){return g(e)===l},e.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},e.isForwardRef=function(e){return g(e)===u},e.isFragment=function(e){return g(e)===a},e.isLazy=function(e){return g(e)===m},e.isMemo=function(e){return g(e)===p},e.isPortal=function(e){return g(e)===r},e.isProfiler=function(e){return g(e)===i},e.isStrictMode=function(e){return g(e)===o},e.isSuspense=function(e){return g(e)===f},e.isSuspenseList=function(e){return g(e)===d},e.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===i||e===o||e===f||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===l||e.$$typeof===s||e.$$typeof===u||e.$$typeof===t||void 0!==e.getModuleId)},e.typeOf=g}),O=m((e,t)=>{t.exports=R()}),x=m((e,t)=>{var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,a=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,c=/^\s+|\s+$/g,u="";function f(e){return e?e.replace(c,u):u}t.exports=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var c=1,d=1;function p(e){var t=e.match(r);t&&(c+=t.length);var n=e.lastIndexOf("\n");d=~n?e.length-n:d+e.length}function m(){var e={line:c,column:d};return function(t){return t.position=new h(e),v(),t}}function h(e){this.start=e,this.end={line:c,column:d},this.source=t.source}function g(n){var r=new Error(t.source+":"+c+":"+d+": "+n);if(r.reason=n,r.filename=t.source,r.line=c,r.column=d,r.source=e,!t.silent)throw r}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function v(){y(a)}function b(e){var t;for(e=e||[];t=E();)!1!==t&&e.push(t);return e}function E(){var t=m();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(u===e.charAt((n+=2)-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function T(){var e=m(),t=y(o);if(t){if(E(),!y(i))return g("property missing ':'");var r=y(l),a=e({type:"declaration",property:f(t[0].replace(n,u)),value:r?f(r[0].replace(n,u)):u});return y(s),a}}return h.prototype.content=e,v(),function(){var e,t=[];for(b(t);e=T();)!1!==e&&(t.push(e),b(t));return t}()}}),k=m((e,t)=>{var n=x();function r(e,t){var r=null;if(!e||"string"!=typeof e)return r;for(var a,o,i,l=n(e),s="function"==typeof t,c=0,u=l.length;cEr,uriTransformer:()=>I});var C=["http","https","mailto","tel"];function I(e){let t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;let r=t.indexOf(":");if(-1===r)return t;let a=-1;for(;++aa||(a=t.indexOf("#"),-1!==a&&r>a)?t:"javascript:void(0)"}var _=y(b(),1),L=y(E(),1);function P(e){return e&&"object"==typeof e?"position"in e||"type"in e?D(e.position):"start"in e||"end"in e?D(e):"line"in e||"column"in e?M(e):"":""}function M(e){return U(e&&e.line)+":"+U(e&&e.column)}function D(e){return M(e&&e.start)+"-"+M(e&&e.end)}function U(e){return e&&"number"==typeof e?e:1}var j=class extends Error{constructor(e,t,n){let r=[null,null],a={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){let e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(a=t.position):"start"in t||"end"in t?a=t:("line"in t||"column"in t)&&(a.start=t)),this.name=P(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.line=a.start.line,this.column=a.start.column,this.position=a,this.source=r[0],this.ruleId=r[1]}};j.prototype.file="",j.prototype.name="",j.prototype.reason="",j.prototype.message="",j.prototype.stack="",j.prototype.fatal=null,j.prototype.column=null,j.prototype.line=null,j.prototype.source=null,j.prototype.ruleId=null,j.prototype.position=null;var F=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');B(e);let n,r=0,a=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1);return a<0?"":e.slice(r,a)}if(t===e)return"";let i=-1,l=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1),l>-1&&(e.charCodeAt(o)===t.charCodeAt(l--)?l<0&&(a=o):(l=-1,a=i));return r===a?a=i:a<0&&(a=e.length),e.slice(r,a)},z=function(...e){let t,n=-1;for(;++n2){if(r=a.lastIndexOf("/"),r!==a.length-1){r<0?(a="",o=0):(a=a.slice(0,r),o=a.length-1-a.lastIndexOf("/")),i=s,l=0;continue}}else if(a.length>0){a="",o=0,i=s,l=0;continue}t&&(a=a.length>0?a+"/..":"..",o=2)}else a.length>0?a+="/"+e.slice(i+1,s):a=e.slice(i+1,s),o=s-i-1;i=s,l=0}else 46===n&&l>-1?l++:l=-1}return a}(e,!t);return 0===n.length&&!t&&(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)};function B(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function H(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}var V=["history","path","basename","stem","extname","dirname"],W=class{constructor(e){let t;t=e?"string"==typeof e||function(e){return(0,L.default)(e)}(e)?{value:e}:H(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd="/";let n,r=-1;for(;++r-1&&(i=-1);else if(t){a=n+1;break}}return o<0||r<0||0===i||1===i&&o===r-1&&o===a+1?"":e.slice(o,r)}(this.path):void 0}set extname(e){if(G(e,"extname"),$(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=z(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?F(this.path,this.extname):void 0}set stem(e){Y(e,"stem"),G(e,"stem"),this.path=z(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){let r=new j(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}};function G(e,t){if(e&&e.includes("/"))throw new Error("`"+t+"` cannot be a path: did not expect `/`")}function Y(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function $(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function X(e){if(e)throw e}var q=y(E(),1),K=y(T(),1);function J(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}var Q=function e(){let t,n=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function a(o,...i){let l=e[++n],s=-1;if(o)r(o);else{for(;++st.length;i&&t.push(r);try{o=e.apply(this,t)}catch(e){let t=e;if(i&&n)throw t;return r(t)}i||(o instanceof Promise?o.then(a,r):o instanceof Error?r(o):a(o))};function r(e,...r){n||(n=!0,t(e,...r))}function a(e){r(null,e)}}(l,a)(...i):r(null,...i)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}(),r=[],a={},o=-1;return i.data=function(e,n){return"string"==typeof e?2===arguments.length?(re("data",t),a[e]=n,i):Z.call(a,e)&&a[e]||null:e?(re("data",t),a=e,i):a},i.Parser=void 0,i.Compiler=void 0,i.freeze=function(){if(t)return i;for(;++o{if(!e&&t&&n){let r=i.stringify(t,n);null==r||(function(e){return"string"==typeof e||(0,q.default)(e)}(r)?n.value=r:n.result=r),o(e,n)}else o(e)})}n(null,t)},i.processSync=function(e){let t;i.freeze(),te("processSync",i.Parser),ne("processSync",i.Compiler);let n=ie(e);return i.process(n,function(e){t=!0,X(e)}),oe("processSync","process",t),n},i;function i(){let t=e(),n=-1;for(;++no?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),[].splice.apply(e,a);else for(n&&[].splice.apply(e,[t,n]);i0?(ue(e,e.length,0,t),e):t}var de={}.hasOwnProperty;function pe(e){let t={},n=-1;for(;++nr))return;let n,o,l=a.events.length,s=l;for(;s--;)if("exit"===a.events[s][0]&&"chunkFlow"===a.events[s][1].type){if(n){o=a.events[s][1].end;break}n=!0}for(y(i),e=l;et;){let t=o[n];a.containerState=t[1],t[0].exit.call(a,e)}o.length=t}function v(){t.write([null]),n=void 0,t=void 0,a.containerState._closeFlow=void 0}}},_e={tokenize:function(e,t,n){return Ae(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function Le(e){return null===e||we(e)||Oe(e)?1:xe(e)?2:void 0}function Pe(e,t,n){let r=[],a=-1;for(;++a1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let f=Object.assign({},e[n][1].end),d=Object.assign({},e[u][1].start);De(f,-l),De(d,l),o={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},i={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:d},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},i.end)},e[n][1].end=Object.assign({},o.start),e[u][1].start=Object.assign({},i.end),s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=fe(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=fe(s,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",a,t]]),s=fe(s,Pe(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),s=fe(s,[["exit",a,t],["enter",i,t],["exit",i,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,s=fe(s,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,ue(e,n-1,u-n+3,s),u=n+s.length-c-2;break}for(u=-1;++u=4?o(e):n(e)}function o(t){return null===t?l(t):Ne(t)?e.attempt(Ye,o,l)(t):(e.enter("codeFlowValue"),i(t))}function i(t){return null===t||Ne(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),i)}function l(n){return e.exit("codeIndented"),t(n)}}},Ye={tokenize:function(e,t,n){let r=this;return a;function a(t){return r.parser.lazy[r.now().line]?n(t):Ne(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):Ae(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):Ne(e)?a(e):n(e)}},partial:!0},$e={name:"codeText",tokenize:function(e,t,n){let r,a,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),i(t)};function i(t){return 96===t?(e.consume(t),o++,i):(e.exit("codeTextSequence"),l(t))}function l(t){return null===t?n(t):96===t?(a=e.enter("codeTextSequence"),r=0,c(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),l):Ne(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):(e.enter("codeTextData"),s(t))}function s(t){return null===t||32===t||96===t||Ne(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),s)}function c(n){return 96===n?(e.consume(n),r++,c):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(a.type="codeTextData",s(n))}},resolve:function(e){let t,n,r=e.length-4,a=3;if(!("lineEnding"!==e[a][1].type&&"space"!==e[a][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=a;++t=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}},partial:!0};function Qe(e,t,n,r,a,o,i,l,s){let c=s||Number.POSITIVE_INFINITY,u=0;return function(t){return 60===t?(e.enter(r),e.enter(a),e.enter(o),e.consume(t),e.exit(o),f):null===t||41===t||Se(t)?n(t):(e.enter(r),e.enter(i),e.enter(l),e.enter("chunkString",{contentType:"string"}),m(t))};function f(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(a),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(l),f(t)):null===t||60===t||Ne(t)?n(t):(e.consume(t),92===t?p:d)}function p(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function m(a){return 40===a?++u>c?n(a):(e.consume(a),m):41===a?u--?(e.consume(a),m):(e.exit("chunkString"),e.exit(l),e.exit(i),e.exit(r),t(a)):null===a||we(a)?u?n(a):(e.exit("chunkString"),e.exit(l),e.exit(i),e.exit(r),t(a)):Se(a)?n(a):(e.consume(a),92===a?h:m)}function h(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function Ze(e,t,n,r,a,o){let i,l=this,s=0;return function(t){return e.enter(r),e.enter(a),e.consume(t),e.exit(a),e.enter(o),c};function c(f){return null===f||91===f||93===f&&!i||94===f&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs||s>999?n(f):93===f?(e.exit(o),e.enter(a),e.consume(f),e.exit(a),e.exit(r),t):Ne(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(f))}function u(t){return null===t||91===t||93===t||Ne(t)||s++>999?(e.exit("chunkString"),c(t)):(e.consume(t),i=i||!Re(t),92===t?f:u)}function f(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}}function et(e,t,n,r,a,o){let i;return function(t){return e.enter(r),e.enter(a),e.consume(t),e.exit(a),i=40===t?41:t,l};function l(n){return n===i?(e.enter(a),e.consume(n),e.exit(a),e.exit(r),t):(e.enter(o),s(n))}function s(t){return t===i?(e.exit(o),l(i)):null===t?n(t):Ne(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Ae(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===i||null===t||Ne(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?u:c)}function u(t){return t===i||92===t?(e.consume(t),c):c(t)}}function tt(e,t){let n;return function r(a){return Ne(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):Re(a)?Ae(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}function nt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var rt={name:"definition",tokenize:function(e,t,n){let r,a=this;return function(t){return e.enter("definition"),Ze.call(a,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function o(t){return r=nt(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),tt(e,Qe(e,e.attempt(at,Ae(e,i,"whitespace"),Ae(e,i,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function i(o){return null===o||Ne(o)?(e.exit("definition"),a.parser.defined.includes(r)||a.parser.defined.push(r),t(o)):n(o)}}},at={tokenize:function(e,t,n){return function(t){return we(t)?tt(e,r)(t):n(t)};function r(t){return 34===t||39===t||40===t?et(e,Ae(e,a,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function a(e){return null===e||Ne(e)?t(e):n(e)}},partial:!0},ot={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),r};function r(r){return Ne(r)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(r)):n(r)}}},it={name:"headingAtx",tokenize:function(e,t,n){let r=this,a=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),o(t)};function o(l){return 35===l&&a++<6?(e.consume(l),o):null===l||we(l)?(e.exit("atxHeadingSequence"),r.interrupt?t(l):i(l)):n(l)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),l(n)):null===n||Ne(n)?(e.exit("atxHeading"),t(n)):Re(n)?Ae(e,i,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function l(t){return 35===t?(e.consume(t),l):(e.exit("atxHeadingSequence"),i(t))}function s(t){return null===t||35===t||we(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),s)}},resolve:function(e,t){let n,r,a=e.length-2,o=3;return"whitespace"===e[o][1].type&&(o+=2),a-2>o&&"whitespace"===e[a][1].type&&(a-=2),"atxHeadingSequence"===e[a][1].type&&(o===a-1||a-4>o&&"whitespace"===e[a-2][1].type)&&(a-=o+1===a?2:4),a>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[a][1].end},r={type:"chunkText",start:e[o][1].start,end:e[a][1].end,contentType:"text"},ue(e,o,a-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},lt=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],st=["pre","script","style","textarea"],ct={name:"htmlFlow",tokenize:function(e,t,n){let r,a,o,i,l,s=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c};function c(i){return 33===i?(e.consume(i),u):47===i?(e.consume(i),p):63===i?(e.consume(i),r=3,s.interrupt?t:P):ge(i)?(e.consume(i),o=String.fromCharCode(i),a=!0,m):n(i)}function u(a){return 45===a?(e.consume(a),r=2,f):91===a?(e.consume(a),r=5,o="CDATA[",i=0,d):ge(a)?(e.consume(a),r=4,s.interrupt?t:P):n(a)}function f(r){return 45===r?(e.consume(r),s.interrupt?t:P):n(r)}function d(r){return r===o.charCodeAt(i++)?(e.consume(r),i===o.length?s.interrupt?t:O:d):n(r)}function p(t){return ge(t)?(e.consume(t),o=String.fromCharCode(t),m):n(t)}function m(i){return null===i||47===i||62===i||we(i)?47!==i&&a&&st.includes(o.toLowerCase())?(r=1,s.interrupt?t(i):O(i)):lt.includes(o.toLowerCase())?(r=6,47===i?(e.consume(i),h):s.interrupt?t(i):O(i)):(r=7,s.interrupt&&!s.parser.lazy[s.now().line]?n(i):a?y(i):g(i)):45===i||be(i)?(e.consume(i),o+=String.fromCharCode(i),m):n(i)}function h(r){return 62===r?(e.consume(r),s.interrupt?t:O):n(r)}function g(t){return Re(t)?(e.consume(t),g):N(t)}function y(t){return 47===t?(e.consume(t),N):58===t||95===t||ge(t)?(e.consume(t),v):Re(t)?(e.consume(t),y):N(t)}function v(t){return 45===t||46===t||58===t||95===t||be(t)?(e.consume(t),v):b(t)}function b(t){return 61===t?(e.consume(t),E):Re(t)?(e.consume(t),b):y(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,T):Re(t)?(e.consume(t),E):(l=null,S(t))}function T(t){return null===t||Ne(t)?n(t):t===l?(e.consume(t),w):(e.consume(t),T)}function S(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||we(t)?b(t):(e.consume(t),S)}function w(e){return 47===e||62===e||Re(e)?y(e):n(e)}function N(t){return 62===t?(e.consume(t),R):n(t)}function R(t){return Re(t)?(e.consume(t),R):null===t||Ne(t)?O(t):n(t)}function O(t){return 45===t&&2===r?(e.consume(t),C):60===t&&1===r?(e.consume(t),I):62===t&&4===r?(e.consume(t),M):63===t&&3===r?(e.consume(t),P):93===t&&5===r?(e.consume(t),L):!Ne(t)||6!==r&&7!==r?null===t||Ne(t)?x(t):(e.consume(t),O):e.check(ut,M,x)(t)}function x(t){return e.exit("htmlFlowData"),k(t)}function k(t){return null===t?D(t):Ne(t)?e.attempt({tokenize:A,partial:!0},k,D)(t):(e.enter("htmlFlowData"),O(t))}function A(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r};function r(e){return s.parser.lazy[s.now().line]?n(e):t(e)}}function C(t){return 45===t?(e.consume(t),P):O(t)}function I(t){return 47===t?(e.consume(t),o="",_):O(t)}function _(t){return 62===t&&st.includes(o.toLowerCase())?(e.consume(t),M):ge(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),_):O(t)}function L(t){return 93===t?(e.consume(t),P):O(t)}function P(t){return 62===t?(e.consume(t),M):45===t&&2===r?(e.consume(t),P):O(t)}function M(t){return null===t||Ne(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),M)}function D(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},ut={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(je,t,n)}},partial:!0},ft={name:"htmlText",tokenize:function(e,t,n){let r,a,o,i,l=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),c):47===t?(e.consume(t),S):63===t?(e.consume(t),E):ge(t)?(e.consume(t),R):n(t)}function c(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),a="CDATA[",o=0,h):ge(t)?(e.consume(t),b):n(t)}function u(t){return 45===t?(e.consume(t),f):n(t)}function f(t){return null===t||62===t?n(t):45===t?(e.consume(t),d):p(t)}function d(e){return null===e||62===e?n(e):p(e)}function p(t){return null===t?n(t):45===t?(e.consume(t),m):Ne(t)?(i=p,L(t)):(e.consume(t),p)}function m(t){return 45===t?(e.consume(t),M):p(t)}function h(t){return t===a.charCodeAt(o++)?(e.consume(t),o===a.length?g:h):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),y):Ne(t)?(i=g,L(t)):(e.consume(t),g)}function y(t){return 93===t?(e.consume(t),v):g(t)}function v(t){return 62===t?M(t):93===t?(e.consume(t),v):g(t)}function b(t){return null===t||62===t?M(t):Ne(t)?(i=b,L(t)):(e.consume(t),b)}function E(t){return null===t?n(t):63===t?(e.consume(t),T):Ne(t)?(i=E,L(t)):(e.consume(t),E)}function T(e){return 62===e?M(e):E(e)}function S(t){return ge(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||be(t)?(e.consume(t),w):N(t)}function N(t){return Ne(t)?(i=N,L(t)):Re(t)?(e.consume(t),N):M(t)}function R(t){return 45===t||be(t)?(e.consume(t),R):47===t||62===t||we(t)?O(t):n(t)}function O(t){return 47===t?(e.consume(t),M):58===t||95===t||ge(t)?(e.consume(t),x):Ne(t)?(i=O,L(t)):Re(t)?(e.consume(t),O):M(t)}function x(t){return 45===t||46===t||58===t||95===t||be(t)?(e.consume(t),x):k(t)}function k(t){return 61===t?(e.consume(t),A):Ne(t)?(i=k,L(t)):Re(t)?(e.consume(t),k):O(t)}function A(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,C):Ne(t)?(i=A,L(t)):Re(t)?(e.consume(t),A):(e.consume(t),r=void 0,_)}function C(t){return t===r?(e.consume(t),I):null===t?n(t):Ne(t)?(i=C,L(t)):(e.consume(t),C)}function I(e){return 62===e||47===e||we(e)?O(e):n(e)}function _(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||we(t)?O(t):(e.consume(t),_)}function L(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Ae(e,P,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function P(t){return e.enter("htmlTextData"),i(t)}function M(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}},dt={name:"labelEnd",tokenize:function(e,t,n){let r,a,o=this,i=o.events.length;for(;i--;)if(("labelImage"===o.events[i][1].type||"labelLink"===o.events[i][1].type)&&!o.events[i][1]._balanced){r=o.events[i][1];break}return function(t){return r?r._inactive?s(t):(a=o.parser.defined.includes(nt(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l):n(t)};function l(n){return 40===n?e.attempt(pt,t,a?t:s)(n):91===n?e.attempt(mt,t,a?e.attempt(ht,t,s):s)(n):a?t(n):s(n)}function s(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,a,o,i=e.length,l=0;for(;i--;)if(n=e[i][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[i][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(a){if("enter"===e[i][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=i,"labelLink"!==n.type)){l=2;break}}else"labelEnd"===n.type&&(a=i);let s={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[a][1].end)},u={type:"labelText",start:Object.assign({},e[r+l+2][1].end),end:Object.assign({},e[a-2][1].start)};return o=[["enter",s,t],["enter",c,t]],o=fe(o,e.slice(r+1,r+l+3)),o=fe(o,[["enter",u,t]]),o=fe(o,Pe(t.parser.constructs.insideSpan.null,e.slice(r+l+4,a-3),t)),o=fe(o,[["exit",u,t],e[a-2],e[a-1],["exit",c,t]]),o=fe(o,e.slice(a+1)),o=fe(o,[["exit",s,t]]),ue(e,r,e.length,o),e},resolveAll:function(e){let t,n=-1;for(;++nFt,contentInitial:()=>Lt,disable:()=>zt,document:()=>_t,flow:()=>Mt,flowInitial:()=>Pt,insideSpan:()=>jt,string:()=>Dt,text:()=>Ut});var _t={42:Et,43:Et,45:Et,48:Et,49:Et,50:Et,51:Et,52:Et,53:Et,54:Et,55:Et,56:Et,57:Et,62:Fe},Lt={91:rt},Pt={[-2]:Ge,[-1]:Ge,32:Ge},Mt={35:it,42:bt,45:[wt,bt],60:ct,61:wt,95:bt,96:We,126:We},Dt={38:Ve,92:ze},Ut={[-5]:vt,[-4]:vt,[-3]:vt,33:gt,38:Ve,42:Me,60:[Ue,ft],91:yt,92:[ot,ze],93:dt,95:Me,96:$e},jt={null:[Me,Rt]},Ft={null:[42,95]},zt={null:[]},Bt=/[\0\t\n\r]/g;function Ht(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":String.fromCharCode(n)}var Vt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Wt(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return Ht(n.slice(t?2:1),t?16:10)}return He(n)||e}var Gt={}.hasOwnProperty,Yt=function(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(E),autolinkProtocol:d,autolinkEmail:d,atxHeading:i(y),blockQuote:i(function(){return{type:"blockquote",children:[]}}),characterEscape:d,characterReference:d,codeFenced:i(g),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:i(g,l),codeText:i(function(){return{type:"inlineCode",value:""}},l),codeTextData:d,data:d,codeFlowValue:d,definition:i(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:i(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:i(v),hardBreakTrailing:i(v),htmlFlow:i(b,l),htmlFlowData:d,htmlText:i(b,l),htmlTextData:d,image:i(function(){return{type:"image",title:null,url:"",alt:null}}),label:l,link:i(E),listItem:i(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){o("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),a("expectingFirstListItemValue"))},listOrdered:i(T,function(){a("expectingFirstListItemValue",!0)}),listUnordered:i(T),paragraph:i(function(){return{type:"paragraph",children:[]}}),reference:function(){a("referenceType","collapsed")},referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:i(y),strong:i(function(){return{type:"strong",children:[]}}),thematicBreak:i(function(){return{type:"thematicBreak"}})},exit:{atxHeading:c(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let n=this.sliceSerialize(e).length;t.depth=n}},autolink:c(),autolinkEmail:function(e){p.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){p.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:c(),characterEscapeValue:p,characterReferenceMarkerHexadecimal:h,characterReferenceMarkerNumeric:h,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=o("characterReferenceType");r?(t=Ht(n,"characterReferenceMarkerNumeric"===r?10:16),a("characterReferenceType")):t=He(n);let i=this.stack.pop();i.value+=t,i.position.end=$t(e.end)},codeFenced:c(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}),codeFencedFence:function(){o("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:p,codeIndented:c(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:c(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:p,data:p,definition:c(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=nt(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:c(),hardBreakEscape:c(m),hardBreakTrailing:c(m),htmlFlow:c(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:p,htmlText:c(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:p,image:c(function(){let e=this.stack[this.stack.length-1];if(o("inReference")){let t=o("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;a("referenceType")}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];a("inReference",!0),"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(Vt,Wt)}(t),n.identifier=nt(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(o("atHardBreak"))return n.children[n.children.length-1].position.end=$t(e.end),void a("atHardBreak");!o("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(d.call(this,e),p.call(this,e))},link:c(function(){let e=this.stack[this.stack.length-1];if(o("inReference")){let t=o("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;a("referenceType")}),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=nt(this.sliceSerialize(e)).toLowerCase(),a("referenceType","full")},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){a("inReference")},setextHeading:c(function(){a("setextHeadingSlurpLineEnding")}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){a("setextHeadingSlurpLineEnding",!0)},strong:c(),thematicBreak:c()}};Xt(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let n={type:"root",children:[]},i={stack:[n],tokenStack:[],config:t,enter:s,exit:u,buffer:l,resume:f,setData:a,getData:o},c=[],d=-1;for(;++d0){let e=i.tokenStack[i.tokenStack.length-1];(e[1]||Kt).call(i,void 0,e[0])}for(n.position={start:$t(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:$t(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d-1&&(n[0]=n[0].slice(a)),i>0&&n.push(e[o].slice(0,i))),n}(i,e)}function d(){return Object.assign({},r)}function p(e){u=u(e)}function m(e,t){t.restore()}function h(e,t){return function(n,a,o){let i,u,f,p;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):(m=n,function(e){let t=null!==e&&m[e],n=null!==e&&m.null;return h([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});var m;function h(e){return i=e,u=0,0===e.length?o:g(e[u])}function g(e){return function(n){return p=function(){let e=d(),t=c.previous,n=c.currentConstruct,a=c.events.length,o=Array.from(l);return{restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=a,l=o,y()},from:a}}(),f=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name)?b():e.tokenize.call(t?Object.assign(Object.create(c),t):c,s,v,b)(n)}}function v(t){return e(f,p),a}function b(e){return p.restore(),++u{let n=this.data("settings");return Yt(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})};function Qt(e){let t=[],n=-1,r=0,a=0;for(;++n55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(i=String.fromCharCode(o,t),a=1):i="�"}else i=String.fromCharCode(o);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+a+1,i=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function Zt(e,t){let n,r=String(t.identifier).toUpperCase(),a=Qt(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);-1===o?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,n=e.footnoteOrder.length):(e.footnoteCounts[r]++,n=o+1);let i=e.footnoteCounts[r],l={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+a,id:e.clobberPrefix+"fnref-"+a+(i>1?"-"+i:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let s={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,s),e.applyData(t,s)}function en(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};let a=e.all(t),o=a[0];o&&"text"===o.type?o.value="["+o.value:a.unshift({type:"text",value:"["});let i=a[a.length-1];return i&&"text"===i.type?i.value+=r:a.push({type:"text",value:r}),a}function tn(e){let t=e.spread;return null==t?e.children.length>1:t}var nn=an("start"),rn=an("end");function an(e){return function(t){let n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}function on(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),a=0,o=[];for(;r;)o.push(ln(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return o.push(ln(t.slice(a),a>0,!1)),o.join("")}function ln(e,t,n){let r=0,a=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(a-1);for(;9===t||32===t;)a--,t=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}var sn={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,a={};r&&(a.className=["language-"+r]);let o={type:"element",tagName:"code",properties:a,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:Zt,footnote:function(e,t){let n=e.footnoteById,r=1;for(;r in n;)r++;let a=String(r);return n[a]={type:"footnoteDefinition",identifier:a,children:[{type:"paragraph",children:t.children}],position:t.position},Zt(e,{type:"footnoteReference",identifier:a,position:t.position})},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){let n=e.definition(t.identifier);if(!n)return en(e,t);let r={src:Qt(n.url||""),alt:t.alt};null!=n.title&&(r.title=n.title);let a={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){let n={src:Qt(t.url)};null!=t.alt&&(n.alt=t.alt),null!=t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=e.definition(t.identifier);if(!n)return en(e,t);let r={href:Qt(n.url||"")};null!=n.title&&(r.title=n.title);let a={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){let n={href:Qt(t.url)};null!=t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),a=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let l=-1;for(;++l0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=nn(t.children[1]),i=rn(t.children[t.children.length-1]);o.line&&i.line&&(r.position={start:o,end:i}),a.push(r)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,a=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,i=o?o.length:t.children.length,l=-1,s=[];for(;++l":"")+")"})}return u;function u(){let c,u,f,d=[];if((!t||a(i,l,s[s.length-1]||null))&&(d=function(e){return Array.isArray(e)?e:"number"==typeof e?[!0,e]:[e]}(n(i,s)),!1===d[0]))return d;if(i.children&&"skip"!==d[0])for(u=(r?i.children.length:-1)+o,f=s.concat(i);u>-1&&u0&&n.push({type:"text",value:"\n"}),n}function Sn(e,t){let n=function(e,t){let n=t||{},r={};return o.dangerous=n.allowDangerousHtml||!1,o.clobberPrefix=null==n.clobberPrefix?"user-content-":n.clobberPrefix,o.footnoteLabel=n.footnoteLabel||"Footnotes",o.footnoteLabelTagName=n.footnoteLabelTagName||"h2",o.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},o.footnoteBackLabel=n.footnoteBackLabel||"Back to content",o.unknownHandler=n.unknownHandler,o.passThrough=n.passThrough,o.handlers=d(d({},sn),n.handlers),o.definition=function(e){let t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return pn(e,"definition",e=>{let n=hn(e.identifier);n&&!mn.call(t,n)&&(t[n]=e)}),function(e){let n=hn(e);return n&&mn.call(t,n)?t[n]:null}}(e),o.footnoteById=r,o.footnoteOrder=[],o.footnoteCounts={},o.patch=yn,o.applyData=vn,o.one=function(e,t){return bn(o,e,t)},o.all=function(e){return En(o,e)},o.wrap=Tn,o.augment=a,pn(e,"footnoteDefinition",e=>{let t=String(e.identifier).toUpperCase();gn.call(r,t)||(r[t]=e)}),o;function a(e,t){if(e&&"data"in e&&e.data){let n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties=d(d({},t.properties),n.hProperties)),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){let n="type"in e?e:{position:e};(function(e){return!(e&&e.position&&e.position.start&&e.position.start.line&&e.position.start.column&&e.position.end&&e.position.end.line&&e.position.end.column)})(n)||(t.position={start:nn(n),end:rn(n)})}return t}function o(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),a(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=n.one(e,null),a=function(e){let t=[],n=-1;for(;++n1?"-"+l:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};l>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(l)}]}),s.length>0&&s.push({type:"text",value:" "}),s.push(t)}let c=a[a.length-1];if(c&&"element"===c.type&&"p"===c.tagName){let e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...s)}else a.push(...s);let u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+i},children:e.wrap(a,!0)};e.patch(r,u),t.push(u)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:p(d({},JSON.parse(JSON.stringify(e.footnoteLabelProperties))),{id:"footnote-label"}),children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return a&&r.children.push({type:"text",value:"\n"},a),Array.isArray(r)?{type:"root",children:r}:r}var wn=function(e,t){return e&&"run"in e?function(e,t){return(n,r,a)=>{e.run(Sn(n,t),r,e=>{a(e)})}}(e,t):function(e){return t=>Sn(t,e)}(e||t)},Nn=y(N(),1),Rn=class{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}};function On(e,t){let n={},r={},a=-1;for(;++aIn,booleanish:()=>_n,commaOrSpaceSeparated:()=>Un,commaSeparated:()=>Dn,number:()=>Pn,overloadedBoolean:()=>Ln,spaceSeparated:()=>Mn});var Cn=0,In=jn(),_n=jn(),Ln=jn(),Pn=jn(),Mn=jn(),Dn=jn(),Un=jn();function jn(){return u(2,++Cn)}var Fn=Object.keys(An),zn=class extends kn{constructor(e,t,n,r){let a=-1;if(super(e,t),Bn(this,"space",r),"number"==typeof n)for(;++a"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Gn=Vn({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Yn(e,t){return t in e?e[t]:t}function $n(e,t){return Yn(e,t.toLowerCase())}var Xn=Vn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:$n,properties:{xmlns:null,xmlnsXLink:null}}),qn=Vn({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:_n,ariaAutoComplete:null,ariaBusy:_n,ariaChecked:_n,ariaColCount:Pn,ariaColIndex:Pn,ariaColSpan:Pn,ariaControls:Mn,ariaCurrent:null,ariaDescribedBy:Mn,ariaDetails:null,ariaDisabled:_n,ariaDropEffect:Mn,ariaErrorMessage:null,ariaExpanded:_n,ariaFlowTo:Mn,ariaGrabbed:_n,ariaHasPopup:null,ariaHidden:_n,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Mn,ariaLevel:Pn,ariaLive:null,ariaModal:_n,ariaMultiLine:_n,ariaMultiSelectable:_n,ariaOrientation:null,ariaOwns:Mn,ariaPlaceholder:null,ariaPosInSet:Pn,ariaPressed:_n,ariaReadOnly:_n,ariaRelevant:null,ariaRequired:_n,ariaRoleDescription:Mn,ariaRowCount:Pn,ariaRowIndex:Pn,ariaRowSpan:Pn,ariaSelected:_n,ariaSetSize:Pn,ariaSort:null,ariaValueMax:Pn,ariaValueMin:Pn,ariaValueNow:Pn,ariaValueText:null,role:null}}),Kn=Vn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:$n,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Dn,acceptCharset:Mn,accessKey:Mn,action:null,allow:null,allowFullScreen:In,allowPaymentRequest:In,allowUserMedia:In,alt:null,as:null,async:In,autoCapitalize:null,autoComplete:Mn,autoFocus:In,autoPlay:In,capture:In,charSet:null,checked:In,cite:null,className:Mn,cols:Pn,colSpan:null,content:null,contentEditable:_n,controls:In,controlsList:Mn,coords:Pn|Dn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:In,defer:In,dir:null,dirName:null,disabled:In,download:Ln,draggable:_n,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:In,formTarget:null,headers:Mn,height:Pn,hidden:In,high:Pn,href:null,hrefLang:null,htmlFor:Mn,httpEquiv:Mn,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:In,itemId:null,itemProp:Mn,itemRef:Mn,itemScope:In,itemType:Mn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:In,low:Pn,manifest:null,max:null,maxLength:Pn,media:null,method:null,min:null,minLength:Pn,multiple:In,muted:In,name:null,nonce:null,noModule:In,noValidate:In,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:In,optimum:Pn,pattern:null,ping:Mn,placeholder:null,playsInline:In,poster:null,preload:null,readOnly:In,referrerPolicy:null,rel:Mn,required:In,reversed:In,rows:Pn,rowSpan:Pn,sandbox:Mn,scope:null,scoped:In,seamless:In,selected:In,shape:null,size:Pn,sizes:null,slot:null,span:Pn,spellCheck:_n,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Pn,step:null,style:null,tabIndex:Pn,target:null,title:null,translate:null,type:null,typeMustMatch:In,useMap:null,value:_n,width:Pn,wrap:null,align:null,aLink:null,archive:Mn,axis:null,background:null,bgColor:null,border:Pn,borderColor:null,bottomMargin:Pn,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:In,declare:In,event:null,face:null,frame:null,frameBorder:null,hSpace:Pn,leftMargin:Pn,link:null,longDesc:null,lowSrc:null,marginHeight:Pn,marginWidth:Pn,noResize:In,noHref:In,noShade:In,noWrap:In,object:null,profile:null,prompt:null,rev:null,rightMargin:Pn,rules:null,scheme:null,scrolling:_n,standby:null,summary:null,text:null,topMargin:Pn,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Pn,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:In,disableRemotePlayback:In,prefix:null,property:null,results:Pn,security:null,unselectable:null}}),Jn=Vn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Yn,properties:{about:Un,accentHeight:Pn,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Pn,amplitude:Pn,arabicForm:null,ascent:Pn,attributeName:null,attributeType:null,azimuth:Pn,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Pn,by:null,calcMode:null,capHeight:Pn,className:Mn,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Pn,diffuseConstant:Pn,direction:null,display:null,dur:null,divisor:Pn,dominantBaseline:null,download:In,dx:null,dy:null,edgeMode:null,editable:null,elevation:Pn,enableBackground:null,end:null,event:null,exponent:Pn,externalResourcesRequired:null,fill:null,fillOpacity:Pn,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Dn,g2:Dn,glyphName:Dn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Pn,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Pn,horizOriginX:Pn,horizOriginY:Pn,id:null,ideographic:Pn,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Pn,k:Pn,k1:Pn,k2:Pn,k3:Pn,k4:Pn,kernelMatrix:Un,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Pn,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Pn,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Pn,overlineThickness:Pn,paintOrder:null,panose1:null,path:null,pathLength:Pn,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Mn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Pn,pointsAtY:Pn,pointsAtZ:Pn,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Un,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Un,rev:Un,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Un,requiredFeatures:Un,requiredFonts:Un,requiredFormats:Un,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Pn,specularExponent:Pn,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Pn,strikethroughThickness:Pn,string:null,stroke:null,strokeDashArray:Un,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Pn,strokeOpacity:Pn,strokeWidth:null,style:null,surfaceScale:Pn,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Un,tabIndex:Pn,tableValues:null,target:null,targetX:Pn,targetY:Pn,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Un,to:null,transform:null,u1:null,u2:null,underlinePosition:Pn,underlineThickness:Pn,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Pn,values:null,vAlphabetic:Pn,vMathematical:Pn,vectorEffect:null,vHanging:Pn,vIdeographic:Pn,version:null,vertAdvY:Pn,vertOriginX:Pn,vertOriginY:Pn,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Pn,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Qn=/^data[-\w.:]+$/i,Zn=/-[a-z]/g,er=/[A-Z]/g;function tr(e){return"-"+e.toLowerCase()}function nr(e){return e.charAt(1).toUpperCase()}var rr={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},ar=On([Gn,Wn,Xn,qn,Kn],"html"),or=On([Gn,Wn,Xn,qn,Jn],"svg");function ir(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{pn(t,"element",(t,n,r)=>{let a,o=r;if(e.allowedElements?a=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(a=e.disallowedElements.includes(t.tagName)),!a&&e.allowElement&&"number"==typeof n&&(a=!e.allowElement(t,n,o)),a&&"number"==typeof n)return e.unwrapDisallowed&&t.children?o.children.splice(n,1,...t.children):o.children.splice(n,1),n})}}var lr=y(b(),1),sr=y(O(),1);function cr(e){let t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}var ur=y(k(),1).default,fr={}.hasOwnProperty,dr=new Set(["table","thead","tbody","tfoot","tr"]);function pr(e,t){let n,r=[],a=-1;for(;++a0?lr.default.createElement(p,c,f):lr.default.createElement(p,c)}function hr(e,t){let n=-1,r=0;for(;++n4&&"data"===n.slice(0,4)&&Qn.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(Zn,nr);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!Zn.test(e)){let n=e.replace(er,tr);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=zn}return new a(r,t)}(r.schema,t),o=n;null==o||o!=o||(Array.isArray(o)&&(o=a.commaSeparated?function(e,t){let n={};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(o):function(e){return e.join(" ").trim()}(o)),"style"===a.property&&"string"==typeof o&&(o=function(e){let t={};try{ur(e,function(e,n){let r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[r.replace(/-([a-z])/g,yr)]=n})}catch(e){}return t}(o)),a.space&&a.property?e[fr.call(rr,a.property)?rr[a.property]:a.property]=o:a.attribute&&(e[a.attribute]=o))}function yr(e,t){return t.toUpperCase()}var vr={}.hasOwnProperty,br={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Er(e){for(let t in br)if(vr.call(br,t)&&vr.call(e,t)){let e=br[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${t}\` (see for more info)`),delete br[t]}let t=Q().use(Jt).use(e.remarkPlugins||[]).use(wn,p(d({},e.remarkRehypeOptions),{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(ir,e),n=new W;"string"==typeof e.children?n.value=e.children:null!=e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let r=t.runSync(t.parse(n),n);if("root"!==r.type)throw new TypeError("Expected a `root` node");let a=_.default.createElement(_.default.Fragment,{},pr({options:e,schema:ar,listDepth:0},r));return e.className&&(a=_.default.createElement("div",{className:e.className},a)),a}return Er.propTypes={children:Nn.default.string,className:Nn.default.string,allowElement:Nn.default.func,allowedElements:Nn.default.arrayOf(Nn.default.string),disallowedElements:Nn.default.arrayOf(Nn.default.string),unwrapDisallowed:Nn.default.bool,remarkPlugins:Nn.default.arrayOf(Nn.default.oneOfType([Nn.default.object,Nn.default.func,Nn.default.arrayOf(Nn.default.oneOfType([Nn.default.bool,Nn.default.string,Nn.default.object,Nn.default.func,Nn.default.arrayOf(Nn.default.any)]))])),rehypePlugins:Nn.default.arrayOf(Nn.default.oneOfType([Nn.default.object,Nn.default.func,Nn.default.arrayOf(Nn.default.oneOfType([Nn.default.bool,Nn.default.string,Nn.default.object,Nn.default.func,Nn.default.arrayOf(Nn.default.any)]))])),sourcePos:Nn.default.bool,rawSourcePos:Nn.default.bool,skipHtml:Nn.default.bool,includeElementIndex:Nn.default.bool,transformLinkUri:Nn.default.oneOfType([Nn.default.func,Nn.default.bool]),linkTarget:Nn.default.oneOfType([Nn.default.func,Nn.default.string]),transformImageUri:Nn.default.func,components:Nn.default.object},(e=>g(t({},"__esModule",{value:!0}),e))(A)})()}));const Zc=["node","inline","className","children"];function eu({solution:e}){return c.createElement("div",{className:"grid grid-cols-1 gap-2"},c.createElement(Qc,{children:e.description,components:{code(e){let{inline:t,className:n,children:r}=e,a=xe(e,Zc);const o=/language-(\w+)/.exec(n||"");return t?c.createElement("code",Ne({},a,{className:n,style:{background:"rgba(255,255,255,0.75)",padding:"0.15rem 0.25rem"}}),r):c.createElement(Gl,Ne({},a,{language:o?o[1]:null,children:String(r).replace(/\n$/,""),customStyle:{margin:"0.5rem 0",background:"rgba(255,255,255,0.75)",padding:"0.25rem 0.5rem",overflowX:"scroll"}}))}}}),e.action_description&&c.createElement("p",null,e.action_description),c.createElement("ul",{className:"grid grid-cols-1 gap-1 text-sm"},Object.entries(e.links).map(([e,t],n)=>c.createElement("li",{key:n},c.createElement("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"underline text-emerald-700 hover:text-emerald-800"},e)))))}function tu({solution:e}){const[t,n]=c.useState(!1),[r,a]=c.useState(null);function o(e){e.preventDefault(),location.reload()}return c.createElement(c.Fragment,null,null===r&&c.createElement(c.Fragment,null,c.createElement(Jc,{onClick:async function(){if(!t)try{if(n(!0),!e.execute_endpoint)return;const t=await fetch(e.execute_endpoint,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({solution:e.class,parameters:e.run_parameters})});a(t.status>=200&&t.status<300)}catch(e){console.error(e),a(!1)}finally{n(!1)}},disabled:t,className:"mb-4 inline-flex items-center gap-2 bg-emerald-600 border-emerald-500/25 text-white"},t?c.createElement("span",null,"Running..."):c.createElement(c.Fragment,null,c.createElement(co,{className:"opacity-50",icon:No}),e.run_button_text||"Run")),c.createElement(eu,{solution:e})),!0===r&&c.createElement("p",{className:""},"The solution was executed ",c.createElement("strong",null,"successfully"),".",c.createElement("br",null),c.createElement("a",{href:"#",className:"mt-2 inline-flex items-center gap-2 underline text-emerald-700 hover:text-emerald-800",onClick:o},c.createElement(co,{icon:_o,className:"text-sm opacity-50"}),"Refresh now")),!1===r&&c.createElement(c.Fragment,null,c.createElement("p",{className:"bg-red-200 px-4 py-2"},"Something ",c.createElement("strong",null,"went wrong"),". Please try refreshing the page and try again.",c.createElement("br",null),c.createElement("a",{href:"#",className:"mt-2 inline-flex items-center gap-2 underline text-red-700 hover:text-red-800",onClick:o},c.createElement(co,{icon:_o,className:"text-sm opacity-50"}),"Refresh now"))))}function nu({solution:e,isOpen:t=!1,isCollapsible:n=!0,canExecute:r=!1}){const[a,o]=c.useState(t);return c.createElement("section",null,c.createElement("header",{className:"group mb-4"},n?c.createElement("button",{className:"flex items-center justify-start",onClick:()=>{o(!a)}},c.createElement("span",{className:"w-6 -ml-6"},c.createElement(co,{icon:Lo,className:"group-hover:opacity-50 opacity-0 text-sm transform transition "+(a?"":"-rotate-90")})),c.createElement("h2",{className:"min-w-0 truncate font-semibold leading-snug"},e.title)):c.createElement("h2",{className:"truncate font-semibold leading-snug"},e.title)),c.createElement("div",{className:a?"":"hidden"},c.createElement(e.is_runnable&&r?tu:eu,{solution:e}),e.ai_generated&&c.createElement(c.Fragment,null,c.createElement("hr",{className:"border-emerald-500/50 my-4"}),c.createElement("div",{className:"flex items-center gap-x-2 text-green-700"},c.createElement(co,{fixedWidth:!0,icon:zo}),c.createElement("span",{id:"ai-message",className:"text-xs"},"This solution was ",c.createElement("a",{className:"underline",target:"_blank",rel:"noopener noreferrer",href:"https://flareapp.io/docs/ignition/solutions/ai-powered-solutions"},"generated by AI")," and might not be 100% accurate.")))))}function ru(){const{solutions:e}=c.useContext(be),[t,n]=c.useState(!1),[r,a]=c.useState(!0);return c.useEffect(()=>{try{(async()=>{var t;if(null==(t=e[0])||!t.execute_endpoint)return;const r=await(await fetch(e[0].execute_endpoint.replace("execute-solution","health-check"))).json();n(r.can_execute_commands)})()}catch(e){console.error(e),n(!1)}},[]),c.createElement(c.Fragment,null,r?c.createElement("aside",{id:"solution",className:"relative flex flex-col lg:w-2/5 flex-none"},c.createElement("div",{className:"flex-grow px-6 sm:px-10 py-8 bg-emerald-300 text-gray-800 rounded-bl-lg rounded-br-lg @4xl:rounded-bl-none @4xl:rounded-r-lg"},c.createElement("button",{onClick:()=>a(!1),className:"absolute top-3 right-4 leading-none text-emerald-500 hover:text-emerald-700 text-sm"},c.createElement(co,{icon:jo})),e.map((n,r)=>c.createElement("div",{key:r},c.createElement(nu,{solution:n,canExecute:t,isOpen:0===r,isCollapsible:e.length>1}),r!==e.length-1&&c.createElement("hr",{className:"my-4 border-t border-gray-800/20"}))))):c.createElement("button",{onClick:()=>a(!0),className:"\n absolute -top-3 -right-3 z-20\n w-6 h-6 rounded-full flex items-center justify-center\n text-xs bg-emerald-500 text-white hover:shadow-lg\n shadow-md\n active:shadow-sm active:translate-y-px"},c.createElement(co,{icon:po})))}var au={prefix:"fab",iconName:"laravel",icon:[512,512,[],"f3bd","M504.4,115.83a5.72,5.72,0,0,0-.28-.68,8.52,8.52,0,0,0-.53-1.25,6,6,0,0,0-.54-.71,9.36,9.36,0,0,0-.72-.94c-.23-.22-.52-.4-.77-.6a8.84,8.84,0,0,0-.9-.68L404.4,55.55a8,8,0,0,0-8,0L300.12,111h0a8.07,8.07,0,0,0-.88.69,7.68,7.68,0,0,0-.78.6,8.23,8.23,0,0,0-.72.93c-.17.24-.39.45-.54.71a9.7,9.7,0,0,0-.52,1.25c-.08.23-.21.44-.28.68a8.08,8.08,0,0,0-.28,2.08V223.18l-80.22,46.19V63.44a7.8,7.8,0,0,0-.28-2.09c-.06-.24-.2-.45-.28-.68a8.35,8.35,0,0,0-.52-1.24c-.14-.26-.37-.47-.54-.72a9.36,9.36,0,0,0-.72-.94,9.46,9.46,0,0,0-.78-.6,9.8,9.8,0,0,0-.88-.68h0L115.61,1.07a8,8,0,0,0-8,0L11.34,56.49h0a6.52,6.52,0,0,0-.88.69,7.81,7.81,0,0,0-.79.6,8.15,8.15,0,0,0-.71.93c-.18.25-.4.46-.55.72a7.88,7.88,0,0,0-.51,1.24,6.46,6.46,0,0,0-.29.67,8.18,8.18,0,0,0-.28,2.1v329.7a8,8,0,0,0,4,6.95l192.5,110.84a8.83,8.83,0,0,0,1.33.54c.21.08.41.2.63.26a7.92,7.92,0,0,0,4.1,0c.2-.05.37-.16.55-.22a8.6,8.6,0,0,0,1.4-.58L404.4,400.09a8,8,0,0,0,4-6.95V287.88l92.24-53.11a8,8,0,0,0,4-7V117.92A8.63,8.63,0,0,0,504.4,115.83ZM111.6,17.28h0l80.19,46.15-80.2,46.18L31.41,63.44Zm88.25,60V278.6l-46.53,26.79-33.69,19.4V123.5l46.53-26.79Zm0,412.78L23.37,388.5V77.32L57.06,96.7l46.52,26.8V338.68a6.94,6.94,0,0,0,.12.9,8,8,0,0,0,.16,1.18h0a5.92,5.92,0,0,0,.38.9,6.38,6.38,0,0,0,.42,1v0a8.54,8.54,0,0,0,.6.78,7.62,7.62,0,0,0,.66.84l0,0c.23.22.52.38.77.58a8.93,8.93,0,0,0,.86.66l0,0,0,0,92.19,52.18Zm8-106.17-80.06-45.32,84.09-48.41,92.26-53.11,80.13,46.13-58.8,33.56Zm184.52,4.57L215.88,490.11V397.8L346.6,323.2l45.77-26.15Zm0-119.13L358.68,250l-46.53-26.79V131.79l33.69,19.4L392.37,178Zm8-105.28-80.2-46.17,80.2-46.16,80.18,46.15Zm8,105.28V178L455,151.19l33.68-19.4v91.39h0Z"]};function ou(){const e=c.useContext(be);return c.createElement("span",{className:"py-1 px-4 items-center flex gap-3 rounded-sm ~bg-gray-500/5"},c.createElement(At,{path:e.exception_class}))}function iu({githubLink:e}){return c.createElement("section",{className:"flex flex-col flex-grow px-6 sm:px-10 py-8 bg-red-600 text-red-100 shadow-lg gap-3"},c.createElement("h2",{className:"text-xl font-semibold leading-snug"},"Something went wrong in Ignition!"),c.createElement("p",{className:"text-base"},"An error occurred in Ignition's UI. Please open an issue on"," ",c.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"underline"},"the Ignition GitHub repo")," ","and make sure to include any errors or warnings in the developer console."))}class lu extends c.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}render(){const{error:e}=this.state;if(e){var t,n;let r="https://github.com/spatie/ignition/issues";if(e instanceof Error){const t=`\n**Please include some context and the contents of the console in your browser's developer tools.**\n\n## JavaScript Error\n\`\`\`\n${e.stack}\n\`\`\`\n\n## Reproduction Steps\nPlease tell us what you were doing when this error occurred, so we can more easily debug it and find a solution.\n\n1. …\n\n## User Agent\n\`\`\`\n${navigator.userAgent}\n\`\`\`\n`;r=`https://github.com/spatie/ignition/issues/new?title=${e.name}: ${e.message}&labels=bug&body=${encodeURIComponent(t)}`}return(null==(t=(n=this.props).fallbackComponent)?void 0:t.call(n,r))||c.createElement(iu,{githubLink:r})}return this.props.children}}function su(){var e;const t=c.useContext(be),n=t.solutions.length>0,r=!(null==(e=t.context_items.env)||!e.laravel_version);return c.createElement(lu,null,c.createElement("section",{className:"@container | bg-white dark:shadow-none dark:bg-gray-800/50 dark:bg-gradient-to-bl from-gray-700/50 via-transparent dark:ring-1 dark:ring-inset dark:ring-white/5 rounded-lg shadow-2xl shadow-gray-500/20"},c.createElement("div",{className:"@4xl:flex items-stretch"},c.createElement("main",{id:"exception",className:"z-10 flex-grow min-w-0"},c.createElement("div",{className:"overflow-hidden"},c.createElement("div",{className:"px-6 @lg:px-10 py-8 overflow-x-auto"},c.createElement("header",{className:"flex items-center justify-between gap-2"},c.createElement(ou,null),c.createElement("div",{className:"grid grid-flow-col justify-end gap-4 text-sm ~text-gray-500"},c.createElement("span",null,c.createElement("span",{className:"tracking-wider"},"PHP")," ",t.language_version),t.framework_version&&c.createElement("span",{className:"inline-flex items-center gap-1"},c.createElement(co,{icon:r?au:Oo}),t.framework_version))),c.createElement(qc,{exceptionClass:t.exception_class,message:t.exception_message})))),n&&c.createElement(ru,null))))}const cu=(e,t)=>e.join(t).toLowerCase(),uu=/[\u0300-\u036F\u1AB0-\u1AFF\u1DC0-\u1DFF]+/g,fu=/[A-Za-z\d]+/g,du=new RegExp("[A-Za-z\\d]*?(?:[a-z](?=[A-Z])|[A-Z](?=[A-Z][a-z]))|[A-Za-z\\d]+","g");function pu(e,{camelCase:t=!0,dictionary:n,separator:r="-",transformer:a=cu}={}){const o=(n?function(e,t){for(let n=0,r=e.length;nc.createElement(mu,{githubLink:e})},t)))}var gu=/* @__PURE__ */new Map,yu=/* @__PURE__ */new WeakMap,vu=0,bu=c.createContext({inView:[],setInView:Ee});function Eu({icon:e,title:t,children:n,anchor:r}){const a=function(e){const{setInView:t}=c.useContext(bu),{ref:n,inView:r}=function({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:a,triggerOnce:o,skip:i,initialInView:l,fallbackInView:s,onChange:u}={}){var f;const[d,p]=c.useState(null),m=c.useRef(),[h,g]=c.useState({inView:!!l,entry:void 0});m.current=u,c.useEffect(()=>{if(i||!d)return;let l;return l=function(e,t,n={},r){if(void 0===window.IntersectionObserver&&void 0!==r){const a=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:a,intersectionRect:a,rootBounds:a}),()=>{}}const{id:a,observer:o,elements:i}=function(e){const t=function(e){return Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{return`${t}_${"root"===t?(n=e.root,n?(yu.has(n)||yu.set(n,(vu+=1).toString()),yu.get(n)):"0"):e[t]}`;var n}).toString()}(e);let n=gu.get(t);if(!n){const r=/* @__PURE__ */new Map;let a;const o=new IntersectionObserver(t=>{t.forEach(t=>{var n;const o=t.isIntersecting&&a.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(n=r.get(t.target))||n.forEach(e=>{e(o,t)})})},e);a=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:r},gu.set(t,n)}return n}(n),l=i.get(e)||[];return i.has(e)||i.set(e,l),l.push(t),o.observe(e),function(){l.splice(l.indexOf(t),1),0===l.length&&(i.delete(e),o.unobserve(e)),0===i.size&&(o.disconnect(),gu.delete(a))}}(d,(e,t)=>{g({inView:e,entry:t}),m.current&&m.current(e,t),t.isIntersecting&&o&&l&&(l(),l=void 0)},{root:a,rootMargin:r,threshold:e,trackVisibility:n,delay:t},s),()=>{l&&l()}},[Array.isArray(e)?e.toString():e,d,a,r,o,i,n,s,t]);const y=null==(f=h.entry)?void 0:f.target,v=c.useRef();d||!y||o||i||v.current===y||(v.current=y,g({inView:!!l,entry:void 0}));const b=[p,h.inView,h.entry];return b.ref=b[0],b.inView=b[1],b.entry=b[2],b}({rootMargin:"-45% 0px -45%"});return c.useEffect(()=>{t(r?t=>[...t,e]:t=>t.filter(t=>t!==e))},[r]),n}(t);return c.createElement("div",{ref:a},c.createElement("a",{id:`context-${r}`,className:"scroll-target"}),c.createElement("h1",{className:"mb-2 flex items-center gap-2 font-semibold text-lg ~text-indigo-600"},t,c.createElement("span",{className:"opacity-50 ~text-indigo-600 text-sm"},e)),c.createElement(lu,{fallbackComponent:e=>c.createElement(mu,{githubLink:e})},n))}function Tu({children:e,className:t="",color:n="gray"}){return c.createElement("div",{className:`${t} ${{red:"~text-red-600 border-red-500/50",orange:"~text-orange-600 border-orange-500/50",green:"~text-emerald-600 border-emerald-500/50",blue:"~text-indigo-600 border-indigo-500/50",purple:"~text-violet-600 border-violet-600/50",gray:"~text-gray-500 border-gray-500/50"}[n]} px-1.5 py-0.5 rounded-sm bg-opacity-20 border text-xs font-medium uppercase tracking-wider`},e)}function Su({request:e,requestData:t,headers:n}){const r=c.useMemo(()=>function(e,t,n){if(!e.url||!e.method)return null;const r=[`curl "${e.url}"`];r.push(` -X ${e.method}`),Object.entries(n||{}).map(function([e,t]){r.push(` -H '${e}: ${t}'`)});const a=function(e,t){var n,r;return e.body?null!=(n=t["content-type"])&&null!=(r=n[0])&&r.includes("application/json")?` -d ${JSON.stringify(e.body)}`:` ${Object.entries(e.body||{}).map(function([e,t]){return`-F '${e}=${t}'`}).join(" ")}`:null}(t,n);return a&&r.push(a),r.join(" \\\n").trimEnd().replace(/\s\\$/g,";")}(e,t,n),[e,t,n]);return c.createElement("div",null,c.createElement("div",{className:"text-lg font-semibold flex items-center gap-2"},c.createElement("span",{className:"~text-indigo-600"},e.url),e.method&&c.createElement(Tu,{color:"DELETE"==e.method.toUpperCase()?"red":"blue"},e.method.toUpperCase())),r&&c.createElement("div",{className:"mt-2"},c.createElement(Hc,{value:r,language:"curl"})))}function wu({items:e}){return c.createElement(Wc,null,Object.entries(e||{}).map(([e,t])=>c.createElement(Wc.Row,{key:e,label:e,value:t})))}var Nu=function(e){return null==e},Ru=Object.prototype.hasOwnProperty,Ou=function(e){if(null==e)return!0;if(Ls(e)&&(rs(e)||"string"==typeof e||"function"==typeof e.splice||gs(e)||Ns(e)||ms(e)))return!e.length;var t=Ys(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(ks(e))return!_s(e).length;for(var n in e)if(Ru.call(e,n))return!1;return!0},xu=function(){try{var e=Ze(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),ku=Object.prototype.hasOwnProperty,Au=function(e,t,n){var r=e[t];ku.call(e,t)&&ot(r,n)&&(void 0!==n||t in e)||function(e,t,n){"__proto__"==t&&xu?xu(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}(e,t,n)},Cu=function(e,t,n,r){if(!Ge(e))return e;for(var a=-1,o=(t=dc(t,e)).length,i=o-1,l=e;null!=l&&++ac.createElement(Wc.Row,{key:n,label:t,value:e}))):null}const Gu=["children","className"];function Yu(e){let{children:t,className:n=""}=e,r=xe(e,Gu);return c.createElement(c.Fragment,null,t&&c.createElement("ul",Ne({className:`gap-y-2 flex flex-col ${n}`},r),t))}function $u({route:e}){var t;return c.createElement(Wc,null,c.createElement(Wc.Row,{value:e.controllerAction,label:"Controller"}),e.route&&c.createElement(Wc.Row,{value:e.route,label:"Route name"}),!(null==(t=e.routeParameters)||!t.length)&&c.createElement(Wc.Row,{value:c.createElement(Wc,null,Object.entries(e.routeParameters).map(([e,t])=>c.createElement(Wc.Row,{stacked:!0,key:e,label:e,value:t}))),label:"Route parameters"}),e.middleware&&c.createElement(Wc.Row,{value:c.createElement(Yu,null,(e.middleware||[]).map((e,t)=>c.createElement(Yu.Item,{key:t,value:e}))),label:"Middleware"}))}Yu.Item=function({value:e=""}){let t=e;return c.isValidElement(e)?t=e:"object"==typeof e?t=c.createElement(Hc,{value:Ko(e),language:"json"}):"string"==typeof e&&(t=c.createElement(Hc,{value:e})),c.createElement("li",null,t)};const Xu=["value"];function qu(e){let{value:t}=e,n=xe(e,Xu);return c.useEffect(()=>{const e=t.match(/sf-dump-\d+/);e&&window.Sfdump(e[0])},[t]),c.createElement("div",Ne({className:"~bg-gray-500/5 px-4 py-2",dangerouslySetInnerHTML:{__html:t}},n))}function Ku(){const e=c.useContext(be).context_items.view;return e?c.createElement(Wc,null,c.createElement(Wc.Row,{value:c.createElement(ti,{path:e.view}),label:"View"}),e.data&&c.createElement(Wc.Row,{value:c.createElement(Wc,null,Object.entries(e.data).map(([e,t])=>c.createElement(Wc.Row,{stacked:!0,key:e,label:e,value:c.createElement(qu,{value:t})}))),label:"Data"})):null}var Ju=_e(function(e){!function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n>>6*(3-o)&63):"=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,a=0;r>>6-2*a);return n}};e.exports=n}()}),Qu={utf8:{stringToBytes:function(e){return Qu.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(Qu.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n>>24)|4278255360&(l[p]<<24|l[p]>>>8);l[s>>>5]|=128<>>9<<4)]=s;var m=e._ff,h=e._gg,g=e._hh,y=e._ii;for(p=0;p>>0,u=u+b>>>0,f=f+E>>>0,d=d+T>>>0}return t.endian([c,u,f,d])};o._ff=function(e,t,n,r,a,o,i){var l=e+(t&n|~t&r)+(a>>>0)+i;return(l<>>32-o)+t},o._gg=function(e,t,n,r,a,o,i){var l=e+(t&r|n&~r)+(a>>>0)+i;return(l<>>32-o)+t},o._hh=function(e,t,n,r,a,o,i){var l=e+(t^n^r)+(a>>>0)+i;return(l<>>32-o)+t},o._ii=function(e,t,n,r,a,o,i){var l=e+(n^(t|~r))+(a>>>0)+i;return(l<>>32-o)+t},o._blocksize=16,o._digestsize=16,e.exports=function(e,n){if(null==e)throw new Error("Illegal argument "+e);var r=t.wordsToBytes(o(e,n));return n&&n.asBytes?r:n&&n.asString?a.bytesToString(r):t.bytesToHex(r)}}()});function rf({user:e}){return c.createElement(c.Fragment,null,e.email&&c.createElement("div",{className:"mb-2 flex items-center gap-3"},c.createElement("div",null,c.createElement("img",{className:"inline-block h-9 w-9 rounded-full",alt:e.email,src:`https://gravatar.com/avatar/${nf(e.email)}/?s=240`})),c.createElement("div",{className:"leading-tight"},e.name&&c.createElement("p",{className:"font-semibold"},e.name),c.createElement("p",{className:"text-sm"},e.email))),c.createElement(Hc,{value:Ko(e),language:"json"}))}function af({children:e,className:t=""}){return c.createElement("div",{className:`${t}`},c.createElement("div",{className:"flex items-center gap-2 bg-yellow-50 dark:bg-yellow-500/10 px-4 py-2"},c.createElement("div",{className:"flex-shrink-0","aria-hidden":"true"},c.createElement(co,{className:"text-yellow-500 ",icon:Vo})),c.createElement("p",{className:"text-sm"},e)))}var of=function(e,t){!0===t&&(t=0);var n=e.indexOf("://"),r=e.substring(0,n).split("+").filter(Boolean);return"number"==typeof t?r[t]:r},lf=function e(t){if(Array.isArray(t))return-1!==t.indexOf("ssh")||-1!==t.indexOf("rsync");if("string"!=typeof t)return!1;var n=of(t);if(t=t.substring(t.indexOf("://")+3),e(n))return!0;var r=new RegExp(".([a-zA-Z\\d]+):(\\d+)/");return!t.match(r)&&t.indexOf("@"){if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]},mf=function(e,t){for(var n={},r=Object.keys(e),a=Array.isArray(t),o=0;o`%${e.charCodeAt(0).toString(16).toUpperCase()}`):encodeURIComponent(e):e}function a(e,t){return t.decode?df(e):e}function o(e){return Array.isArray(e)?e.sort():"object"==typeof e?o(Object.keys(e)).sort((e,t)=>Number(e)-Number(t)).map(t=>e[t]):e}function i(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function l(e){const t=(e=i(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function s(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function c(e,t){n((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const r=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),r[e=e.replace(/\[\]$/,"")]=t?void 0!==r[e]?[].concat(r[e],n):[n]:n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&a(n,e).includes(e.arrayFormatSeparator);n=i?a(n,e):n;const l=o||i?n.split(e.arrayFormatSeparator).map(t=>a(t,e)):null===n?n:a(n,e);r[t]=l};default:return(e,t,n)=>{n[e]=void 0!==n[e]?[].concat(n[e],t):t}}}(t),i=Object.create(null);if("string"!=typeof e)return i;if(!(e=e.trim().replace(/^[?#&]/,"")))return i;for(const n of e.split("&")){if(""===n)continue;let[e,o]=pf(t.decode?n.replace(/\+/g," "):n,"=");o=void 0===o?null:["comma","separator"].includes(t.arrayFormat)?o:a(o,t),r(a(e,t),o,i)}for(const e of Object.keys(i)){const n=i[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=s(n[e],t);else i[e]=s(n,t)}return!1===t.sort?i:(!0===t.sort?Object.keys(i).sort():Object.keys(i).sort(t.sort)).reduce((e,t)=>{const n=i[t];return e[t]=Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?o(n):n,e},Object.create(null))}t.extract=l,t.parse=c,t.stringify=(e,t)=>{if(!e)return"";n((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const a=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],o=function(e){switch(e.arrayFormat){case"index":return t=>(n,a)=>{const o=n.length;return void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?n:null===a?[...n,[r(t,e),"[",o,"]"].join("")]:[...n,[r(t,e),"[",r(o,e),"]=",r(a,e)].join("")]};case"bracket":return t=>(n,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?n:null===a?[...n,[r(t,e),"[]"].join("")]:[...n,[r(t,e),"[]=",r(a,e)].join("")];case"comma":case"separator":return t=>(n,a)=>null==a||0===a.length?n:0===n.length?[[r(t,e),"=",r(a,e)].join("")]:[[n,r(a,e)].join(e.arrayFormatSeparator)];default:return t=>(n,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?n:null===a?[...n,r(t,e)]:[...n,[r(t,e),"=",r(a,e)].join("")]}}(t),i={};for(const t of Object.keys(e))a(t)||(i[t]=e[t]);const l=Object.keys(i);return!1!==t.sort&&l.sort(t.sort),l.map(n=>{const a=e[n];return void 0===a?"":null===a?r(n,t):Array.isArray(a)?a.reduce(o(n),[]).join("&"):r(n,t)+"="+r(a,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=pf(e,"#");return Object.assign({url:n.split("?")[0]||"",query:c(l(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:a(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0},n);const a=i(e.url).split("?")[0]||"",o=t.extract(e.url),l=t.parse(o,{sort:!1}),s=Object.assign(l,e.query);let c=t.stringify(s,n);c&&(c=`?${c}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${r(e.fragmentIdentifier,n)}`),`${a}${c}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0},r);const{url:a,query:o,fragmentIdentifier:i}=t.parseUrl(e,r);return t.stringifyUrl({url:a,query:mf(o,n),fragmentIdentifier:i},r)},t.exclude=(e,n,r)=>{const a=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,a,r)}});function gf(e){if("string"!=typeof e)throw new Error("The url must be a string.");let t=function(e){let t=function(e){if("string"!=typeof e||!e.trim())throw new Error("Invalid url.");return function(e){e=(e||"").trim();var t={protocols:of(e),protocol:null,port:null,resource:"",user:"",pathname:"",hash:"",search:"",href:e,query:Object.create(null)},n=e.indexOf("://"),r=null,a=null;e.startsWith(".")&&(e.startsWith("./")&&(e=e.substring(2)),t.pathname=e,t.protocol="file");var o=e.charAt(1);return t.protocol||(t.protocol=t.protocols[0],t.protocol||(lf(e)?t.protocol="ssh":"/"===o||"~"===o?(e=e.substring(2),t.protocol="file"):t.protocol="file")),-1!==n&&(e=e.substring(n+3)),a=e.split(/\/|\\/),t.resource="file"!==t.protocol?a.shift():"",2===(r=t.resource.split("@")).length&&(t.user=r[0],t.resource=r[1]),2===(r=t.resource.split(":")).length&&(t.resource=r[0],r[1]?(t.port=Number(r[1]),isNaN(t.port)&&(t.port=null,a.unshift(r[1]))):t.port=null),a=a.filter(Boolean),t.pathname="file"===t.protocol?t.href:t.pathname||("file"!==t.protocol||"/"===t.href[0]?"/":"")+a.join("/"),2===(r=t.pathname.split("#")).length&&(t.pathname=r[0],t.hash=r[1]),2===(r=t.pathname.split("?")).length&&(t.pathname=r[0],t.search=r[1]),t.query=hf.parse(t.search),t.href=t.href.replace(/\/$/,""),t.pathname=t.pathname.replace(/\/$/,""),t}(e)}(e);t.token="";let n=t.user.split(":");return 2===n.length&&("x-oauth-basic"===n[1]?t.token=n[0]:"x-token-auth"===n[0]&&(t.token=n[1])),t.protocol=lf(t.protocols)||lf(e)?"ssh":t.protocols.length?t.protocols[0]:"file",t.href=t.href.replace(/\/$/,""),t}(e),n=t.resource.split("."),r=null;switch(t.toString=function(e){return gf.stringify(this,e)},t.source=n.length>2?n.slice(1-n.length).join("."):t.source=t.resource,t.git_suffix=/\.git$/.test(t.pathname),t.name=decodeURIComponent(t.pathname.replace(/^\//,"").replace(/\.git$/,"")),t.owner=decodeURIComponent(t.user),t.source){case"git.cloudforge.com":t.owner=t.user,t.organization=n[0],t.source="cloudforge.com";break;case"visualstudio.com":if("vs-ssh.visualstudio.com"===t.resource){r=t.name.split("/"),4===r.length&&(t.organization=r[1],t.owner=r[2],t.name=r[3],t.full_name=r[2]+"/"+r[3]);break}r=t.name.split("/"),2===r.length?(t.owner=r[1],t.name=r[1],t.full_name="_git/"+t.name):3===r.length?(t.name=r[2],"DefaultCollection"===r[0]?(t.owner=r[2],t.organization=r[0],t.full_name=t.organization+"/_git/"+t.name):(t.owner=r[0],t.full_name=t.owner+"/_git/"+t.name)):4===r.length&&(t.organization=r[0],t.owner=r[1],t.name=r[3],t.full_name=t.organization+"/"+t.owner+"/_git/"+t.name);break;case"dev.azure.com":case"azure.com":if("ssh.dev.azure.com"===t.resource){r=t.name.split("/"),4===r.length&&(t.organization=r[1],t.owner=r[2],t.name=r[3]);break}r=t.name.split("/"),5===r.length?(t.organization=r[0],t.owner=r[1],t.name=r[4],t.full_name="_git/"+t.name):3===r.length?(t.name=r[2],"DefaultCollection"===r[0]?(t.owner=r[2],t.organization=r[0],t.full_name=t.organization+"/_git/"+t.name):(t.owner=r[0],t.full_name=t.owner+"/_git/"+t.name)):4===r.length&&(t.organization=r[0],t.owner=r[1],t.name=r[3],t.full_name=t.organization+"/"+t.owner+"/_git/"+t.name),t.query&&t.query.path&&(t.filepath=t.query.path.replace(/^\/+/g,"")),t.query&&t.query.version&&(t.ref=t.query.version.replace(/^GB/,""));break;default:r=t.name.split("/");let e=r.length-1;if(r.length>=2){const n=r.indexOf("-",2),a=r.indexOf("blob",2),o=r.indexOf("tree",2),i=r.indexOf("commit",2),l=r.indexOf("src",2),s=r.indexOf("raw",2);e=n>0?n-1:a>0?a-1:o>0?o-1:i>0?i-1:l>0?l-1:s>0?s-1:e,t.owner=r.slice(0,e).join("/"),t.name=r[e],i&&(t.commit=r[e+2])}t.ref="",t.filepathtype="",t.filepath="";const a=r.length>e&&"-"===r[e+1]?e+1:e;r.length>a+2&&["raw","src","blob","tree"].indexOf(r[a+1])>=0&&(t.filepathtype=r[a+1],t.ref=r[a+2],r.length>a+3&&(t.filepath=r.slice(a+3).join("/"))),t.organization=t.owner}t.full_name||(t.full_name=t.owner,t.name&&(t.full_name&&(t.full_name+="/"),t.full_name+=t.name)),t.owner.startsWith("scm/")&&(t.source="bitbucket-server",t.owner=t.owner.replace("scm/",""),t.organization=t.owner,t.full_name=`${t.owner}/${t.name}`);const a=/(projects|users)\/(.*?)\/repos\/(.*?)((\/.*$)|$)/.exec(t.pathname);return null!=a&&(t.source="bitbucket-server",t.owner="users"===a[1]?"~"+a[2]:a[2],t.organization=t.owner,t.name=a[3],r=a[4].split("/"),r.length>1&&(["raw","browse"].indexOf(r[1])>=0?(t.filepathtype=r[1],r.length>2&&(t.filepath=r[2])):"commits"===r[1]&&r.length>2&&(t.commit=r[2])),t.full_name=`${t.owner}/${t.name}`,t.ref=t.query.at?t.query.at:""),t}function yf({git:e}){const{commitUrl:t}=function(e,t){if(!e)return{resource:null,repoUrl:null,commitUrl:null};const n=gf(e),r=gf.stringify(Ne({},n,{git_suffix:!1}),"https");return{repoUrl:r,resource:n.resource,commitUrl:`${r}/commit/${t}`}}(e.remote,e.hash);return c.createElement(c.Fragment,null,e.hash&&e.message&&c.createElement("div",{className:"flex items-center gap-4"},c.createElement("div",{className:"flex-grow font-semibold"},e.message),c.createElement("div",{className:"~bg-gray-500/5 flex items-center"},c.createElement(Hc,{transparent:!0,overflowX:!1,value:e.hash}),t&&c.createElement("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"mr-4"},c.createElement(kt,null,c.createElement(co,{className:"group-hover:text-indigo-500",icon:Ao}),"View commit ",e.hash.substr(0,7))))),e.isDirty&&c.createElement("div",null,c.createElement(af,{className:"mt-4"},"Last commit is dirty. (Un)staged changes have been made since this commit.")),e.tag&&c.createElement(Wc,null,c.createElement(Wc.Row,{label:"Latest tag",value:e.tag})))}gf.stringify=function(e,t){t=t||(e.protocols&&e.protocols.length?e.protocols.join("+"):e.protocol);const n=e.port?`:${e.port}`:"",r=e.user||"git",a=e.git_suffix?".git":"";switch(t){case"ssh":return n?`ssh://${r}@${e.resource}${n}/${e.full_name}${a}`:`${r}@${e.resource}:${e.full_name}${a}`;case"git+ssh":case"ssh+git":case"ftp":case"ftps":return`${t}://${r}@${e.resource}${n}/${e.full_name}${a}`;case"http":case"https":return`${t}://${e.token?function(e){switch(e.source){case"bitbucket.org":return`x-token-auth:${e.token}@`;default:return`${e.token}@`}}(e):e.user&&(e.protocols.includes("http")||e.protocols.includes("https"))?`${e.user}@`:""}${e.resource}${n}/${function(e){switch(e.source){case"bitbucket-server":return`scm/${e.full_name}`;default:return`${e.full_name}`}}(e)}${a}`;default:return e.href}};var vf,bf,Ef=(vf={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},function(e){return null==vf?void 0:vf[e]}),Tf=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Sf=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g"),wf=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Nf=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Rf="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Of="["+Rf+"]",xf="\\d+",kf="[a-z\\xdf-\\xf6\\xf8-\\xff]",Af="[^\\ud800-\\udfff"+Rf+xf+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Cf="(?:\\ud83c[\\udde6-\\uddff]){2}",If="[\\ud800-\\udbff][\\udc00-\\udfff]",_f="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Lf="(?:"+kf+"|"+Af+")",Pf="(?:"+_f+"|"+Af+")",Mf="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Df="[\\ufe0e\\ufe0f]?"+Mf+"(?:\\u200d(?:"+["[^\\ud800-\\udfff]",Cf,If].join("|")+")[\\ufe0e\\ufe0f]?"+Mf+")*",Uf="(?:"+["[\\u2700-\\u27bf]",Cf,If].join("|")+")"+Df,jf=RegExp([_f+"?"+kf+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Of,_f,"$"].join("|")+")",Pf+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Of,_f+Lf,"$"].join("|")+")",_f+"?"+Lf+"+(?:['’](?:d|ll|m|re|s|t|ve))?",_f+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",xf,Uf].join("|"),"g"),Ff=RegExp("['’]","g"),zf=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),Bf=function(e){return zf.test(e)},Hf="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Vf="\\ud83c[\\udffb-\\udfff]",Wf="[^\\ud800-\\udfff]",Gf="(?:\\ud83c[\\udde6-\\uddff]){2}",Yf="[\\ud800-\\udbff][\\udc00-\\udfff]",$f="(?:"+Hf+"|"+Vf+")?",Xf="[\\ufe0e\\ufe0f]?"+$f+"(?:\\u200d(?:"+[Wf,Gf,Yf].join("|")+")[\\ufe0e\\ufe0f]?"+$f+")*",qf="(?:"+[Wf+Hf+"?",Hf,Gf,Yf,"[\\ud800-\\udfff]"].join("|")+")",Kf=RegExp(Vf+"(?="+Vf+")|"+qf+Xf,"g"),Jf=(bf=function(e,t,n){return e+(n?" ":"")+function(e){e=fc(e);var t,n,r,a=Bf(e)?function(e){return Bf(e)?function(e){return e.match(Kf)||[]}(e):function(e){return e.split("")}(e)}(e):void 0,o=a?a[0]:e.charAt(0),i=a?(t=a,r=t.length,n=void 0===n?r:n,function(e,t,n){var r=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(a);++rc.createElement(Wc.Row,{key:e,value:t,label:Jf(e)})))}function Zf({children:e}){return c.createElement("ul",{className:"grid grid-cols-1 gap-10"},e)}function ed({title:e,children:t,anchor:n}){return c.createElement("li",null,c.createElement("a",{href:`#context-${n}`,className:"uppercase tracking-wider ~text-gray-500 text-xs font-bold"},e),c.createElement("ul",{className:"mt-3 grid grid-cols-1 gap-3"},t))}function td({icon:e,title:t,anchor:n,active:r=!1}){return c.createElement("li",null,c.createElement("a",{href:`#context-${n}`,className:`\n flex items-center gap-3\n group text-base hover:text-indigo-500\n ${r?"~text-indigo-600":""}\n `},c.createElement("span",{className:"opacity-50"},e),c.createElement("span",null,t)))}function nd({children:e}){const{inView:t}=c.useContext(bu);return c.createElement(c.Fragment,null,c.createElement("nav",{className:"hidden @2xl:block min-w-[8rem] flex-none mr-10 @4xl:mr-20"},c.createElement("div",{className:"sticky top-[7.5rem]"},c.createElement(Zf,null,c.Children.map(e,e=>c.createElement(c.Fragment,null,e&&c.createElement(ed,{title:e.props.title,anchor:e.props.anchor},c.Children.map(e.props.children,e=>c.createElement(c.Fragment,null,e&&e.type===Eu&&c.createElement(td,{icon:e.props.icon,active:t[t.length-1]===e.props.title,title:e.props.title,anchor:e.props.anchor}))))))))),c.createElement("div",{className:"overflow-hidden grid grid-cols-1 gap-px bg-white dark:shadow-none dark:bg-gray-800/50 dark:bg-gradient-to-bl from-gray-700/50 via-transparent dark:ring-1 dark:ring-inset dark:ring-white/5 rounded-lg shadow-2xl shadow-gray-500/20 flex-grow"},e))}function rd({children:e}){const[t,n]=c.useState([]);return c.createElement(bu.Provider,{value:{inView:t,setInView:n}},e)}function ad({className:e=""}){return c.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 512 512",enableBackground:"new 0 0 512 512",className:`${e}`},c.createElement("path",{fill:"currentcolor",d:"M381.6,334.8c-24.7,0-27.7,33.6-45.2,44.6v52c0,17.6,14.2,31.8,31.8,31.8c17.6,0,31.8-14.2,31.8-31.8v-88.6\n C395,338.1,389.2,334.8,381.6,334.8z"}),c.createElement("path",{fill:"currentcolor",d:"M263.2,334.8c-25.5,0-27.8,35.8-46.9,45.7v96.2c0,19.5,15.8,35.3,35.3,35.3s35.3-15.8,35.3-35.3V349.1\n C280.9,341.1,273.9,334.8,263.2,334.8z"}),c.createElement("path",{fill:"currentcolor",d:"M144.8,334.8c-22.9,0-27.1,28.9-41.6,41.9l0,38c0,17.6,14.2,31.8,31.8,31.8c17.6,0,31.8-14.2,31.8-31.8v-67.9\n C161.2,339.9,154.5,334.8,144.8,334.8z"}),c.createElement("path",{id:"Body-Copy-4",fill:"currentcolor",fillRule:"evenodd",clipRule:"evenodd",d:"M458.9,340.2c-8.3,12.6-14.7,28.2-31.7,28.2\n\t\tc-28.6,0-30.1-44-58.7-44c-28.6,0-27,44-55.6,44c-28.6,0-30.1-44-58.7-44s-27,44-55.6,44s-30.1-44-58.7-44s-27,44-55.6,44\n\t\tc-9,0-15.3-4.4-20.6-10.3c-20.4-35.6-32.2-77.2-32.2-121.8C31.6,105.8,132.4,0,256.7,0s225.1,105.8,225.1,236.2\n\t\tC481.8,273.5,473.6,308.8,458.9,340.2z"}),c.createElement("path",{id:"Oval",fillRule:"evenodd",clipRule:"evenodd",fill:"#FFFFFF",d:"M244.6,295.1c78.3,0,111.2-45.4,111.2-109.9\n\t\tS306.1,61.4,244.6,61.4s-111.2,59.4-111.2,123.9S166.4,295.1,244.6,295.1z"}),c.createElement("ellipse",{id:"Oval_1_",fill:"currentcolor",fillRule:"evenodd",clipRule:"evenodd",cx:"214.7",cy:"142.9",rx:"41.7",ry:"46"}),c.createElement("ellipse",{id:"Oval_2_",fillRule:"evenodd",clipRule:"evenodd",fill:"#FFFFFF",cx:"207.8",cy:"132.2",rx:"20.9",ry:"21.3"}))}function od({items:e}){return c.createElement(Wc,null,Object.entries(e).map(([e,t])=>c.createElement(Wc.Row,{key:e,value:t,label:Jf(e)})))}function id({commandArguments:e}){return c.createElement("div",{className:"col-span-2"},c.createElement(Hc,{value:e.join(" ")}))}function ld({request:e}){return e.useragent?c.createElement(Hc,{value:e.useragent}):null}function sd(){var e,t,n,r,a;const o=c.useContext(be),i=o.context_items,l=i.request_data;return c.createElement(lu,null,c.createElement("div",{className:"@container flex items-stretch"},c.createElement(rd,null,c.createElement(nd,null,(i.route||i.view||i.laravel_context||i.arguments||i.job)&&c.createElement(hu,{title:"App",anchor:"app"},i.route&&c.createElement(Eu,{title:"Routing",anchor:"app-routing",icon:c.createElement(co,{fixedWidth:!0,icon:bo}),children:c.createElement($u,{route:i.route})}),i.view&&c.createElement(Eu,{title:"Views",anchor:"app-views",icon:c.createElement(co,{fixedWidth:!0,icon:Po}),children:c.createElement(Ku,null)}),i.laravel_context&&c.createElement(Eu,{title:"Context",anchor:"app-laravel-context",icon:c.createElement(co,{fixedWidth:!0,icon:po}),children:c.createElement(od,{items:i.laravel_context})}),i.arguments&&c.createElement(Eu,{title:"Command",anchor:"context-command",icon:c.createElement(co,{fixedWidth:!0,icon:xo}),children:c.createElement(id,{commandArguments:i.arguments})}),i.job&&c.createElement(Eu,{title:"Job",anchor:"context-job",icon:c.createElement(co,{fixedWidth:!0,icon:To}),children:c.createElement(od,{items:i.job||{}})})),i.livewire&&c.createElement(hu,{title:"Livewire",anchor:"livewire"},c.createElement(Eu,{title:"Component",anchor:"livewire-component",icon:c.createElement(ad,{className:"svg-inline--fa fa-w-16 fa-fw"}),children:c.createElement(Vu,null)}),c.createElement(Eu,{title:"Updates",anchor:"livewire-updates",icon:c.createElement(co,{fixedWidth:!0,icon:wo}),children:c.createElement(Wu,null)}),c.createElement(Eu,{title:"Data",anchor:"livewire-data",icon:c.createElement(co,{fixedWidth:!0,icon:Co}),children:c.createElement(Hu,null)})),i.request&&c.createElement(hu,{title:"Request",anchor:"request"},c.createElement(Su,{request:i.request,requestData:i.request_data,headers:i.headers}),!!i.request.useragent&&c.createElement(Eu,{title:"Browser",anchor:"request-browser",icon:c.createElement(co,{fixedWidth:!0,icon:ko}),children:c.createElement(ld,{request:i.request})}),i.headers&&c.createElement(Eu,{title:"Headers",anchor:"request-headers",icon:c.createElement(co,{fixedWidth:!0,icon:Go}),children:c.createElement(Du,{headers:i.headers})}),i.request_data&&!!Object.values(i.request_data.queryString||[]).length&&c.createElement(Eu,{title:"Query String",anchor:"request-query-string",icon:c.createElement(co,{fixedWidth:!0,icon:Ro}),children:c.createElement(Uu,{requestData:i.request_data})}),!(null==(e=i.request_data)||!e.body)&&c.createElement(Eu,{title:"Body",anchor:"request-body",icon:c.createElement(co,{fixedWidth:!0,icon:So}),children:c.createElement(ju,null)}),!(null==l||null==(t=l.files)||!t.length)&&c.createElement(Eu,{title:"Files",anchor:"request-files",icon:c.createElement(co,{fixedWidth:!0,icon:Mo}),children:c.createElement(Fu,null)}),!(null==(n=i.session)||!n.length)&&c.createElement(Eu,{title:"Session",anchor:"request-session",icon:c.createElement(co,{fixedWidth:!0,icon:ho}),children:c.createElement(zu,{session:i.session})}),!(null==(r=i.cookies)||!r.length)&&c.createElement(Eu,{title:"Cookies",anchor:"request-cookies",icon:c.createElement(co,{fixedWidth:!0,icon:Bo}),children:c.createElement(Bu,{cookies:i.cookies})})),!!(i.user||i.git||i.env||o.application_version||i.exception)&&c.createElement(hu,{title:"Context",anchor:"context"},i.user&&c.createElement(Eu,{title:"User",anchor:"user-user",icon:c.createElement(co,{fixedWidth:!0,icon:vo}),children:c.createElement(rf,{user:i.user})}),i.git&&c.createElement(Eu,{title:"Git",anchor:"context-git",icon:c.createElement(co,{fixedWidth:!0,icon:Oo}),children:c.createElement(yf,{git:i.git})}),!(!i.env&&!o.application_version)&&c.createElement(Eu,{title:"Versions",anchor:"context-versions",icon:c.createElement(co,{fixedWidth:!0,icon:Io}),children:c.createElement(Qf,{env:i.env||{}})}),i.exception&&c.createElement(Eu,{title:"Exception",anchor:"context-exception",icon:c.createElement(co,{fixedWidth:!0,icon:Eo}),children:c.createElement(od,{items:i.exception||{}})})),(null==(a=o.custom_context_items)?void 0:a.length)>0&&c.createElement(hu,{title:"Custom",anchor:"custom-context"},o.custom_context_items.map(e=>c.createElement(Eu,{key:e.name,title:Jf(e.name),anchor:`custom-context-${pu(e.name)}`,icon:c.createElement(co,{fixedWidth:!0,icon:mo}),children:c.createElement(od,{items:e.items})})))))))}function cd({children:e,className:t}){const[n,r]=c.useState(0),a=e.filter(e=>!1!==e),o=c.Children.map(a,e=>({name:e.props.name,component:e.props.component,count:e.props.count,checked:e.props.checked,onChange:e.props.onChange})).filter(e=>e.count),i=o[n].component;return c.createElement("div",{className:`${t} | bg-gray-300/50 dark:bg-black/10 shadow-inner rounded-lg`},c.createElement("nav",{className:"z-10 flex justify-center items-center"},c.createElement("ul",{className:"-my-5 flex justify-start items-center rounded-full shadow-lg bg-indigo-500 text-white space-x-px"},o.map((e,t)=>c.createElement("li",{key:t,className:`\n ${t===n?"bg-indigo-600":"bg-indigo-500 text-indigo-100"}\n ${0===t?"rounded-l-full":""}\n ${t===o.length-1?"rounded-r-full":""}\n hover:text-white\n `},c.createElement("button",{onClick:()=>r(t),className:"group flex items-center px-3 sm:px-5 h-10 uppercase tracking-wider text-xs font-medium "},c.createElement("span",{className:"mr-1.5 inline-flex items-center justify-center px-1 min-w-[1rem] h-4 bg-gray-900/30 text-white rounded-full text-xs"},e.count),c.createElement("span",null,e.name)))))),c.createElement(lu,{fallbackComponent:e=>c.createElement(mu,{githubLink:e,className:"pt-10"})},c.createElement("div",{className:"grid grid-cols-1 gap-10 py-10 px-6 @lg:px-10"},c.createElement(i,null))))}function ud({children:e,context:t=null,level:n=null,meta:r=null,time:a}){const[o,i]=c.useState(!1),l={error:"red",warn:"orange",warning:"orange",info:"blue",debug:"green",trace:"gray",notice:"purple",critical:"red",alert:"red",emergency:"red"};return c.createElement("div",{className:"min-w-0 grid grid-cols-1 gap-2"},c.createElement("div",{className:"flex items-center gap-1"},c.createElement(Tu,{color:n?l[n]:"gray",className:"font-mono"},a.toLocaleTimeString()),n&&c.createElement(Tu,{color:l[n]},n),r&&Object.entries(r).map(([e,t])=>c.createElement(c.Fragment,{key:e},"runtime"===e&&c.createElement(Tu,{className:"inline-flex items-center gap-2"},c.createElement(co,{title:"Runtime",className:"opacity-50",icon:go})," ",t),"connection"===e&&c.createElement(Tu,{className:"inline-flex items-center gap-2"},c.createElement(co,{title:"Connection",className:"opacity-50",icon:Wo})," ",t),"runtime"!==e&&"connection"!==e&&c.createElement(Tu,null,e,": ",t))),t&&c.createElement(c.Fragment,null,c.createElement("div",{className:"ml-auto"},c.createElement(kt,{onClick:()=>i(!o)},c.createElement(co,{icon:o?Do:So,className:"text-[8px] ~text-gray-500 group-hover:text-indigo-500"}),o?"As list":"Raw")))),c.createElement("div",null,e),t&&c.createElement(c.Fragment,null,o?c.createElement(Hc,{value:Ko(t),language:"json"}):c.createElement("div",{className:"pl-4"},c.createElement(wu,{items:t}))))}function fd(){const e=c.useContext(be),t=Object.values(e.context_items.logs);return c.createElement(c.Fragment,null,t.map((e,t)=>c.createElement(ud,{key:t,context:e.context,level:e.level,time:qo(e.microtime)},c.createElement(Hc,{value:e.message}))))}function dd(){const e=c.useContext(be),t=Object.values(e.context_items.dumps);return c.createElement(c.Fragment,null,t.map((e,t)=>c.createElement(ud,{key:t,time:qo(e.microtime)},c.createElement("div",{className:"mb-2"},c.createElement(ti,{path:e.file,lineNumber:e.line_number,className:"text-sm"})),c.createElement(qu,{value:e.html_dump}))))}function pd({bindings:e,hidden:t=!1}){const[n,r]=c.useState(t);return c.createElement("div",null,c.createElement("button",{type:"button",className:"font-bold text-xs ~text-gray-500 uppercase tracking-wider flex flex-row items-center gap-2 mb-2",onClick:()=>r(!n)},c.createElement(co,{icon:yo,className:"transition-transform duration-300 transform "+(n?"":"rotate-90")}),e.length," query ",e.length>1?"parameters":"parameter"),!n&&c.createElement(Wc,{className:"ml-4"},e.map((e,t)=>c.createElement(Wc.Row,{small:!0,key:t,value:e,label:c.createElement("code",{className:"text-sm text-gray-500"},t+1)}))))}function md(){const e=c.useContext(be);let t=Object.values(e.context_items.queries);function n(e){return null!==e.bindings&&e.sql.split("?").length-1===e.bindings.length}function r(e){var t;let n=e.sql;return null==(t=e.bindings)||t.forEach(e=>{n=n.replace("?",e)}),n}return c.createElement(c.Fragment,null,t.map((e,t)=>c.createElement(ud,{key:t,time:qo(e.microtime),meta:{runtime:`${e.time}ms`,connection:e.connection_name}},e.bindings&&e.bindings.length>0?c.createElement("div",{className:"grid gap-4 grid-cols-1"},c.createElement(Hc,{value:n(e)?r(e):e.sql,language:"sql"}),c.createElement(pd,{bindings:e.bindings,hidden:n(e)})):c.createElement(Hc,{value:e.sql,language:"sql"}))))}function hd(){const e=c.useContext(be);return c.createElement(c.Fragment,null,e.glows.map((e,t)=>c.createElement(ud,{key:t,level:e.message_level,context:e.meta_data,time:qo(e.microtime)},c.createElement(Hc,{value:e.name}))))}function gd(){const e=c.useContext(be),t=e.context_items.queries,n=e.context_items.logs,r=e.glows;return c.createElement(lu,null,c.createElement(cd,{className:"@container"},c.createElement(cd.Tab,{component:dd,name:"Dumps",count:Object.keys(e.context_items.dumps||[]).length}),c.createElement(cd.Tab,{component:hd,name:"Glows",count:r.length}),c.createElement(cd.Tab,{component:md,name:"Queries",count:Object.keys(t||[]).length}),c.createElement(cd.Tab,{component:fd,name:"Logs",count:Object.keys(n||[]).length})))}function yd({children:e,className:t=""}){return c.createElement("code",{className:`font-mono leading-relaxed font-normal ~bg-gray-500/5 px-1 py-1 ${t}`},e)}function vd({className:e=""}){return c.createElement("svg",{height:"58",viewBox:"0 0 38 58",width:"38",xmlns:"http://www.w3.org/2000/svg",className:`w-4 h-5 ml-1.5 ${e}`},c.createElement("linearGradient",{id:"a",x1:"50%",x2:"50%",y1:"100%",y2:"0%"},c.createElement("stop",{offset:"0",stopColor:"#48b987"}),c.createElement("stop",{offset:"1",stopColor:"#137449"})),c.createElement("linearGradient",{id:"b",x1:"50%",x2:"50%",y1:"0%",y2:"100%"},c.createElement("stop",{offset:"0",stopColor:"#66ffbc"}),c.createElement("stop",{offset:"1",stopColor:"#218e5e"})),c.createElement("linearGradient",{id:"c",x1:"81.686741%",x2:"17.119683%",y1:"50%",y2:"46.893103%"},c.createElement("stop",{offset:"0",stopColor:"#ccffe7",stopOpacity:".492379"}),c.createElement("stop",{offset:".37576486",stopColor:"#fff",stopOpacity:".30736"}),c.createElement("stop",{offset:"1",stopColor:"#00ff85",stopOpacity:"0"})),c.createElement("linearGradient",{id:"d",x1:"50%",x2:"50%",y1:"100%",y2:"0%"},c.createElement("stop",{offset:"0",stopColor:"#a189f2"}),c.createElement("stop",{offset:"1",stopColor:"#3f00f5"})),c.createElement("linearGradient",{id:"e",x1:"50%",x2:"50%",y1:"0%",y2:"100%"},c.createElement("stop",{offset:"0",stopColor:"#bbadfa"}),c.createElement("stop",{offset:"1",stopColor:"#9275f4"})),c.createElement("g",{fill:"none"},c.createElement("g",{transform:"translate(1 1)"},c.createElement("path",{d:"m11.9943899 27.9858314-11.9943899-6.9992916v-13.98724823l12.0617111 7.02196133z",fill:"url(#a)"}),c.createElement("path",{d:"m23.9775596 20.9808724-23.9775596-13.98158083 11.9943899-6.99929157 24.0056101 13.9815808z",fill:"url(#b)",stroke:"url(#c)"})),c.createElement("g",{transform:"translate(1 29.014169)"},c.createElement("path",{d:"m11.9943899 27.9858314-11.9943899-6.9936241v-13.99291573l11.9663394 6.99362413z",fill:"url(#d)"}),c.createElement("path",{d:"m11.9663394 13.9929157-11.9663394-6.99362413 11.9943899-6.99929157 11.9943899 6.99929157z",fill:"url(#e)"}))))}function bd(){return c.createElement("svg",{id:"ignition",className:"w-8 h-8 -ml-1",viewBox:"0 0 500 500"},c.createElement("g",null,c.createElement("polygon",{style:{fill:"transparent"},points:"466.5,375 466.5,125 250,0 33.5,125 33.5,375 250,500 \t"}),c.createElement("g",null,c.createElement("polygon",{style:{fill:"#ff4590"},points:"314.2,176 314.2,250 250,287 250,212.6 \t\t"}),c.createElement("polygon",{style:{fill:"#ffd000"},points:"185.9,398.1 185.9,324.1 250,287 249.9,360.9 \t\t"}),c.createElement("polygon",{style:{fill:"#de075d"},points:"250,139.1 250,287 185.9,250 185.8,101.9 \t\t"}),c.createElement("polygon",{style:{fill:"#e0b800"},points:"249.9,360.9 250,287 314.1,324 314.1,398.1 \t\t"}))))}function Ed(e){var t=e.label,n=e.onChange;return c.createElement("label",{className:"flex items-center"},c.createElement("input",{type:"checkbox",checked:e.checked,onChange:function(e){return n(e.target.checked)},className:"sr-only peer"}),c.createElement("span",{className:"mr-2 flex items-center w-6 h-4 ~bg-gray-100 peer-checked:bg-emerald-300 rounded-full shadow-inner transition-colors"}),c.createElement("span",{className:"absolute left-0.5 top-0.5 w-3 h-3 ~bg-dropdown rounded-full shadow-md transform peer-checked:translate-x-2 transition-transform"}),c.createElement("span",{className:"uppercase tracking-wider text-xs font-medium"},t))}cd.Tab=e=>null;var Td=c.createContext();function Sd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function wd(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function cp(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function up(e){return e.classList?cp(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(e){return e})}function fp(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function dp(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function pp(e){return e.size!==lp.size||e.x!==lp.x||e.y!==lp.y||e.rotate!==lp.rotate||e.flipX||e.flipY}function mp(){var e="fa",t="svg-inline--fa",n=ap.familyPrefix,r=ap.replacementClass,a=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");a=a.replace(o,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(l,".".concat(r))}return a}var hp=!1;function gp(){ap.autoAddCss&&!hp&&(function(e){if(e&&Bd){var t=jd.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=jd.head.childNodes,r=null,a=n.length-1;a>-1;a--){var o=n[a],i=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=o)}jd.head.insertBefore(t,r)}}(mp()),hp=!0)}var yp={mixout:function(){return{dom:{css:mp,insertCss:gp}}},hooks:function(){return{beforeDOMElementCreation:function(){gp()},beforeI2svg:function(){gp()}}}},vp=Ud||{};vp.___FONT_AWESOME___||(vp.___FONT_AWESOME___={}),vp.___FONT_AWESOME___.styles||(vp.___FONT_AWESOME___.styles={}),vp.___FONT_AWESOME___.hooks||(vp.___FONT_AWESOME___.hooks={}),vp.___FONT_AWESOME___.shims||(vp.___FONT_AWESOME___.shims=[]);var bp=vp.___FONT_AWESOME___,Ep=[],Tp=!1;function Sp(e){Bd&&(Tp?setTimeout(e,0):Ep.push(e))}function wp(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,a=e.children,o=void 0===a?[]:a;return"string"==typeof e?fp(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(fp(e[n]),'" ')},"").trim()}(r),">").concat(o.map(wp).join(""),"")}function Np(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Bd&&((Tp=(jd.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(jd.readyState))||jd.addEventListener("DOMContentLoaded",function e(){jd.removeEventListener("DOMContentLoaded",e),Tp=1,Ep.map(function(e){return e()})}));var Rp=function(e,t,n,r){var a,o,i,l=Object.keys(e),s=l.length,c=void 0!==r?function(e,t){return function(n,r,a,o){return e.call(t,n,r,a,o)}}(t,r):t;for(void 0===n?(a=1,i=e[l[0]]):(a=0,i=n);a=55296&&a<=56319&&n2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,a=void 0!==r&&r,o=xp(t);"function"!=typeof bp.hooks.addPack||a?bp.styles[e]=wd(wd({},bp.styles[e]||{}),o):bp.hooks.addPack(e,xp(t)),"fas"===e&&kp("fa",t)}var Ap=bp.styles,Cp=bp.shims,Ip=Object.values($d),_p=null,Lp={},Pp={},Mp={},Dp={},Up={},jp=Object.keys(Gd);function Fp(e,t){var n=t.split("-"),r=n[0],a=n.slice(1).join("-");return r!==e||""===a||~tp.indexOf(a)?null:a}var zp=function(){var e=function(e){return Rp(Ap,function(t,n,r){return t[r]=Rp(n,e,{}),t},{})};Lp=e(function(e,t,n){return t[3]&&(e[t[3]]=n),t[2]&&t[2].filter(function(e){return"number"==typeof e}).forEach(function(t){e[t.toString(16)]=n}),e}),Pp=e(function(e,t,n){return e[n]=n,t[2]&&t[2].filter(function(e){return"string"==typeof e}).forEach(function(t){e[t]=n}),e}),Up=e(function(e,t,n){var r=t[2];return e[n]=n,r.forEach(function(t){e[t]=n}),e});var t="far"in Ap||ap.autoFetchSvg,n=Rp(Cp,function(e,n){var r=n[0],a=n[1],o=n[2];return"far"!==a||t||(a="fas"),"string"==typeof r&&(e.names[r]={prefix:a,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:a,iconName:o}),e},{names:{},unicodes:{}});Mp=n.names,Dp=n.unicodes,_p=Gp(ap.styleDefault)};function Bp(e,t){return(Lp[e]||{})[t]}function Hp(e,t){return(Up[e]||{})[t]}function Vp(e){return Mp[e]||{prefix:null,iconName:null}}function Wp(){return _p}function Gp(e){return Yd[e]||Yd[Gd[e]]||(e in bp.styles?e:null)||null}function Yp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.skipLookups,r=void 0!==n&&n,a=null,o=e.reduce(function(e,t){var n=Fp(ap.familyPrefix,t);if(Ap[t]?(t=Ip.includes(t)?Xd[t]:t,a=t,e.prefix=t):jp.indexOf(t)>-1?(a=t,e.prefix=Gp(t)):n?e.iconName=n:t!==ap.replacementClass&&e.rest.push(t),!r&&e.prefix&&e.iconName){var o="fa"===a?Vp(e.iconName):{},i=Hp(e.prefix,e.iconName);o.prefix&&(a=null),e.iconName=o.iconName||i||e.iconName,e.prefix=o.prefix||e.prefix,"far"!==e.prefix||Ap.far||!Ap.fas||ap.autoFetchSvg||(e.prefix="fas")}return e},{prefix:null,iconName:null,rest:[]});return"fa"!==o.prefix&&"fa"!==a||(o.prefix=Wp()||"fas"),o}op.push(function(e){_p=Gp(e.styleDefault)}),zp();var $p=/*#__PURE__*/function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,(n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r0&&l.forEach(function(t){"string"==typeof t&&(e[a][t]=i)}),e[a][o]=i}),e}}])&&function(e,t){for(var n=0;n2?n-2:0),a=2;a1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{};return Bd?(Zp("beforeI2svg",e),em("pseudoElements2svg",e),em("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot;!1===ap.autoReplaceSvg&&(ap.autoReplaceSvg=!0),ap.observeMutations=!0,Sp(function(){om({autoReplaceSvgRoot:t}),Zp("watch",e)})}},am={noAuto:function(){ap.autoReplaceSvg=!1,ap.observeMutations=!1,Zp("noAuto")},config:ap,dom:rm,parse:{icon:function(e){if(null===e)return null;if("object"===Nd(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Hp(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=Gp(e[0]);return{prefix:n,iconName:Hp(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(ap.familyPrefix,"-"))>-1||e.match(qd))){var r=Yp(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||Wp(),iconName:Hp(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var a=Wp();return{prefix:a,iconName:Hp(a,e)||e}}}},library:nm,findIconDefinition:tm,toHtml:wp},om=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=void 0===t?jd:t;(Object.keys(bp.styles).length>0||ap.autoFetchSvg)&&Bd&&ap.autoReplaceSvg&&am.dom.i2svg({node:n})};function im(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return wp(e)})}}),Object.defineProperty(e,"node",{get:function(){if(Bd){var t=jd.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function lm(e){var t=e.icons,n=t.main,r=t.mask,a=e.prefix,o=e.iconName,i=e.transform,l=e.symbol,s=e.title,c=e.maskId,u=e.titleId,f=e.extra,d=e.watchable,p=void 0!==d&&d,m=r.found?r:n,h=m.width,g=m.height,y="fak"===a,v=[ap.replacementClass,o?"".concat(ap.familyPrefix,"-").concat(o):""].filter(function(e){return-1===f.classes.indexOf(e)}).filter(function(e){return""!==e||!!e}).concat(f.classes).join(" "),b={children:[],attributes:wd(wd({},f.attributes),{},{"data-prefix":a,"data-icon":o,class:v,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(h," ").concat(g)})},E=y&&!~f.classes.indexOf("fa-fw")?{width:"".concat(h/g*16*.0625,"em")}:{};p&&(b.attributes["data-fa-i2svg"]=""),s&&(b.children.push({tag:"title",attributes:{id:b.attributes["aria-labelledby"]||"title-".concat(u||sp())},children:[s]}),delete b.attributes.title);var T=wd(wd({},b),{},{prefix:a,iconName:o,main:n,mask:r,maskId:c,transform:i,symbol:l,styles:wd(wd({},E),f.styles)}),S=r.found&&n.found?em("generateAbstractMask",T)||{children:[],attributes:{}}:em("generateAbstractIcon",T)||{children:[],attributes:{}},w=S.attributes;return T.children=S.children,T.attributes=w,l?function(e){var t=e.iconName,n=e.children,r=e.attributes,a=e.symbol,o=!0===a?"".concat(e.prefix,"-").concat(ap.familyPrefix,"-").concat(t):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:wd(wd({},r),{},{id:o}),children:n}]}]}(T):function(e){var t=e.children,n=e.main,r=e.mask,a=e.attributes,o=e.styles,i=e.transform;if(pp(i)&&n.found&&!r.found){var l={x:n.width/n.height/2,y:.5};a.style=dp(wd(wd({},o),{},{"transform-origin":"".concat(l.x+i.x/16,"em ").concat(l.y+i.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}(T)}function sm(e){var t=e.content,n=e.width,r=e.height,a=e.transform,o=e.title,i=e.extra,l=e.watchable,s=void 0!==l&&l,c=wd(wd(wd({},i.attributes),o?{title:o}:{}),{},{class:i.classes.join(" ")});s&&(c["data-fa-i2svg"]="");var u=wd({},i.styles);pp(a)&&(u.transform=function(e){var t=e.transform,n=e.width,r=e.height,a=void 0===r?16:r,o=e.startCentered,i=void 0!==o&&o,l="";return l+=i&&Hd?"translate(".concat(t.x/ip-(void 0===n?16:n)/2,"em, ").concat(t.y/ip-a/2,"em) "):i?"translate(calc(-50% + ".concat(t.x/ip,"em), calc(-50% + ").concat(t.y/ip,"em)) "):"translate(".concat(t.x/ip,"em, ").concat(t.y/ip,"em) "),(l+="scale(".concat(t.size/ip*(t.flipX?-1:1),", ").concat(t.size/ip*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:a,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var f=dp(u);f.length>0&&(c.style=f);var d=[];return d.push({tag:"span",attributes:c,children:[t]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}function cm(e){var t=e.content,n=e.title,r=e.extra,a=wd(wd(wd({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=dp(r.styles);o.length>0&&(a.style=o);var i=[];return i.push({tag:"span",attributes:a,children:[t]}),n&&i.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),i}var um=bp.styles;function fm(e){var t=e[0],n=e[1],r=Od(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(ap.familyPrefix,"-").concat("duotone-group")},children:[{tag:"path",attributes:{class:"".concat(ap.familyPrefix,"-").concat("secondary"),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(ap.familyPrefix,"-").concat("primary"),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var dm={found:!1,width:512,height:512};function pm(e,t){var n=t;return"fa"===t&&null!==ap.styleDefault&&(t=Wp()),new Promise(function(r,a){if(em("missingIconAbstract"),"fa"===n){var o=Vp(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&um[t]&&um[t][e])return r(fm(um[t][e]));!function(e,t){Wd||ap.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(wd(wd({},dm),{},{icon:ap.showMissingIcons&&e&&em("missingIconAbstract")||{}}))})}var mm=function(){},hm=ap.measurePerformance&&zd&&zd.mark&&zd.measure?zd:{mark:mm,measure:mm},gm=function(e){return hm.mark("".concat('FA "6.1.1"'," ").concat(e," begins")),function(){return function(e){hm.mark("".concat('FA "6.1.1"'," ").concat(e," ends")),hm.measure("".concat('FA "6.1.1"'," ").concat(e),"".concat('FA "6.1.1"'," ").concat(e," begins"),"".concat('FA "6.1.1"'," ").concat(e," ends"))}(e)}},ym=function(){};function vm(e){return"string"==typeof(e.getAttribute?e.getAttribute("data-fa-i2svg"):null)}function bm(e){return jd.createElementNS("http://www.w3.org/2000/svg",e)}function Em(e){return jd.createElement(e)}function Tm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.ceFn,r=void 0===n?"svg"===e.tag?bm:Em:n;if("string"==typeof e)return jd.createTextNode(e);var a=r(e.tag);Object.keys(e.attributes||[]).forEach(function(t){a.setAttribute(t,e.attributes[t])});var o=e.children||[];return o.forEach(function(e){a.appendChild(Tm(e,{ceFn:r}))}),a}var Sm={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach(function(e){t.parentNode.insertBefore(Tm(e),t)}),null===t.getAttribute("data-fa-i2svg")&&ap.keepOriginalSource){var n=jd.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~up(t).indexOf(ap.replacementClass))return Sm.replace(e);var r=new RegExp("".concat(ap.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var a=n[0].attributes.class.split(" ").reduce(function(e,t){return t===ap.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e},{toNode:[],toSvg:[]});n[0].attributes.class=a.toSvg.join(" "),0===a.toNode.length?t.removeAttribute("class"):t.setAttribute("class",a.toNode.join(" "))}var o=n.map(function(e){return wp(e)}).join("\n");t.setAttribute("data-fa-i2svg",""),t.innerHTML=o}};function wm(e){e()}function Nm(e,t){var n="function"==typeof t?t:ym;if(0===e.length)n();else{var r=wm;"async"===ap.mutateApproach&&(r=Ud.requestAnimationFrame||wm),r(function(){var t=!0===ap.autoReplaceSvg?Sm.replace:Sm[ap.autoReplaceSvg]||Sm.replace,r=gm("mutate");e.map(t),r(),n()})}}var Rm=!1;function Om(){Rm=!0}function xm(){Rm=!1}var km=null;function Am(e){if(Fd&&ap.observeMutations){var t=e.treeCallback,n=void 0===t?ym:t,r=e.nodeCallback,a=void 0===r?ym:r,o=e.pseudoElementsCallback,i=void 0===o?ym:o,l=e.observeMutationsRoot,s=void 0===l?jd:l;km=new Fd(function(e){if(!Rm){var t=Wp();cp(e).forEach(function(e){if("childList"===e.type&&e.addedNodes.length>0&&!vm(e.addedNodes[0])&&(ap.searchPseudoElements&&i(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&ap.searchPseudoElements&&i(e.target.parentNode),"attributes"===e.type&&vm(e.target)&&~ep.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute("data-prefix"):null,n=e.getAttribute?e.getAttribute("data-icon"):null;return t&&n}(e.target)){var r=Yp(up(e.target)),o=r.iconName;e.target.setAttribute("data-prefix",r.prefix||t),o&&e.target.setAttribute("data-icon",o)}else(function(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(ap.replacementClass)})(e.target)&&a(e.target)})}}),Bd&&km.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Cm(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(e,t){var n=t.split(":"),r=n[0],a=n.slice(1);return r&&a.length>0&&(e[r]=a.join(":").trim()),e},{})),n}function Im(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"",a=Yp(up(e));return a.prefix||(a.prefix=Wp()),t&&n&&(a.prefix=t,a.iconName=n),a.iconName&&a.prefix||a.prefix&&r.length>0&&(a.iconName=(Pp[a.prefix]||{})[e.innerText]||Bp(a.prefix,Op(e.innerText))),a}function _m(e){var t=cp(e.attributes).reduce(function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return ap.autoA11y&&(n?t["aria-labelledby"]="".concat(ap.replacementClass,"-title-").concat(r||sp()):(t["aria-hidden"]="true",t.focusable="false")),t}function Lm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Im(e),r=n.iconName,a=n.prefix,o=n.rest,i=_m(e),l=Qp("parseNodeAttributes",{},e),s=t.styleParser?Cm(e):[];return wd({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:a,transform:lp,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:s,attributes:i}},l)}var Pm=bp.styles;function Mm(e){var t="nest"===ap.autoReplaceSvg?Lm(e,{styleParser:!1}):Lm(e);return~t.extra.classes.indexOf("fa-layers-text")?em("generateLayersText",e,t):em("generateSvgReplacementMutation",e,t)}function Dm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Bd)return Promise.resolve();var n=jd.documentElement.classList,r=function(e){return n.add("".concat("fontawesome-i2svg","-").concat(e))},a=function(e){return n.remove("".concat("fontawesome-i2svg","-").concat(e))},o=Object.keys(ap.autoFetchSvg?Gd:Pm),i=[".".concat("fa-layers-text",":not([").concat("data-fa-i2svg","])")].concat(o.map(function(e){return".".concat(e,":not([").concat("data-fa-i2svg","])")})).join(", ");if(0===i.length)return Promise.resolve();var l=[];try{l=cp(e.querySelectorAll(i))}catch(e){}if(!(l.length>0))return Promise.resolve();r("pending"),a("complete");var s=gm("onTree"),c=l.reduce(function(e,t){try{var n=Mm(t);n&&e.push(n)}catch(e){Wd||"MissingIcon"===e.name&&console.error(e)}return e},[]);return new Promise(function(e,n){Promise.all(c).then(function(n){Nm(n,function(){r("active"),r("complete"),a("pending"),"function"==typeof t&&t(),s(),e()})}).catch(function(e){s(),n(e)})})}function Um(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Mm(e).then(function(e){e&&Nm([e],t)})}var jm=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?lp:n,a=t.symbol,o=void 0!==a&&a,i=t.mask,l=void 0===i?null:i,s=t.maskId,c=void 0===s?null:s,u=t.title,f=void 0===u?null:u,d=t.titleId,p=void 0===d?null:d,m=t.classes,h=void 0===m?[]:m,g=t.attributes,y=void 0===g?{}:g,v=t.styles,b=void 0===v?{}:v;if(e){var E=e.prefix,T=e.iconName,S=e.icon;return im(wd({type:"icon"},e),function(){return Zp("beforeDOMElementCreation",{iconDefinition:e,params:t}),ap.autoA11y&&(f?y["aria-labelledby"]="".concat(ap.replacementClass,"-title-").concat(p||sp()):(y["aria-hidden"]="true",y.focusable="false")),lm({icons:{main:fm(S),mask:l?fm(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:E,iconName:T,transform:wd(wd({},lp),r),symbol:o,title:f,maskId:c,titleId:p,extra:{attributes:y,styles:b,classes:h}})})}},Fm={mixout:function(){return{icon:(e=jm,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:tm(t||{}),a=n.mask;return a&&(a=(a||{}).icon?a:tm(a||{})),e(r,wd(wd({},n),{},{mask:a}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=Dm,e.nodeCallback=Um,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=e.callback;return Dm(void 0===t?jd:t,void 0===n?function(){}:n)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,a=t.titleId,o=t.prefix,i=t.transform,l=t.symbol,s=t.mask,c=t.maskId,u=t.extra;return new Promise(function(t,f){Promise.all([pm(n,o),s.iconName?pm(s.iconName,s.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(s){var f=Od(s,2);t([e,lm({icons:{main:f[0],mask:f[1]},prefix:o,iconName:n,transform:i,symbol:l,maskId:c,title:r,titleId:a,extra:u,watchable:!0})])}).catch(f)})},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,a=e.main,o=e.transform,i=dp(e.styles);return i.length>0&&(r.style=i),pp(o)&&(t=em("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),n.push(t||a.icon),{children:n,attributes:r}}}},zm={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return im({type:"layer"},function(){Zp("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e(function(e){Array.isArray(e)?e.map(function(e){n=n.concat(e.abstract)}):n=n.concat(e.abstract)}),[{tag:"span",attributes:{class:["".concat(ap.familyPrefix,"-layers")].concat(xd(r)).join(" ")},children:n}]})}}}},Bm={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,a=t.classes,o=void 0===a?[]:a,i=t.attributes,l=void 0===i?{}:i,s=t.styles,c=void 0===s?{}:s;return im({type:"counter",content:e},function(){return Zp("beforeDOMElementCreation",{content:e,params:t}),cm({content:e.toString(),title:r,extra:{attributes:l,styles:c,classes:["".concat(ap.familyPrefix,"-layers-counter")].concat(xd(o))}})})}}}},Hm={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?lp:n,a=t.title,o=void 0===a?null:a,i=t.classes,l=void 0===i?[]:i,s=t.attributes,c=void 0===s?{}:s,u=t.styles,f=void 0===u?{}:u;return im({type:"text",content:e},function(){return Zp("beforeDOMElementCreation",{content:e,params:t}),sm({content:e,transform:wd(wd({},lp),r),title:o,extra:{attributes:c,styles:f,classes:["".concat(ap.familyPrefix,"-layers-text")].concat(xd(l))}})})}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,a=t.extra,o=null,i=null;if(Hd){var l=parseInt(getComputedStyle(e).fontSize,10),s=e.getBoundingClientRect();o=s.width/l,i=s.height/l}return ap.autoA11y&&!n&&(a.attributes["aria-hidden"]="true"),Promise.resolve([e,sm({content:e.innerHTML,width:o,height:i,transform:r,title:n,extra:a,watchable:!0})])}}},Vm=new RegExp('"',"ug"),Wm=[1105920,1112319];function Gm(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise(function(r,a){if(null!==e.getAttribute(n))return r();var o,i,l,s=cp(e.children).filter(function(e){return e.getAttribute("data-fa-pseudo-element")===t})[0],c=Ud.getComputedStyle(e,t),u=c.getPropertyValue("font-family").match(Kd),f=c.getPropertyValue("font-weight"),d=c.getPropertyValue("content");if(s&&!u)return e.removeChild(s),r();if(u&&"none"!==d&&""!==d){var p=c.getPropertyValue("content"),m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?Yd[u[2].toLowerCase()]:Jd[f],h=function(e){var t,n,r,a,o=e.replace(Vm,""),i=(r=(t=o).length,(a=t.charCodeAt(0))>=55296&&a<=56319&&r>1&&(n=t.charCodeAt(1))>=56320&&n<=57343?1024*(a-55296)+n-56320+65536:a),l=i>=Wm[0]&&i<=Wm[1],s=2===o.length&&o[0]===o[1];return{value:Op(s?o[0]:o),isSecondary:l||s}}(p),g=h.value,y=h.isSecondary,v=u[0].startsWith("FontAwesome"),b=Bp(m,g),E=b;if(v){var T=(i=Dp[o=g],l=Bp("fas",o),i||(l?{prefix:"fas",iconName:l}:null)||{prefix:null,iconName:null});T.iconName&&T.prefix&&(b=T.iconName,m=T.prefix)}if(!b||y||s&&s.getAttribute("data-prefix")===m&&s.getAttribute("data-icon")===E)r();else{e.setAttribute(n,E),s&&e.removeChild(s);var S={iconName:null,title:null,titleId:null,prefix:null,transform:lp,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},w=S.extra;w.attributes["data-fa-pseudo-element"]=t,pm(b,m).then(function(a){var o=lm(wd(wd({},S),{},{icons:{main:a,mask:{prefix:null,iconName:null,rest:[]}},prefix:m,iconName:E,extra:w,watchable:!0})),i=jd.createElement("svg");"::before"===t?e.insertBefore(i,e.firstChild):e.appendChild(i),i.outerHTML=o.map(function(e){return wp(e)}).join("\n"),e.removeAttribute(n),r()}).catch(a)}}else r()})}function Ym(e){return Promise.all([Gm(e,"::before"),Gm(e,"::after")])}function $m(e){return!(e.parentNode===document.head||~Vd.indexOf(e.tagName.toUpperCase())||e.getAttribute("data-fa-pseudo-element")||e.parentNode&&"svg"===e.parentNode.tagName)}function Xm(e){if(Bd)return new Promise(function(t,n){var r=cp(e.querySelectorAll("*")).filter($m).map(Ym),a=gm("searchPseudoElements");Om(),Promise.all(r).then(function(){a(),xm(),t()}).catch(function(){a(),xm(),n()})})}var qm=!1,Km=function(e){return e.toLowerCase().split(" ").reduce(function(e,t){var n=t.toLowerCase().split("-"),r=n[0],a=n.slice(1).join("-");if(r&&"h"===a)return e.flipX=!0,e;if(r&&"v"===a)return e.flipY=!0,e;if(a=parseFloat(a),isNaN(a))return e;switch(r){case"grow":e.size=e.size+a;break;case"shrink":e.size=e.size-a;break;case"left":e.x=e.x-a;break;case"right":e.x=e.x+a;break;case"up":e.y=e.y-a;break;case"down":e.y=e.y+a;break;case"rotate":e.rotate=e.rotate+a}return e},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Jm={x:0,y:0,width:"100%",height:"100%"};function Qm(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}!function(e,t){var n=am;Xp=e,qp={},Object.keys(Kp).forEach(function(e){-1===Jp.indexOf(e)&&delete Kp[e]}),Xp.forEach(function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach(function(e){"function"==typeof t[e]&&(n[e]=t[e]),"object"===Nd(t[e])&&Object.keys(t[e]).forEach(function(r){n[e]||(n[e]={}),n[e][r]=t[e][r]})}),e.hooks){var r=e.hooks();Object.keys(r).forEach(function(e){qp[e]||(qp[e]=[]),qp[e].push(r[e])})}e.provides&&e.provides(Kp)})}([yp,Fm,zm,Bm,Hm,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=Xm,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node;ap.searchPseudoElements&&Xm(void 0===t?jd:t)}}},{mixout:function(){return{dom:{unwatch:function(){Om(),qm=!0}}}},hooks:function(){return{bootstrap:function(){Am(Qp("mutationObserverCallbacks",{}))},noAuto:function(){km&&km.disconnect()},watch:function(e){var t=e.observeMutationsRoot;qm?xm():Am(Qp("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},{mixout:function(){return{parse:{transform:function(e){return Km(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=Km(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.iconWidth,a={transform:"translate(".concat(e.containerWidth/2," 256)")},o="translate(".concat(32*n.x,", ").concat(32*n.y,") "),i="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),s={outer:a,inner:{transform:"".concat(o," ").concat(i," ").concat(l)},path:{transform:"translate(".concat(r/2*-1," -256)")}};return{tag:"g",attributes:wd({},s.outer),children:[{tag:"g",attributes:wd({},s.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:wd(wd({},t.icon.attributes),s.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?Yp(n.split(" ").map(function(e){return e.trim()})):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=Wp()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,a=e.main,o=e.mask,i=e.maskId,l=a.icon,s=o.icon,c=function(e){var t=e.transform,n=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},a="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),i="rotate(".concat(t.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(a," ").concat(o," ").concat(i)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:e.transform,containerWidth:o.width,iconWidth:a.width}),u={tag:"rect",attributes:wd(wd({},Jm),{},{fill:"white"})},f=l.children?{children:l.children.map(Qm)}:{},d={tag:"g",attributes:wd({},c.inner),children:[Qm(wd({tag:l.tag,attributes:wd(wd({},l.attributes),c.path)},f))]},p={tag:"g",attributes:wd({},c.outer),children:[d]},m="mask-".concat(i||sp()),h="clip-".concat(i||sp()),g={tag:"mask",attributes:wd(wd({},Jm),{},{id:m,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[u,p]},y={tag:"defs",children:[{tag:"clipPath",attributes:{id:h},children:(t=s,"g"===t.tag?t.children:[t])},g]};return n.push(y,{tag:"rect",attributes:wd({fill:"currentColor","clip-path":"url(#".concat(h,")"),mask:"url(#".concat(m,")")},Jm)}),{children:n,attributes:r}}}},{provides:function(e){var t=!1;Ud.matchMedia&&(t=Ud.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:wd(wd({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var a=wd(wd({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:wd(wd({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:wd(wd({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:wd(wd({},a),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:wd(wd({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:wd(wd({},a),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:wd(wd({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:wd(wd({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol");return e.symbol=null!==n&&(""===n||n),e}}}}]);var Zm,eh=am.parse,th=am.icon,nh=n(function(e,t){!function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,a=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:var p=e.type;switch(p){case c:case u:case a:case i:case o:case d:return p;default:var g=p&&p.$$typeof;switch(g){case s:case f:case h:case m:case l:return g;default:return t}}case r:return t}}}var T=u,S=s,w=l,N=n,R=f,O=a,x=h,k=m,A=r,C=i,I=o,_=d,L=!1;function P(e){return E(e)===u}t.AsyncMode=c,t.ConcurrentMode=T,t.ContextConsumer=S,t.ContextProvider=w,t.Element=N,t.ForwardRef=R,t.Fragment=O,t.Lazy=x,t.Memo=k,t.Portal=A,t.Profiler=C,t.StrictMode=I,t.Suspense=_,t.isAsyncMode=function(e){return L||(L=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),P(e)||E(e)===c},t.isConcurrentMode=P,t.isContextConsumer=function(e){return E(e)===s},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return E(e)===f},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===h},t.isMemo=function(e){return E(e)===m},t.isPortal=function(e){return E(e)===r},t.isProfiler=function(e){return E(e)===i},t.isStrictMode=function(e){return E(e)===o},t.isSuspense=function(e){return E(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===u||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===l||e.$$typeof===s||e.$$typeof===f||e.$$typeof===y||e.$$typeof===v||e.$$typeof===b||e.$$typeof===g)},t.typeOf=E}()}),rh=n(function(e){e.exports=nh}),ah="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",oh=Function.call.bind(Object.prototype.hasOwnProperty),ih={},lh=oh;function sh(e,t,n,r,a){for(var o in e)if(lh(e,o)){var i;try{if("function"!=typeof e[o]){var l=Error((r||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}i=e[o](t,o,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){i=e}if(!i||i instanceof Error||Zm((r||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof i+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),i instanceof Error&&!(i.message in ih)){ih[i.message]=!0;var s=a?a():"";Zm("Failed "+n+" type: "+i.message+(null!=s?s:""))}}}Zm=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},sh.resetWarningCache=function(){ih={}};var ch,uh=sh;function fh(){return null}ch=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}};var dh=n(function(e){e.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,r="<>",a={array:c("array"),bigint:c("bigint"),bool:c("boolean"),func:c("function"),number:c("number"),object:c("object"),string:c("string"),symbol:c("symbol"),any:s(fh),arrayOf:function(e){return s(function(t,n,r,a,o){if("function"!=typeof e)return new i("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var l=t[n];if(!Array.isArray(l))return new i("Invalid "+a+" `"+o+"` of type `"+d(l)+"` supplied to `"+r+"`, expected an array.");for(var s=0;s1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),fh;function t(t,n,r,a,l){for(var s=t[n],c=0;c0?", expected one of type ["+l.join(", ")+"]":"")+".")})},shape:function(e){return s(function(t,n,r,a,o){var l=t[n],s=d(l);if("object"!==s)return new i("Invalid "+a+" `"+o+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var f=e[c];if("function"!=typeof f)return u(r,a,o,c,p(f));var m=f(l,c,r,a,o+"."+c,ah);if(m)return m}return null})},exact:function(e){return s(function(t,n,r,a,o){var s=t[n],c=d(s);if("object"!==c)return new i("Invalid "+a+" `"+o+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");var f=l({},t[n],e);for(var m in f){var h=e[m];if(oh(e,m)&&"function"!=typeof h)return u(r,a,o,m,p(h));if(!h)return new i("Invalid "+a+" `"+o+"` key `"+m+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var g=h(s,m,r,a,o+"."+m,ah);if(g)return g}return null})}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function i(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function s(e){function t(t,n,a,o,l,s,c){if(o=o||r,s=s||a,c!==ah){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}return null==n[a]?t?new i(null===n[a]?"The "+l+" `"+s+"` is marked as required in `"+o+"`, but its value is `null`.":"The "+l+" `"+s+"` is marked as required in `"+o+"`, but its value is `undefined`."):null:e(n,a,o,l,s)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function c(e){return s(function(t,n,r,a,o,l){var s=t[n];return d(s)!==e?new i("Invalid "+a+" `"+o+"` of type `"+p(s)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function u(e,t,n,r,a){return new i((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+a+"`.")}function f(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(f);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var a,o=r.call(t);if(r!==t.entries){for(;!(a=o.next()).done;)if(!f(a.value))return!1}else for(;!(a=o.next()).done;){var i=a.value;if(i&&!f(i[1]))return!1}return!0;default:return!1}}function d(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function p(e){if(null==e)return""+e;var t=d(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function m(e){var t=p(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return i.prototype=Error.prototype,a.checkPropTypes=uh,a.resetWarningCache=uh.resetWarningCache,a.PropTypes=a,a}(rh.isElement)});function ph(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function mh(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function vh(e){return function(e){if(Array.isArray(e))return bh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return bh(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bh(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||!Array.isArray(t)&&t?gh({},e,t):{}}var Oh=["forwardedRef"];function xh(e){var t=e.forwardedRef,n=yh(e,Oh),r=n.mask,a=n.symbol,o=n.className,i=n.title,l=n.titleId,s=n.maskId,c=Nh(n.icon),u=Rh("classes",[].concat(vh(function(e){var t,n=e.flip,r=e.size,a=e.rotation,o=e.pull,i=(gh(t={"fa-beat":e.beat,"fa-fade":e.fade,"fa-beat-fade":e.beatFade,"fa-bounce":e.bounce,"fa-shake":e.shake,"fa-flash":e.flash,"fa-spin":e.spin,"fa-spin-reverse":e.spinReverse,"fa-spin-pulse":e.spinPulse,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-inverse":e.inverse,"fa-border":e.border,"fa-li":e.listItem,"fa-flip-horizontal":"horizontal"===n||"both"===n,"fa-flip-vertical":"vertical"===n||"both"===n},"fa-".concat(r),null!=r),gh(t,"fa-rotate-".concat(a),null!=a&&0!==a),gh(t,"fa-pull-".concat(o),null!=o),gh(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(i).map(function(e){return i[e]?e:null}).filter(function(e){return e})}(n)),vh(o.split(" ")))),f=Rh("transform","string"==typeof n.transform?eh.transform(n.transform):n.transform),d=Rh("mask",Nh(r)),p=th(c,mh(mh(mh(mh({},u),f),d),{},{symbol:a,title:i,titleId:l,maskId:s}));if(!p)return function(){var e;!wh&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var m=p.abstract,h={ref:t};return Object.keys(n).forEach(function(e){xh.defaultProps.hasOwnProperty(e)||(h[e]=n[e])}),kh(m[0],h)}xh.displayName="FontAwesomeIcon",xh.propTypes={beat:dh.bool,border:dh.bool,bounce:dh.bool,className:dh.string,fade:dh.bool,flash:dh.bool,mask:dh.oneOfType([dh.object,dh.array,dh.string]),maskId:dh.string,fixedWidth:dh.bool,inverse:dh.bool,flip:dh.oneOf(["horizontal","vertical","both"]),icon:dh.oneOfType([dh.object,dh.array,dh.string]),listItem:dh.bool,pull:dh.oneOf(["right","left"]),pulse:dh.bool,rotation:dh.oneOf([0,90,180,270]),shake:dh.bool,size:dh.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:dh.bool,spinPulse:dh.bool,spinReverse:dh.bool,symbol:dh.oneOfType([dh.bool,dh.string]),title:dh.string,titleId:dh.string,transform:dh.oneOfType([dh.string,dh.object]),swapOpacity:dh.bool},xh.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var kh=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var a=(n.children||[]).map(function(n){return e(t,n)}),o=Object.keys(n.attributes||{}).reduce(function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=Sh(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Eh(t)]=r}return e},{attrs:{}}),i=r.style,l=void 0===i?{}:i,s=yh(r,Th);return o.attrs.style=mh(mh({},o.attrs.style),l),t.apply(void 0,[n.tag,mh(mh({},o.attrs),s)].concat(vh(a)))}.bind(null,c.createElement),Ah={prefix:"fas",iconName:"align-left",icon:[448,512,[],"f036","M256 96H32C14.33 96 0 81.67 0 64C0 46.33 14.33 32 32 32H256C273.7 32 288 46.33 288 64C288 81.67 273.7 96 256 96zM256 352H32C14.33 352 0 337.7 0 320C0 302.3 14.33 288 32 288H256C273.7 288 288 302.3 288 320C288 337.7 273.7 352 256 352zM0 192C0 174.3 14.33 160 32 160H416C433.7 160 448 174.3 448 192C448 209.7 433.7 224 416 224H32C14.33 224 0 209.7 0 192zM416 480H32C14.33 480 0 465.7 0 448C0 430.3 14.33 416 32 416H416C433.7 416 448 430.3 448 448C448 465.7 433.7 480 416 480z"]},Ch={prefix:"fas",iconName:"angle-down",icon:[384,512,[8964],"f107","M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"]},Ih={prefix:"fas",iconName:"bug",icon:[512,512,[],"f188","M352 96V99.56C352 115.3 339.3 128 323.6 128H188.4C172.7 128 159.1 115.3 159.1 99.56V96C159.1 42.98 202.1 0 255.1 0C309 0 352 42.98 352 96zM41.37 105.4C53.87 92.88 74.13 92.88 86.63 105.4L150.6 169.4C151.3 170 151.9 170.7 152.5 171.4C166.8 164.1 182.9 160 199.1 160H312C329.1 160 345.2 164.1 359.5 171.4C360.1 170.7 360.7 170 361.4 169.4L425.4 105.4C437.9 92.88 458.1 92.88 470.6 105.4C483.1 117.9 483.1 138.1 470.6 150.6L406.6 214.6C405.1 215.3 405.3 215.9 404.6 216.5C410.7 228.5 414.6 241.9 415.7 256H480C497.7 256 512 270.3 512 288C512 305.7 497.7 320 480 320H416C416 344.6 410.5 367.8 400.6 388.6C402.7 389.9 404.8 391.5 406.6 393.4L470.6 457.4C483.1 469.9 483.1 490.1 470.6 502.6C458.1 515.1 437.9 515.1 425.4 502.6L362.3 439.6C337.8 461.4 306.5 475.8 272 479.2V240C272 231.2 264.8 224 255.1 224C247.2 224 239.1 231.2 239.1 240V479.2C205.5 475.8 174.2 461.4 149.7 439.6L86.63 502.6C74.13 515.1 53.87 515.1 41.37 502.6C28.88 490.1 28.88 469.9 41.37 457.4L105.4 393.4C107.2 391.5 109.3 389.9 111.4 388.6C101.5 367.8 96 344.6 96 320H32C14.33 320 0 305.7 0 288C0 270.3 14.33 256 32 256H96.3C97.38 241.9 101.3 228.5 107.4 216.5C106.7 215.9 106 215.3 105.4 214.6L41.37 150.6C28.88 138.1 28.88 117.9 41.37 105.4H41.37z"]},_h={prefix:"fas",iconName:"circle-half-stroke",icon:[512,512,[9680,"adjust"],"f042","M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 64V448C362 448 448 362 448 256C448 149.1 362 64 256 64z"]},Lh={prefix:"fas",iconName:"expand",icon:[448,512,[],"f065","M128 32H32C14.31 32 0 46.31 0 64v96c0 17.69 14.31 32 32 32s32-14.31 32-32V96h64c17.69 0 32-14.31 32-32S145.7 32 128 32zM416 32h-96c-17.69 0-32 14.31-32 32s14.31 32 32 32h64v64c0 17.69 14.31 32 32 32s32-14.31 32-32V64C448 46.31 433.7 32 416 32zM128 416H64v-64c0-17.69-14.31-32-32-32s-32 14.31-32 32v96c0 17.69 14.31 32 32 32h96c17.69 0 32-14.31 32-32S145.7 416 128 416zM416 320c-17.69 0-32 14.31-32 32v64h-64c-17.69 0-32 14.31-32 32s14.31 32 32 32h96c17.69 0 32-14.31 32-32v-96C448 334.3 433.7 320 416 320z"]},Ph={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6C499.2 175.2 496.4 184.9 489.6 191.2L446.3 230.6C447.4 238.9 448 247.4 448 256C448 264.6 447.4 273.1 446.3 281.4L489.6 320.8C496.4 327.1 499.2 336.8 495.9 345.4C491.5 357.3 486.2 368.8 480.2 379.7L475.5 387.8C468.9 398.8 461.5 409.2 453.4 419.1C447.4 426.2 437.7 428.7 428.9 425.9L373.2 408.1C359.8 418.4 344.1 427 329.2 433.6L316.7 490.7C314.7 499.7 307.7 506.1 298.5 508.5C284.7 510.8 270.5 512 255.1 512C241.5 512 227.3 510.8 213.5 508.5C204.3 506.1 197.3 499.7 195.3 490.7L182.8 433.6C167 427 152.2 418.4 138.8 408.1L83.14 425.9C74.3 428.7 64.55 426.2 58.63 419.1C50.52 409.2 43.12 398.8 36.52 387.8L31.84 379.7C25.77 368.8 20.49 357.3 16.06 345.4C12.82 336.8 15.55 327.1 22.41 320.8L65.67 281.4C64.57 273.1 64 264.6 64 256C64 247.4 64.57 238.9 65.67 230.6L22.41 191.2C15.55 184.9 12.82 175.3 16.06 166.6C20.49 154.7 25.78 143.2 31.84 132.3L36.51 124.2C43.12 113.2 50.52 102.8 58.63 92.95C64.55 85.8 74.3 83.32 83.14 86.14L138.8 103.9C152.2 93.56 167 84.96 182.8 78.43L195.3 21.33C197.3 12.25 204.3 5.04 213.5 3.51C227.3 1.201 241.5 0 256 0C270.5 0 284.7 1.201 298.5 3.51C307.7 5.04 314.7 12.25 316.7 21.33L329.2 78.43C344.1 84.96 359.8 93.56 373.2 103.9L428.9 86.14C437.7 83.32 447.4 85.8 453.4 92.95C461.5 102.8 468.9 113.2 475.5 124.2L480.2 132.3C486.2 143.2 491.5 154.7 495.9 166.6V166.6zM256 336C300.2 336 336 300.2 336 255.1C336 211.8 300.2 175.1 256 175.1C211.8 175.1 176 211.8 176 255.1C176 300.2 211.8 336 256 336z"]},Mh={prefix:"fas",iconName:"moon",icon:[512,512,[127769,9214],"f186","M32 256c0-123.8 100.3-224 223.8-224c11.36 0 29.7 1.668 40.9 3.746c9.616 1.777 11.75 14.63 3.279 19.44C245 86.5 211.2 144.6 211.2 207.8c0 109.7 99.71 193 208.3 172.3c9.561-1.805 16.28 9.324 10.11 16.95C387.9 448.6 324.8 480 255.8 480C132.1 480 32 379.6 32 256z"]},Dh={prefix:"fas",iconName:"share",icon:[512,512,["arrow-turn-right","mail-forward"],"f064","M503.7 226.2l-176 151.1c-15.38 13.3-39.69 2.545-39.69-18.16V272.1C132.9 274.3 66.06 312.8 111.4 457.8c5.031 16.09-14.41 28.56-28.06 18.62C39.59 444.6 0 383.8 0 322.3c0-152.2 127.4-184.4 288-186.3V56.02c0-20.67 24.28-31.46 39.69-18.16l176 151.1C514.8 199.4 514.8 216.6 503.7 226.2z"]},Uh={prefix:"fas",iconName:"shield-halved",icon:[512,512,["shield-alt"],"f3ed","M256-.0078C260.7-.0081 265.2 1.008 269.4 2.913L457.7 82.79C479.7 92.12 496.2 113.8 496 139.1C495.5 239.2 454.7 420.7 282.4 503.2C265.7 511.1 246.3 511.1 229.6 503.2C57.25 420.7 16.49 239.2 15.1 139.1C15.87 113.8 32.32 92.12 54.3 82.79L242.7 2.913C246.8 1.008 251.4-.0081 256-.0078V-.0078zM256 444.8C393.1 378 431.1 230.1 432 141.4L256 66.77L256 444.8z"]},jh={prefix:"fas",iconName:"sun",icon:[512,512,[9728],"f185","M256 159.1c-53.02 0-95.1 42.98-95.1 95.1S202.1 351.1 256 351.1s95.1-42.98 95.1-95.1S309 159.1 256 159.1zM509.3 347L446.1 255.1l63.15-91.01c6.332-9.125 1.104-21.74-9.826-23.72l-109-19.7l-19.7-109c-1.975-10.93-14.59-16.16-23.72-9.824L256 65.89L164.1 2.736c-9.125-6.332-21.74-1.107-23.72 9.824L121.6 121.6L12.56 141.3C1.633 143.2-3.596 155.9 2.736 164.1L65.89 256l-63.15 91.01c-6.332 9.125-1.105 21.74 9.824 23.72l109 19.7l19.7 109c1.975 10.93 14.59 16.16 23.72 9.824L256 446.1l91.01 63.15c9.127 6.334 21.75 1.107 23.72-9.822l19.7-109l109-19.7C510.4 368.8 515.6 356.1 509.3 347zM256 383.1c-70.69 0-127.1-57.31-127.1-127.1c0-70.69 57.31-127.1 127.1-127.1s127.1 57.3 127.1 127.1C383.1 326.7 326.7 383.1 256 383.1z"]},Fh={prefix:"fas",iconName:"up-right-from-square",icon:[512,512,["external-link-alt"],"f35d","M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"]};function zh(e){var t=e.url,n=e.openText;return c.createElement("div",null,c.createElement("p",{className:"text-sm mb-1"},e.helpText),c.createElement("div",{className:"flex gap-3"},c.createElement("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"underline ~text-violet-500 hover:~text-violet-600"},c.createElement(xh,{icon:Fh,className:"opacity-50 text-xs mr-1"}),n),c.createElement(ei,{alwaysVisible:!0,direction:"left",value:t})))}function Bh(e){var t=[];return e.includes("stackTrace")&&t.push("stackTraceTab"),e.includes("context")&&t.push("requestTab","appTab","userTab","contextTab"),e.includes("debug")&&t.push("debugTab"),t}function Hh(e,t){return t.includes("stackTrace")||(e.stacktrace=e.stacktrace.slice(0,1)),t.includes("debug")||(e.glows=[],e.context.dumps=[],e.context.queries=[],e.context.logs=[]),t.includes("context")||(e.context.request_data={queryString:{},body:{},files:[]},e.context.headers={},e.context.cookies={},e.context.session={},e.context.route=null,e.context.laravel_context=null,e.context.user=null,delete e.context.git,delete e.context.livewire,e.context.view=null),e}function Vh(t){var n=t.isOpen,r=c.useContext(Td),a=c.useState(null),o=a[0],i=a[1],l=c.useState(null),s=l[0],u=l[1],f=c.useState(!1),d=f[0],p=f[1],m=c.useState([{name:"stackTrace",label:"Stack",selected:!0},{name:"context",label:"Context",selected:!0},{name:"debug",label:"Debug",selected:!0}]),h=m[0],g=m[1];return c.createElement("div",{className:"block absolute mt-2 top-10 right-1/2 transform translate-x-8 transition-all duration-150 origin-top-right\n "+(n?"":"opacity-0 pointer-events-none scale-90")},c.createElement("div",{className:"flex px-4 justify-end"},c.createElement("div",{className:"w-0 h-0 border-[10px] border-t-0 border-transparent ~border-b-dropdown"})),c.createElement("div",{className:"flex flex-col gap-6 ~bg-dropdown px-10 py-8 shadow-2xl"},c.createElement("div",{className:"flex items-center justify-between gap-6"},c.createElement("h4",{className:"whitespace-nowrap font-semibold"},"Share with Flare"),c.createElement("a",{className:"text-xs ~text-gray-500 hover:text-violet-500 flex items-center underline transition-colors",href:"https://flareapp.io/docs/ignition/introducing-ignition/sharing-errors?utm_campaign=ignition&utm_source=ignition",target:"_blank",rel:"noopener noreferrer"},"Docs",c.createElement(vd,null))),!o&&c.createElement(c.Fragment,null,c.createElement("ul",{className:"grid justify-start gap-3"},h.map(function(t){var n=t.name;return c.createElement("li",{key:n},c.createElement(Ed,{onChange:function(){return t=n,void(h.find(function(e){return e.name===t})&&g(h.map(function(n){return n.name===t?e({},n,{selected:!n.selected}):n})));var t},checked:t.selected,label:t.label}))})),c.createElement("div",{className:"flex items-center gap-4"},c.createElement(Jc,{disabled:d||!h.some(function(e){return e.selected}),className:"bg-violet-500 border-violet-500/25 CopyButton text-white",onClick:function(){try{var e=function(){p(!1)};if(!r.config.shareEndpoint)return Promise.resolve();u(null),p(!0);var t=h.filter(function(e){return e.selected}).map(function(e){return e.name}),n=function(e,n){try{var a=Promise.resolve(function(e,t){var n={tabs:Bh(t),lineSelection:window.location.hash,report:Hh(e.shareableReport,t)};return new Promise(function(t,r){try{var a=function(){r()},o=function(r,a){try{var o=Promise.resolve(fetch(e.config.shareEndpoint,{method:"POST",body:JSON.stringify(n),headers:{"Content-Type":"application/json",Accept:"application/json"}})).then(function(e){return Promise.resolve(e.json()).then(function(e){e&&e.owner_url&&e.public_url&&t(e)})})}catch(e){return a(e)}return o&&o.then?o.then(void 0,a):o}(0,function(e){r(e)});return Promise.resolve(o&&o.then?o.then(a):a())}catch(e){return Promise.reject(e)}})}(r,t)).then(function(e){window.open(e.owner_url,"_blank","noopener,noreferrer"),i(e.public_url)})}catch(e){return n(e)}return a&&a.then?a.then(void 0,n):a}(0,function(e){console.error(e),u("Something went wrong while sharing, please try again.")});return Promise.resolve(n&&n.then?n.then(e):e())}catch(e){return Promise.reject(e)}}},c.createElement(xh,{icon:Fh,className:"opacity-50 text-xs mr-1"}),"Create Share"))),o&&c.createElement("div",{className:"grid grid-cols-1 gap-4"},c.createElement(zh,{url:o,helpText:"Share your error with others",openText:"Visit public share"})),s&&c.createElement("p",{className:"text-red-500"},s)))}function Wh(t){var n,r=t.isOpen,a=c.useContext(Td),o=c.useContext(Te),i=o.ignitionConfig,l=o.setIgnitionConfig,s=c.useState(i.editor||""),u=s[0],f=s[1],d=c.useState(null),p=d[0],m=d[1],h=c.useState(!1),g=h[0],y=h[1],v=c.useState(!1),b=v[0],E=v[1],T=c.useState([{value:"light",icon:c.createElement(xh,{icon:jh,className:"group-hover:text-amber-400"}),selected:"light"===i.theme},{value:"dark",icon:c.createElement(xh,{icon:Mh,className:"group-hover:text-amber-300"}),selected:"dark"===i.theme},{value:"auto",icon:c.createElement(xh,{icon:_h,className:"group-hover:text-indigo-500"}),selected:"auto"===i.theme}]),S=T[0],w=T[1];return c.createElement("div",{className:"\n absolute mt-2 top-10 right-1/2 translate-x-6 transition-all duration-150 origin-top-right\n "+(r?"":"opacity-0 pointer-events-none scale-90")+"\n "},c.createElement("div",{className:"flex px-4 justify-end"},c.createElement("div",{className:"w-0 h-0 border-[10px] border-t-0 border-transparent ~border-b-dropdown"})),c.createElement("div",{className:"flex flex-col gap-6 ~bg-dropdown px-10 py-8 shadow-2xl"},c.createElement("div",{className:"flex items-center justify-between gap-6"},c.createElement("h4",{className:"whitespace-nowrap font-semibold"},"Ignition Settings"),c.createElement("a",{className:"text-xs ~text-gray-500 hover:text-red-500 flex items-center underline transition-colors",href:"https://flareapp.io/ignition?utm_campaign=ignition&utm_source=ignition",target:"_blank",rel:"noopener noreferrer"},"Docs",c.createElement(bd,null))),c.createElement("label",{htmlFor:"editor-select"},c.createElement("span",{className:"uppercase tracking-wider ~text-gray-500 text-xs font-bold"},"Editor"),c.createElement("div",{className:"group mt-2"},c.createElement("select",{id:"editor-select",className:"block appearance-none w-full ~bg-gray-500/5 h-12 px-4 pr-8 rounded-none leading-tight",value:u,onChange:function(t){return function(t){f(t),l(e({},i,{editor:t}))}(t.target.value)}},Object.entries((null==i?void 0:i.editorOptions)||[]).map(function(e){var t=e[0];return c.createElement("option",{className:"text-gray-800",key:t,value:t},e[1].label)})),c.createElement("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-4"},c.createElement(xh,{icon:Ch,className:"group-hover:text-indigo-500 text-sm"})))),c.createElement("div",null,c.createElement("span",{className:"uppercase tracking-wider ~text-gray-500 text-xs font-bold"},"Theme"),c.createElement("button",{className:"mt-2 w-full ~bg-gray-500/5 rounded-none leading-tight",onClick:function(){var t=S.findIndex(function(e){return e.selected}),n=-1===t||t===S.length-1?0:t+1;m(S[t].value),w([].concat(S.map(function(e,t){return e.selected=t===n,e}))),l(e({},i,{theme:S[n].value}))}},c.createElement("div",{className:"group flex items-center",style:{WebkitMaskImage:"linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%)"}},c.createElement("div",{className:"px-4"},S.map(function(e){var t=e.value,n=e.selected;return c.createElement("div",{key:t,className:"\n h-12 flex items-center origin-bottom\n "+(n?"transition-transform duration-1000":"")+"\n "+(t===p?"transition-transform duration-1000 absolute top-0 left-4 rotate-180":"")+"\n "+(n||t===p?"":"absolute top-0 left-4 -rotate-180")+"\n "},c.createElement("span",{className:"text-sm ~text-gray-500 transition-colors duration-500"},e.icon))})),c.createElement("div",{id:"theme-name",className:"-ml-1 first-letter:uppercase"},null==(n=S.find(function(e){return e.selected}))?void 0:n.value)))),c.createElement("div",{className:"flex items-center gap-4"},c.createElement(Jc,{onClick:function(){try{return g?Promise.resolve():Promise.resolve(function(e,t){try{var n=function(e,t){try{var n=function(){var e;if(E(!1),y(!0),a.updateConfigEndpoint)return Promise.resolve(fetch(a.updateConfigEndpoint,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({editor:u,theme:null==(e=S.find(function(e){return e.selected}))?void 0:e.value,hide_solutions:!1})})).then(function(e){E(e.status>=200&&e.status<300),setTimeout(function(){E(!1)},3e3)})}()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}(0,function(e){console.error(e),E(!1)})}catch(e){return t(!0,e)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,n)}(0,function(e,t){if(y(!1),e)throw t;return t}))}catch(e){return Promise.reject(e)}},disabled:g,className:"bg-red-500 border-red-500/25 text-white"},"Save settings"),b&&c.createElement("p",{className:"text-emerald-500 text-sm"},"Saved!")),c.createElement("p",{className:"text-xs"},"Settings will be saved locally in ",c.createElement(yd,null,"~/.ignition.json"),".")))}var Gh={prefix:"fab",iconName:"laravel",icon:[512,512,[],"f3bd","M504.4 115.8a5.72 5.72 0 0 0 -.28-.68 8.52 8.52 0 0 0 -.53-1.25 6 6 0 0 0 -.54-.71 9.36 9.36 0 0 0 -.72-.94c-.23-.22-.52-.4-.77-.6a8.84 8.84 0 0 0 -.9-.68L404.4 55.55a8 8 0 0 0 -8 0L300.1 111h0a8.07 8.07 0 0 0 -.88 .69 7.68 7.68 0 0 0 -.78 .6 8.23 8.23 0 0 0 -.72 .93c-.17 .24-.39 .45-.54 .71a9.7 9.7 0 0 0 -.52 1.25c-.08 .23-.21 .44-.28 .68a8.08 8.08 0 0 0 -.28 2.08V223.2l-80.22 46.19V63.44a7.8 7.8 0 0 0 -.28-2.09c-.06-.24-.2-.45-.28-.68a8.35 8.35 0 0 0 -.52-1.24c-.14-.26-.37-.47-.54-.72a9.36 9.36 0 0 0 -.72-.94 9.46 9.46 0 0 0 -.78-.6 9.8 9.8 0 0 0 -.88-.68h0L115.6 1.07a8 8 0 0 0 -8 0L11.34 56.49h0a6.52 6.52 0 0 0 -.88 .69 7.81 7.81 0 0 0 -.79 .6 8.15 8.15 0 0 0 -.71 .93c-.18 .25-.4 .46-.55 .72a7.88 7.88 0 0 0 -.51 1.24 6.46 6.46 0 0 0 -.29 .67 8.18 8.18 0 0 0 -.28 2.1v329.7a8 8 0 0 0 4 6.95l192.5 110.8a8.83 8.83 0 0 0 1.33 .54c.21 .08 .41 .2 .63 .26a7.92 7.92 0 0 0 4.1 0c.2-.05 .37-.16 .55-.22a8.6 8.6 0 0 0 1.4-.58L404.4 400.1a8 8 0 0 0 4-6.95V287.9l92.24-53.11a8 8 0 0 0 4-7V117.9A8.63 8.63 0 0 0 504.4 115.8zM111.6 17.28h0l80.19 46.15-80.2 46.18L31.41 63.44zm88.25 60V278.6l-46.53 26.79-33.69 19.4V123.5l46.53-26.79zm0 412.8L23.37 388.5V77.32L57.06 96.7l46.52 26.8V338.7a6.94 6.94 0 0 0 .12 .9 8 8 0 0 0 .16 1.18h0a5.92 5.92 0 0 0 .38 .9 6.38 6.38 0 0 0 .42 1v0a8.54 8.54 0 0 0 .6 .78 7.62 7.62 0 0 0 .66 .84l0 0c.23 .22 .52 .38 .77 .58a8.93 8.93 0 0 0 .86 .66l0 0 0 0 92.19 52.18zm8-106.2-80.06-45.32 84.09-48.41 92.26-53.11 80.13 46.13-58.8 33.56zm184.5 4.57L215.9 490.1V397.8L346.6 323.2l45.77-26.15zm0-119.1L358.7 250l-46.53-26.79V131.8l33.69 19.4L392.4 178zm8-105.3-80.2-46.17 80.2-46.16 80.18 46.15zm8 105.3V178L455 151.2l33.68-19.4v91.39h0z"]},Yh={prefix:"fab",iconName:"php",icon:[640,512,[],"f457","M320 104.5c171.4 0 303.2 72.2 303.2 151.5S491.3 407.5 320 407.5c-171.4 0-303.2-72.2-303.2-151.5S148.7 104.5 320 104.5m0-16.8C143.3 87.7 0 163 0 256s143.3 168.3 320 168.3S640 349 640 256 496.7 87.7 320 87.7zM218.2 242.5c-7.9 40.5-35.8 36.3-70.1 36.3l13.7-70.6c38 0 63.8-4.1 56.4 34.3zM97.4 350.3h36.7l8.7-44.8c41.1 0 66.6 3 90.2-19.1 26.1-24 32.9-66.7 14.3-88.1-9.7-11.2-25.3-16.7-46.5-16.7h-70.7L97.4 350.3zm185.7-213.6h36.5l-8.7 44.8c31.5 0 60.7-2.3 74.8 10.7 14.8 13.6 7.7 31-8.3 113.1h-37c15.4-79.4 18.3-86 12.7-92-5.4-5.8-17.7-4.6-47.4-4.6l-18.8 96.6h-36.5l32.7-168.6zM505 242.5c-8 41.1-36.7 36.3-70.1 36.3l13.7-70.6c38.2 0 63.8-4.1 56.4 34.3zM384.2 350.3H421l8.7-44.8c43.2 0 67.1 2.5 90.2-19.1 26.1-24 32.9-66.7 14.3-88.1-9.7-11.2-25.3-16.7-46.5-16.7H417l-32.8 168.7z"]},$h="object"==typeof t&&t&&t.Object===Object&&t,Xh="object"==typeof self&&self&&self.Object===Object&&self,qh=$h||Xh||Function("return this")(),Kh=qh.Symbol,Jh=Object.prototype,Qh=Jh.hasOwnProperty,Zh=Jh.toString,eg=Kh?Kh.toStringTag:void 0,tg=Object.prototype.toString,ng=Kh?Kh.toStringTag:void 0,rg=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ng&&ng in Object(e)?function(e){var t=Qh.call(e,eg),n=e[eg];try{e[eg]=void 0;var r=!0}catch(e){}var a=Zh.call(e);return r&&(t?e[eg]=n:delete e[eg]),a}(e):function(e){return tg.call(e)}(e)},ag=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},og=function(e){if(!ag(e))return!1;var t=rg(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},ig=qh["__core-js_shared__"],lg=function(){var e=/[^.]+$/.exec(ig&&ig.keys&&ig.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),sg=Function.prototype.toString,cg=function(e){if(null!=e){try{return sg.call(e)}catch(e){}try{return e+""}catch(e){}}return""},ug=/^\[object .+?Constructor\]$/,fg=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),dg=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!ag(e)||function(e){return!!lg&&lg in e}(e))&&(og(e)?fg:ug).test(cg(e))}(n)?n:void 0},pg=function(){try{var e=dg(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),mg=function(e,t,n){"__proto__"==t&&pg?pg(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},hg=function(e){return null!=e&&"object"==typeof e},gg=function(e){return hg(e)&&"[object Arguments]"==rg(e)},yg=Object.prototype,vg=yg.hasOwnProperty,bg=yg.propertyIsEnumerable,Eg=gg(function(){return arguments}())?gg:function(e){return hg(e)&&vg.call(e,"callee")&&!bg.call(e,"callee")},Tg=Array.isArray,Sg=function(){return!1},wg=n(function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,a=r&&r.exports===n?qh.Buffer:void 0;e.exports=(a?a.isBuffer:void 0)||Sg}),Ng=/^(?:0|[1-9]\d*)$/,Rg=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Ng.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},xg={};xg["[object Float32Array]"]=xg["[object Float64Array]"]=xg["[object Int8Array]"]=xg["[object Int16Array]"]=xg["[object Int32Array]"]=xg["[object Uint8Array]"]=xg["[object Uint8ClampedArray]"]=xg["[object Uint16Array]"]=xg["[object Uint32Array]"]=!0,xg["[object Arguments]"]=xg["[object Array]"]=xg["[object ArrayBuffer]"]=xg["[object Boolean]"]=xg["[object DataView]"]=xg["[object Date]"]=xg["[object Error]"]=xg["[object Function]"]=xg["[object Map]"]=xg["[object Number]"]=xg["[object Object]"]=xg["[object RegExp]"]=xg["[object Set]"]=xg["[object String]"]=xg["[object WeakMap]"]=!1;var kg=n(function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,a=r&&r.exports===n&&$h.process,o=function(){try{return r&&r.require&&r.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=o}),Ag=kg&&kg.isTypedArray,Cg=Ag?function(e){return function(t){return e(t)}}(Ag):function(e){return hg(e)&&Og(e.length)&&!!xg[rg(e)]},Ig=Object.prototype.hasOwnProperty,_g=Object.prototype,Lg=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),Pg=Object.prototype.hasOwnProperty,Mg=function(e){return null!=e&&Og(e.length)&&!og(e)},Dg=function(e){return Mg(e)?function(e,t){var n=Tg(e),r=!n&&Eg(e),a=!n&&!r&&wg(e),o=!n&&!r&&!a&&Cg(e),i=n||r||a||o,l=i?function(e,t){for(var n=-1,r=Array(e);++n-1},Bg.prototype.set=function(e,t){var n=this.__data__,r=Fg(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var Hg=Bg,Vg=dg(qh,"Map"),Wg=dg(Object,"create"),Gg=Object.prototype.hasOwnProperty,Yg=Object.prototype.hasOwnProperty;function $g(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tl))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var f=-1,d=!0,p=2&n?new ty:void 0;for(o.set(e,t),o.set(t,e);++f=10}(),d=c.useContext(Te).ignitionConfig,p=c.useRef(null),m=c.useRef(null);nv(p,function(){return i(!1)}),nv(m,function(){return u(!1)});var h=Jy(tv(r.context_items.env||[],"name"),"value"),g="local"!==h.app_env&&h.app_debug,y=function(e){var t;if(null!=(t=e.context_items.env)&&t.laravel_version){var n=e.documentation_links.find(function(e){return e.startsWith("https://laravel.com/")});return n?{type:"laravel",url:n,tailored:!0}:{type:"laravel",url:"https://laravel.com/docs/",tailored:!1}}var r=e.documentation_links.find(function(e){return e.startsWith("https://php.net/")});return r?{type:"php",url:r,tailored:!0}:{type:"generic",url:"https://php.net/docs",tailored:!1}}(r);return c.createElement("nav",{className:"z-50 fixed top-0 h-20 w-full"},c.createElement("div",null,c.createElement("div",{className:"\n "+(f?"~bg-gray-100":"~bg-body")+"\n z-10 transform translate-x-0 transition-color duration-100\n "},c.createElement("div",{className:"h-10 flex justify-between px-6 lg:px-10 mx-auto max-w-4xl lg:max-w-[90rem]"},c.createElement("ul",{className:"-ml-3 sm:-ml-5 grid grid-flow-col justify-start items-center"},c.createElement(ve,{name:"stack",icon:c.createElement(xh,{icon:Ah})}),c.createElement(ve,{name:"context",icon:c.createElement(xh,{icon:Lh})}),Jo(r)&&c.createElement(ve,{name:"debug",icon:c.createElement(xh,{icon:Ih}),important:!(null==(t=r.context_items.dumps)||!t.length)}),c.createElement(ve,{name:"flare",href:"https://flareapp.io/?utm_campaign=ignition&utm_source=ignition",icon:c.createElement("svg",{viewBox:"0 0 36 56",fill:"currentColor",className:"h-[.9rem] -top-[.1rem] inline-block"},c.createElement("path",{d:"M 11.995 55.987 L 0 48.993 L 0 35 L 11.967 41.994 L 11.995 55.987 Z"}),c.createElement("path",{d:"M 11.967 41.993 L 0 34.999 L 11.995 28 L 23.989 34.999 L 11.967 41.993 Z"}),c.createElement("path",{d:"M 11.995 27.987 L 0 20.987 L 0 7 L 12.062 14.022 L 11.995 27.987 Z"}),c.createElement("path",{d:"M 23.978 20.981 L 0 6.999 L 11.995 0 L 36 13.981 L 23.978 20.981 Z"}))})),c.createElement("ul",{className:"-mr-3 sm:-mr-5 grid grid-flow-col justify-end items-center"},d.enableShareButton&&c.createElement(ve,{navRef:p,name:"share",icon:c.createElement(xh,{icon:Dh}),onClick:function(){i(!o)}},c.createElement(Vh,{isOpen:o})),y&&c.createElement(ve,{name:"docs",href:y.url,icon:c.createElement(xh,{className:"text-sm",icon:"laravel"===y.type?Gh:Yh}),important:y.tailored}),c.createElement(ve,{navRef:m,name:"settings",icon:c.createElement(xh,{className:"text-sm",icon:Ph}),iconOpacity:"opacity-80",label:!1,onClick:function(){u(!s)}},c.createElement(Wh,{isOpen:s}))))),c.createElement("div",{className:"\n "+(f?"shadow-lg":"")+"\n "+(n?"translate-y-10 ~bg-gray-100":"translate-y-0 ~bg-body")+"\n absolute top-0 left-0 w-full\n ~bg-gray-100 border-b ~border-gray-200\n transform\n transition-animation\n duration-300\n "},c.createElement("div",{className:"flex items-center px-6 lg:px-10 mx-auto max-w-4xl lg:max-w-[90rem] h-10 border-t ~border-gray-200"},c.createElement("a",{href:"#top",className:"min-w-0 inline-flex items-center justify-start gap-2"},g&&c.createElement(xh,{title:"You have a security issue",icon:Uh,className:"text-red-500"}),c.createElement("div",{className:"font-semibold min-w-0 truncate hover:text-red-500"},r.exception_message))))))}var av=new Map,ov=new WeakMap,iv=0;function lv(e){var t=void 0===e?{}:e,n=t.threshold,r=t.delay,a=t.trackVisibility,o=t.rootMargin,i=t.root,l=t.triggerOnce,s=t.skip,u=t.initialInView,f=t.fallbackInView,d=c.useRef(),p=c.useState({inView:!!u}),m=p[0],h=p[1],g=c.useCallback(function(e){void 0!==d.current&&(d.current(),d.current=void 0),s||e&&(d.current=function(e,t,n,r){if(void 0===n&&(n={}),void 0===r&&(r=void 0),void 0===window.IntersectionObserver&&void 0!==r){var a=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:a,intersectionRect:a,rootBounds:a}),function(){}}var o=function(e){var t=function(e){return Object.keys(e).sort().filter(function(t){return void 0!==e[t]}).map(function(t){return t+"_"+("root"===t?(n=e.root)?(ov.has(n)||ov.set(n,(iv+=1).toString()),ov.get(n)):"0":e[t]);var n}).toString()}(e),n=av.get(t);if(!n){var r,a=new Map,o=new IntersectionObserver(function(t){t.forEach(function(t){var n,o=t.isIntersecting&&r.some(function(e){return t.intersectionRatio>=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(n=a.get(t.target))||n.forEach(function(e){e(o,t)})})},e);r=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),av.set(t,n={id:t,observer:o,elements:a})}return n}(n),i=o.id,l=o.observer,s=o.elements,c=s.get(e)||[];return s.has(e)||s.set(e,c),c.push(t),l.observe(e),function(){c.splice(c.indexOf(t),1),0===c.length&&(s.delete(e),l.unobserve(e)),0===s.size&&(l.disconnect(),av.delete(i))}}(e,function(e,t){h({inView:e,entry:t}),t.isIntersecting&&l&&d.current&&(d.current(),d.current=void 0)},{root:i,rootMargin:o,threshold:n,trackVisibility:a,delay:r},f))},[Array.isArray(n)?n.toString():n,i,o,l,s,a,f,r]);c.useEffect(function(){d.current||!m.entry||l||s||h({inView:!!u})});var y=[g,m.inView,m.entry];return y.ref=y[0],y.inView=y[1],y.entry=y[2],y}function sv(e){var t,n,r,a,o,i=e.children,l=e.className,s=void 0===l?"":l,u=e.name,f=(t=u,n=c.useContext(ge).setInView,a=(r=lv({rootMargin:"-40% 0px -40%"})).ref,c.useEffect(function(){n(o?function(e){return[].concat(e,[t])}:function(e){return e.filter(function(e){return e!==t})})},[o=r.inView]),a);return c.createElement("section",{ref:f,className:s},c.createElement("a",{id:u,className:"scroll-target"}),i)}function cv(){var e=c.useContext(be),t=Jy(tv(e.context_items.env||[],"name"),"value");return"local"!==t.app_env&&t.app_debug?c.createElement("section",{className:"lg:flex items-stretch ~bg-white shadow-lg"},c.createElement("div",{className:"lg:w-1/3 flex-none flex items-center min-w-0 px-6 sm:px-10 py-8 bg-red-500 text-red-50"},c.createElement("h2",{className:"min-w-0 truncate text-xl font-semibold leading-snug"},c.createElement("code",{className:"mr-0.5"},"APP_DEBUG")," is set to ",c.createElement("code",{className:"mx-0.5"},"true")," while",c.createElement("br",null),c.createElement("code",{className:"mr-0.5"},"APP_ENV")," is not ",c.createElement("code",{className:"mx-0.5"},"local"))),c.createElement("div",{className:"flex-grow px-6 sm:px-10 py-8 bg-red-600 text-red-100"},c.createElement("p",{className:"text-base"},"This could make your application vulnerable to remote execution. ",c.createElement("br",null),c.createElement("a",{className:"mt-1.5 underline inline-flex items-center gap-2",target:"_blank",rel:"noopener noreferrer",href:"https://flareapp.io/docs/ignition-for-laravel/security"},c.createElement(xh,{icon:Uh,className:"text-sm opacity-50"}),"Read more about Ignition security")))):null}function uv(){return c.createElement("footer",{className:"mx-auto mb-20 px-6 lg:px-10 max-w-4xl lg:max-w-[90rem] | flex flex-row justify-between gap-4 ~text-gray-500"},c.createElement("ul",{className:"grid grid-flow-col gap-5 justify-center items-center uppercase text-xs font-medium"},c.createElement("li",null,c.createElement(bd,null)),c.createElement("li",null,"·"),c.createElement("li",null,c.createElement("a",{href:"https://github.com/spatie/laravel-ignition",target:"_blank",rel:"noopener noreferrer",className:"hover:text-red-500"},"Source")),c.createElement("li",null,"·"),c.createElement("li",null,c.createElement("a",{href:"https://flareapp.io/docs/ignition/introducing-ignition/overview",target:"_blank",rel:"noopener noreferrer",className:"hover:text-red-500"},"Docs")),c.createElement("li",null,"·"),c.createElement("li",null,c.createElement("a",{href:"https://laravel.com",target:"_blank",rel:"noopener noreferrer",className:"hover:text-red-500"},"Laravel"))),c.createElement("div",{className:"text-sm flex items-center"},c.createElement("p",null,"Ignition is built by",c.createElement("a",{href:"https://flareapp.io/?utm_campaign=ignition&utm_source=ignition",target:"_blank",rel:"noopener noreferrer",className:"font-medium hover:text-purple-500"},c.createElement(vd,{className:"inline-block -mt-1 ml-1 mr-px"}),"Flare"),", the Laravel error reporting service.")))}function fv(e){var t=e.errorOccurrence,n=e.igniteData,r=lv({rootMargin:"-40px 0px 0px 0px",threshold:.3,initialInView:!0}),a=r.ref;return c.createElement(lu,null,c.createElement(Td.Provider,{value:n},c.createElement(Se,{ignitionConfig:n.config},c.createElement(be.Provider,{value:t},c.createElement(ye,null,c.createElement(rv,{showException:!r.inView}),c.createElement("main",{className:"mx-auto mt-20 mb-10 px-6 lg:px-10 max-w-4xl lg:max-w-[90rem] grid grid-cols-1 gap-10"},c.createElement(cv,null),c.createElement("div",{ref:a},c.createElement(su,null)),c.createElement(sv,{name:"stack",children:c.createElement($c,null)}),c.createElement(sv,{name:"context",children:c.createElement(sd,null)}),Jo(t)&&c.createElement(sv,{name:"debug",children:c.createElement(gd,null)}),c.createElement(sv,{name:"footer",children:c.createElement(uv,null)})))))))}window.ignite=function(t){var n,r,a,o,i,l,s,u,f,d,p,m,h,g,y,v,b,E,T,S,w,N,R,O,x,k,A=(i=(n=t).solutions,s=(l=(o=n.report).context).request,u=l.request_data,f=l.queries,d=l.dumps,p=l.logs,m=l.headers,h=l.cookies,g=l.session,y=l.env,v=l.user,b=l.route,E=l.git,T=l.livewire,S=l.view,w=l.exception,N=l.arguments,R=l.job,O=l.laravel_context,x=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(l,["request","request_data","queries","dumps","logs","headers","cookies","session","env","user","route","git","livewire","view","exception","arguments","job","laravel_context"]),k=Object.entries(x).map(function(e){return{name:e[0],items:e[1]}}),{frames:o.stacktrace.map(function(t){return e({},t,{relative_file:t.file.replace(o.application_path+"/","").replace(o.application_path+"\\",""),class:t.class||""})}),context_items:{request:s,request_data:u,queries:f||null,dumps:d||null,logs:p||null,laravel_context:O||null,headers:m||null,cookies:h||null,session:g||null,env:y||null,user:v||null,route:b||null,git:E||null,livewire:T||null,view:S||null,exception:w||null,arguments:N||null,job:R||null},custom_context_items:k,type:"web",entry_point:null==o||null==(r=o.context)||null==(a=r.request)?void 0:a.url,exception_class:o.exception_class,exception_message:o.message||"",application_path:o.application_path,application_version:o.application_version,language_version:o.language_version,framework_version:o.framework_version,notifier_client_name:"Flare",stage:o.stage,first_frame_class:o.stacktrace[0].class||"",first_frame_method:o.stacktrace[0].method,glows:o.glows,solutions:i,documentation_links:o.documentation_links});console.log(t,A),he.render(c.createElement(fv,{errorOccurrence:A,igniteData:t}),document.querySelector("#app"))}; diff --git a/yarn.lock b/yarn.lock index 018042d5..64b4f00e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1036,10 +1036,10 @@ dependencies: error-stack-parser "^2.0.2" -"@flareapp/ignition-ui@^4.10.0": - version "4.10.0" - resolved "https://registry.yarnpkg.com/@flareapp/ignition-ui/-/ignition-ui-4.10.0.tgz#7a47a742f29c4f66797843b92283411271bb9304" - integrity sha512-iVCEwwmIbitJJyilNGJvDvi4LTCtCRMiPvz/T6e7LuONikwuoAgJFlGnk6NhPKwZ+rscPOvEUMMo8xqhKrKhww== +"@flareapp/ignition-ui@^4.10.1": + version "4.10.1" + resolved "https://registry.yarnpkg.com/@flareapp/ignition-ui/-/ignition-ui-4.10.1.tgz#5e0d5baf0eb00353ae5b0bcd959b476470e946f2" + integrity sha512-/4N/JIjnwaS58L8PEE1XTUlGxKi2VYOanJJ70Sbn2xwk24YVB2176OWLvH0fkl8iS2i0hLidMV9cLw3GUgVJSQ== dependencies: "@fortawesome/fontawesome-common-types" "^6.1.1" "@fortawesome/fontawesome-svg-core" "^6.1.1"