code-server
Version:
Run VS Code on a remote server.
1 lines • 56.9 kB
JavaScript
(()=>{"use strict";var e={639:(e,n,t)=>{t.d(n,{Z:()=>i});var r=t(411),o=t.n(r)()((function(e){return e[1]}));o.push([e.id,"* {\n margin: 0;\n padding: 0;\n}\n\n:root {\n --subtle-bg: rgba(0, 0, 0, 0.05);\n}\n\nbody {\n color: var(--vscode-foreground)\n}\n\na {\n cursor: pointer;\n text-decoration: underline;\n}\n\na:hover {\n text-decoration: none;\n}\n\n.back {\n padding: 1rem 0;\n display: inline-block;\n}\n\n.intro {\n display: flex;\n height: 100vh;\n justify-content: center;\n align-items: center;\n}\n\n.intro > div {\n overflow: hidden;\n box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);\n border: 1px solid var(--vscode-notebook-focusedCellBorder);\n}\n\n.intro > div,\n.content,\n.source-container.expanded {\n background: var(--vscode-notebook-focusedCellBackground);\n border: 1px solid var(--vscode-notebook-focusedCellBorder);\n}\n\n.intro header {\n background: var(--subtle-bg);\n padding: 1rem;\n}\n\n.intro-content {\n padding: 1rem;\n}\n\n.intro-content li {\n list-style-type: none;\n}\n\n.intro-content li a {\n display: block;\n margin-top: 0.5rem;\n padding: 0.5rem;\n}\n\n.intro-content li a:hover {\n background: var(--subtle-bg);\n}\n\n.content {\n margin: 2rem;\n padding: 1rem;\n}\n\n.source-filter {\n display: block;\n width: 100%;\n padding: 0.5rem;\n font-size: 1.1rem;\n margin-bottom: 0.5rem;\n background: var(--vscode-input-background);\n color: var(--vscode-input-foreground);\n border: none;\n}\n\n.source-container {\n padding: 0.5rem;\n}\n\n.source-container code {\n word-break: break-all;\n}\n\n.source-container.expanded + .source-container.expanded {\n border-top: none;\n}\n\n.source-container h2 {\n font-family: var(--editor-font-family);\n font-weight: 300;\n cursor: pointer;\n opacity: 0.8;\n font-size: 1.2rem;\n user-select: none;\n}\n\n.source-container h2:hover {\n opacity: 1;\n}\n\n.source-container.expanded h2 {\n margin-bottom: 0.5rem;\n}\n\n.source-data-grid {\n display: grid;\n grid-template-columns: 25% 75%;\n row-gap: 0.5rem;\n padding: 0.5rem 0.25rem;\n}\n\n.source-data-grid li {\n list-style-type: none;\n}\n\n.source-breadcrumbs {\n padding: 0.5rem 0.25rem 0.75rem;\n border-bottom: 1px solid rgba(0, 0, 0, 0.1);\n}\n\n.source-breadcrumbs li {\n display: inline;\n list-style-type: none;\n}\n\n.bp-tracing code {\n font-size: var(--vscode-editor-font-size);\n}\n\n.bp-tracing li {\n margin: 1rem 0 1rem 1rem;\n}\n\n.bp-tracing p {\n margin: 0.5rem 0;\n}\n\n.bp-tracing li ul {\n margin: 0.5rem 1rem;\n}\n\n.decision-buttons {\n margin: 0.5rem 0;\n}\n\nbutton {\n background: var(--vscode-button-background);\n color: var(--vscode-button-foreground);\n border: 0;\n padding: 0.3rem 0.6rem;\n cursor: pointer;\n}\n\nbutton:hover,\nbutton:focus {\n background: var(--vscode-button-hoverBackground);\n}\n\n.decision-buttons button + button {\n margin-left: 0.25rem;\n}\n\n.decision-buttons button.active {\n background: var(--vscode-button-hoverBackground);\n}\n\n.text-diff .add {\n background: var(--vscode-diffEditor-insertedTextBackground);\n border: 1px solid var(--vscode-diffEditor-insertedTextBorder);\n}\n\n\n.text-diff .rm {\n background: var(--vscode-diffEditor-removedTextBackground);\n text-decoration: line-through;\n border: 1px solid var(--vscode-diffEditor-removedTextBorder);\n}\n",""]);const i=o},379:(e,n,t)=>{var r,o=function(){var e={};return function(n){if(void 0===e[n]){var t=document.querySelector(n);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}e[n]=t}return e[n]}}(),i=[];function l(e){for(var n=-1,t=0;t<i.length;t++)if(i[t].identifier===e){n=t;break}return n}function u(e,n){for(var t={},r=[],o=0;o<e.length;o++){var u=e[o],s=n.base?u[0]+n.base:u[0],a=t[s]||0,c="".concat(s," ").concat(a);t[s]=a+1;var d=l(c),f={css:u[1],media:u[2],sourceMap:u[3]};-1!==d?(i[d].references++,i[d].updater(f)):i.push({identifier:c,updater:_(f,n),references:1}),r.push(c)}return r}function s(e){var n=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var i=t.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(e){n.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(n);else{var l=o(e.insert||"head");if(!l)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");l.appendChild(n)}return n}var a,c=(a=[],function(e,n){return a[e]=n,a.filter(Boolean).join("\n")});function d(e,n,t,r){var o=t?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=c(n,o);else{var i=document.createTextNode(o),l=e.childNodes;l[n]&&e.removeChild(l[n]),l.length?e.insertBefore(i,l[n]):e.appendChild(i)}}function f(e,n,t){var r=t.css,o=t.media,i=t.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var p=null,h=0;function _(e,n){var t,r,o;if(n.singleton){var i=h++;t=p||(p=s(n)),r=d.bind(null,t,i,!1),o=d.bind(null,t,i,!0)}else t=s(n),r=f.bind(null,t,n),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)};return r(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;r(e=n)}else o()}}e.exports=function(e,n){(n=n||{}).singleton||"boolean"==typeof n.singleton||(n.singleton=(void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r));var t=u(e=e||[],n);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<t.length;r++){var o=l(t[r]);i[o].references--}for(var s=u(e,n),a=0;a<t.length;a++){var c=l(t[a]);0===i[c].references&&(i[c].updater(),i.splice(c,1))}t=s}}}},411:e=>{e.exports=function(e){var n=[];return n.toString=function(){return this.map((function(n){var t=e(n);return n[2]?"@media ".concat(n[2]," {").concat(t,"}"):t})).join("")},n.i=function(e,t,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var l=this[i][0];null!=l&&(o[l]=!0)}for(var u=0;u<e.length;u++){var s=[].concat(e[u]);r&&o[s[0]]||(t&&(s[2]?s[2]="".concat(t," and ").concat(s[2]):s[2]=t),n.push(s))}},n}},468:(e,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.convertChangesToDMP=function(e){for(var n,t,r=[],o=0;o<e.length;o++)t=(n=e[o]).added?1:n.removed?-1:0,r.push([t,n.value]);return r}},236:(e,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.convertChangesToXML=function(e){for(var n=[],t=0;t<e.length;t++){var r=e[t];r.added?n.push("<ins>"):r.removed&&n.push("<del>"),n.push((o=r.value,void 0,o.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""))),r.added?n.push("</ins>"):r.removed&&n.push("</del>")}var o;return n.join("")}},991:(e,n,t)=>{var r;Object.defineProperty(n,"__esModule",{value:!0}),n.diffArrays=function(e,n,t){return o.diff(e,n,t)},n.arrayDiff=void 0;var o=new(((r=t(126))&&r.__esModule?r:{default:r}).default);n.arrayDiff=o,o.tokenize=function(e){return e.slice()},o.join=o.removeEmpty=function(e){return e}},126:(e,n)=>{function t(){}function r(e,n,t,r,o){for(var i=0,l=n.length,u=0,s=0;i<l;i++){var a=n[i];if(a.removed){if(a.value=e.join(r.slice(s,s+a.count)),s+=a.count,i&&n[i-1].added){var c=n[i-1];n[i-1]=n[i],n[i]=c}}else{if(!a.added&&o){var d=t.slice(u,u+a.count);d=d.map((function(e,n){var t=r[s+n];return t.length>e.length?t:e})),a.value=e.join(d)}else a.value=e.join(t.slice(u,u+a.count));u+=a.count,a.added||(s+=a.count)}}var f=n[l-1];return l>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(n[l-2].value+=f.value,n.pop()),n}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=t,t.prototype={diff:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.callback;"function"==typeof t&&(i=t,t={}),this.options=t;var l=this;function u(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),n=this.castInput(n),e=this.removeEmpty(this.tokenize(e));var s=(n=this.removeEmpty(this.tokenize(n))).length,a=e.length,c=1,d=s+a,f=[{newPos:-1,components:[]}],p=this.extractCommon(f[0],n,e,0);if(f[0].newPos+1>=s&&p+1>=a)return u([{value:this.join(n),count:n.length}]);function h(){for(var t=-1*c;t<=c;t+=2){var i=void 0,d=f[t-1],p=f[t+1],h=(p?p.newPos:0)-t;d&&(f[t-1]=void 0);var _=d&&d.newPos+1<s,m=p&&0<=h&&h<a;if(_||m){if(!_||m&&d.newPos<p.newPos?(i=o(p),l.pushComponent(i.components,void 0,!0)):((i=d).newPos++,l.pushComponent(i.components,!0,void 0)),h=l.extractCommon(i,n,e,t),i.newPos+1>=s&&h+1>=a)return u(r(l,i.components,n,e,l.useLongestToken));f[t]=i}else f[t]=void 0}c++}if(i)!function e(){setTimeout((function(){if(c>d)return i();h()||e()}),0)}();else for(;c<=d;){var _=h();if(_)return _}},pushComponent:function(e,n,t){var r=e[e.length-1];r&&r.added===n&&r.removed===t?e[e.length-1]={count:r.count+1,added:n,removed:t}:e.push({count:1,added:n,removed:t})},extractCommon:function(e,n,t,r){for(var o=n.length,i=t.length,l=e.newPos,u=l-r,s=0;l+1<o&&u+1<i&&this.equals(n[l+1],t[u+1]);)l++,u++,s++;return s&&e.components.push({count:s}),e.newPos=l,u},equals:function(e,n){return this.options.comparator?this.options.comparator(e,n):e===n||this.options.ignoreCase&&e.toLowerCase()===n.toLowerCase()},removeEmpty:function(e){for(var n=[],t=0;t<e.length;t++)e[t]&&n.push(e[t]);return n},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}},243:(e,n,t)=>{var r;Object.defineProperty(n,"__esModule",{value:!0}),n.diffChars=function(e,n,t){return o.diff(e,n,t)},n.characterDiff=void 0;var o=new(((r=t(126))&&r.__esModule?r:{default:r}).default);n.characterDiff=o},252:(e,n,t)=>{var r;Object.defineProperty(n,"__esModule",{value:!0}),n.diffCss=function(e,n,t){return o.diff(e,n,t)},n.cssDiff=void 0;var o=new(((r=t(126))&&r.__esModule?r:{default:r}).default);n.cssDiff=o,o.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}},69:(e,n,t)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.diffJson=function(e,n,t){return s.diff(e,n,t)},n.canonicalize=a,n.jsonDiff=void 0;var r,o=(r=t(126))&&r.__esModule?r:{default:r},i=t(479);function l(e){return(l="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)}var u=Object.prototype.toString,s=new o.default;function a(e,n,t,r,o){var i,s;for(n=n||[],t=t||[],r&&(e=r(o,e)),i=0;i<n.length;i+=1)if(n[i]===e)return t[i];if("[object Array]"===u.call(e)){for(n.push(e),s=new Array(e.length),t.push(s),i=0;i<e.length;i+=1)s[i]=a(e[i],n,t,r,o);return n.pop(),t.pop(),s}if(e&&e.toJSON&&(e=e.toJSON()),"object"===l(e)&&null!==e){n.push(e),s={},t.push(s);var c,d=[];for(c in e)e.hasOwnProperty(c)&&d.push(c);for(d.sort(),i=0;i<d.length;i+=1)s[c=d[i]]=a(e[c],n,t,r,c);n.pop(),t.pop()}else s=e;return s}n.jsonDiff=s,s.useLongestToken=!0,s.tokenize=i.lineDiff.tokenize,s.castInput=function(e){var n=this.options,t=n.undefinedReplacement,r=n.stringifyReplacer,o=void 0===r?function(e,n){return void 0===n?t:n}:r;return"string"==typeof e?e:JSON.stringify(a(e,null,null,o),o," ")},s.equals=function(e,n){return o.default.prototype.equals.call(s,e.replace(/,([\r\n])/g,"$1"),n.replace(/,([\r\n])/g,"$1"))}},479:(e,n,t)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.diffLines=function(e,n,t){return l.diff(e,n,t)},n.diffTrimmedLines=function(e,n,t){var r=(0,i.generateOptions)(t,{ignoreWhitespace:!0});return l.diff(e,n,r)},n.lineDiff=void 0;var r,o=(r=t(126))&&r.__esModule?r:{default:r},i=t(966),l=new o.default;n.lineDiff=l,l.tokenize=function(e){var n=[],t=e.split(/(\n|\r\n)/);t[t.length-1]||t.pop();for(var r=0;r<t.length;r++){var o=t[r];r%2&&!this.options.newlineIsToken?n[n.length-1]+=o:(this.options.ignoreWhitespace&&(o=o.trim()),n.push(o))}return n}},375:(e,n,t)=>{var r;Object.defineProperty(n,"__esModule",{value:!0}),n.diffSentences=function(e,n,t){return o.diff(e,n,t)},n.sentenceDiff=void 0;var o=new(((r=t(126))&&r.__esModule?r:{default:r}).default);n.sentenceDiff=o,o.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)}},525:(e,n,t)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.diffWords=function(e,n,t){return t=(0,i.generateOptions)(t,{ignoreWhitespace:!0}),s.diff(e,n,t)},n.diffWordsWithSpace=function(e,n,t){return s.diff(e,n,t)},n.wordDiff=void 0;var r,o=(r=t(126))&&r.__esModule?r:{default:r},i=t(966),l=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,u=/\S/,s=new o.default;n.wordDiff=s,s.equals=function(e,n){return this.options.ignoreCase&&(e=e.toLowerCase(),n=n.toLowerCase()),e===n||this.options.ignoreWhitespace&&!u.test(e)&&!u.test(n)},s.tokenize=function(e){for(var n=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),t=0;t<n.length-1;t++)!n[t+1]&&n[t+2]&&l.test(n[t])&&l.test(n[t+2])&&(n[t]+=n[t+2],n.splice(t+1,2),t--);return n}},283:(e,n,t)=>{Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Diff",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(n,"diffChars",{enumerable:!0,get:function(){return i.diffChars}}),Object.defineProperty(n,"diffWords",{enumerable:!0,get:function(){return l.diffWords}}),Object.defineProperty(n,"diffWordsWithSpace",{enumerable:!0,get:function(){return l.diffWordsWithSpace}}),Object.defineProperty(n,"diffLines",{enumerable:!0,get:function(){return u.diffLines}}),Object.defineProperty(n,"diffTrimmedLines",{enumerable:!0,get:function(){return u.diffTrimmedLines}}),Object.defineProperty(n,"diffSentences",{enumerable:!0,get:function(){return s.diffSentences}}),Object.defineProperty(n,"diffCss",{enumerable:!0,get:function(){return a.diffCss}}),Object.defineProperty(n,"diffJson",{enumerable:!0,get:function(){return c.diffJson}}),Object.defineProperty(n,"canonicalize",{enumerable:!0,get:function(){return c.canonicalize}}),Object.defineProperty(n,"diffArrays",{enumerable:!0,get:function(){return d.diffArrays}}),Object.defineProperty(n,"applyPatch",{enumerable:!0,get:function(){return f.applyPatch}}),Object.defineProperty(n,"applyPatches",{enumerable:!0,get:function(){return f.applyPatches}}),Object.defineProperty(n,"parsePatch",{enumerable:!0,get:function(){return p.parsePatch}}),Object.defineProperty(n,"merge",{enumerable:!0,get:function(){return h.merge}}),Object.defineProperty(n,"structuredPatch",{enumerable:!0,get:function(){return _.structuredPatch}}),Object.defineProperty(n,"createTwoFilesPatch",{enumerable:!0,get:function(){return _.createTwoFilesPatch}}),Object.defineProperty(n,"createPatch",{enumerable:!0,get:function(){return _.createPatch}}),Object.defineProperty(n,"convertChangesToDMP",{enumerable:!0,get:function(){return m.convertChangesToDMP}}),Object.defineProperty(n,"convertChangesToXML",{enumerable:!0,get:function(){return v.convertChangesToXML}});var r,o=(r=t(126))&&r.__esModule?r:{default:r},i=t(243),l=t(525),u=t(479),s=t(375),a=t(252),c=t(69),d=t(991),f=t(606),p=t(249),h=t(608),_=t(805),m=t(468),v=t(236)},606:(e,n,t)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.applyPatch=l,n.applyPatches=function(e,n){"string"==typeof e&&(e=(0,o.parsePatch)(e));var t=0;!function r(){var o=e[t++];if(!o)return n.complete();n.loadFile(o,(function(e,t){if(e)return n.complete(e);var i=l(t,o,n);n.patched(o,i,(function(e){if(e)return n.complete(e);r()}))}))}()};var r,o=t(249),i=(r=t(784))&&r.__esModule?r:{default:r};function l(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n&&(n=(0,o.parsePatch)(n)),Array.isArray(n)){if(n.length>1)throw new Error("applyPatch only works with a single input.");n=n[0]}var r,l,u=e.split(/\r\n|[\n\v\f\r\x85]/),s=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=n.hunks,c=t.compareLine||function(e,n,t,r){return n===r},d=0,f=t.fuzzFactor||0,p=0,h=0;function _(e,n){for(var t=0;t<e.lines.length;t++){var r=e.lines[t],o=r.length>0?r[0]:" ",i=r.length>0?r.substr(1):r;if(" "===o||"-"===o){if(!c(n+1,u[n],o,i)&&++d>f)return!1;n++}}return!0}for(var m=0;m<a.length;m++){for(var v=a[m],g=u.length-v.oldLines,y=0,b=h+v.oldStart-1,k=(0,i.default)(b,p,g);void 0!==y;y=k())if(_(v,b+y)){v.offset=h+=y;break}if(void 0===y)return!1;p=v.offset+v.oldStart+v.oldLines}for(var w=0,P=0;P<a.length;P++){var x=a[P],S=x.oldStart+x.offset+w-1;w+=x.newLines-x.oldLines;for(var j=0;j<x.lines.length;j++){var C=x.lines[j],O=C.length>0?C[0]:" ",L=C.length>0?C.substr(1):C,M=x.linedelimiters[j];if(" "===O)S++;else if("-"===O)u.splice(S,1),s.splice(S,1);else if("+"===O)u.splice(S,0,L),s.splice(S,0,M),S++;else if("\\"===O){var N=x.lines[j-1]?x.lines[j-1][0]:null;"+"===N?r=!0:"-"===N&&(l=!0)}}}if(r)for(;!u[u.length-1];)u.pop(),s.pop();else l&&(u.push(""),s.push("\n"));for(var F=0;F<u.length-1;F++)u[F]=u[F]+s[F];return u.join("")}},805:(e,n,t)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.structuredPatch=l,n.formatPatch=u,n.createTwoFilesPatch=s,n.createPatch=function(e,n,t,r,o,i){return s(e,e,n,t,r,o,i)};var r=t(479);function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return i(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,n):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 i(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function l(e,n,t,i,l,u,s){s||(s={}),void 0===s.context&&(s.context=4);var a=(0,r.diffLines)(t,i,s);function c(e){return e.map((function(e){return" "+e}))}a.push({value:"",lines:[]});for(var d=[],f=0,p=0,h=[],_=1,m=1,v=function(e){var n=a[e],r=n.lines||n.value.replace(/\n$/,"").split("\n");if(n.lines=r,n.added||n.removed){var l;if(!f){var u=a[e-1];f=_,p=m,u&&(h=s.context>0?c(u.lines.slice(-s.context)):[],f-=h.length,p-=h.length)}(l=h).push.apply(l,o(r.map((function(e){return(n.added?"+":"-")+e})))),n.added?m+=r.length:_+=r.length}else{if(f)if(r.length<=2*s.context&&e<a.length-2){var v;(v=h).push.apply(v,o(c(r)))}else{var g,y=Math.min(r.length,s.context);(g=h).push.apply(g,o(c(r.slice(0,y))));var b={oldStart:f,oldLines:_-f+y,newStart:p,newLines:m-p+y,lines:h};if(e>=a.length-2&&r.length<=s.context){var k=/\n$/.test(t),w=/\n$/.test(i),P=0==r.length&&h.length>b.oldLines;!k&&P&&t.length>0&&h.splice(b.oldLines,0,"\\ No newline at end of file"),(k||P)&&w||h.push("\\ No newline at end of file")}d.push(b),f=0,p=0,h=[]}_+=r.length,m+=r.length}},g=0;g<a.length;g++)v(g);return{oldFileName:e,newFileName:n,oldHeader:l,newHeader:u,hunks:d}}function u(e){var n=[];e.oldFileName==e.newFileName&&n.push("Index: "+e.oldFileName),n.push("==================================================================="),n.push("--- "+e.oldFileName+(void 0===e.oldHeader?"":"\t"+e.oldHeader)),n.push("+++ "+e.newFileName+(void 0===e.newHeader?"":"\t"+e.newHeader));for(var t=0;t<e.hunks.length;t++){var r=e.hunks[t];0===r.oldLines&&(r.oldStart-=1),0===r.newLines&&(r.newStart-=1),n.push("@@ -"+r.oldStart+","+r.oldLines+" +"+r.newStart+","+r.newLines+" @@"),n.push.apply(n,r.lines)}return n.join("\n")+"\n"}function s(e,n,t,r,o,i,s){return u(l(e,n,t,r,o,i,s))}},608:(e,n,t)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.calcLineCount=s,n.merge=function(e,n,t){e=a(e,t),n=a(n,t);var r={};(e.index||n.index)&&(r.index=e.index||n.index),(e.newFileName||n.newFileName)&&(c(e)?c(n)?(r.oldFileName=d(r,e.oldFileName,n.oldFileName),r.newFileName=d(r,e.newFileName,n.newFileName),r.oldHeader=d(r,e.oldHeader,n.oldHeader),r.newHeader=d(r,e.newHeader,n.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=n.oldFileName||e.oldFileName,r.newFileName=n.newFileName||e.newFileName,r.oldHeader=n.oldHeader||e.oldHeader,r.newHeader=n.newHeader||e.newHeader)),r.hunks=[];for(var o=0,i=0,l=0,u=0;o<e.hunks.length||i<n.hunks.length;){var s=e.hunks[o]||{oldStart:1/0},_=n.hunks[i]||{oldStart:1/0};if(f(s,_))r.hunks.push(p(s,l)),o++,u+=s.newLines-s.oldLines;else if(f(_,s))r.hunks.push(p(_,u)),i++,l+=_.newLines-_.oldLines;else{var m={oldStart:Math.min(s.oldStart,_.oldStart),oldLines:0,newStart:Math.min(s.newStart+l,_.oldStart+u),newLines:0,lines:[]};h(m,s.oldStart,s.lines,_.oldStart,_.lines),i++,o++,r.hunks.push(m)}}return r};var r=t(805),o=t(249),i=t(280);function l(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return u(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?u(e,n):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 u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function s(e){var n=P(e.lines),t=n.oldLines,r=n.newLines;void 0!==t?e.oldLines=t:delete e.oldLines,void 0!==r?e.newLines=r:delete e.newLines}function a(e,n){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,o.parsePatch)(e)[0];if(!n)throw new Error("Must provide a base reference or pass in a patch");return(0,r.structuredPatch)(void 0,void 0,n,e)}return e}function c(e){return e.newFileName&&e.newFileName!==e.oldFileName}function d(e,n,t){return n===t?n:(e.conflict=!0,{mine:n,theirs:t})}function f(e,n){return e.oldStart<n.oldStart&&e.oldStart+e.oldLines<n.oldStart}function p(e,n){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+n,newLines:e.newLines,lines:e.lines}}function h(e,n,t,r,o){var i={offset:n,lines:t,index:0},u={offset:r,lines:o,index:0};for(g(e,i,u),g(e,u,i);i.index<i.lines.length&&u.index<u.lines.length;){var a=i.lines[i.index],c=u.lines[u.index];if("-"!==a[0]&&"+"!==a[0]||"-"!==c[0]&&"+"!==c[0])if("+"===a[0]&&" "===c[0]){var d;(d=e.lines).push.apply(d,l(b(i)))}else if("+"===c[0]&&" "===a[0]){var f;(f=e.lines).push.apply(f,l(b(u)))}else"-"===a[0]&&" "===c[0]?m(e,i,u):"-"===c[0]&&" "===a[0]?m(e,u,i,!0):a===c?(e.lines.push(a),i.index++,u.index++):v(e,b(i),b(u));else _(e,i,u)}y(e,i),y(e,u),s(e)}function _(e,n,t){var r=b(n),o=b(t);if(k(r)&&k(o)){var u,s;if((0,i.arrayStartsWith)(r,o)&&w(t,r,r.length-o.length))return void(u=e.lines).push.apply(u,l(r));if((0,i.arrayStartsWith)(o,r)&&w(n,o,o.length-r.length))return void(s=e.lines).push.apply(s,l(o))}else if((0,i.arrayEqual)(r,o)){var a;return void(a=e.lines).push.apply(a,l(r))}v(e,r,o)}function m(e,n,t,r){var o,i=b(n),u=function(e,n){for(var t=[],r=[],o=0,i=!1,l=!1;o<n.length&&e.index<e.lines.length;){var u=e.lines[e.index],s=n[o];if("+"===s[0])break;if(i=i||" "!==u[0],r.push(s),o++,"+"===u[0])for(l=!0;"+"===u[0];)t.push(u),u=e.lines[++e.index];s.substr(1)===u.substr(1)?(t.push(u),e.index++):l=!0}if("+"===(n[o]||"")[0]&&i&&(l=!0),l)return t;for(;o<n.length;)r.push(n[o++]);return{merged:r,changes:t}}(t,i);u.merged?(o=e.lines).push.apply(o,l(u.merged)):v(e,r?u:i,r?i:u)}function v(e,n,t){e.conflict=!0,e.lines.push({conflict:!0,mine:n,theirs:t})}function g(e,n,t){for(;n.offset<t.offset&&n.index<n.lines.length;){var r=n.lines[n.index++];e.lines.push(r),n.offset++}}function y(e,n){for(;n.index<n.lines.length;){var t=n.lines[n.index++];e.lines.push(t)}}function b(e){for(var n=[],t=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if("-"===t&&"+"===r[0]&&(t="+"),t!==r[0])break;n.push(r),e.index++}return n}function k(e){return e.reduce((function(e,n){return e&&"-"===n[0]}),!0)}function w(e,n,t){for(var r=0;r<t;r++){var o=n[n.length-t+r].substr(1);if(e.lines[e.index+r]!==" "+o)return!1}return e.index+=t,!0}function P(e){var n=0,t=0;return e.forEach((function(e){if("string"!=typeof e){var r=P(e.mine),o=P(e.theirs);void 0!==n&&(r.oldLines===o.oldLines?n+=r.oldLines:n=void 0),void 0!==t&&(r.newLines===o.newLines?t+=r.newLines:t=void 0)}else void 0===t||"+"!==e[0]&&" "!==e[0]||t++,void 0===n||"-"!==e[0]&&" "!==e[0]||n++})),{oldLines:n,newLines:t}}},249:(e,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.parsePatch=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function l(){var e={};for(o.push(e);i<t.length;){var r=t[i];if(/^(\-\-\-|\+\+\+|@@)\s/.test(r))break;var l=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(r);l&&(e.index=l[1]),i++}for(u(e),u(e),e.hunks=[];i<t.length;){var a=t[i];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(a))break;if(/^@@/.test(a))e.hunks.push(s());else{if(a&&n.strict)throw new Error("Unknown line "+(i+1)+" "+JSON.stringify(a));i++}}}function u(e){var n=/^(---|\+\+\+)\s+(.*)$/.exec(t[i]);if(n){var r="---"===n[1]?"old":"new",o=n[2].split("\t",2),l=o[0].replace(/\\\\/g,"\\");/^".*"$/.test(l)&&(l=l.substr(1,l.length-2)),e[r+"FileName"]=l,e[r+"Header"]=(o[1]||"").trim(),i++}}function s(){var e=i,o=t[i++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),l={oldStart:+o[1],oldLines:void 0===o[2]?1:+o[2],newStart:+o[3],newLines:void 0===o[4]?1:+o[4],lines:[],linedelimiters:[]};0===l.oldLines&&(l.oldStart+=1),0===l.newLines&&(l.newStart+=1);for(var u=0,s=0;i<t.length&&!(0===t[i].indexOf("--- ")&&i+2<t.length&&0===t[i+1].indexOf("+++ ")&&0===t[i+2].indexOf("@@"));i++){var a=0==t[i].length&&i!=t.length-1?" ":t[i][0];if("+"!==a&&"-"!==a&&" "!==a&&"\\"!==a)break;l.lines.push(t[i]),l.linedelimiters.push(r[i]||"\n"),"+"===a?u++:"-"===a?s++:" "===a&&(u++,s++)}if(u||1!==l.newLines||(l.newLines=0),s||1!==l.oldLines||(l.oldLines=0),n.strict){if(u!==l.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(s!==l.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return l}for(;i<t.length;)l();return o}},280:(e,n)=>{function t(e,n){if(n.length>e.length)return!1;for(var t=0;t<n.length;t++)if(n[t]!==e[t])return!1;return!0}Object.defineProperty(n,"__esModule",{value:!0}),n.arrayEqual=function(e,n){return e.length===n.length&&t(e,n)},n.arrayStartsWith=t},784:(e,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,n,t){var r=!0,o=!1,i=!1,l=1;return function u(){if(r&&!i){if(o?l++:r=!1,e+l<=t)return l;i=!0}if(!o)return i||(r=!0),n<=e-l?-l++:(o=!0,u())}}},966:(e,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.generateOptions=function(e,n){if("function"==typeof e)n.callback=e;else if(e)for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}},225:(e,n,t)=>{t.r(n),t.d(n,{render:()=>H,hydrate:()=>I,createElement:()=>h,h:()=>h,Fragment:()=>v,createRef:()=>m,isValidElement:()=>o,Component:()=>g,cloneElement:()=>W,createContext:()=>R,toChildArray:()=>S,options:()=>r});var r,o,i,l,u,s,a={},c=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function f(e,n){for(var t in n)e[t]=n[t];return e}function p(e){var n=e.parentNode;n&&n.removeChild(e)}function h(e,n,t){var r,o,i,l=arguments,u={};for(i in n)"key"==i?r=n[i]:"ref"==i?o=n[i]:u[i]=n[i];if(arguments.length>3)for(t=[t],i=3;i<arguments.length;i++)t.push(l[i]);if(null!=t&&(u.children=t),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===u[i]&&(u[i]=e.defaultProps[i]);return _(e,u,r,o,null)}function _(e,n,t,o,i){var l={type:e,props:n,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==i?++r.__v:i};return null!=r.vnode&&r.vnode(l),l}function m(){return{current:null}}function v(e){return e.children}function g(e,n){this.props=e,this.context=n}function y(e,n){if(null==n)return e.__?y(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?y(e):null}function b(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return b(e)}}function k(e){(!e.__d&&(e.__d=!0)&&i.push(e)&&!w.__r++||u!==r.debounceRendering)&&((u=r.debounceRendering)||l)(w)}function w(){for(var e;w.__r=i.length;)e=i.sort((function(e,n){return e.__v.__b-n.__v.__b})),i=[],e.some((function(e){var n,t,r,o,i,l;e.__d&&(i=(o=(n=e).__v).__e,(l=n.__P)&&(t=[],(r=f({},o)).__v=o.__v+1,N(l,o,r,n.__n,void 0!==l.ownerSVGElement,null!=o.__h?[i]:null,t,null==i?y(o):i,o.__h),F(t,o),o.__e!=i&&b(o)))}))}function P(e,n,t,r,o,i,l,u,s,d){var f,p,h,m,g,b,k,w=r&&r.__k||c,P=w.length;for(t.__k=[],f=0;f<n.length;f++)if(null!=(m=t.__k[f]=null==(m=n[f])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m||"bigint"==typeof m?_(null,m,null,null,m):Array.isArray(m)?_(v,{children:m},null,null,null):m.__b>0?_(m.type,m.props,m.key,null,m.__v):m)){if(m.__=t,m.__b=t.__b+1,null===(h=w[f])||h&&m.key==h.key&&m.type===h.type)w[f]=void 0;else for(p=0;p<P;p++){if((h=w[p])&&m.key==h.key&&m.type===h.type){w[p]=void 0;break}h=null}N(e,m,h=h||a,o,i,l,u,s,d),g=m.__e,(p=m.ref)&&h.ref!=p&&(k||(k=[]),h.ref&&k.push(h.ref,null,m),k.push(p,m.__c||g,m)),null!=g?(null==b&&(b=g),"function"==typeof m.type&&null!=m.__k&&m.__k===h.__k?m.__d=s=x(m,s,e):s=j(e,m,h,w,g,s),d||"option"!==t.type?"function"==typeof t.type&&(t.__d=s):e.value=""):s&&h.__e==s&&s.parentNode!=e&&(s=y(h))}for(t.__e=b,f=P;f--;)null!=w[f]&&("function"==typeof t.type&&null!=w[f].__e&&w[f].__e==t.__d&&(t.__d=y(r,f+1)),A(w[f],w[f]));if(k)for(f=0;f<k.length;f++)D(k[f],k[++f],k[++f])}function x(e,n,t){var r,o;for(r=0;r<e.__k.length;r++)(o=e.__k[r])&&(o.__=e,n="function"==typeof o.type?x(o,n,t):j(t,o,o,e.__k,o.__e,n));return n}function S(e,n){return n=n||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){S(e,n)})):n.push(e)),n}function j(e,n,t,r,o,i){var l,u,s;if(void 0!==n.__d)l=n.__d,n.__d=void 0;else if(null==t||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),l=null;else{for(u=i,s=0;(u=u.nextSibling)&&s<r.length;s+=2)if(u==o)break e;e.insertBefore(o,i),l=i}return void 0!==l?l:o.nextSibling}function C(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]=null==t?"":"number"!=typeof t||d.test(n)?t:t+"px"}function O(e,n,t,r,o){var i;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(n in r)t&&n in t||C(e.style,n,"");if(t)for(n in t)r&&t[n]===r[n]||C(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])i=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+i]=t,t?r||e.addEventListener(n,i?M:L,i):e.removeEventListener(n,i?M:L,i);else if("dangerouslySetInnerHTML"!==n){if(o)n=n.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null!=t&&(!1!==t||"a"===n[0]&&"r"===n[1])?e.setAttribute(n,t):e.removeAttribute(n))}}function L(e){this.l[e.type+!1](r.event?r.event(e):e)}function M(e){this.l[e.type+!0](r.event?r.event(e):e)}function N(e,n,t,o,i,l,u,s,a){var c,d,p,h,_,m,y,b,k,w,x,S=n.type;if(void 0!==n.constructor)return null;null!=t.__h&&(a=t.__h,s=n.__e=t.__e,n.__h=null,l=[s]),(c=r.__b)&&c(n);try{e:if("function"==typeof S){if(b=n.props,k=(c=S.contextType)&&o[c.__c],w=c?k?k.props.value:c.__:o,t.__c?y=(d=n.__c=t.__c).__=d.__E:("prototype"in S&&S.prototype.render?n.__c=d=new S(b,w):(n.__c=d=new g(b,w),d.constructor=S,d.render=E),k&&k.sub(d),d.props=b,d.state||(d.state={}),d.context=w,d.__n=o,p=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=S.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=f({},d.__s)),f(d.__s,S.getDerivedStateFromProps(b,d.__s))),h=d.props,_=d.state,p)null==S.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==S.getDerivedStateFromProps&&b!==h&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(b,w),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(b,d.__s,w)||n.__v===t.__v){d.props=b,d.state=d.__s,n.__v!==t.__v&&(d.__d=!1),d.__v=n,n.__e=t.__e,n.__k=t.__k,n.__k.forEach((function(e){e&&(e.__=n)})),d.__h.length&&u.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(b,d.__s,w),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(h,_,m)}))}d.context=w,d.props=b,d.state=d.__s,(c=r.__r)&&c(n),d.__d=!1,d.__v=n,d.__P=e,c=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(o=f(f({},o),d.getChildContext())),p||null==d.getSnapshotBeforeUpdate||(m=d.getSnapshotBeforeUpdate(h,_)),x=null!=c&&c.type===v&&null==c.key?c.props.children:c,P(e,Array.isArray(x)?x:[x],n,t,o,i,l,u,s,a),d.base=n.__e,n.__h=null,d.__h.length&&u.push(d),y&&(d.__E=d.__=null),d.__e=!1}else null==l&&n.__v===t.__v?(n.__k=t.__k,n.__e=t.__e):n.__e=T(t.__e,n,t,o,i,l,u,a);(c=r.diffed)&&c(n)}catch(e){n.__v=null,(a||null!=l)&&(n.__e=s,n.__h=!!a,l[l.indexOf(s)]=null),r.__e(e,n,t)}}function F(e,n){r.__c&&r.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){r.__e(e,n.__v)}}))}function T(e,n,t,r,o,i,l,u){var s,d,f,h,_=t.props,m=n.props,v=n.type,g=0;if("svg"===v&&(o=!0),null!=i)for(;g<i.length;g++)if((s=i[g])&&(s===e||(v?s.localName==v:3==s.nodeType))){e=s,i[g]=null;break}if(null==e){if(null===v)return document.createTextNode(m);e=o?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,m.is&&m),i=null,u=!1}if(null===v)_===m||u&&e.data===m||(e.data=m);else{if(i=i&&c.slice.call(e.childNodes),d=(_=t.props||a).dangerouslySetInnerHTML,f=m.dangerouslySetInnerHTML,!u){if(null!=i)for(_={},h=0;h<e.attributes.length;h++)_[e.attributes[h].name]=e.attributes[h].value;(f||d)&&(f&&(d&&f.__html==d.__html||f.__html===e.innerHTML)||(e.innerHTML=f&&f.__html||""))}if(function(e,n,t,r,o){var i;for(i in t)"children"===i||"key"===i||i in n||O(e,i,null,t[i],r);for(i in n)o&&"function"!=typeof n[i]||"children"===i||"key"===i||"value"===i||"checked"===i||t[i]===n[i]||O(e,i,n[i],t[i],r)}(e,m,_,o,u),f)n.__k=[];else if(g=n.props.children,P(e,Array.isArray(g)?g:[g],n,t,r,o&&"foreignObject"!==v,i,l,e.firstChild,u),null!=i)for(g=i.length;g--;)null!=i[g]&&p(i[g]);u||("value"in m&&void 0!==(g=m.value)&&(g!==e.value||"progress"===v&&!g)&&O(e,"value",g,_.value,!1),"checked"in m&&void 0!==(g=m.checked)&&g!==e.checked&&O(e,"checked",g,_.checked,!1))}return e}function D(e,n,t){try{"function"==typeof e?e(n):e.current=n}catch(e){r.__e(e,t)}}function A(e,n,t){var o,i,l;if(r.unmount&&r.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||D(o,null,n)),t||"function"==typeof e.type||(t=null!=(i=e.__e)),e.__e=e.__d=void 0,null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){r.__e(e,n)}o.base=o.__P=null}if(o=e.__k)for(l=0;l<o.length;l++)o[l]&&A(o[l],n,t);null!=i&&p(i)}function E(e,n,t){return this.constructor(e,t)}function H(e,n,t){var o,i,l;r.__&&r.__(e,n),i=(o="function"==typeof t)?null:t&&t.__k||n.__k,l=[],N(n,e=(!o&&t||n).__k=h(v,null,[e]),i||a,a,void 0!==n.ownerSVGElement,!o&&t?[t]:i?null:n.firstChild?c.slice.call(n.childNodes):null,l,!o&&t?t:i?i.__e:n.firstChild,o),F(l,e)}function I(e,n){H(e,n,I)}function W(e,n,t){var r,o,i,l=arguments,u=f({},e.props);for(i in n)"key"==i?r=n[i]:"ref"==i?o=n[i]:u[i]=n[i];if(arguments.length>3)for(t=[t],i=3;i<arguments.length;i++)t.push(l[i]);return null!=t&&(u.children=t),_(e.type,u,r||e.key,o||e.ref,null)}function R(e,n){var t={__c:n="__cC"+s++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var t,r;return this.getChildContext||(t=[],(r={})[n]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some(k)},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Provider.__=t.Consumer.contextType=t}r={__e:function(e,n){for(var t,r,o;n=n.__;)if((t=n.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(e)),o=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(e),o=t.__d),o)return t.__E=t}catch(n){e=n}throw e},__v:0},o=function(e){return null!=e&&void 0===e.constructor},g.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(f({},t),this.props)),e&&f(t,e),null!=e&&this.__v&&(n&&this.__h.push(n),k(this))},g.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),k(this))},g.prototype.render=v,i=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,w.__r=0,s=0},129:(e,n,t)=>{t.r(n),t.d(n,{useState:()=>_,useReducer:()=>m,useEffect:()=>v,useLayoutEffect:()=>g,useRef:()=>y,useImperativeHandle:()=>b,useMemo:()=>k,useCallback:()=>w,useContext:()=>P,useDebugValue:()=>x,useErrorBoundary:()=>S});var r,o,i,l=t(225),u=0,s=[],a=l.options.__b,c=l.options.__r,d=l.options.diffed,f=l.options.__c,p=l.options.unmount;function h(e,n){l.options.__h&&l.options.__h(o,e,u||n),u=0;var t=o.__H||(o.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({}),t.__[e]}function _(e){return u=1,m(N,e)}function m(e,n,t){var i=h(r++,2);return i.t=e,i.__c||(i.__=[t?t(n):N(void 0,n),function(e){var n=i.t(i.__[0],e);i.__[0]!==n&&(i.__=[n,i.__[1]],i.__c.setState({}))}],i.__c=o),i.__}function v(e,n){var t=h(r++,3);!l.options.__s&&M(t.__H,n)&&(t.__=e,t.__H=n,o.__H.__h.push(t))}function g(e,n){var t=h(r++,4);!l.options.__s&&M(t.__H,n)&&(t.__=e,t.__H=n,o.__h.push(t))}function y(e){return u=5,k((function(){return{current:e}}),[])}function b(e,n,t){u=6,g((function(){"function"==typeof e?e(n()):e&&(e.current=n())}),null==t?t:t.concat(e))}function k(e,n){var t=h(r++,7);return M(t.__H,n)&&(t.__=e(),t.__H=n,t.__h=e),t.__}function w(e,n){return u=8,k((function(){return e}),n)}function P(e){var n=o.context[e.__c],t=h(r++,9);return t.__c=e,n?(null==t.__&&(t.__=!0,n.sub(o)),n.props.value):e.__}function x(e,n){l.options.useDebugValue&&l.options.useDebugValue(n?n(e):e)}function S(e){var n=h(r++,10),t=_();return n.__=e,o.componentDidCatch||(o.componentDidCatch=function(e){n.__&&n.__(e),t[1](e)}),[t[0],function(){t[1](void 0)}]}function j(){s.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(O),e.__H.__h.forEach(L),e.__H.__h=[]}catch(n){e.__H.__h=[],l.options.__e(n,e.__v)}})),s=[]}l.options.__b=function(e){o=null,a&&a(e)},l.options.__r=function(e){c&&c(e),r=0;var n=(o=e.__c).__H;n&&(n.__h.forEach(O),n.__h.forEach(L),n.__h=[])},l.options.diffed=function(e){d&&d(e);var n=e.__c;n&&n.__H&&n.__H.__h.length&&(1!==s.push(n)&&i===l.options.requestAnimationFrame||((i=l.options.requestAnimationFrame)||function(e){var n,t=function(){clearTimeout(r),C&&cancelAnimationFrame(n),setTimeout(e)},r=setTimeout(t,100);C&&(n=requestAnimationFrame(t))})(j)),o=void 0},l.options.__c=function(e,n){n.some((function(e){try{e.__h.forEach(O),e.__h=e.__h.filter((function(e){return!e.__||L(e)}))}catch(t){n.some((function(e){e.__h&&(e.__h=[])})),n=[],l.options.__e(t,e.__v)}})),f&&f(e,n)},l.options.unmount=function(e){p&&p(e);var n=e.__c;if(n&&n.__H)try{n.__H.__.forEach(O)}catch(e){l.options.__e(e,n.__v)}};var C="function"==typeof requestAnimationFrame;function O(e){var n=o;"function"==typeof e.__c&&e.__c(),o=n}function L(e){var n=o;e.__c=e.__(),o=n}function M(e,n){return!e||e.length!==n.length||n.some((function(n,t){return n!==e[t]}))}function N(e,n){return"function"==typeof n?n(e):n}},266:(e,n,t)=>{t.r(n),t.d(n,{default:()=>l});var r=t(379),o=t.n(r),i=t(639);o()(i.Z,{insert:"head",singleton:!1});const l=i.Z.locals||{}},678:(e,n)=>{function t(e,n){const t={};for(const r of Object.keys(e)){const o=e[r];n(o,r)&&(t[r]=o)}return t}Object.defineProperty(n,"__esModule",{value:!0}),n.invertMap=n.upcastPartial=n.pick=n.flatten=n.bisectArray=n.trailingEdgeThrottle=n.debounce=n.memoizeWeak=n.memoize=n.once=n.getCaseInsensitiveProperty=n.caseInsensitiveMerge=n.walkObject=n.sortKeys=n.filterObject=n.mapKeys=n.mapValues=n.filterValues=n.assertNever=n.removeUndefined=n.removeNulls=n.truthy=void 0,n.truthy=e=>!!e,n.removeNulls=e=>t(e,(e=>null!==e)),n.removeUndefined=e=>t(e,(e=>void 0!==e)),n.assertNever=(e,n)=>{throw new Error(n.replace("{value}",JSON.stringify(e)))},n.filterValues=t,n.mapValues=function(e,n){const t={};for(const r of Object.keys(e)){const o=e[r];t[r]=n(o,r)}return t},n.mapKeys=function(e,n){const t={};for(const r of Object.keys(e)){const o=n(r,e[r]);void 0!==o&&(t[o]=e[r])}return t},n.filterObject=function(e,n){const t={};for(const r of Object.keys(e))n(r,e[r])&&(t[r]=e[r]);return t},n.sortKeys=function(e,n){if(!e||"object"!=typeof e||e instanceof Array)return e;const t={};for(const r of Object.keys(e).sort(n))t[r]=e[r];return t},n.walkObject=function e(n,t){if(n=t(n))if(n instanceof Array)n=n.map((n=>e(n,t)));else if("object"==typeof n&&n)for(const r of Object.keys(n))n[r]=e(n[r],t);return n},n.caseInsensitiveMerge=function(...e){if(0===e.length)return{};const n={},t=Object.create(null);for(const r of e)if(r)for(const e of Object.keys(r)){const o=e.toLowerCase();t[o]?n[t[o]]=r[e]:(t[o]=e,n[e]=r[e])}return n},n.getCaseInsensitiveProperty=function(e,n){if(e.hasOwnProperty(n))return e[n];const t=n.toLowerCase();for(const n of Object.keys(e))if(n.toLowerCase()===t)return e[n]};const r=Symbol("unset");n.once=function(e){let n=r;const t=(...o)=>(n===r&&(t.value=n=e(...o)),n);return t.forget=()=>{n=r,t.value=void 0},t.value=void 0,t},n.memoize=function(e){const n=new Map,t=t=>{if(n.has(t))return n.get(t);const r=e(t);return n.set(t,r),r};return t.clear=()=>n.clear(),t},n.memoizeWeak=function(e){const n=new WeakMap;return t=>{if(n.has(t))return n.get(t);const r=e(t);return n.set(t,r),r}},n.debounce=function(e,n){let t;const r=()=>{void 0!==t&&clearTimeout(t),t=setTimeout((()=>{t=void 0,n()}),e)};return r.clear=()=>{t&&(clearTimeout(t),t=void 0)},r},n.trailingEdgeThrottle=function(e,n){let t;const r=()=>{void 0===t&&(t=setTimeout((()=>{t=void 0,n()}),e))};return r.queued=()=>!!t,r.clear=()=>{t&&(clearTimeout(t),t=void 0)},r},n.bisectArray=function(e,n){const t=[],r=[];for(const o of e)n(o)?t.push(o):r.push(o);return[t,r]},n.flatten=function(e){let n=[];for(const t of e)n=n.concat(t);return n},n.pick=function(e,n){const t={};for(const r of n)t[r]=e[r];return t},n.upcastPartial=e=>e,n.invertMap=function(e){const n=new Map;for(const[t,r]of e)n.set(r,t);return n}},969:(e,n,t)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.BreakpointHelper=void 0;const r=t(283),o=t(225),i=t(129),l=t(678),u=t(26),s=t(253),a=t(202),c=t(920);n.BreakpointHelper=()=>{const e=a.useDump();return o.h(o.Fragment,null,e.breakpoints.map(((e,n)=>o.h(f,{bp:e,key:n}))))};const d=()=>{const e=a.useDump();return o.h("p",null,"❓ We sent the breakpoint, but it didn't bind to any locations. If this is unexpected:",o.h("ul",null,o.h("li",null,"Make sure that your program is loading or running this script. You can add a"," ",o.h("code",null,"debugger;")," statement to check this: your program will pause when it hits it."),o.h("li",null,"If your breakpoint is set in certain places, such as on the last empty line of a file, the runtime might not be able to find anywhere to place it."),s.isNodeType(e)&&o.h("li",null,"Unless you"," ",o.h("a",{href:"https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_breakpoint-validation"},"run with --nolazy"),", Node.js might not resolve breakpoints for code it hasn't parsed yet."),o.h("li",null,"If necessary, make sure your compiled files are up-to-date with your source files.")))},f=({bp:e})=>{if(!e.source.path)return null;const n=a.useDump();return o.h("div",{className:"content source-container"},o.h("h2",null,s.prettyName({absolutePath:e.source.path,url:e.source.path},n),":",e.params.line,":",e.params.column||1),o.h("ul",{className:"bp-tracing"},((e,n)=>{let t=0;const r=[o.h("li",{key:t++},o.h("p",null,"✅ This breakpoint was initially set in:"),o.h("p",null,o.h("code",null,e.source.path)," line ",e.params.line," column ",e.params.column||1))];if(!((e,n)=>e.cdp.some((e=>{if("location"in e.args)return!0;if(e.args.url){const t=e.args.url;return n.sources.some((e=>e.url===t))}if(e.args.urlRegex){const t=new RegExp(e.args.urlRegex);return n.sources.some((e=>t.test(e.url)))}return!1})))(e,n))return r.push(o.h(p,{bp:e,key:t++})),r;r.push(o.h("li",{key:t++},o.h("p",null,"✅ In the runtime, the breakpoint was set in:"),o.h("p",null,o.h("ul",null,e.cdp.map(((e,n)=>o.h(m,{cdp:e,index:n,key:n})))))));const i=e.cdp.filter((e=>1===e.state)),u=l.flatten(i.map((e=>1===e.state?e.uiLocations:[])));return u.length?(r.push(o.h("li",{key:t++},o.h("p",null,"✅ The runtime acknowledged and adjusted the breakpoint, and it mapped back to the following locations:"),o.h("ul",null,u.map(((e,n)=>o.h(_,{loc:e,key:n}))))),o.h("li",{key:t++},o.h("p",null,"If this is not right, your compiled code might be out of date with your sources. If you don't think this is the case and something else is wrong, please"," ",o.h("a",{href:"https://github.com/microsoft/vscode-js-debug/issues/new/choose"},"open an issue"),"!"))),r):(r.push(o.h("li",{key:t++},o.h(d,null))),r)})(e,n)))},p=({bp:e})=>{const n=a.useDump(),t=s.basename({url:e.source.path}),r=n.sources.filter((e=>s.basename(e)===t));return r.length?o.h("li",null,o.h("p",null,"❓ We couldn't find a corresponding source location, but found some other files with the same name:"),o.h("ul",null,r.map((n=>o.h("li",{key:n},o.h(h,{original:e.source.path,updated:n.absolutePath||n.url}))))),s.isBrowserType(n)?o.h("p",null,"You may need to adjust the ",o.h("code",null,"webRoot")," in your ",o.h("code",null,"launch.json")," if you're building from a subfolder, or tweak your ",o.h("code",null,"sourceMapPathOverrides"),"."):o.h("p",null,"If this is the same file, you may need to adjust your build tool"," ",s.isBrowserType(n)&&o.h(o.Fragment,null,"or ",o.h("code",null,"webRoot")," in the launch.json")," ","to correct the paths.")):o.h("li",null,o.h("p",null,o.h(y,{basename:t})))},h=({original:e,updated:n})=>o.h("span",{className:"text-diff"},r.diffChars(e,n,{ignoreCase:!0}).map(((e,n)=>o.h("span",{className:e.added?"add":e.removed?"rm":"",key:n},e.value)))),_=({loc:e})=>{var n,t;const r=a.useDump().sources.find((n=>n.sourceReference===e.sourceReference));return o.h(o.Fragment,null,o.h("code",null,null!==(t=null!==(n=null==r?void 0:r.absolutePath)&&void 0!==n?n:null==r?void 0:r.url)&&void 0!==t?t:"unknown")," line ",e.lineNumber," column"," ",e.columnNumber)},m=({cdp:e,index:n})=>{var t;const r=a.useDump(),[i,l]=c.usePersistedState(`showCdpBp${n}`,!1),{url:u,line:s,col:d,regex:f}="location"in e.args?{url:null===(t=r.sources.find((n=>!n.compiledSourceRefToUrl&&n.scriptIds.includes(e.args.location.scriptId))))||void 0===t?void 0:t.url,regex:void 0,line:e.args.location.lineNumber+1,col:(e.args.location.columnNumber||0)+1}:{url:e.args.urlRegex?v(e.args.urlRegex):e.args.url,regex:e.args.urlRegex,line:e.args.lineNumber+1,col:(e.args.columnNumber||0)+1};return o.h("li",null,o.h("p",null,o.h("code",null,u)," line ",s," column ",d," ",f&&o.h("a",{onClick:()=>l(!i)},"via this regex")),i&&o.h("p",null,o.h("code",null,f)))},v=e=>e.replace(/\[([[a-z])[A-Z]\]/g,((e,n)=>n)).replace(/\\\\/,"\\").replace(/\\\//g,"/").replace(/\|.+$/g,"").replace(/\\\./g,"."),g=u.DecisionButtons(["Loaded in directly","Be parsed from a sourcemap"]),y=({basename:e})=>{const n=a.useDump(),[t,r]=i.useState(e.endsWith(".js")?void 0:"Be parsed from a sourcemap");return o.h(o.Fragment,null,o.h("p",null,"❓ We couldn't find a corresponding source location, and didn't find any source with the name ",o.h("code",null,e),"."),o.h("p",null,"How did you expect this file to be loaded? (If you have a compilation step, you should pick 'sourcemap')",o.h(g,{onChange:r,value:t}),"Loaded in directly"===t&&(s.isBrowserType(n)?o.h("p",null,"It looks like your webpage didn't load this script; breakpoints won't be bound until the file they're set in is loaded. Make sure your script is imported from the right location using a ",o.h("code",null,"<script>")," tag."):o.h("p",null,"It looks like your program didn't load this script; breakpoints won't be bound until the file they're set in is loaded. Make sure your script is imported with a"," ",o.h("code",null,"require()")," or ",o.h("code",null,"import")," statement, such as"," ",o.h("code",null,"require('./",e,"')"),".")),"Be parsed from a sourcemap"===t&&o.h("p",null,"Here's some hints that might help you:",o.h("ul",null,/\.tsx?$/.test(e)?o.h("li",null,"Make sure you have ",o.h("code",null,'"sourceMap": true')," in your tsconfig to generate sourcemaps."):o.h("li",null,"Make sure your build tool is set up to create sourcemaps."),!n.config.outFiles.includes("!**/node_modules/**")&&o.h("li",null,"It looks like you narrowed the ",o.h("code",null,"outFiles")," in your launch.json. Try removing this: it now defaults to the whole workspace, and overspecifying it can unnecessarily narrow places where we'll resolve sourcemaps.")))))}},26:(e,n,t)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.DecisionButtons=void 0;const r=t(225);n.DecisionButtons=e=>function({value:n,onChange:t}){return r.h("div",{className:"decision-buttons"},e.map((e=>r.h("button",{key:e,onClick:()=>t(e),className:n===e?"active":""},e))))}},253:(e,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.fixDriveLetter=n.forceForwardSlashes=n.properRelative=n.relative=n.isAbsoluteWin32=n.isAbsolutePosix=n.properAbsolu