@pinegrow/vite-plugin 3.0.0-beta.97 → 3.0.0-beta.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.LICENSE.txt +94 -94
- package/dist/vue/index.js +17 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see index.cjs.LICENSE.txt */
|
|
2
|
-
(()=>{var e={892:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=892,e.exports=t},864:e=>{"use strict";e.exports=require("bufferutil")},943:e=>{"use strict";e.exports=require("fsevents")},239:e=>{"use strict";e.exports=require("utf-8-validate")},81:e=>{"use strict";e.exports=require("child_process")},113:e=>{"use strict";e.exports=require("crypto")},361:e=>{"use strict";e.exports=require("events")},358:e=>{"use strict";e.exports=require("fs")},685:e=>{"use strict";e.exports=require("http")},687:e=>{"use strict";e.exports=require("https")},188:e=>{"use strict";e.exports=require("module")},808:e=>{"use strict";e.exports=require("net")},37:e=>{"use strict";e.exports=require("os")},17:e=>{"use strict";e.exports=require("path")},781:e=>{"use strict";e.exports=require("stream")},404:e=>{"use strict";e.exports=require("tls")},224:e=>{"use strict";e.exports=require("tty")},310:e=>{"use strict";e.exports=require("url")},837:e=>{"use strict";e.exports=require("util")},796:e=>{"use strict";e.exports=require("zlib")},748:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s},e.exports.__esModule=!0,e.exports.default=e.exports},314:e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},850:(e,t,r)=>{var s=r(748);e.exports=function(e){if(Array.isArray(e))return s(e)},e.exports.__esModule=!0,e.exports.default=e.exports},297:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},461:e=>{function t(e,t,r,s,n,i,o){try{var a=e[i](o),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(s,n)}e.exports=function(e){return function(){var r=this,s=arguments;return new Promise((function(n,i){var o=e.apply(r,s);function a(e){t(o,n,i,a,c,"next",e)}function c(e){t(o,n,i,a,c,"throw",e)}a(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},100:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},870:(e,t,r)=>{var s=r(739);function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},290:(e,t,r)=>{var s=r(739);e.exports=function(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},660:e=>{function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},230:(e,t,r)=>{var s=r(560);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},912:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},193:e=>{e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var s,n,i,o,a=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(s=i.call(r)).done)&&(a.push(s.value),a.length!==t);c=!0);}catch(e){l=!0,n=e}finally{try{if(!c&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(l)throw n}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports},147:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},96:e=>{e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports},421:(e,t,r)=>{var s=r(425).default,n=r(297);e.exports=function(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},609:(e,t,r)=>{var s=r(425).default;function n(){"use strict";e.exports=n=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,i=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",h=a.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function p(e,t,r,s){var n=t&&t.prototype instanceof m?t:m,i=Object.create(n.prototype),a=new C(s||[]);return o(i,"_invoke",{value:_(e,r,a)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var f={};function m(){}function g(){}function y(){}var b={};u(b,c,(function(){return this}));var v=Object.getPrototypeOf,x=v&&v(v(k([])));x&&x!==r&&i.call(x,c)&&(b=x);var w=y.prototype=m.prototype=Object.create(b);function E(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function r(n,o,a,c){var l=d(e[n],e,o);if("throw"!==l.type){var h=l.arg,u=h.value;return u&&"object"==s(u)&&i.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(u).then((function(e){h.value=e,a(h)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var n;o(this,"_invoke",{value:function(e,s){function i(){return new t((function(t,n){r(e,s,t,n)}))}return n=n?n.then(i,i):i()}})}function _(e,t,r){var s="suspendedStart";return function(n,i){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===n)throw i;return{value:void 0,done:!0}}for(r.method=n,r.arg=i;;){var o=r.delegate;if(o){var a=T(o,r);if(a){if(a===f)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===s)throw s="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);s="executing";var c=d(e,t,r);if("normal"===c.type){if(s=r.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(s="completed",r.method="throw",r.arg=c.arg)}}}function T(e,t){var r=t.method,s=e.iterator[r];if(void 0===s)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,T(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var n=d(s,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,f;var i=n.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function k(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,s=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return s.next=s}}return{next:O}}function O(){return{value:void 0,done:!0}}return g.prototype=y,o(w,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:g,configurable:!0}),g.displayName=u(y,h,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,u(e,h,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},E(S.prototype),u(S.prototype,l,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,s,n,i){void 0===i&&(i=Promise);var o=new S(p(e,r,s,n),i);return t.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},E(w),u(w,h,"Generator"),u(w,c,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var s in t)r.push(s);return r.reverse(),function e(){for(;r.length;){var s=r.pop();if(s in t)return e.value=s,e.done=!1,e}return e.done=!0,e}},t.values=k,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,s){return o.type="throw",o.arg=e,t.next=r,s&&(t.method="next",t.arg=void 0),!!s}for(var s=this.tryEntries.length-1;s>=0;--s){var n=this.tryEntries[s],o=n.completion;if("root"===n.tryLoc)return r("end");if(n.tryLoc<=this.prev){var a=i.call(n,"catchLoc"),c=i.call(n,"finallyLoc");if(a&&c){if(this.prev<n.catchLoc)return r(n.catchLoc,!0);if(this.prev<n.finallyLoc)return r(n.finallyLoc)}else if(a){if(this.prev<n.catchLoc)return r(n.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return r(n.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var s=this.tryEntries[r];if(s.tryLoc<=this.prev&&i.call(s,"finallyLoc")&&this.prev<s.finallyLoc){var n=s;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var o=n?n.completion:{};return o.type=e,o.arg=t,n?(this.method="next",this.next=n.finallyLoc,f):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var s=r.completion;if("throw"===s.type){var n=s.arg;A(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:k(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},560:e=>{function t(r,s){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,s)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},681:(e,t,r)=>{var s=r(314),n=r(193),i=r(121),o=r(147);e.exports=function(e,t){return s(e)||n(e,t)||i(e,t)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},408:(e,t,r)=>{var s=r(850),n=r(912),i=r(121),o=r(96);e.exports=function(e){return s(e)||n(e)||i(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},64:(e,t,r)=>{var s=r(425).default;e.exports=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},739:(e,t,r)=>{var s=r(425).default,n=r(64);e.exports=function(e){var t=n(e,"string");return"symbol"===s(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},425:e=>{function t(r){return e.exports=t="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.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},121:(e,t,r)=>{var s=r(748);e.exports=function(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},841:(e,t,r)=>{var s=r(609)();e.exports=s;try{regeneratorRuntime=s}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=s:Function("r","regeneratorRuntime = r")(s)}},228:(e,t,r)=>{(()=>{var t,s,n={"../../node_modules/anymatch/index.js":(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const s=r("../../node_modules/picomatch/index.js"),n=r("../../node_modules/normalize-path/index.js"),i={returnIndex:!1},o=(e,t,r,s)=>{const i=Array.isArray(r),o=i?r[0]:r;if(!i&&"string"!=typeof o)throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(o));const a=n(o,!1);for(let e=0;e<t.length;e++)if((0,t[e])(a))return!!s&&-1;const c=i&&[a].concat(r.slice(1));for(let t=0;t<e.length;t++){const r=e[t];if(i?r(...c):r(a))return!s||t}return!!s&&-1},a=(e,t,r=i)=>{if(null==e)throw new TypeError("anymatch: specify first argument");const n="boolean"==typeof r?{returnIndex:r}:r,a=n.returnIndex||!1,c=(l=e,Array.isArray(l)?l:[l]);var l;const h=c.filter((e=>"string"==typeof e&&"!"===e.charAt(0))).map((e=>e.slice(1))).map((e=>s(e,n))),u=c.filter((e=>"string"!=typeof e||"string"==typeof e&&"!"!==e.charAt(0))).map((e=>((e,t)=>{if("function"==typeof e)return e;if("string"==typeof e){const r=s(e,t);return t=>e===t||r(t)}return e instanceof RegExp?t=>e.test(t):e=>!1})(e,n)));return null==t?(e,t=!1)=>o(u,h,e,"boolean"==typeof t&&t):o(u,h,t,a)};a.default=a,e.exports=a},"../../node_modules/binary-extensions/index.js":(e,t,r)=>{e.exports=r("../../node_modules/binary-extensions/binary-extensions.json")},"../../node_modules/braces/index.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/braces/lib/stringify.js"),n=r("../../node_modules/braces/lib/compile.js"),i=r("../../node_modules/braces/lib/expand.js"),o=r("../../node_modules/braces/lib/parse.js"),a=(e,t={})=>{let r=[];if(Array.isArray(e))for(let s of e){let e=a.create(s,t);Array.isArray(e)?r.push(...e):r.push(e)}else r=[].concat(a.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(r=[...new Set(r)]),r};a.parse=(e,t={})=>o(e,t),a.stringify=(e,t={})=>s("string"==typeof e?a.parse(e,t):e,t),a.compile=(e,t={})=>("string"==typeof e&&(e=a.parse(e,t)),n(e,t)),a.expand=(e,t={})=>{"string"==typeof e&&(e=a.parse(e,t));let r=i(e,t);return!0===t.noempty&&(r=r.filter(Boolean)),!0===t.nodupes&&(r=[...new Set(r)]),r},a.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?a.compile(e,t):a.expand(e,t),e.exports=a},"../../node_modules/braces/lib/compile.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/fill-range/index.js"),n=r("../../node_modules/braces/lib/utils.js");e.exports=(e,t={})=>{let r=(e,i={})=>{let o=n.isInvalidBrace(i),a=!0===e.invalid&&!0===t.escapeInvalid,c=!0===o||!0===a,l=!0===t.escapeInvalid?"\\":"",h="";if(!0===e.isOpen)return l+e.value;if(!0===e.isClose)return l+e.value;if("open"===e.type)return c?l+e.value:"(";if("close"===e.type)return c?l+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":c?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){let r=n.reduce(e.nodes),i=s(...r,{...t,wrap:!1,toRegex:!0});if(0!==i.length)return r.length>1&&i.length>1?`(${i})`:i}if(e.nodes)for(let t of e.nodes)h+=r(t,e);return h};return r(e)}},"../../node_modules/braces/lib/constants.js":e=>{"use strict";e.exports={MAX_LENGTH:65536,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},"../../node_modules/braces/lib/expand.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/fill-range/index.js"),n=r("../../node_modules/braces/lib/stringify.js"),i=r("../../node_modules/braces/lib/utils.js"),o=(e="",t="",r=!1)=>{let s=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return r?i.flatten(t).map((e=>`{${e}}`)):t;for(let n of e)if(Array.isArray(n))for(let e of n)s.push(o(e,t,r));else for(let e of t)!0===r&&"string"==typeof e&&(e=`{${e}}`),s.push(Array.isArray(e)?o(n,e,r):n+e);return i.flatten(s)};e.exports=(e,t={})=>{let r=void 0===t.rangeLimit?1e3:t.rangeLimit,a=(e,c={})=>{e.queue=[];let l=c,h=c.queue;for(;"brace"!==l.type&&"root"!==l.type&&l.parent;)l=l.parent,h=l.queue;if(e.invalid||e.dollar)return void h.push(o(h.pop(),n(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void h.push(o(h.pop(),["{}"]));if(e.nodes&&e.ranges>0){let a=i.reduce(e.nodes);if(i.exceedsLimit(...a,t.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let c=s(...a,t);return 0===c.length&&(c=n(e,t)),h.push(o(h.pop(),c)),void(e.nodes=[])}let u=i.encloseBrace(e),p=e.queue,d=e;for(;"brace"!==d.type&&"root"!==d.type&&d.parent;)d=d.parent,p=d.queue;for(let t=0;t<e.nodes.length;t++){let r=e.nodes[t];"comma"!==r.type||"brace"!==e.type?"close"!==r.type?r.value&&"open"!==r.type?p.push(o(p.pop(),r.value)):r.nodes&&a(r,e):h.push(o(h.pop(),p,u)):(1===t&&p.push(""),p.push(""))}return p};return i.flatten(a(e))}},"../../node_modules/braces/lib/parse.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/braces/lib/stringify.js"),{MAX_LENGTH:n,CHAR_BACKSLASH:i,CHAR_BACKTICK:o,CHAR_COMMA:a,CHAR_DOT:c,CHAR_LEFT_PARENTHESES:l,CHAR_RIGHT_PARENTHESES:h,CHAR_LEFT_CURLY_BRACE:u,CHAR_RIGHT_CURLY_BRACE:p,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_RIGHT_SQUARE_BRACKET:f,CHAR_DOUBLE_QUOTE:m,CHAR_SINGLE_QUOTE:g,CHAR_NO_BREAK_SPACE:y,CHAR_ZERO_WIDTH_NOBREAK_SPACE:b}=r("../../node_modules/braces/lib/constants.js");e.exports=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");let r=t||{},v="number"==typeof r.maxLength?Math.min(n,r.maxLength):n;if(e.length>v)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${v})`);let x,w={type:"root",input:e,nodes:[]},E=[w],S=w,_=w,T=0,P=e.length,A=0,C=0;const k=()=>e[A++],O=e=>{if("text"===e.type&&"dot"===_.type&&(_.type="text"),!_||"text"!==_.type||"text"!==e.type)return S.nodes.push(e),e.parent=S,e.prev=_,_=e,e;_.value+=e.value};for(O({type:"bos"});A<P;)if(S=E[E.length-1],x=k(),x!==b&&x!==y)if(x!==i)if(x!==f)if(x!==d)if(x!==l)if(x!==h)if(x!==m&&x!==g&&x!==o)if(x!==u)if(x!==p)if(x===a&&C>0){if(S.ranges>0){S.ranges=0;let e=S.nodes.shift();S.nodes=[e,{type:"text",value:s(S)}]}O({type:"comma",value:x}),S.commas++}else if(x===c&&C>0&&0===S.commas){let e=S.nodes;if(0===C||0===e.length){O({type:"text",value:x});continue}if("dot"===_.type){if(S.range=[],_.value+=x,_.type="range",3!==S.nodes.length&&5!==S.nodes.length){S.invalid=!0,S.ranges=0,_.type="text";continue}S.ranges++,S.args=[];continue}if("range"===_.type){e.pop();let t=e[e.length-1];t.value+=_.value+x,_=t,S.ranges--;continue}O({type:"dot",value:x})}else O({type:"text",value:x});else{if("brace"!==S.type){O({type:"text",value:x});continue}let e="close";S=E.pop(),S.close=!0,O({type:e,value:x}),C--,S=E[E.length-1]}else{C++;let e=_.value&&"$"===_.value.slice(-1)||!0===S.dollar;S=O({type:"brace",open:!0,close:!1,dollar:e,depth:C,commas:0,ranges:0,nodes:[]}),E.push(S),O({type:"open",value:x})}else{let e,r=x;for(!0!==t.keepQuotes&&(x="");A<P&&(e=k());)if(e!==i){if(e===r){!0===t.keepQuotes&&(x+=e);break}x+=e}else x+=e+k();O({type:"text",value:x})}else{if("paren"!==S.type){O({type:"text",value:x});continue}S=E.pop(),O({type:"text",value:x}),S=E[E.length-1]}else S=O({type:"paren",nodes:[]}),E.push(S),O({type:"text",value:x});else{let e;for(T++;A<P&&(e=k());)if(x+=e,e!==d)if(e!==i){if(e===f&&(T--,0===T))break}else x+=k();else T++;O({type:"text",value:x})}else O({type:"text",value:"\\"+x});else O({type:"text",value:(t.keepEscaping?x:"")+k()});do{if(S=E.pop(),"root"!==S.type){S.nodes.forEach((e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)}));let e=E[E.length-1],t=e.nodes.indexOf(S);e.nodes.splice(t,1,...S.nodes)}}while(E.length>0);return O({type:"eos"}),w}},"../../node_modules/braces/lib/stringify.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/braces/lib/utils.js");e.exports=(e,t={})=>{let r=(e,n={})=>{let i=t.escapeInvalid&&s.isInvalidBrace(n),o=!0===e.invalid&&!0===t.escapeInvalid,a="";if(e.value)return(i||o)&&s.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(let t of e.nodes)a+=r(t);return a};return r(e)}},"../../node_modules/braces/lib/utils.js":(e,t)=>{"use strict";t.isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),t.find=(e,t)=>e.nodes.find((e=>e.type===t)),t.exceedsLimit=(e,r,s=1,n)=>!1!==n&&!(!t.isInteger(e)||!t.isInteger(r))&&(Number(r)-Number(e))/Number(s)>=n,t.escapeNode=(e,t=0,r)=>{let s=e.nodes[t];s&&(r&&s.type===r||"open"===s.type||"close"===s.type)&&!0!==s.escaped&&(s.value="\\"+s.value,s.escaped=!0)},t.encloseBrace=e=>"brace"===e.type&&e.commas>>0+e.ranges>>0==0&&(e.invalid=!0,!0),t.isInvalidBrace=e=>!("brace"!==e.type||!0!==e.invalid&&!e.dollar&&(e.commas>>0+e.ranges>>0!=0&&!0===e.open&&!0===e.close||(e.invalid=!0,0))),t.isOpenOrClose=e=>"open"===e.type||"close"===e.type||!0===e.open||!0===e.close,t.reduce=e=>e.reduce(((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e)),[]),t.flatten=(...e)=>{const t=[],r=e=>{for(let s=0;s<e.length;s++){let n=e[s];Array.isArray(n)?r(n,t):void 0!==n&&t.push(n)}return t};return r(e),t}},"../../node_modules/chokidar/index.js":(e,t,r)=>{"use strict";const{EventEmitter:s}=r("events"),n=r("fs"),i=r("path"),{promisify:o}=r("util"),a=r("../../node_modules/readdirp/index.js"),c=r("../../node_modules/anymatch/index.js").default,l=r("../../node_modules/glob-parent/index.js"),h=r("../../node_modules/is-glob/index.js"),u=r("../../node_modules/braces/index.js"),p=r("../../node_modules/normalize-path/index.js"),d=r("../../node_modules/chokidar/lib/nodefs-handler.js"),f=r("../../node_modules/chokidar/lib/fsevents-handler.js"),{EV_ALL:m,EV_READY:g,EV_ADD:y,EV_CHANGE:b,EV_UNLINK:v,EV_ADD_DIR:x,EV_UNLINK_DIR:w,EV_RAW:E,EV_ERROR:S,STR_CLOSE:_,STR_END:T,BACK_SLASH_RE:P,DOUBLE_SLASH_RE:A,SLASH_OR_BACK_SLASH_RE:C,DOT_RE:k,REPLACER_RE:O,SLASH:N,SLASH_SLASH:I,BRACE_START:R,BANG:L,ONE_DOT:M,TWO_DOTS:D,GLOBSTAR:j,SLASH_GLOBSTAR:F,ANYMATCH_OPTS:B,STRING_TYPE:U,FUNCTION_TYPE:q,EMPTY_STR:$,EMPTY_FN:H,isWindows:V,isMacos:W,isIBMi:G}=r("../../node_modules/chokidar/lib/constants.js"),z=o(n.stat),K=o(n.readdir),Y=(e=[])=>Array.isArray(e)?e:[e],J=(e,t=[])=>(e.forEach((e=>{Array.isArray(e)?J(e,t):t.push(e)})),t),X=e=>{const t=J(Y(e));if(!t.every((e=>typeof e===U)))throw new TypeError(`Non-string provided as watch path: ${t}`);return t.map(Z)},Q=e=>{let t=e.replace(P,N),r=!1;for(t.startsWith(I)&&(r=!0);t.match(A);)t=t.replace(A,N);return r&&(t=N+t),t},Z=e=>Q(i.normalize(Q(e))),ee=(e=$)=>t=>typeof t!==U?t:Z(i.isAbsolute(t)?t:i.join(e,t)),te=(e,t)=>void 0===e[t];class re{constructor(e,t){this.path=e,this._removeWatcher=t,this.items=new Set}add(e){const{items:t}=this;t&&e!==M&&e!==D&&t.add(e)}async remove(e){const{items:t}=this;if(!t)return;if(t.delete(e),t.size>0)return;const r=this.path;try{await K(r)}catch(e){this._removeWatcher&&this._removeWatcher(i.dirname(r),i.basename(r))}}has(e){const{items:t}=this;if(t)return t.has(e)}getChildren(){const{items:e}=this;if(e)return[...e.values()]}dispose(){this.items.clear(),delete this.path,delete this._removeWatcher,delete this.items,Object.freeze(this)}}class se{constructor(e,t,r,s){this.fsw=s,this.path=e=e.replace(O,$),this.watchPath=t,this.fullWatchPath=i.resolve(t),this.hasGlob=t!==e,e===$&&(this.hasGlob=!1),this.globSymlink=!(!this.hasGlob||!r)&&void 0,this.globFilter=!!this.hasGlob&&c(e,void 0,B),this.dirParts=this.getDirParts(e),this.dirParts.forEach((e=>{e.length>1&&e.pop()})),this.followSymlinks=r,this.statMethod=r?"stat":"lstat"}checkGlobSymlink(e){return void 0===this.globSymlink&&(this.globSymlink=e.fullParentDir!==this.fullWatchPath&&{realPath:e.fullParentDir,linkPath:this.fullWatchPath}),this.globSymlink?e.fullPath.replace(this.globSymlink.realPath,this.globSymlink.linkPath):e.fullPath}entryPath(e){return i.join(this.watchPath,i.relative(this.watchPath,this.checkGlobSymlink(e)))}filterPath(e){const{stats:t}=e;if(t&&t.isSymbolicLink())return this.filterDir(e);const r=this.entryPath(e);return(!this.hasGlob||typeof this.globFilter!==q||this.globFilter(r))&&this.fsw._isntIgnored(r,t)&&this.fsw._hasReadPermissions(t)}getDirParts(e){if(!this.hasGlob)return[];const t=[];return(e.includes(R)?u.expand(e):[e]).forEach((e=>{t.push(i.relative(this.watchPath,e).split(C))})),t}filterDir(e){if(this.hasGlob){const t=this.getDirParts(this.checkGlobSymlink(e));let r=!1;this.unmatchedGlob=!this.dirParts.some((e=>e.every(((e,s)=>(e===j&&(r=!0),r||!t[0][s]||c(e,t[0][s],B))))))}return!this.unmatchedGlob&&this.fsw._isntIgnored(this.entryPath(e),e.stats)}}class ne extends s{constructor(e){super();const t={};e&&Object.assign(t,e),this._watched=new Map,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._symlinkPaths=new Map,this._streams=new Set,this.closed=!1,te(t,"persistent")&&(t.persistent=!0),te(t,"ignoreInitial")&&(t.ignoreInitial=!1),te(t,"ignorePermissionErrors")&&(t.ignorePermissionErrors=!1),te(t,"interval")&&(t.interval=100),te(t,"binaryInterval")&&(t.binaryInterval=300),te(t,"disableGlobbing")&&(t.disableGlobbing=!1),t.enableBinaryInterval=t.binaryInterval!==t.interval,te(t,"useFsEvents")&&(t.useFsEvents=!t.usePolling),f.canUse()||(t.useFsEvents=!1),te(t,"usePolling")&&!t.useFsEvents&&(t.usePolling=W),G&&(t.usePolling=!0);const r=process.env.CHOKIDAR_USEPOLLING;if(void 0!==r){const e=r.toLowerCase();t.usePolling="false"!==e&&"0"!==e&&("true"===e||"1"===e||!!e)}const s=process.env.CHOKIDAR_INTERVAL;s&&(t.interval=Number.parseInt(s,10)),te(t,"atomic")&&(t.atomic=!t.usePolling&&!t.useFsEvents),t.atomic&&(this._pendingUnlinks=new Map),te(t,"followSymlinks")&&(t.followSymlinks=!0),te(t,"awaitWriteFinish")&&(t.awaitWriteFinish=!1),!0===t.awaitWriteFinish&&(t.awaitWriteFinish={});const n=t.awaitWriteFinish;n&&(n.stabilityThreshold||(n.stabilityThreshold=2e3),n.pollInterval||(n.pollInterval=100),this._pendingWrites=new Map),t.ignored&&(t.ignored=Y(t.ignored));let i=0;this._emitReady=()=>{i++,i>=this._readyCount&&(this._emitReady=H,this._readyEmitted=!0,process.nextTick((()=>this.emit(g))))},this._emitRaw=(...e)=>this.emit(E,...e),this._readyEmitted=!1,this.options=t,t.useFsEvents?this._fsEventsHandler=new f(this):this._nodeFsHandler=new d(this),Object.freeze(t)}add(e,t,r){const{cwd:s,disableGlobbing:n}=this.options;this.closed=!1;let o=X(e);return s&&(o=o.map((e=>{const t=((e,t)=>i.isAbsolute(e)?e:e.startsWith(L)?L+i.join(t,e.slice(1)):i.join(t,e))(e,s);return n||!h(e)?t:p(t)}))),o=o.filter((e=>e.startsWith(L)?(this._ignoredPaths.add(e.slice(1)),!1):(this._ignoredPaths.delete(e),this._ignoredPaths.delete(e+F),this._userIgnored=void 0,!0))),this.options.useFsEvents&&this._fsEventsHandler?(this._readyCount||(this._readyCount=o.length),this.options.persistent&&(this._readyCount*=2),o.forEach((e=>this._fsEventsHandler._addToFsEvents(e)))):(this._readyCount||(this._readyCount=0),this._readyCount+=o.length,Promise.all(o.map((async e=>{const s=await this._nodeFsHandler._addToNodeFs(e,!r,0,0,t);return s&&this._emitReady(),s}))).then((e=>{this.closed||e.filter((e=>e)).forEach((e=>{this.add(i.dirname(e),i.basename(t||e))}))}))),this}unwatch(e){if(this.closed)return this;const t=X(e),{cwd:r}=this.options;return t.forEach((e=>{i.isAbsolute(e)||this._closers.has(e)||(r&&(e=i.join(r,e)),e=i.resolve(e)),this._closePath(e),this._ignoredPaths.add(e),this._watched.has(e)&&this._ignoredPaths.add(e+F),this._userIgnored=void 0})),this}close(){if(this.closed)return this._closePromise;this.closed=!0,this.removeAllListeners();const e=[];return this._closers.forEach((t=>t.forEach((t=>{const r=t();r instanceof Promise&&e.push(r)})))),this._streams.forEach((e=>e.destroy())),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((e=>e.dispose())),["closers","watched","streams","symlinkPaths","throttled"].forEach((e=>{this[`_${e}`].clear()})),this._closePromise=e.length?Promise.all(e).then((()=>{})):Promise.resolve(),this._closePromise}getWatched(){const e={};return this._watched.forEach(((t,r)=>{const s=this.options.cwd?i.relative(this.options.cwd,r):r;e[s||M]=t.getChildren().sort()})),e}emitWithAll(e,t){this.emit(...t),e!==S&&this.emit(m,...t)}async _emit(e,t,r,s,n){if(this.closed)return;const o=this.options;V&&(t=i.normalize(t)),o.cwd&&(t=i.relative(o.cwd,t));const a=[e,t];void 0!==n?a.push(r,s,n):void 0!==s?a.push(r,s):void 0!==r&&a.push(r);const c=o.awaitWriteFinish;let l;if(c&&(l=this._pendingWrites.get(t)))return l.lastChange=new Date,this;if(o.atomic){if(e===v)return this._pendingUnlinks.set(t,a),setTimeout((()=>{this._pendingUnlinks.forEach(((e,t)=>{this.emit(...e),this.emit(m,...e),this._pendingUnlinks.delete(t)}))}),"number"==typeof o.atomic?o.atomic:100),this;e===y&&this._pendingUnlinks.has(t)&&(e=a[0]=b,this._pendingUnlinks.delete(t))}if(c&&(e===y||e===b)&&this._readyEmitted){const r=(t,r)=>{t?(e=a[0]=S,a[1]=t,this.emitWithAll(e,a)):r&&(a.length>2?a[2]=r:a.push(r),this.emitWithAll(e,a))};return this._awaitWriteFinish(t,c.stabilityThreshold,e,r),this}if(e===b&&!this._throttle(b,t,50))return this;if(o.alwaysStat&&void 0===r&&(e===y||e===x||e===b)){const e=o.cwd?i.join(o.cwd,t):t;let r;try{r=await z(e)}catch(e){}if(!r||this.closed)return;a.push(r)}return this.emitWithAll(e,a),this}_handleError(e){const t=e&&e.code;return e&&"ENOENT"!==t&&"ENOTDIR"!==t&&(!this.options.ignorePermissionErrors||"EPERM"!==t&&"EACCES"!==t)&&this.emit(S,e),e||this.closed}_throttle(e,t,r){this._throttled.has(e)||this._throttled.set(e,new Map);const s=this._throttled.get(e),n=s.get(t);if(n)return n.count++,!1;let i;const o=()=>{const e=s.get(t),r=e?e.count:0;return s.delete(t),clearTimeout(i),e&&clearTimeout(e.timeoutObject),r};i=setTimeout(o,r);const a={timeoutObject:i,clear:o,count:0};return s.set(t,a),a}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(e,t,r,s){let o,a=e;this.options.cwd&&!i.isAbsolute(e)&&(a=i.join(this.options.cwd,e));const c=new Date,l=r=>{n.stat(a,((n,i)=>{if(n||!this._pendingWrites.has(e))return void(n&&"ENOENT"!==n.code&&s(n));const a=Number(new Date);r&&i.size!==r.size&&(this._pendingWrites.get(e).lastChange=a),a-this._pendingWrites.get(e).lastChange>=t?(this._pendingWrites.delete(e),s(void 0,i)):o=setTimeout(l,this.options.awaitWriteFinish.pollInterval,i)}))};this._pendingWrites.has(e)||(this._pendingWrites.set(e,{lastChange:c,cancelWait:()=>(this._pendingWrites.delete(e),clearTimeout(o),r)}),o=setTimeout(l,this.options.awaitWriteFinish.pollInterval))}_getGlobIgnored(){return[...this._ignoredPaths.values()]}_isIgnored(e,t){if(this.options.atomic&&k.test(e))return!0;if(!this._userIgnored){const{cwd:e}=this.options,t=this.options.ignored,r=t&&t.map(ee(e)),s=Y(r).filter((e=>typeof e===U&&!h(e))).map((e=>e+F)),n=this._getGlobIgnored().map(ee(e)).concat(r,s);this._userIgnored=c(n,void 0,B)}return this._userIgnored([e,t])}_isntIgnored(e,t){return!this._isIgnored(e,t)}_getWatchHelpers(e,t){const r=t||this.options.disableGlobbing||!h(e)?e:l(e),s=this.options.followSymlinks;return new se(e,r,s,this)}_getWatchedDir(e){this._boundRemove||(this._boundRemove=this._remove.bind(this));const t=i.resolve(e);return this._watched.has(t)||this._watched.set(t,new re(t,this._boundRemove)),this._watched.get(t)}_hasReadPermissions(e){if(this.options.ignorePermissionErrors)return!0;const t=511&(e&&Number.parseInt(e.mode,10)),r=Number.parseInt(t.toString(8)[0],10);return Boolean(4&r)}_remove(e,t,r){const s=i.join(e,t),n=i.resolve(s);if(r=null!=r?r:this._watched.has(s)||this._watched.has(n),!this._throttle("remove",s,100))return;r||this.options.useFsEvents||1!==this._watched.size||this.add(e,t,!0),this._getWatchedDir(s).getChildren().forEach((e=>this._remove(s,e)));const o=this._getWatchedDir(e),a=o.has(t);o.remove(t),this._symlinkPaths.has(n)&&this._symlinkPaths.delete(n);let c=s;if(this.options.cwd&&(c=i.relative(this.options.cwd,s)),this.options.awaitWriteFinish&&this._pendingWrites.has(c)&&this._pendingWrites.get(c).cancelWait()===y)return;this._watched.delete(s),this._watched.delete(n);const l=r?w:v;a&&!this._isIgnored(s)&&this._emit(l,s),this.options.useFsEvents||this._closePath(s)}_closePath(e){this._closeFile(e);const t=i.dirname(e);this._getWatchedDir(t).remove(i.basename(e))}_closeFile(e){const t=this._closers.get(e);t&&(t.forEach((e=>e())),this._closers.delete(e))}_addPathCloser(e,t){if(!t)return;let r=this._closers.get(e);r||(r=[],this._closers.set(e,r)),r.push(t)}_readdirp(e,t){if(this.closed)return;const r={type:m,alwaysStat:!0,lstat:!0,...t};let s=a(e,r);return this._streams.add(s),s.once(_,(()=>{s=void 0})),s.once(T,(()=>{s&&(this._streams.delete(s),s=void 0)})),s}}t.FSWatcher=ne,t.watch=(e,t)=>{const r=new ne(t);return r.add(e),r}},"../../node_modules/chokidar/lib/constants.js":(e,t,r)=>{"use strict";const{sep:s}=r("path"),{platform:n}=process,i=r("os");t.EV_ALL="all",t.EV_READY="ready",t.EV_ADD="add",t.EV_CHANGE="change",t.EV_ADD_DIR="addDir",t.EV_UNLINK="unlink",t.EV_UNLINK_DIR="unlinkDir",t.EV_RAW="raw",t.EV_ERROR="error",t.STR_DATA="data",t.STR_END="end",t.STR_CLOSE="close",t.FSEVENT_CREATED="created",t.FSEVENT_MODIFIED="modified",t.FSEVENT_DELETED="deleted",t.FSEVENT_MOVED="moved",t.FSEVENT_CLONED="cloned",t.FSEVENT_UNKNOWN="unknown",t.FSEVENT_TYPE_FILE="file",t.FSEVENT_TYPE_DIRECTORY="directory",t.FSEVENT_TYPE_SYMLINK="symlink",t.KEY_LISTENERS="listeners",t.KEY_ERR="errHandlers",t.KEY_RAW="rawEmitters",t.HANDLER_KEYS=[t.KEY_LISTENERS,t.KEY_ERR,t.KEY_RAW],t.DOT_SLASH=`.${s}`,t.BACK_SLASH_RE=/\\/g,t.DOUBLE_SLASH_RE=/\/\//,t.SLASH_OR_BACK_SLASH_RE=/[/\\]/,t.DOT_RE=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,t.REPLACER_RE=/^\.[/\\]/,t.SLASH="/",t.SLASH_SLASH="//",t.BRACE_START="{",t.BANG="!",t.ONE_DOT=".",t.TWO_DOTS="..",t.STAR="*",t.GLOBSTAR="**",t.ROOT_GLOBSTAR="/**/*",t.SLASH_GLOBSTAR="/**",t.DIR_SUFFIX="Dir",t.ANYMATCH_OPTS={dot:!0},t.STRING_TYPE="string",t.FUNCTION_TYPE="function",t.EMPTY_STR="",t.EMPTY_FN=()=>{},t.IDENTITY_FN=e=>e,t.isWindows="win32"===n,t.isMacos="darwin"===n,t.isLinux="linux"===n,t.isIBMi="OS400"===i.type()},"../../node_modules/chokidar/lib/fsevents-handler.js":(e,t,r)=>{"use strict";const s=r("fs"),n=r("path"),{promisify:i}=r("util");let o;try{o=r("fsevents")}catch(e){process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR&&console.error(e)}if(o){const e=process.version.match(/v(\d+)\.(\d+)/);if(e&&e[1]&&e[2]){const t=Number.parseInt(e[1],10),r=Number.parseInt(e[2],10);8===t&&r<16&&(o=void 0)}}const{EV_ADD:a,EV_CHANGE:c,EV_ADD_DIR:l,EV_UNLINK:h,EV_ERROR:u,STR_DATA:p,STR_END:d,FSEVENT_CREATED:f,FSEVENT_MODIFIED:m,FSEVENT_DELETED:g,FSEVENT_MOVED:y,FSEVENT_UNKNOWN:b,FSEVENT_TYPE_FILE:v,FSEVENT_TYPE_DIRECTORY:x,FSEVENT_TYPE_SYMLINK:w,ROOT_GLOBSTAR:E,DIR_SUFFIX:S,DOT_SLASH:_,FUNCTION_TYPE:T,EMPTY_FN:P,IDENTITY_FN:A}=r("../../node_modules/chokidar/lib/constants.js"),C=i(s.stat),k=i(s.lstat),O=i(s.realpath),N={stat:C,lstat:k},I=new Map,R=new Set([69888,70400,71424,72704,73472,131328,131840,262912]),L=(e,t)=>({stop:o.watch(e,t)}),M=(e,t)=>{let r=0;for(;!e.indexOf(t)&&(e=n.dirname(e))!==t;)r++;return r},D=(e,t)=>e.type===x&&t.isDirectory()||e.type===w&&t.isSymbolicLink()||e.type===v&&t.isFile();e.exports=class{constructor(e){this.fsw=e}checkIgnored(e,t){const r=this.fsw._ignoredPaths;if(this.fsw._isIgnored(e,t))return r.add(e),t&&t.isDirectory()&&r.add(e+E),!0;r.delete(e),r.delete(e+E)}addOrChange(e,t,r,s,n,i,o,l){const h=n.has(i)?c:a;this.handleEvent(h,e,t,r,s,n,i,o,l)}async checkExists(e,t,r,s,n,i,o,a){try{const c=await C(e);if(this.fsw.closed)return;D(o,c)?this.addOrChange(e,t,r,s,n,i,o,a):this.handleEvent(h,e,t,r,s,n,i,o,a)}catch(c){"EACCES"===c.code?this.addOrChange(e,t,r,s,n,i,o,a):this.handleEvent(h,e,t,r,s,n,i,o,a)}}handleEvent(e,t,r,s,n,i,o,c,u){if(!this.fsw.closed&&!this.checkIgnored(t))if(e===h){const e=c.type===x;(e||i.has(o))&&this.fsw._remove(n,o,e)}else{if(e===a){if(c.type===x&&this.fsw._getWatchedDir(t),c.type===w&&u.followSymlinks){const e=void 0===u.depth?void 0:M(r,s)+1;return this._addToFsEvents(t,!1,!0,e)}this.fsw._getWatchedDir(n).add(o)}const i=c.type===x?e+S:e;this.fsw._emit(i,t),i===l&&this._addToFsEvents(t,!1,!0)}}_watchWithFsEvents(e,t,r,s){if(this.fsw.closed||this.fsw._isIgnored(e))return;const i=this.fsw.options,a=function(e,t,r,s){let i=n.extname(t)?n.dirname(t):t;const a=n.dirname(i);let c=I.get(i);(e=>{let t=0;for(const r of I.keys())if(0===r.indexOf(e)&&(t++,t>=10))return!0;return!1})(a)&&(i=a);const l=n.resolve(e),h=l!==t,u=(e,s,i)=>{h&&(e=e.replace(t,l)),e!==l&&e.indexOf(l+n.sep)||r(e,s,i)};let p=!1;for(const e of I.keys())if(0===t.indexOf(n.resolve(e)+n.sep)){i=e,c=I.get(i),p=!0;break}return c||p?c.listeners.add(u):(c={listeners:new Set([u]),rawEmitter:s,watcher:L(i,((e,t)=>{if(!c.listeners.size)return;const r=o.getInfo(e,t);c.listeners.forEach((s=>{s(e,t,r)})),c.rawEmitter(r.event,e,r)}))},I.set(i,c)),()=>{const e=c.listeners;if(e.delete(u),!e.size&&(I.delete(i),c.watcher))return c.watcher.stop().then((()=>{c.rawEmitter=c.watcher=void 0,Object.freeze(c)}))}}(e,t,(async(o,a,c)=>{if(this.fsw.closed)return;if(void 0!==i.depth&&M(o,t)>i.depth)return;const l=r(n.join(e,n.relative(e,o)));if(s&&!s(l))return;const u=n.dirname(l),p=n.basename(l),d=this.fsw._getWatchedDir(c.type===x?l:u);if(R.has(a)||c.event===b)if(typeof i.ignored===T){let e;try{e=await C(l)}catch(e){}if(this.fsw.closed)return;if(this.checkIgnored(l,e))return;D(c,e)?this.addOrChange(l,o,t,u,d,p,c,i):this.handleEvent(h,l,o,t,u,d,p,c,i)}else this.checkExists(l,o,t,u,d,p,c,i);else switch(c.event){case f:case m:return this.addOrChange(l,o,t,u,d,p,c,i);case g:case y:return this.checkExists(l,o,t,u,d,p,c,i)}}),this.fsw._emitRaw);return this.fsw._emitReady(),a}async _handleFsEventsSymlink(e,t,r,s){if(!this.fsw.closed&&!this.fsw._symlinkPaths.has(t)){this.fsw._symlinkPaths.set(t,!0),this.fsw._incrReadyCount();try{const t=await O(e);if(this.fsw.closed)return;if(this.fsw._isIgnored(t))return this.fsw._emitReady();this.fsw._incrReadyCount(),this._addToFsEvents(t||e,(s=>{let i=e;return t&&t!==_?i=s.replace(t,e):s!==_&&(i=n.join(e,s)),r(i)}),!1,s)}catch(e){if(this.fsw._handleError(e))return this.fsw._emitReady()}}}emitAdd(e,t,r,s,i){const o=r(e),c=t.isDirectory(),h=this.fsw._getWatchedDir(n.dirname(o)),u=n.basename(o);c&&this.fsw._getWatchedDir(o),h.has(u)||(h.add(u),s.ignoreInitial&&!0!==i||this.fsw._emit(c?l:a,o,t))}initWatch(e,t,r,s){if(this.fsw.closed)return;const i=this._watchWithFsEvents(r.watchPath,n.resolve(e||r.watchPath),s,r.globFilter);this.fsw._addPathCloser(t,i)}async _addToFsEvents(e,t,r,s){if(this.fsw.closed)return;const i=this.fsw.options,o=typeof t===T?t:A,a=this.fsw._getWatchHelpers(e);try{const t=await N[a.statMethod](a.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(a.watchPath,t))throw null;if(t.isDirectory()){if(a.globFilter||this.emitAdd(o(e),t,o,i,r),s&&s>i.depth)return;this.fsw._readdirp(a.watchPath,{fileFilter:e=>a.filterPath(e),directoryFilter:e=>a.filterDir(e),...(c=i.depth-(s||0),isNaN(c)?{}:{depth:c})}).on(p,(e=>{if(this.fsw.closed)return;if(e.stats.isDirectory()&&!a.filterPath(e))return;const t=n.join(a.watchPath,e.path),{fullPath:s}=e;if(a.followSymlinks&&e.stats.isSymbolicLink()){const e=void 0===i.depth?void 0:M(t,n.resolve(a.watchPath))+1;this._handleFsEventsSymlink(t,s,o,e)}else this.emitAdd(t,e.stats,o,i,r)})).on(u,P).on(d,(()=>{this.fsw._emitReady()}))}else this.emitAdd(a.watchPath,t,o,i,r),this.fsw._emitReady()}catch(e){e&&!this.fsw._handleError(e)||(this.fsw._emitReady(),this.fsw._emitReady())}var c;if(i.persistent&&!0!==r)if(typeof t===T)this.initWatch(void 0,e,a,o);else{let t;try{t=await O(a.watchPath)}catch(e){}this.initWatch(t,e,a,o)}}},e.exports.canUse=()=>o&&I.size<128},"../../node_modules/chokidar/lib/nodefs-handler.js":(e,t,r)=>{"use strict";const s=r("fs"),n=r("path"),{promisify:i}=r("util"),o=r("../../node_modules/is-binary-path/index.js"),{isWindows:a,isLinux:c,EMPTY_FN:l,EMPTY_STR:h,KEY_LISTENERS:u,KEY_ERR:p,KEY_RAW:d,HANDLER_KEYS:f,EV_CHANGE:m,EV_ADD:g,EV_ADD_DIR:y,EV_ERROR:b,STR_DATA:v,STR_END:x,BRACE_START:w,STAR:E}=r("../../node_modules/chokidar/lib/constants.js"),S=i(s.open),_=i(s.stat),T=i(s.lstat),P=i(s.close),A=i(s.realpath),C={lstat:T,stat:_},k=(e,t)=>{e instanceof Set?e.forEach(t):t(e)},O=(e,t,r)=>{let s=e[t];s instanceof Set||(e[t]=s=new Set([s])),s.add(r)},N=(e,t,r)=>{const s=e[t];s instanceof Set?s.delete(r):s===r&&delete e[t]},I=e=>e instanceof Set?0===e.size:!e,R=new Map;function L(e,t,r,i,o){const a=(t,s)=>{r(e),o(t,s,{watchedPath:e}),s&&e!==s&&M(n.resolve(e,s),u,n.join(e,s))};try{return s.watch(e,t,a)}catch(e){i(e)}}const M=(e,t,r,s,n)=>{const i=R.get(e);i&&k(i[t],(e=>{e(r,s,n)}))},D=new Map;e.exports=class{constructor(e){this.fsw=e,this._boundHandleError=t=>e._handleError(t)}_watchWithNodeFs(e,t){const r=this.fsw.options,i=n.dirname(e),c=n.basename(e);this.fsw._getWatchedDir(i).add(c);const h=n.resolve(e),g={persistent:r.persistent};let y;return t||(t=l),r.usePolling?(g.interval=r.enableBinaryInterval&&o(c)?r.binaryInterval:r.interval,y=((e,t,r,n)=>{const{listener:i,rawEmitter:o}=n;let a=D.get(t),c=new Set,l=new Set;const h=a&&a.options;return h&&(h.persistent<r.persistent||h.interval>r.interval)&&(c=a.listeners,l=a.rawEmitters,s.unwatchFile(t),a=void 0),a?(O(a,u,i),O(a,d,o)):(a={listeners:i,rawEmitters:o,options:r,watcher:s.watchFile(t,r,((r,s)=>{k(a.rawEmitters,(e=>{e(m,t,{curr:r,prev:s})}));const n=r.mtimeMs;(r.size!==s.size||n>s.mtimeMs||0===n)&&k(a.listeners,(t=>t(e,r)))}))},D.set(t,a)),()=>{N(a,u,i),N(a,d,o),I(a.listeners)&&(D.delete(t),s.unwatchFile(t),a.options=a.watcher=void 0,Object.freeze(a))}})(e,h,g,{listener:t,rawEmitter:this.fsw._emitRaw})):y=((e,t,r,s)=>{const{listener:n,errHandler:i,rawEmitter:o}=s;let c,l=R.get(t);if(!r.persistent)return c=L(e,r,n,i,o),c.close.bind(c);if(l)O(l,u,n),O(l,p,i),O(l,d,o);else{if(c=L(e,r,M.bind(null,t,u),i,M.bind(null,t,d)),!c)return;c.on(b,(async r=>{const s=M.bind(null,t,p);if(l.watcherUnusable=!0,a&&"EPERM"===r.code)try{const t=await S(e,"r");await P(t),s(r)}catch(e){}else s(r)})),l={listeners:n,errHandlers:i,rawEmitters:o,watcher:c},R.set(t,l)}return()=>{N(l,u,n),N(l,p,i),N(l,d,o),I(l.listeners)&&(l.watcher.close(),R.delete(t),f.forEach((e=>t=>{const r=e[t];r instanceof Set?r.clear():delete e[t]})(l)),l.watcher=void 0,Object.freeze(l))}})(e,h,g,{listener:t,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw}),y}_handleFile(e,t,r){if(this.fsw.closed)return;const s=n.dirname(e),i=n.basename(e),o=this.fsw._getWatchedDir(s);let a=t;if(o.has(i))return;const l=async(t,r)=>{if(this.fsw._throttle("watch",e,5))if(r&&0!==r.mtimeMs){if(o.has(i)){const t=r.atimeMs,s=r.mtimeMs;(!t||t<=s||s!==a.mtimeMs)&&this.fsw._emit(m,e,r),a=r}}else try{const r=await _(e);if(this.fsw.closed)return;const s=r.atimeMs,n=r.mtimeMs;(!s||s<=n||n!==a.mtimeMs)&&this.fsw._emit(m,e,r),c&&a.ino!==r.ino?(this.fsw._closeFile(t),a=r,this.fsw._addPathCloser(t,this._watchWithNodeFs(e,l))):a=r}catch(e){this.fsw._remove(s,i)}},h=this._watchWithNodeFs(e,l);if((!r||!this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(e)){if(!this.fsw._throttle(g,e,0))return;this.fsw._emit(g,e,t)}return h}async _handleSymlink(e,t,r,s){if(this.fsw.closed)return;const n=e.fullPath,i=this.fsw._getWatchedDir(t);if(!this.fsw.options.followSymlinks){let t;this.fsw._incrReadyCount();try{t=await A(r)}catch(e){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;return i.has(s)?this.fsw._symlinkPaths.get(n)!==t&&(this.fsw._symlinkPaths.set(n,t),this.fsw._emit(m,r,e.stats)):(i.add(s),this.fsw._symlinkPaths.set(n,t),this.fsw._emit(g,r,e.stats)),this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(n))return!0;this.fsw._symlinkPaths.set(n,!0)}_handleRead(e,t,r,s,i,o,a){if(e=n.join(e,h),!r.hasGlob&&!(a=this.fsw._throttle("readdir",e,1e3)))return;const c=this.fsw._getWatchedDir(r.path),l=new Set;let u=this.fsw._readdirp(e,{fileFilter:e=>r.filterPath(e),directoryFilter:e=>r.filterDir(e),depth:0}).on(v,(async a=>{if(this.fsw.closed)return void(u=void 0);const h=a.path;let p=n.join(e,h);l.add(h),a.stats.isSymbolicLink()&&await this._handleSymlink(a,e,p,h)||(this.fsw.closed?u=void 0:h!==s&&(s||c.has(h))||(this.fsw._incrReadyCount(),p=n.join(i,n.relative(i,p)),this._addToNodeFs(p,t,r,o+1)))})).on(b,this._boundHandleError);return new Promise((t=>u.once(x,(()=>{if(this.fsw.closed)return void(u=void 0);const h=!!a&&a.clear();t(),c.getChildren().filter((t=>t!==e&&!l.has(t)&&(!r.hasGlob||r.filterPath({fullPath:n.resolve(e,t)})))).forEach((t=>{this.fsw._remove(e,t)})),u=void 0,h&&this._handleRead(e,!1,r,s,i,o,a)}))))}async _handleDir(e,t,r,s,i,o,a){const c=this.fsw._getWatchedDir(n.dirname(e)),l=c.has(n.basename(e));let h,u;r&&this.fsw.options.ignoreInitial||i||l||o.hasGlob&&!o.globFilter(e)||this.fsw._emit(y,e,t),c.add(n.basename(e)),this.fsw._getWatchedDir(e);const p=this.fsw.options.depth;if((null==p||s<=p)&&!this.fsw._symlinkPaths.has(a)){if(!i&&(await this._handleRead(e,r,o,i,e,s,h),this.fsw.closed))return;u=this._watchWithNodeFs(e,((t,r)=>{r&&0===r.mtimeMs||this._handleRead(t,!1,o,i,e,s,h)}))}return u}async _addToNodeFs(e,t,r,s,i){const o=this.fsw._emitReady;if(this.fsw._isIgnored(e)||this.fsw.closed)return o(),!1;const a=this.fsw._getWatchHelpers(e,s);!a.hasGlob&&r&&(a.hasGlob=r.hasGlob,a.globFilter=r.globFilter,a.filterPath=e=>r.filterPath(e),a.filterDir=e=>r.filterDir(e));try{const r=await C[a.statMethod](a.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(a.watchPath,r))return o(),!1;const c=this.fsw.options.followSymlinks&&!e.includes(E)&&!e.includes(w);let l;if(r.isDirectory()){const o=n.resolve(e),h=c?await A(e):e;if(this.fsw.closed)return;if(l=await this._handleDir(a.watchPath,r,t,s,i,a,h),this.fsw.closed)return;o!==h&&void 0!==h&&this.fsw._symlinkPaths.set(o,h)}else if(r.isSymbolicLink()){const i=c?await A(e):e;if(this.fsw.closed)return;const o=n.dirname(a.watchPath);if(this.fsw._getWatchedDir(o).add(a.watchPath),this.fsw._emit(g,a.watchPath,r),l=await this._handleDir(o,r,t,s,e,a,i),this.fsw.closed)return;void 0!==i&&this.fsw._symlinkPaths.set(n.resolve(e),i)}else l=this._handleFile(a.watchPath,r,t);return o(),this.fsw._addPathCloser(e,l),!1}catch(t){if(this.fsw._handleError(t))return o(),e}}}},"../../node_modules/debug/src/browser.js":(e,t,r)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let s=0,n=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(s++,"%c"===e&&(n=s))})),t.splice(n,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r("../../node_modules/debug/src/common.js")(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},"../../node_modules/debug/src/common.js":(e,t,r)=>{e.exports=function(e){function t(e){let r,n,i,o=null;function a(...e){if(!a.enabled)return;const s=a,n=Number(new Date),i=n-(r||n);s.diff=i,s.prev=r,s.curr=n,r=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,n)=>{if("%%"===r)return"%";o++;const i=t.formatters[n];if("function"==typeof i){const t=e[o];r=i.call(s,t),e.splice(o,1),o--}return r})),t.formatArgs.call(s,e),(s.log||t.log).apply(s,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=s,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(n!==t.namespaces&&(n=t.namespaces,i=t.enabled(e)),i),set:e=>{o=e}}),"function"==typeof t.init&&t.init(a),a}function s(e,r){const s=t(this.namespace+(void 0===r?":":r)+e);return s.log=this.log,s}function n(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(n),...t.skips.map(n).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const s=("string"==typeof e?e:"").split(/[\s,]+/),n=s.length;for(r=0;r<n;r++)s[r]&&("-"===(e=s[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let r,s;for(r=0,s=t.skips.length;r<s;r++)if(t.skips[r].test(e))return!1;for(r=0,s=t.names.length;r<s;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r("../../node_modules/ms/index.js"),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},"../../node_modules/debug/src/index.js":(e,t,r)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=r("../../node_modules/debug/src/browser.js"):e.exports=r("../../node_modules/debug/src/node.js")},"../../node_modules/debug/src/node.js":(e,t,r)=>{const s=r("tty"),n=r("util");t.init=function(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let s=0;s<r.length;s++)e.inspectOpts[r[s]]=t.inspectOpts[r[s]]},t.log=function(...e){return process.stderr.write(n.format(...e)+"\n")},t.formatArgs=function(r){const{namespace:s,useColors:n}=this;if(n){const t=this.color,n="[3"+(t<8?t:"8;5;"+t),i=` ${n};1m${s} [0m`;r[0]=i+r[0].split("\n").join("\n"+i),r.push(n+"m+"+e.exports.humanize(this.diff)+"[0m")}else r[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+s+" "+r[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):s.isatty(process.stderr.fd)},t.destroy=n.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=r("../../node_modules/supports-color/index.js");e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let s=process.env[t];return s=!!/^(yes|on|true|enabled)$/i.test(s)||!/^(no|off|false|disabled)$/i.test(s)&&("null"===s?null:Number(s)),e[r]=s,e}),{}),e.exports=r("../../node_modules/debug/src/common.js")(t);const{formatters:i}=e.exports;i.o=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},i.O=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts)}},"../../node_modules/fill-range/index.js":(e,t,r)=>{"use strict";const s=r("util"),n=r("../../node_modules/to-regex-range/index.js"),i=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),o=e=>"number"==typeof e||"string"==typeof e&&""!==e,a=e=>Number.isInteger(+e),c=e=>{let t=`${e}`,r=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++r];);return r>0},l=(e,t,r)=>{if(t>0){let r="-"===e[0]?"-":"";r&&(e=e.slice(1)),e=r+e.padStart(r?t-1:t,"0")}return!1===r?String(e):e},h=(e,t)=>{let r="-"===e[0]?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},u=(e,t,r,s)=>{if(r)return n(e,t,{wrap:!1,...s});let i=String.fromCharCode(e);return e===t?i:`[${i}-${String.fromCharCode(t)}]`},p=(e,t,r)=>{if(Array.isArray(e)){let t=!0===r.wrap,s=r.capture?"":"?:";return t?`(${s}${e.join("|")})`:e.join("|")}return n(e,t,r)},d=(...e)=>new RangeError("Invalid range arguments: "+s.inspect(...e)),f=(e,t,r)=>{if(!0===r.strictRanges)throw d([e,t]);return[]},m=(e,t,r,s={})=>{if(null==t&&o(e))return[e];if(!o(e)||!o(t))return f(e,t,s);if("function"==typeof r)return m(e,t,1,{transform:r});if(i(r))return m(e,t,0,r);let n={...s};return!0===n.capture&&(n.wrap=!0),r=r||n.step||1,a(r)?a(e)&&a(t)?((e,t,r=1,s={})=>{let n=Number(e),i=Number(t);if(!Number.isInteger(n)||!Number.isInteger(i)){if(!0===s.strictRanges)throw d([e,t]);return[]}0===n&&(n=0),0===i&&(i=0);let o=n>i,a=String(e),f=String(t),m=String(r);r=Math.max(Math.abs(r),1);let g=c(a)||c(f)||c(m),y=g?Math.max(a.length,f.length,m.length):0,b=!1===g&&!1===((e,t,r)=>"string"==typeof e||"string"==typeof t||!0===r.stringify)(e,t,s),v=s.transform||(e=>t=>!0===e?Number(t):String(t))(b);if(s.toRegex&&1===r)return u(h(e,y),h(t,y),!0,s);let x={negatives:[],positives:[]},w=[],E=0;for(;o?n>=i:n<=i;)!0===s.toRegex&&r>1?x[(S=n)<0?"negatives":"positives"].push(Math.abs(S)):w.push(l(v(n,E),y,b)),n=o?n-r:n+r,E++;var S;return!0===s.toRegex?r>1?((e,t)=>{e.negatives.sort(((e,t)=>e<t?-1:e>t?1:0)),e.positives.sort(((e,t)=>e<t?-1:e>t?1:0));let r,s=t.capture?"":"?:",n="",i="";return e.positives.length&&(n=e.positives.join("|")),e.negatives.length&&(i=`-(${s}${e.negatives.join("|")})`),r=n&&i?`${n}|${i}`:n||i,t.wrap?`(${s}${r})`:r})(x,s):p(w,null,{wrap:!1,...s}):w})(e,t,r,n):((e,t,r=1,s={})=>{if(!a(e)&&e.length>1||!a(t)&&t.length>1)return f(e,t,s);let n=s.transform||(e=>String.fromCharCode(e)),i=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),c=i>o,l=Math.min(i,o),h=Math.max(i,o);if(s.toRegex&&1===r)return u(l,h,!1,s);let d=[],m=0;for(;c?i>=o:i<=o;)d.push(n(i,m)),i=c?i-r:i+r,m++;return!0===s.toRegex?p(d,null,{wrap:!1,options:s}):d})(e,t,Math.max(Math.abs(r),1),n):null==r||i(r)?m(e,t,1,r):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(r,n)};e.exports=m},"../../node_modules/glob-parent/index.js":(e,t,r)=>{"use strict";var s=r("../../node_modules/is-glob/index.js"),n=r("path").posix.dirname,i="win32"===r("os").platform(),o=/\\/g,a=/[\{\[].*[\}\]]$/,c=/(^|[^\\])([\{\[]|\([^\)]+$)/,l=/\\([\!\*\?\|\[\]\(\)\{\}])/g;e.exports=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&i&&e.indexOf("/")<0&&(e=e.replace(o,"/")),a.test(e)&&(e+="/"),e+="a";do{e=n(e)}while(s(e)||c.test(e));return e.replace(l,"$1")}},"../../node_modules/has-flag/index.js":e=>{"use strict";e.exports=(e,t)=>{t=t||process.argv;const r=e.startsWith("-")?"":1===e.length?"-":"--",s=t.indexOf(r+e),n=t.indexOf("--");return-1!==s&&(-1===n||s<n)}},"../../node_modules/is-binary-path/index.js":(e,t,r)=>{"use strict";const s=r("path"),n=r("../../node_modules/binary-extensions/index.js"),i=new Set(n);e.exports=e=>i.has(s.extname(e).slice(1).toLowerCase())},"../../node_modules/is-extglob/index.js":e=>{e.exports=function(e){if("string"!=typeof e||""===e)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1}},"../../node_modules/is-glob/index.js":(e,t,r)=>{var s=r("../../node_modules/is-extglob/index.js"),n={"{":"}","(":")","[":"]"},i=function(e){if("!"===e[0])return!0;for(var t=0,r=-2,s=-2,i=-2,o=-2,a=-2;t<e.length;){if("*"===e[t])return!0;if("?"===e[t+1]&&/[\].+)]/.test(e[t]))return!0;if(-1!==s&&"["===e[t]&&"]"!==e[t+1]&&(s<t&&(s=e.indexOf("]",t)),s>t)){if(-1===a||a>s)return!0;if(-1===(a=e.indexOf("\\",t))||a>s)return!0}if(-1!==i&&"{"===e[t]&&"}"!==e[t+1]&&(i=e.indexOf("}",t))>t&&(-1===(a=e.indexOf("\\",t))||a>i))return!0;if(-1!==o&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(o=e.indexOf(")",t))>t&&(-1===(a=e.indexOf("\\",t))||a>o))return!0;if(-1!==r&&"("===e[t]&&"|"!==e[t+1]&&(r<t&&(r=e.indexOf("|",t)),-1!==r&&")"!==e[r+1]&&(o=e.indexOf(")",r))>r&&(-1===(a=e.indexOf("\\",r))||a>o)))return!0;if("\\"===e[t]){var c=e[t+1];t+=2;var l=n[c];if(l){var h=e.indexOf(l,t);-1!==h&&(t=h+1)}if("!"===e[t])return!0}else t++}return!1},o=function(e){if("!"===e[0])return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if("\\"===e[t]){var r=e[t+1];t+=2;var s=n[r];if(s){var i=e.indexOf(s,t);-1!==i&&(t=i+1)}if("!"===e[t])return!0}else t++}return!1};e.exports=function(e,t){if("string"!=typeof e||""===e)return!1;if(s(e))return!0;var r=i;return t&&!1===t.strict&&(r=o),r(e)}},"../../node_modules/is-number/index.js":e=>{"use strict";e.exports=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))}},"../../node_modules/ms/index.js":e=>{var t=1e3,r=60*t,s=60*r,n=24*s;function i(e,t,r,s){var n=t>=1.5*r;return Math.round(e/r)+" "+s+(n?"s":"")}e.exports=function(e,o){o=o||{};var a,c,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(i){var o=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"weeks":case"week":case"w":return 6048e5*o;case"days":case"day":case"d":return o*n;case"hours":case"hour":case"hrs":case"hr":case"h":return o*s;case"minutes":case"minute":case"mins":case"min":case"m":return o*r;case"seconds":case"second":case"secs":case"sec":case"s":return o*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(e);if("number"===l&&isFinite(e))return o.long?(a=e,(c=Math.abs(a))>=n?i(a,c,n,"day"):c>=s?i(a,c,s,"hour"):c>=r?i(a,c,r,"minute"):c>=t?i(a,c,t,"second"):a+" ms"):function(e){var i=Math.abs(e);return i>=n?Math.round(e/n)+"d":i>=s?Math.round(e/s)+"h":i>=r?Math.round(e/r)+"m":i>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"../../node_modules/normalize-path/index.js":e=>{e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected path to be a string");if("\\"===e||"/"===e)return"/";var r=e.length;if(r<=1)return e;var s="";if(r>4&&"\\"===e[3]){var n=e[2];"?"!==n&&"."!==n||"\\\\"!==e.slice(0,2)||(e=e.slice(2),s="//")}var i=e.split(/[/\\]+/);return!1!==t&&""===i[i.length-1]&&i.pop(),s+i.join("/")}},"../../node_modules/picomatch/index.js":(e,t,r)=>{"use strict";e.exports=r("../../node_modules/picomatch/lib/picomatch.js")},"../../node_modules/picomatch/lib/constants.js":(e,t,r)=>{"use strict";const s=r("path"),n="\\\\/",i=`[^${n}]`,o="\\.",a="\\/",c="[^/]",l=`(?:${a}|$)`,h=`(?:^|${a})`,u=`${o}{1,2}${l}`,p={DOT_LITERAL:o,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:a,ONE_CHAR:"(?=.)",QMARK:c,END_ANCHOR:l,DOTS_SLASH:u,NO_DOT:`(?!${o})`,NO_DOTS:`(?!${h}${u})`,NO_DOT_SLASH:`(?!${o}{0,1}${l})`,NO_DOTS_SLASH:`(?!${u})`,QMARK_NO_DOT:`[^.${a}]`,STAR:`${c}*?`,START_ANCHOR:h},d={...p,SLASH_LITERAL:`[${n}]`,QMARK:i,STAR:`${i}*?`,DOTS_SLASH:`${o}{1,2}(?:[${n}]|$)`,NO_DOT:`(?!${o})`,NO_DOTS:`(?!(?:^|[${n}])${o}{1,2}(?:[${n}]|$))`,NO_DOT_SLASH:`(?!${o}{0,1}(?:[${n}]|$))`,NO_DOTS_SLASH:`(?!${o}{1,2}(?:[${n}]|$))`,QMARK_NO_DOT:`[^.${n}]`,START_ANCHOR:`(?:^|[${n}])`,END_ANCHOR:`(?:[${n}]|$)`};e.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:s.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?d:p}},"../../node_modules/picomatch/lib/parse.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/picomatch/lib/constants.js"),n=r("../../node_modules/picomatch/lib/utils.js"),{MAX_LENGTH:i,POSIX_REGEX_SOURCE:o,REGEX_NON_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_BACKREF:c,REPLACEMENTS:l}=s,h=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const r=`[${e.join("-")}]`;try{new RegExp(r)}catch(t){return e.map((e=>n.escapeRegex(e))).join("..")}return r},u=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,p=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=l[e]||e;const r={...t},d="number"==typeof r.maxLength?Math.min(i,r.maxLength):i;let f=e.length;if(f>d)throw new SyntaxError(`Input length: ${f}, exceeds maximum allowed length: ${d}`);const m={type:"bos",value:"",output:r.prepend||""},g=[m],y=r.capture?"":"?:",b=n.isWindows(t),v=s.globChars(b),x=s.extglobChars(v),{DOT_LITERAL:w,PLUS_LITERAL:E,SLASH_LITERAL:S,ONE_CHAR:_,DOTS_SLASH:T,NO_DOT:P,NO_DOT_SLASH:A,NO_DOTS_SLASH:C,QMARK:k,QMARK_NO_DOT:O,STAR:N,START_ANCHOR:I}=v,R=e=>`(${y}(?:(?!${I}${e.dot?T:w}).)*?)`,L=r.dot?"":P,M=r.dot?k:O;let D=!0===r.bash?R(r):N;r.capture&&(D=`(${D})`),"boolean"==typeof r.noext&&(r.noextglob=r.noext);const j={input:e,index:-1,start:0,dot:!0===r.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:g};e=n.removePrefix(e,j),f=e.length;const F=[],B=[],U=[];let q,$=m;const H=()=>j.index===f-1,V=j.peek=(t=1)=>e[j.index+t],W=j.advance=()=>e[++j.index]||"",G=()=>e.slice(j.index+1),z=(e="",t=0)=>{j.consumed+=e,j.index+=t},K=e=>{j.output+=null!=e.output?e.output:e.value,z(e.value)},Y=()=>{let e=1;for(;"!"===V()&&("("!==V(2)||"?"===V(3));)W(),j.start++,e++;return e%2!=0&&(j.negated=!0,j.start++,!0)},J=e=>{j[e]++,U.push(e)},X=e=>{j[e]--,U.pop()},Q=e=>{if("globstar"===$.type){const t=j.braces>0&&("comma"===e.type||"brace"===e.type),r=!0===e.extglob||F.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||r||(j.output=j.output.slice(0,-$.output.length),$.type="star",$.value="*",$.output=D,j.output+=$.output)}if(F.length&&"paren"!==e.type&&(F[F.length-1].inner+=e.value),(e.value||e.output)&&K(e),$&&"text"===$.type&&"text"===e.type)return $.value+=e.value,void($.output=($.output||"")+e.value);e.prev=$,g.push(e),$=e},Z=(e,t)=>{const s={...x[t],conditions:1,inner:""};s.prev=$,s.parens=j.parens,s.output=j.output;const n=(r.capture?"(":"")+s.open;J("parens"),Q({type:e,value:t,output:j.output?"":_}),Q({type:"paren",extglob:!0,value:W(),output:n}),F.push(s)},ee=e=>{let s,n=e.close+(r.capture?")":"");if("negate"===e.type){let i=D;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(i=R(r)),(i!==D||H()||/^\)+$/.test(G()))&&(n=e.close=`)$))${i}`),e.inner.includes("*")&&(s=G())&&/^\.[^\\/.]+$/.test(s)){const r=p(s,{...t,fastpaths:!1}).output;n=e.close=`)${r})${i})`}"bos"===e.prev.type&&(j.negatedExtglob=!0)}Q({type:"paren",extglob:!0,value:q,output:n}),X("parens")};if(!1!==r.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let s=!1,i=e.replace(c,((e,t,r,n,i,o)=>"\\"===n?(s=!0,e):"?"===n?t?t+n+(i?k.repeat(i.length):""):0===o?M+(i?k.repeat(i.length):""):k.repeat(r.length):"."===n?w.repeat(r.length):"*"===n?t?t+n+(i?D:""):D:t?e:`\\${e}`));return!0===s&&(i=!0===r.unescape?i.replace(/\\/g,""):i.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),i===e&&!0===r.contains?(j.output=e,j):(j.output=n.wrapOutput(i,j,t),j)}for(;!H();){if(q=W(),"\0"===q)continue;if("\\"===q){const e=V();if("/"===e&&!0!==r.bash)continue;if("."===e||";"===e)continue;if(!e){q+="\\",Q({type:"text",value:q});continue}const t=/^\\+/.exec(G());let s=0;if(t&&t[0].length>2&&(s=t[0].length,j.index+=s,s%2!=0&&(q+="\\")),!0===r.unescape?q=W():q+=W(),0===j.brackets){Q({type:"text",value:q});continue}}if(j.brackets>0&&("]"!==q||"["===$.value||"[^"===$.value)){if(!1!==r.posix&&":"===q){const e=$.value.slice(1);if(e.includes("[")&&($.posix=!0,e.includes(":"))){const e=$.value.lastIndexOf("["),t=$.value.slice(0,e),r=$.value.slice(e+2),s=o[r];if(s){$.value=t+s,j.backtrack=!0,W(),m.output||1!==g.indexOf($)||(m.output=_);continue}}}("["===q&&":"!==V()||"-"===q&&"]"===V())&&(q=`\\${q}`),"]"!==q||"["!==$.value&&"[^"!==$.value||(q=`\\${q}`),!0===r.posix&&"!"===q&&"["===$.value&&(q="^"),$.value+=q,K({value:q});continue}if(1===j.quotes&&'"'!==q){q=n.escapeRegex(q),$.value+=q,K({value:q});continue}if('"'===q){j.quotes=1===j.quotes?0:1,!0===r.keepQuotes&&Q({type:"text",value:q});continue}if("("===q){J("parens"),Q({type:"paren",value:q});continue}if(")"===q){if(0===j.parens&&!0===r.strictBrackets)throw new SyntaxError(u("opening","("));const e=F[F.length-1];if(e&&j.parens===e.parens+1){ee(F.pop());continue}Q({type:"paren",value:q,output:j.parens?")":"\\)"}),X("parens");continue}if("["===q){if(!0!==r.nobracket&&G().includes("]"))J("brackets");else{if(!0!==r.nobracket&&!0===r.strictBrackets)throw new SyntaxError(u("closing","]"));q=`\\${q}`}Q({type:"bracket",value:q});continue}if("]"===q){if(!0===r.nobracket||$&&"bracket"===$.type&&1===$.value.length){Q({type:"text",value:q,output:`\\${q}`});continue}if(0===j.brackets){if(!0===r.strictBrackets)throw new SyntaxError(u("opening","["));Q({type:"text",value:q,output:`\\${q}`});continue}X("brackets");const e=$.value.slice(1);if(!0===$.posix||"^"!==e[0]||e.includes("/")||(q=`/${q}`),$.value+=q,K({value:q}),!1===r.literalBrackets||n.hasRegexChars(e))continue;const t=n.escapeRegex($.value);if(j.output=j.output.slice(0,-$.value.length),!0===r.literalBrackets){j.output+=t,$.value=t;continue}$.value=`(${y}${t}|${$.value})`,j.output+=$.value;continue}if("{"===q&&!0!==r.nobrace){J("braces");const e={type:"brace",value:q,output:"(",outputIndex:j.output.length,tokensIndex:j.tokens.length};B.push(e),Q(e);continue}if("}"===q){const e=B[B.length-1];if(!0===r.nobrace||!e){Q({type:"text",value:q,output:q});continue}let t=")";if(!0===e.dots){const e=g.slice(),s=[];for(let t=e.length-1;t>=0&&(g.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&s.unshift(e[t].value);t=h(s,r),j.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const r=j.output.slice(0,e.outputIndex),s=j.tokens.slice(e.tokensIndex);e.value=e.output="\\{",q=t="\\}",j.output=r;for(const e of s)j.output+=e.output||e.value}Q({type:"brace",value:q,output:t}),X("braces"),B.pop();continue}if("|"===q){F.length>0&&F[F.length-1].conditions++,Q({type:"text",value:q});continue}if(","===q){let e=q;const t=B[B.length-1];t&&"braces"===U[U.length-1]&&(t.comma=!0,e="|"),Q({type:"comma",value:q,output:e});continue}if("/"===q){if("dot"===$.type&&j.index===j.start+1){j.start=j.index+1,j.consumed="",j.output="",g.pop(),$=m;continue}Q({type:"slash",value:q,output:S});continue}if("."===q){if(j.braces>0&&"dot"===$.type){"."===$.value&&($.output=w);const e=B[B.length-1];$.type="dots",$.output+=q,$.value+=q,e.dots=!0;continue}if(j.braces+j.parens===0&&"bos"!==$.type&&"slash"!==$.type){Q({type:"text",value:q,output:w});continue}Q({type:"dot",value:q,output:w});continue}if("?"===q){if((!$||"("!==$.value)&&!0!==r.noextglob&&"("===V()&&"?"!==V(2)){Z("qmark",q);continue}if($&&"paren"===$.type){const e=V();let t=q;if("<"===e&&!n.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===$.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(G()))&&(t=`\\${q}`),Q({type:"text",value:q,output:t});continue}if(!0!==r.dot&&("slash"===$.type||"bos"===$.type)){Q({type:"qmark",value:q,output:O});continue}Q({type:"qmark",value:q,output:k});continue}if("!"===q){if(!0!==r.noextglob&&"("===V()&&("?"!==V(2)||!/[!=<:]/.test(V(3)))){Z("negate",q);continue}if(!0!==r.nonegate&&0===j.index){Y();continue}}if("+"===q){if(!0!==r.noextglob&&"("===V()&&"?"!==V(2)){Z("plus",q);continue}if($&&"("===$.value||!1===r.regex){Q({type:"plus",value:q,output:E});continue}if($&&("bracket"===$.type||"paren"===$.type||"brace"===$.type)||j.parens>0){Q({type:"plus",value:q});continue}Q({type:"plus",value:E});continue}if("@"===q){if(!0!==r.noextglob&&"("===V()&&"?"!==V(2)){Q({type:"at",extglob:!0,value:q,output:""});continue}Q({type:"text",value:q});continue}if("*"!==q){"$"!==q&&"^"!==q||(q=`\\${q}`);const e=a.exec(G());e&&(q+=e[0],j.index+=e[0].length),Q({type:"text",value:q});continue}if($&&("globstar"===$.type||!0===$.star)){$.type="star",$.star=!0,$.value+=q,$.output=D,j.backtrack=!0,j.globstar=!0,z(q);continue}let t=G();if(!0!==r.noextglob&&/^\([^?]/.test(t)){Z("star",q);continue}if("star"===$.type){if(!0===r.noglobstar){z(q);continue}const s=$.prev,n=s.prev,i="slash"===s.type||"bos"===s.type,o=n&&("star"===n.type||"globstar"===n.type);if(!0===r.bash&&(!i||t[0]&&"/"!==t[0])){Q({type:"star",value:q,output:""});continue}const a=j.braces>0&&("comma"===s.type||"brace"===s.type),c=F.length&&("pipe"===s.type||"paren"===s.type);if(!i&&"paren"!==s.type&&!a&&!c){Q({type:"star",value:q,output:""});continue}for(;"/**"===t.slice(0,3);){const r=e[j.index+4];if(r&&"/"!==r)break;t=t.slice(3),z("/**",3)}if("bos"===s.type&&H()){$.type="globstar",$.value+=q,$.output=R(r),j.output=$.output,j.globstar=!0,z(q);continue}if("slash"===s.type&&"bos"!==s.prev.type&&!o&&H()){j.output=j.output.slice(0,-(s.output+$.output).length),s.output=`(?:${s.output}`,$.type="globstar",$.output=R(r)+(r.strictSlashes?")":"|$)"),$.value+=q,j.globstar=!0,j.output+=s.output+$.output,z(q);continue}if("slash"===s.type&&"bos"!==s.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";j.output=j.output.slice(0,-(s.output+$.output).length),s.output=`(?:${s.output}`,$.type="globstar",$.output=`${R(r)}${S}|${S}${e})`,$.value+=q,j.output+=s.output+$.output,j.globstar=!0,z(q+W()),Q({type:"slash",value:"/",output:""});continue}if("bos"===s.type&&"/"===t[0]){$.type="globstar",$.value+=q,$.output=`(?:^|${S}|${R(r)}${S})`,j.output=$.output,j.globstar=!0,z(q+W()),Q({type:"slash",value:"/",output:""});continue}j.output=j.output.slice(0,-$.output.length),$.type="globstar",$.output=R(r),$.value+=q,j.output+=$.output,j.globstar=!0,z(q);continue}const s={type:"star",value:q,output:D};!0!==r.bash?!$||"bracket"!==$.type&&"paren"!==$.type||!0!==r.regex?(j.index!==j.start&&"slash"!==$.type&&"dot"!==$.type||("dot"===$.type?(j.output+=A,$.output+=A):!0===r.dot?(j.output+=C,$.output+=C):(j.output+=L,$.output+=L),"*"!==V()&&(j.output+=_,$.output+=_)),Q(s)):(s.output=q,Q(s)):(s.output=".*?","bos"!==$.type&&"slash"!==$.type||(s.output=L+s.output),Q(s))}for(;j.brackets>0;){if(!0===r.strictBrackets)throw new SyntaxError(u("closing","]"));j.output=n.escapeLast(j.output,"["),X("brackets")}for(;j.parens>0;){if(!0===r.strictBrackets)throw new SyntaxError(u("closing",")"));j.output=n.escapeLast(j.output,"("),X("parens")}for(;j.braces>0;){if(!0===r.strictBrackets)throw new SyntaxError(u("closing","}"));j.output=n.escapeLast(j.output,"{"),X("braces")}if(!0===r.strictSlashes||"star"!==$.type&&"bracket"!==$.type||Q({type:"maybe_slash",value:"",output:`${S}?`}),!0===j.backtrack){j.output="";for(const e of j.tokens)j.output+=null!=e.output?e.output:e.value,e.suffix&&(j.output+=e.suffix)}return j};p.fastpaths=(e,t)=>{const r={...t},o="number"==typeof r.maxLength?Math.min(i,r.maxLength):i,a=e.length;if(a>o)throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${o}`);e=l[e]||e;const c=n.isWindows(t),{DOT_LITERAL:h,SLASH_LITERAL:u,ONE_CHAR:p,DOTS_SLASH:d,NO_DOT:f,NO_DOTS:m,NO_DOTS_SLASH:g,STAR:y,START_ANCHOR:b}=s.globChars(c),v=r.dot?m:f,x=r.dot?g:f,w=r.capture?"":"?:";let E=!0===r.bash?".*?":y;r.capture&&(E=`(${E})`);const S=e=>!0===e.noglobstar?E:`(${w}(?:(?!${b}${e.dot?d:h}).)*?)`,_=e=>{switch(e){case"*":return`${v}${p}${E}`;case".*":return`${h}${p}${E}`;case"*.*":return`${v}${E}${h}${p}${E}`;case"*/*":return`${v}${E}${u}${p}${x}${E}`;case"**":return v+S(r);case"**/*":return`(?:${v}${S(r)}${u})?${x}${p}${E}`;case"**/*.*":return`(?:${v}${S(r)}${u})?${x}${E}${h}${p}${E}`;case"**/.*":return`(?:${v}${S(r)}${u})?${h}${p}${E}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const r=_(t[1]);if(!r)return;return r+h+t[2]}}},T=n.removePrefix(e,{negated:!1,prefix:""});let P=_(T);return P&&!0!==r.strictSlashes&&(P+=`${u}?`),P},e.exports=p},"../../node_modules/picomatch/lib/picomatch.js":(e,t,r)=>{"use strict";const s=r("path"),n=r("../../node_modules/picomatch/lib/scan.js"),i=r("../../node_modules/picomatch/lib/parse.js"),o=r("../../node_modules/picomatch/lib/utils.js"),a=r("../../node_modules/picomatch/lib/constants.js"),c=(e,t,r=!1)=>{if(Array.isArray(e)){const s=e.map((e=>c(e,t,r))),n=e=>{for(const t of s){const r=t(e);if(r)return r}return!1};return n}const s=(n=e)&&"object"==typeof n&&!Array.isArray(n)&&e.tokens&&e.input;var n;if(""===e||"string"!=typeof e&&!s)throw new TypeError("Expected pattern to be a non-empty string");const i=t||{},a=o.isWindows(t),l=s?c.compileRe(e,t):c.makeRe(e,t,!1,!0),h=l.state;delete l.state;let u=()=>!1;if(i.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};u=c(i.ignore,e,r)}const p=(r,s=!1)=>{const{isMatch:n,match:o,output:p}=c.test(r,l,t,{glob:e,posix:a}),d={glob:e,state:h,regex:l,posix:a,input:r,output:p,match:o,isMatch:n};return"function"==typeof i.onResult&&i.onResult(d),!1===n?(d.isMatch=!1,!!s&&d):u(r)?("function"==typeof i.onIgnore&&i.onIgnore(d),d.isMatch=!1,!!s&&d):("function"==typeof i.onMatch&&i.onMatch(d),!s||d)};return r&&(p.state=h),p};c.test=(e,t,r,{glob:s,posix:n}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const i=r||{},a=i.format||(n?o.toPosixSlashes:null);let l=e===s,h=l&&a?a(e):e;return!1===l&&(h=a?a(e):e,l=h===s),!1!==l&&!0!==i.capture||(l=!0===i.matchBase||!0===i.basename?c.matchBase(e,t,r,n):t.exec(h)),{isMatch:Boolean(l),match:l,output:h}},c.matchBase=(e,t,r,n=o.isWindows(r))=>(t instanceof RegExp?t:c.makeRe(t,r)).test(s.basename(e)),c.isMatch=(e,t,r)=>c(t,r)(e),c.parse=(e,t)=>Array.isArray(e)?e.map((e=>c.parse(e,t))):i(e,{...t,fastpaths:!1}),c.scan=(e,t)=>n(e,t),c.compileRe=(e,t,r=!1,s=!1)=>{if(!0===r)return e.output;const n=t||{},i=n.contains?"":"^",o=n.contains?"":"$";let a=`${i}(?:${e.output})${o}`;e&&!0===e.negated&&(a=`^(?!${a}).*$`);const l=c.toRegex(a,t);return!0===s&&(l.state=e),l},c.makeRe=(e,t={},r=!1,s=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let n={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(n.output=i.fastpaths(e,t)),n.output||(n=i(e,t)),c.compileRe(n,t,r,s)},c.toRegex=(e,t)=>{try{const r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},c.constants=a,e.exports=c},"../../node_modules/picomatch/lib/scan.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/picomatch/lib/utils.js"),{CHAR_ASTERISK:n,CHAR_AT:i,CHAR_BACKWARD_SLASH:o,CHAR_COMMA:a,CHAR_DOT:c,CHAR_EXCLAMATION_MARK:l,CHAR_FORWARD_SLASH:h,CHAR_LEFT_CURLY_BRACE:u,CHAR_LEFT_PARENTHESES:p,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_PLUS:f,CHAR_QUESTION_MARK:m,CHAR_RIGHT_CURLY_BRACE:g,CHAR_RIGHT_PARENTHESES:y,CHAR_RIGHT_SQUARE_BRACKET:b}=r("../../node_modules/picomatch/lib/constants.js"),v=e=>e===h||e===o,x=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};e.exports=(e,t)=>{const r=t||{},w=e.length-1,E=!0===r.parts||!0===r.scanToEnd,S=[],_=[],T=[];let P,A,C=e,k=-1,O=0,N=0,I=!1,R=!1,L=!1,M=!1,D=!1,j=!1,F=!1,B=!1,U=!1,q=!1,$=0,H={value:"",depth:0,isGlob:!1};const V=()=>k>=w,W=()=>(P=A,C.charCodeAt(++k));for(;k<w;){let e;if(A=W(),A!==o){if(!0===j||A===u){for($++;!0!==V()&&(A=W());)if(A!==o)if(A!==u){if(!0!==j&&A===c&&(A=W())===c){if(I=H.isBrace=!0,L=H.isGlob=!0,q=!0,!0===E)continue;break}if(!0!==j&&A===a){if(I=H.isBrace=!0,L=H.isGlob=!0,q=!0,!0===E)continue;break}if(A===g&&($--,0===$)){j=!1,I=H.isBrace=!0,q=!0;break}}else $++;else F=H.backslashes=!0,W();if(!0===E)continue;break}if(A!==h){if(!0!==r.noext&&!0==(A===f||A===i||A===n||A===m||A===l)&&C.charCodeAt(k+1)===p){if(L=H.isGlob=!0,M=H.isExtglob=!0,q=!0,A===l&&k===O&&(U=!0),!0===E){for(;!0!==V()&&(A=W());)if(A!==o){if(A===y){L=H.isGlob=!0,q=!0;break}}else F=H.backslashes=!0,A=W();continue}break}if(A===n){if(P===n&&(D=H.isGlobstar=!0),L=H.isGlob=!0,q=!0,!0===E)continue;break}if(A===m){if(L=H.isGlob=!0,q=!0,!0===E)continue;break}if(A===d){for(;!0!==V()&&(e=W());)if(e!==o){if(e===b){R=H.isBracket=!0,L=H.isGlob=!0,q=!0;break}}else F=H.backslashes=!0,W();if(!0===E)continue;break}if(!0===r.nonegate||A!==l||k!==O){if(!0!==r.noparen&&A===p){if(L=H.isGlob=!0,!0===E){for(;!0!==V()&&(A=W());)if(A!==p){if(A===y){q=!0;break}}else F=H.backslashes=!0,A=W();continue}break}if(!0===L){if(q=!0,!0===E)continue;break}}else B=H.negated=!0,O++}else{if(S.push(k),_.push(H),H={value:"",depth:0,isGlob:!1},!0===q)continue;if(P===c&&k===O+1){O+=2;continue}N=k+1}}else F=H.backslashes=!0,A=W(),A===u&&(j=!0)}!0===r.noext&&(M=!1,L=!1);let G=C,z="",K="";O>0&&(z=C.slice(0,O),C=C.slice(O),N-=O),G&&!0===L&&N>0?(G=C.slice(0,N),K=C.slice(N)):!0===L?(G="",K=C):G=C,G&&""!==G&&"/"!==G&&G!==C&&v(G.charCodeAt(G.length-1))&&(G=G.slice(0,-1)),!0===r.unescape&&(K&&(K=s.removeBackslashes(K)),G&&!0===F&&(G=s.removeBackslashes(G)));const Y={prefix:z,input:e,start:O,base:G,glob:K,isBrace:I,isBracket:R,isGlob:L,isExtglob:M,isGlobstar:D,negated:B,negatedExtglob:U};if(!0===r.tokens&&(Y.maxDepth=0,v(A)||_.push(H),Y.tokens=_),!0===r.parts||!0===r.tokens){let t;for(let s=0;s<S.length;s++){const n=t?t+1:O,i=S[s],o=e.slice(n,i);r.tokens&&(0===s&&0!==O?(_[s].isPrefix=!0,_[s].value=z):_[s].value=o,x(_[s]),Y.maxDepth+=_[s].depth),0===s&&""===o||T.push(o),t=i}if(t&&t+1<e.length){const s=e.slice(t+1);T.push(s),r.tokens&&(_[_.length-1].value=s,x(_[_.length-1]),Y.maxDepth+=_[_.length-1].depth)}Y.slashes=S,Y.parts=T}return Y}},"../../node_modules/picomatch/lib/utils.js":(e,t,r)=>{"use strict";const s=r("path"),n="win32"===process.platform,{REGEX_BACKSLASH:i,REGEX_REMOVE_BACKSLASH:o,REGEX_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_GLOBAL:c}=r("../../node_modules/picomatch/lib/constants.js");t.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),t.hasRegexChars=e=>a.test(e),t.isRegexChar=e=>1===e.length&&t.hasRegexChars(e),t.escapeRegex=e=>e.replace(c,"\\$1"),t.toPosixSlashes=e=>e.replace(i,"/"),t.removeBackslashes=e=>e.replace(o,(e=>"\\"===e?"":e)),t.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},t.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===n||"\\"===s.sep,t.escapeLast=(e,r,s)=>{const n=e.lastIndexOf(r,s);return-1===n?e:"\\"===e[n-1]?t.escapeLast(e,r,n-1):`${e.slice(0,n)}\\${e.slice(n)}`},t.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r},t.wrapOutput=(e,t={},r={})=>{let s=`${r.contains?"":"^"}(?:${e})${r.contains?"":"$"}`;return!0===t.negated&&(s=`(?:^(?!${s}).*$)`),s}},"../../node_modules/readdirp/index.js":(e,t,r)=>{"use strict";const s=r("fs"),{Readable:n}=r("stream"),i=r("path"),{promisify:o}=r("util"),a=r("../../node_modules/picomatch/index.js"),c=o(s.readdir),l=o(s.stat),h=o(s.lstat),u=o(s.realpath),p="READDIRP_RECURSIVE_ERROR",d=new Set(["ENOENT","EPERM","EACCES","ELOOP",p]),f="files",m="directories",g="files_directories",y="all",b=[f,m,g,y],[v,x]=process.versions.node.split(".").slice(0,2).map((e=>Number.parseInt(e,10))),w="win32"===process.platform&&(v>10||10===v&&x>=5),E=e=>{if(void 0!==e){if("function"==typeof e)return e;if("string"==typeof e){const t=a(e.trim());return e=>t(e.basename)}if(Array.isArray(e)){const t=[],r=[];for(const s of e){const e=s.trim();"!"===e.charAt(0)?r.push(a(e.slice(1))):t.push(a(e))}return r.length>0?t.length>0?e=>t.some((t=>t(e.basename)))&&!r.some((t=>t(e.basename))):e=>!r.some((t=>t(e.basename))):e=>t.some((t=>t(e.basename)))}}};class S extends n{static get defaultOptions(){return{root:".",fileFilter:e=>!0,directoryFilter:e=>!0,type:f,lstat:!1,depth:2147483648,alwaysStat:!1}}constructor(e={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:e.highWaterMark||4096});const t={...S.defaultOptions,...e},{root:r,type:n}=t;this._fileFilter=E(t.fileFilter),this._directoryFilter=E(t.directoryFilter);const o=t.lstat?h:l;this._stat=w?e=>o(e,{bigint:!0}):o,this._maxDepth=t.depth,this._wantsDir=[m,g,y].includes(n),this._wantsFile=[f,g,y].includes(n),this._wantsEverything=n===y,this._root=i.resolve(r),this._isDirent="Dirent"in s&&!t.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(r,1)],this.reading=!1,this.parent=void 0}async _read(e){if(!this.reading){this.reading=!0;try{for(;!this.destroyed&&e>0;){const{path:t,depth:r,files:s=[]}=this.parent||{};if(s.length>0){const n=s.splice(0,e).map((e=>this._formatEntry(e,t)));for(const t of await Promise.all(n)){if(this.destroyed)return;const s=await this._getEntryType(t);"directory"===s&&this._directoryFilter(t)?(r<=this._maxDepth&&this.parents.push(this._exploreDir(t.fullPath,r+1)),this._wantsDir&&(this.push(t),e--)):("file"===s||this._includeAsFile(t))&&this._fileFilter(t)&&this._wantsFile&&(this.push(t),e--)}}else{const e=this.parents.pop();if(!e){this.push(null);break}if(this.parent=await e,this.destroyed)return}}}catch(e){this.destroy(e)}finally{this.reading=!1}}}async _exploreDir(e,t){let r;try{r=await c(e,this._rdOptions)}catch(e){this._onError(e)}return{files:r,depth:t,path:e}}async _formatEntry(e,t){let r;try{const s=this._isDirent?e.name:e,n=i.resolve(i.join(t,s));r={path:i.relative(this._root,n),fullPath:n,basename:s},r[this._statsProp]=this._isDirent?e:await this._stat(n)}catch(e){this._onError(e)}return r}_onError(e){var t;t=e,d.has(t.code)&&!this.destroyed?this.emit("warn",e):this.destroy(e)}async _getEntryType(e){const t=e&&e[this._statsProp];if(t){if(t.isFile())return"file";if(t.isDirectory())return"directory";if(t&&t.isSymbolicLink()){const t=e.fullPath;try{const e=await u(t),r=await h(e);if(r.isFile())return"file";if(r.isDirectory()){const r=e.length;if(t.startsWith(e)&&t.substr(r,1)===i.sep){const r=new Error(`Circular symlink detected: "${t}" points to "${e}"`);return r.code=p,this._onError(r)}return"directory"}}catch(e){this._onError(e)}}}}_includeAsFile(e){const t=e&&e[this._statsProp];return t&&this._wantsEverything&&!t.isDirectory()}}const _=(e,t={})=>{let r=t.entryType||t.type;if("both"===r&&(r=g),r&&(t.type=r),!e)throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");if("string"!=typeof e)throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");if(r&&!b.includes(r))throw new Error(`readdirp: Invalid type passed. Use one of ${b.join(", ")}`);return t.root=e,new S(t)};_.promise=(e,t={})=>new Promise(((r,s)=>{const n=[];_(e,t).on("data",(e=>n.push(e))).on("end",(()=>r(n))).on("error",(e=>s(e)))})),_.ReaddirpStream=S,_.default=_,e.exports=_},"../../node_modules/supports-color/index.js":(e,t,r)=>{"use strict";const s=r("os"),n=r("../../node_modules/has-flag/index.js"),i=process.env;let o;function a(e){const t=function(e){if(!1===o)return 0;if(n("color=16m")||n("color=full")||n("color=truecolor"))return 3;if(n("color=256"))return 2;if(e&&!e.isTTY&&!0!==o)return 0;const t=o?1:0;if("win32"===process.platform){const e=s.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in i))||"codeship"===i.CI_NAME?1:t;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if("truecolor"===i.COLORTERM)return 3;if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:(i.TERM,t)}(e);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(t)}n("no-color")||n("no-colors")||n("color=false")?o=!1:(n("color")||n("colors")||n("color=true")||n("color=always"))&&(o=!0),"FORCE_COLOR"in i&&(o=0===i.FORCE_COLOR.length||0!==parseInt(i.FORCE_COLOR,10)),e.exports={supportsColor:a,stdout:a(process.stdout),stderr:a(process.stderr)}},"../../node_modules/to-regex-range/index.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/is-number/index.js"),n=(e,t,r)=>{if(!1===s(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===s(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...r};"boolean"==typeof i.strictZeros&&(i.relaxZeros=!1===i.strictZeros);let c=e+":"+t+"="+String(i.relaxZeros)+String(i.shorthand)+String(i.capture)+String(i.wrap);if(n.cache.hasOwnProperty(c))return n.cache[c].result;let l=Math.min(e,t),h=Math.max(e,t);if(1===Math.abs(l-h)){let r=e+"|"+t;return i.capture?`(${r})`:!1===i.wrap?r:`(?:${r})`}let u=d(e)||d(t),p={min:e,max:t,a:l,b:h},f=[],m=[];return u&&(p.isPadded=u,p.maxLen=String(p.max).length),l<0&&(m=o(h<0?Math.abs(h):1,Math.abs(l),p,i),l=p.a=0),h>=0&&(f=o(l,h,p,i)),p.negatives=m,p.positives=f,p.result=function(e,t,r){let s=a(e,t,"-",!1)||[],n=a(t,e,"",!1)||[],i=a(e,t,"-?",!0)||[];return s.concat(i).concat(n).join("|")}(m,f),!0===i.capture?p.result=`(${p.result})`:!1!==i.wrap&&f.length+m.length>1&&(p.result=`(?:${p.result})`),n.cache[c]=p,p.result};function i(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let s=function(e,t){let r=[];for(let s=0;s<e.length;s++)r.push([e[s],t[s]]);return r}(e,t),n=s.length,i="",o=0;for(let e=0;e<n;e++){let[t,r]=s[e];t===r?i+=t:"0"!==t||"9"!==r?i+=`[${a=t}${(c=r)-a==1?"":"-"}${c}]`:o++}var a,c;return o&&(i+=!0===r.shorthand?"\\d":"[0-9]"),{pattern:i,count:[o],digits:n}}function o(e,t,r,s){let n,o=function(e,t){let r=1,s=1,n=h(e,r),i=new Set([t]);for(;e<=n&&n<=t;)i.add(n),r+=1,n=h(e,r);for(n=u(t+1,s)-1;e<n&&n<=t;)i.add(n),s+=1,n=u(t+1,s)-1;return i=[...i],i.sort(c),i}(e,t),a=[],l=e;for(let e=0;e<o.length;e++){let t=o[e],c=i(String(l),String(t),s),h="";r.isPadded||!n||n.pattern!==c.pattern?(r.isPadded&&(h=f(t,r,s)),c.string=h+c.pattern+p(c.count),a.push(c),l=t+1,n=c):(n.count.length>1&&n.count.pop(),n.count.push(c.count[0]),n.string=n.pattern+p(n.count),l=t+1)}return a}function a(e,t,r,s,n){let i=[];for(let n of e){let{string:e}=n;s||l(t,"string",e)||i.push(r+e),s&&l(t,"string",e)&&i.push(r+e)}return i}function c(e,t){return e>t?1:t>e?-1:0}function l(e,t,r){return e.some((e=>e[t]===r))}function h(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function u(e,t){return e-e%Math.pow(10,t)}function p(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function d(e){return/^-?(0+)\d/.test(e)}function f(e,t,r){if(!t.isPadded)return e;let s=Math.abs(t.maxLen-String(e).length),n=!1!==r.relaxZeros;switch(s){case 0:return"";case 1:return n?"0?":"0";case 2:return n?"0{0,2}":"00";default:return n?`0{0,${s}}`:`0{${s}}`}}n.cache={},n.clearCache=()=>n.cache={},e.exports=n},"../../node_modules/ws/lib/buffer-util.js":(e,t,r)=>{"use strict";const{EMPTY_BUFFER:s}=r("../../node_modules/ws/lib/constants.js");function n(e,t){if(0===e.length)return s;if(1===e.length)return e[0];const r=Buffer.allocUnsafe(t);let n=0;for(let t=0;t<e.length;t++){const s=e[t];r.set(s,n),n+=s.length}return n<t?r.slice(0,n):r}function i(e,t,r,s,n){for(let i=0;i<n;i++)r[s+i]=e[i]^t[3&i]}function o(e,t){for(let r=0;r<e.length;r++)e[r]^=t[3&r]}function a(e){return e.byteLength===e.buffer.byteLength?e.buffer:e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function c(e){if(c.readOnly=!0,Buffer.isBuffer(e))return e;let t;return e instanceof ArrayBuffer?t=Buffer.from(e):ArrayBuffer.isView(e)?t=Buffer.from(e.buffer,e.byteOffset,e.byteLength):(t=Buffer.from(e),c.readOnly=!1),t}try{const t=r("bufferutil");e.exports={concat:n,mask(e,r,s,n,o){o<48?i(e,r,s,n,o):t.mask(e,r,s,n,o)},toArrayBuffer:a,toBuffer:c,unmask(e,r){e.length<32?o(e,r):t.unmask(e,r)}}}catch(t){e.exports={concat:n,mask:i,toArrayBuffer:a,toBuffer:c,unmask:o}}},"../../node_modules/ws/lib/constants.js":e=>{"use strict";e.exports={BINARY_TYPES:["nodebuffer","arraybuffer","fragments"],EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}},"../../node_modules/ws/lib/event-target.js":(e,t,r)=>{"use strict";const{kForOnEventAttribute:s,kListener:n}=r("../../node_modules/ws/lib/constants.js"),i=Symbol("kCode"),o=Symbol("kData"),a=Symbol("kError"),c=Symbol("kMessage"),l=Symbol("kReason"),h=Symbol("kTarget"),u=Symbol("kType"),p=Symbol("kWasClean");class d{constructor(e){this[h]=null,this[u]=e}get target(){return this[h]}get type(){return this[u]}}Object.defineProperty(d.prototype,"target",{enumerable:!0}),Object.defineProperty(d.prototype,"type",{enumerable:!0});class f extends d{constructor(e,t={}){super(e),this[i]=void 0===t.code?0:t.code,this[l]=void 0===t.reason?"":t.reason,this[p]=void 0!==t.wasClean&&t.wasClean}get code(){return this[i]}get reason(){return this[l]}get wasClean(){return this[p]}}Object.defineProperty(f.prototype,"code",{enumerable:!0}),Object.defineProperty(f.prototype,"reason",{enumerable:!0}),Object.defineProperty(f.prototype,"wasClean",{enumerable:!0});class m extends d{constructor(e,t={}){super(e),this[a]=void 0===t.error?null:t.error,this[c]=void 0===t.message?"":t.message}get error(){return this[a]}get message(){return this[c]}}Object.defineProperty(m.prototype,"error",{enumerable:!0}),Object.defineProperty(m.prototype,"message",{enumerable:!0});class g extends d{constructor(e,t={}){super(e),this[o]=void 0===t.data?null:t.data}get data(){return this[o]}}Object.defineProperty(g.prototype,"data",{enumerable:!0});const y={addEventListener(e,t,r={}){let i;if("message"===e)i=function(e,r){const s=new g("message",{data:r?e:e.toString()});s[h]=this,t.call(this,s)};else if("close"===e)i=function(e,r){const s=new f("close",{code:e,reason:r.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});s[h]=this,t.call(this,s)};else if("error"===e)i=function(e){const r=new m("error",{error:e,message:e.message});r[h]=this,t.call(this,r)};else{if("open"!==e)return;i=function(){const e=new d("open");e[h]=this,t.call(this,e)}}i[s]=!!r[s],i[n]=t,r.once?this.once(e,i):this.on(e,i)},removeEventListener(e,t){for(const r of this.listeners(e))if(r[n]===t&&!r[s]){this.removeListener(e,r);break}}};e.exports={CloseEvent:f,ErrorEvent:m,Event:d,EventTarget:y,MessageEvent:g}},"../../node_modules/ws/lib/extension.js":(e,t,r)=>{"use strict";const{tokenChars:s}=r("../../node_modules/ws/lib/validation.js");function n(e,t,r){void 0===e[t]?e[t]=[r]:e[t].push(r)}e.exports={format:function(e){return Object.keys(e).map((t=>{let r=e[t];return Array.isArray(r)||(r=[r]),r.map((e=>[t].concat(Object.keys(e).map((t=>{let r=e[t];return Array.isArray(r)||(r=[r]),r.map((e=>!0===e?t:`${t}=${e}`)).join("; ")}))).join("; "))).join(", ")})).join(", ")},parse:function(e){const t=Object.create(null);let r,i,o=Object.create(null),a=!1,c=!1,l=!1,h=-1,u=-1,p=-1,d=0;for(;d<e.length;d++)if(u=e.charCodeAt(d),void 0===r)if(-1===p&&1===s[u])-1===h&&(h=d);else if(0===d||32!==u&&9!==u){if(59!==u&&44!==u)throw new SyntaxError(`Unexpected character at index ${d}`);{if(-1===h)throw new SyntaxError(`Unexpected character at index ${d}`);-1===p&&(p=d);const s=e.slice(h,p);44===u?(n(t,s,o),o=Object.create(null)):r=s,h=p=-1}}else-1===p&&-1!==h&&(p=d);else if(void 0===i)if(-1===p&&1===s[u])-1===h&&(h=d);else if(32===u||9===u)-1===p&&-1!==h&&(p=d);else if(59===u||44===u){if(-1===h)throw new SyntaxError(`Unexpected character at index ${d}`);-1===p&&(p=d),n(o,e.slice(h,p),!0),44===u&&(n(t,r,o),o=Object.create(null),r=void 0),h=p=-1}else{if(61!==u||-1===h||-1!==p)throw new SyntaxError(`Unexpected character at index ${d}`);i=e.slice(h,d),h=p=-1}else if(c){if(1!==s[u])throw new SyntaxError(`Unexpected character at index ${d}`);-1===h?h=d:a||(a=!0),c=!1}else if(l)if(1===s[u])-1===h&&(h=d);else if(34===u&&-1!==h)l=!1,p=d;else{if(92!==u)throw new SyntaxError(`Unexpected character at index ${d}`);c=!0}else if(34===u&&61===e.charCodeAt(d-1))l=!0;else if(-1===p&&1===s[u])-1===h&&(h=d);else if(-1===h||32!==u&&9!==u){if(59!==u&&44!==u)throw new SyntaxError(`Unexpected character at index ${d}`);{if(-1===h)throw new SyntaxError(`Unexpected character at index ${d}`);-1===p&&(p=d);let s=e.slice(h,p);a&&(s=s.replace(/\\/g,""),a=!1),n(o,i,s),44===u&&(n(t,r,o),o=Object.create(null),r=void 0),i=void 0,h=p=-1}}else-1===p&&(p=d);if(-1===h||l||32===u||9===u)throw new SyntaxError("Unexpected end of input");-1===p&&(p=d);const f=e.slice(h,p);return void 0===r?n(t,f,o):(void 0===i?n(o,f,!0):n(o,i,a?f.replace(/\\/g,""):f),n(t,r,o)),t}}},"../../node_modules/ws/lib/limiter.js":e=>{"use strict";const t=Symbol("kDone"),r=Symbol("kRun");e.exports=class{constructor(e){this[t]=()=>{this.pending--,this[r]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[r]()}[r](){if(this.pending!==this.concurrency&&this.jobs.length){const e=this.jobs.shift();this.pending++,e(this[t])}}}},"../../node_modules/ws/lib/permessage-deflate.js":(e,t,r)=>{"use strict";const s=r("zlib"),n=r("../../node_modules/ws/lib/buffer-util.js"),i=r("../../node_modules/ws/lib/limiter.js"),{kStatusCode:o}=r("../../node_modules/ws/lib/constants.js"),a=Buffer.from([0,0,255,255]),c=Symbol("permessage-deflate"),l=Symbol("total-length"),h=Symbol("callback"),u=Symbol("buffers"),p=Symbol("error");let d;function f(e){this[u].push(e),this[l]+=e.length}function m(e){this[l]+=e.length,this[c]._maxPayload<1||this[l]<=this[c]._maxPayload?this[u].push(e):(this[p]=new RangeError("Max payload size exceeded"),this[p].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[p][o]=1009,this.removeListener("data",m),this.reset())}function g(e){this[c]._inflate=null,e[o]=1007,this[h](e)}e.exports=class{constructor(e,t,r){if(this._maxPayload=0|r,this._options=e||{},this._threshold=void 0!==this._options.threshold?this._options.threshold:1024,this._isServer=!!t,this._deflate=null,this._inflate=null,this.params=null,!d){const e=void 0!==this._options.concurrencyLimit?this._options.concurrencyLimit:10;d=new i(e)}}static get extensionName(){return"permessage-deflate"}offer(){const e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:null==this._options.clientMaxWindowBits&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){const e=this._deflate[h];this._deflate.close(),this._deflate=null,e&&e(new Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){const t=this._options,r=e.find((e=>!(!1===t.serverNoContextTakeover&&e.server_no_context_takeover||e.server_max_window_bits&&(!1===t.serverMaxWindowBits||"number"==typeof t.serverMaxWindowBits&&t.serverMaxWindowBits>e.server_max_window_bits)||"number"==typeof t.clientMaxWindowBits&&!e.client_max_window_bits)));if(!r)throw new Error("None of the extension offers can be accepted");return t.serverNoContextTakeover&&(r.server_no_context_takeover=!0),t.clientNoContextTakeover&&(r.client_no_context_takeover=!0),"number"==typeof t.serverMaxWindowBits&&(r.server_max_window_bits=t.serverMaxWindowBits),"number"==typeof t.clientMaxWindowBits?r.client_max_window_bits=t.clientMaxWindowBits:!0!==r.client_max_window_bits&&!1!==t.clientMaxWindowBits||delete r.client_max_window_bits,r}acceptAsClient(e){const t=e[0];if(!1===this._options.clientNoContextTakeover&&t.client_no_context_takeover)throw new Error('Unexpected parameter "client_no_context_takeover"');if(t.client_max_window_bits){if(!1===this._options.clientMaxWindowBits||"number"==typeof this._options.clientMaxWindowBits&&t.client_max_window_bits>this._options.clientMaxWindowBits)throw new Error('Unexpected or invalid parameter "client_max_window_bits"')}else"number"==typeof this._options.clientMaxWindowBits&&(t.client_max_window_bits=this._options.clientMaxWindowBits);return t}normalizeParams(e){return e.forEach((e=>{Object.keys(e).forEach((t=>{let r=e[t];if(r.length>1)throw new Error(`Parameter "${t}" must have only a single value`);if(r=r[0],"client_max_window_bits"===t){if(!0!==r){const e=+r;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${t}": ${r}`);r=e}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${t}": ${r}`)}else if("server_max_window_bits"===t){const e=+r;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${t}": ${r}`);r=e}else{if("client_no_context_takeover"!==t&&"server_no_context_takeover"!==t)throw new Error(`Unknown parameter "${t}"`);if(!0!==r)throw new TypeError(`Invalid value for parameter "${t}": ${r}`)}e[t]=r}))})),e}decompress(e,t,r){d.add((s=>{this._decompress(e,t,((e,t)=>{s(),r(e,t)}))}))}compress(e,t,r){d.add((s=>{this._compress(e,t,((e,t)=>{s(),r(e,t)}))}))}_decompress(e,t,r){const i=this._isServer?"client":"server";if(!this._inflate){const e=`${i}_max_window_bits`,t="number"!=typeof this.params[e]?s.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=s.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t}),this._inflate[c]=this,this._inflate[l]=0,this._inflate[u]=[],this._inflate.on("error",g),this._inflate.on("data",m)}this._inflate[h]=r,this._inflate.write(e),t&&this._inflate.write(a),this._inflate.flush((()=>{const e=this._inflate[p];if(e)return this._inflate.close(),this._inflate=null,void r(e);const s=n.concat(this._inflate[u],this._inflate[l]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[l]=0,this._inflate[u]=[],t&&this.params[`${i}_no_context_takeover`]&&this._inflate.reset()),r(null,s)}))}_compress(e,t,r){const i=this._isServer?"server":"client";if(!this._deflate){const e=`${i}_max_window_bits`,t="number"!=typeof this.params[e]?s.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=s.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t}),this._deflate[l]=0,this._deflate[u]=[],this._deflate.on("data",f)}this._deflate[h]=r,this._deflate.write(e),this._deflate.flush(s.Z_SYNC_FLUSH,(()=>{if(!this._deflate)return;let e=n.concat(this._deflate[u],this._deflate[l]);t&&(e=e.slice(0,e.length-4)),this._deflate[h]=null,this._deflate[l]=0,this._deflate[u]=[],t&&this.params[`${i}_no_context_takeover`]&&this._deflate.reset(),r(null,e)}))}}},"../../node_modules/ws/lib/receiver.js":(e,t,r)=>{"use strict";const{Writable:s}=r("stream"),n=r("../../node_modules/ws/lib/permessage-deflate.js"),{BINARY_TYPES:i,EMPTY_BUFFER:o,kStatusCode:a,kWebSocket:c}=r("../../node_modules/ws/lib/constants.js"),{concat:l,toArrayBuffer:h,unmask:u}=r("../../node_modules/ws/lib/buffer-util.js"),{isValidStatusCode:p,isValidUTF8:d}=r("../../node_modules/ws/lib/validation.js");function f(e,t,r,s,n){const i=new e(r?`Invalid WebSocket frame: ${t}`:t);return Error.captureStackTrace(i,f),i.code=n,i[a]=s,i}e.exports=class extends s{constructor(e={}){super(),this._binaryType=e.binaryType||i[0],this._extensions=e.extensions||{},this._isServer=!!e.isServer,this._maxPayload=0|e.maxPayload,this._skipUTF8Validation=!!e.skipUTF8Validation,this[c]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._state=0,this._loop=!1}_write(e,t,r){if(8===this._opcode&&0==this._state)return r();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(r)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){const t=this._buffers[0];return this._buffers[0]=t.slice(e),t.slice(0,e)}const t=Buffer.allocUnsafe(e);do{const r=this._buffers[0],s=t.length-e;e>=r.length?t.set(this._buffers.shift(),s):(t.set(new Uint8Array(r.buffer,r.byteOffset,e),s),this._buffers[0]=r.slice(e)),e-=r.length}while(e>0);return t}startLoop(e){let t;this._loop=!0;do{switch(this._state){case 0:t=this.getInfo();break;case 1:t=this.getPayloadLength16();break;case 2:t=this.getPayloadLength64();break;case 3:this.getMask();break;case 4:t=this.getData(e);break;default:return void(this._loop=!1)}}while(this._loop);e(t)}getInfo(){if(this._bufferedBytes<2)return void(this._loop=!1);const e=this.consume(2);if(0!=(48&e[0]))return this._loop=!1,f(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");const t=64==(64&e[0]);if(t&&!this._extensions[n.extensionName])return this._loop=!1,f(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._fin=128==(128&e[0]),this._opcode=15&e[0],this._payloadLength=127&e[1],0===this._opcode){if(t)return this._loop=!1,f(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(!this._fragmented)return this._loop=!1,f(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");this._opcode=this._fragmented}else if(1===this._opcode||2===this._opcode){if(this._fragmented)return this._loop=!1,f(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");this._compressed=t}else{if(!(this._opcode>7&&this._opcode<11))return this._loop=!1,f(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");if(!this._fin)return this._loop=!1,f(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");if(t)return this._loop=!1,f(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._payloadLength>125)return this._loop=!1,f(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH")}if(this._fin||this._fragmented||(this._fragmented=this._opcode),this._masked=128==(128&e[1]),this._isServer){if(!this._masked)return this._loop=!1,f(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK")}else if(this._masked)return this._loop=!1,f(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");if(126===this._payloadLength)this._state=1;else{if(127!==this._payloadLength)return this.haveLength();this._state=2}}getPayloadLength16(){if(!(this._bufferedBytes<2))return this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength();this._loop=!1}getPayloadLength64(){if(this._bufferedBytes<8)return void(this._loop=!1);const e=this.consume(8),t=e.readUInt32BE(0);return t>Math.pow(2,21)-1?(this._loop=!1,f(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH")):(this._payloadLength=t*Math.pow(2,32)+e.readUInt32BE(4),this.haveLength())}haveLength(){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0))return this._loop=!1,f(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");this._masked?this._state=3:this._state=4}getMask(){this._bufferedBytes<4?this._loop=!1:(this._mask=this.consume(4),this._state=4)}getData(e){let t=o;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength)return void(this._loop=!1);t=this.consume(this._payloadLength),this._masked&&u(t,this._mask)}return this._opcode>7?this.controlMessage(t):this._compressed?(this._state=5,void this.decompress(t,e)):(t.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(t)),this.dataMessage())}decompress(e,t){this._extensions[n.extensionName].decompress(e,this._fin,((e,r)=>{if(e)return t(e);if(r.length){if(this._messageLength+=r.length,this._messageLength>this._maxPayload&&this._maxPayload>0)return t(f(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));this._fragments.push(r)}const s=this.dataMessage();if(s)return t(s);this.startLoop(t)}))}dataMessage(){if(this._fin){const e=this._messageLength,t=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],2===this._opcode){let r;r="nodebuffer"===this._binaryType?l(t,e):"arraybuffer"===this._binaryType?h(l(t,e)):t,this.emit("message",r,!0)}else{const r=l(t,e);if(!this._skipUTF8Validation&&!d(r))return this._loop=!1,f(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("message",r,!1)}}this._state=0}controlMessage(e){if(8===this._opcode)if(this._loop=!1,0===e.length)this.emit("conclude",1005,o),this.end();else{if(1===e.length)return f(RangeError,"invalid payload length 1",!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");{const t=e.readUInt16BE(0);if(!p(t))return f(RangeError,`invalid status code ${t}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");const r=e.slice(2);if(!this._skipUTF8Validation&&!d(r))return f(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("conclude",t,r),this.end()}}else 9===this._opcode?this.emit("ping",e):this.emit("pong",e);this._state=0}}},"../../node_modules/ws/lib/sender.js":(e,t,r)=>{"use strict";r("net"),r("tls");const{randomFillSync:s}=r("crypto"),n=r("../../node_modules/ws/lib/permessage-deflate.js"),{EMPTY_BUFFER:i}=r("../../node_modules/ws/lib/constants.js"),{isValidStatusCode:o}=r("../../node_modules/ws/lib/validation.js"),{mask:a,toBuffer:c}=r("../../node_modules/ws/lib/buffer-util.js"),l=Buffer.alloc(4);class h{constructor(e,t){this._extensions=t||{},this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._deflating=!1,this._queue=[]}static frame(e,t){const r=t.mask&&t.readOnly;let n=t.mask?6:2,i=e.length;e.length>=65536?(n+=8,i=127):e.length>125&&(n+=2,i=126);const o=Buffer.allocUnsafe(r?e.length+n:n);return o[0]=t.fin?128|t.opcode:t.opcode,t.rsv1&&(o[0]|=64),o[1]=i,126===i?o.writeUInt16BE(e.length,2):127===i&&(o.writeUInt32BE(0,2),o.writeUInt32BE(e.length,6)),t.mask?(s(l,0,4),o[1]|=128,o[n-4]=l[0],o[n-3]=l[1],o[n-2]=l[2],o[n-1]=l[3],r?(a(e,l,o,n,e.length),[o]):(a(e,l,e,0,e.length),[o,e])):[o,e]}close(e,t,r,s){let n;if(void 0===e)n=i;else{if("number"!=typeof e||!o(e))throw new TypeError("First argument must be a valid error code number");if(void 0!==t&&t.length){const r=Buffer.byteLength(t);if(r>123)throw new RangeError("The message must not be greater than 123 bytes");n=Buffer.allocUnsafe(2+r),n.writeUInt16BE(e,0),"string"==typeof t?n.write(t,2):n.set(t,2)}else n=Buffer.allocUnsafe(2),n.writeUInt16BE(e,0)}this._deflating?this.enqueue([this.doClose,n,r,s]):this.doClose(n,r,s)}doClose(e,t,r){this.sendFrame(h.frame(e,{fin:!0,rsv1:!1,opcode:8,mask:t,readOnly:!1}),r)}ping(e,t,r){const s=c(e);if(s.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPing,s,t,c.readOnly,r]):this.doPing(s,t,c.readOnly,r)}doPing(e,t,r,s){this.sendFrame(h.frame(e,{fin:!0,rsv1:!1,opcode:9,mask:t,readOnly:r}),s)}pong(e,t,r){const s=c(e);if(s.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPong,s,t,c.readOnly,r]):this.doPong(s,t,c.readOnly,r)}doPong(e,t,r,s){this.sendFrame(h.frame(e,{fin:!0,rsv1:!1,opcode:10,mask:t,readOnly:r}),s)}send(e,t,r){const s=c(e),i=this._extensions[n.extensionName];let o=t.binary?2:1,a=t.compress;if(this._firstFragment?(this._firstFragment=!1,a&&i&&i.params[i._isServer?"server_no_context_takeover":"client_no_context_takeover"]&&(a=s.length>=i._threshold),this._compress=a):(a=!1,o=0),t.fin&&(this._firstFragment=!0),i){const e={fin:t.fin,rsv1:a,opcode:o,mask:t.mask,readOnly:c.readOnly};this._deflating?this.enqueue([this.dispatch,s,this._compress,e,r]):this.dispatch(s,this._compress,e,r)}else this.sendFrame(h.frame(s,{fin:t.fin,rsv1:!1,opcode:o,mask:t.mask,readOnly:c.readOnly}),r)}dispatch(e,t,r,s){if(!t)return void this.sendFrame(h.frame(e,r),s);const i=this._extensions[n.extensionName];this._bufferedBytes+=e.length,this._deflating=!0,i.compress(e,r.fin,((t,n)=>{if(this._socket.destroyed){const e=new Error("The socket was closed while data was being compressed");"function"==typeof s&&s(e);for(let t=0;t<this._queue.length;t++){const r=this._queue[t][4];"function"==typeof r&&r(e)}}else this._bufferedBytes-=e.length,this._deflating=!1,r.readOnly=!1,this.sendFrame(h.frame(n,r),s),this.dequeue()}))}dequeue(){for(;!this._deflating&&this._queue.length;){const e=this._queue.shift();this._bufferedBytes-=e[1].length,Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[1].length,this._queue.push(e)}sendFrame(e,t){2===e.length?(this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],t),this._socket.uncork()):this._socket.write(e[0],t)}}e.exports=h},"../../node_modules/ws/lib/stream.js":(e,t,r)=>{"use strict";const{Duplex:s}=r("stream");function n(e){e.emit("close")}function i(){!this.destroyed&&this._writableState.finished&&this.destroy()}function o(e){this.removeListener("error",o),this.destroy(),0===this.listenerCount("error")&&this.emit("error",e)}e.exports=function(e,t){let r=!0,a=!0;function c(){r&&e._socket.resume()}e.readyState===e.CONNECTING?e.once("open",(function(){e._receiver.removeAllListeners("drain"),e._receiver.on("drain",c)})):(e._receiver.removeAllListeners("drain"),e._receiver.on("drain",c));const l=new s({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",(function(t,s){const n=!s&&l._readableState.objectMode?t.toString():t;l.push(n)||(r=!1,e._socket.pause())})),e.once("error",(function(e){l.destroyed||(a=!1,l.destroy(e))})),e.once("close",(function(){l.destroyed||l.push(null)})),l._destroy=function(t,r){if(e.readyState===e.CLOSED)return r(t),void process.nextTick(n,l);let s=!1;e.once("error",(function(e){s=!0,r(e)})),e.once("close",(function(){s||r(t),process.nextTick(n,l)})),a&&e.terminate()},l._final=function(t){e.readyState!==e.CONNECTING?null!==e._socket&&(e._socket._writableState.finished?(t(),l._readableState.endEmitted&&l.destroy()):(e._socket.once("finish",(function(){t()})),e.close())):e.once("open",(function(){l._final(t)}))},l._read=function(){e.readyState!==e.OPEN||r||(r=!0,e._receiver._writableState.needDrain||e._socket.resume())},l._write=function(t,r,s){e.readyState!==e.CONNECTING?e.send(t,s):e.once("open",(function(){l._write(t,r,s)}))},l.on("end",i),l.on("error",o),l}},"../../node_modules/ws/lib/subprotocol.js":(e,t,r)=>{"use strict";const{tokenChars:s}=r("../../node_modules/ws/lib/validation.js");e.exports={parse:function(e){const t=new Set;let r=-1,n=-1,i=0;for(;i<e.length;i++){const o=e.charCodeAt(i);if(-1===n&&1===s[o])-1===r&&(r=i);else if(0===i||32!==o&&9!==o){if(44!==o)throw new SyntaxError(`Unexpected character at index ${i}`);{if(-1===r)throw new SyntaxError(`Unexpected character at index ${i}`);-1===n&&(n=i);const s=e.slice(r,n);if(t.has(s))throw new SyntaxError(`The "${s}" subprotocol is duplicated`);t.add(s),r=n=-1}}else-1===n&&-1!==r&&(n=i)}if(-1===r||-1!==n)throw new SyntaxError("Unexpected end of input");const o=e.slice(r,i);if(t.has(o))throw new SyntaxError(`The "${o}" subprotocol is duplicated`);return t.add(o),t}}},"../../node_modules/ws/lib/validation.js":(e,t,r)=>{"use strict";const s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function n(e){return e>=1e3&&e<=1014&&1004!==e&&1005!==e&&1006!==e||e>=3e3&&e<=4999}function i(e){const t=e.length;let r=0;for(;r<t;)if(0==(128&e[r]))r++;else if(192==(224&e[r])){if(r+1===t||128!=(192&e[r+1])||192==(254&e[r]))return!1;r+=2}else if(224==(240&e[r])){if(r+2>=t||128!=(192&e[r+1])||128!=(192&e[r+2])||224===e[r]&&128==(224&e[r+1])||237===e[r]&&160==(224&e[r+1]))return!1;r+=3}else{if(240!=(248&e[r]))return!1;if(r+3>=t||128!=(192&e[r+1])||128!=(192&e[r+2])||128!=(192&e[r+3])||240===e[r]&&128==(240&e[r+1])||244===e[r]&&e[r+1]>143||e[r]>244)return!1;r+=4}return!0}try{const t=r("utf-8-validate");e.exports={isValidStatusCode:n,isValidUTF8:e=>e.length<150?i(e):t(e),tokenChars:s}}catch(t){e.exports={isValidStatusCode:n,isValidUTF8:i,tokenChars:s}}},"../../node_modules/ws/lib/websocket-server.js":(e,t,r)=>{"use strict";const s=r("events"),n=r("http"),{createHash:i}=(r("https"),r("net"),r("tls"),r("crypto")),o=r("../../node_modules/ws/lib/extension.js"),a=r("../../node_modules/ws/lib/permessage-deflate.js"),c=r("../../node_modules/ws/lib/subprotocol.js"),l=r("../../node_modules/ws/lib/websocket.js"),{GUID:h,kWebSocket:u}=r("../../node_modules/ws/lib/constants.js"),p=/^[+/0-9A-Za-z]{22}==$/;function d(e){e._state=2,e.emit("close")}function f(){this.destroy()}function m(e,t,r,s){e.writable&&(r=r||n.STATUS_CODES[t],s={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(r),...s},e.write(`HTTP/1.1 ${t} ${n.STATUS_CODES[t]}\r\n`+Object.keys(s).map((e=>`${e}: ${s[e]}`)).join("\r\n")+"\r\n\r\n"+r)),e.removeListener("error",f),e.destroy()}e.exports=class extends s{constructor(e,t){if(super(),null==(e={maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,...e}).port&&!e.server&&!e.noServer||null!=e.port&&(e.server||e.noServer)||e.server&&e.noServer)throw new TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(null!=e.port?(this._server=n.createServer(((e,t)=>{const r=n.STATUS_CODES[426];t.writeHead(426,{"Content-Length":r.length,"Content-Type":"text/plain"}),t.end(r)})),this._server.listen(e.port,e.host,e.backlog,t)):e.server&&(this._server=e.server),this._server){const e=this.emit.bind(this,"connection");this._removeListeners=function(e,t){for(const r of Object.keys(t))e.on(r,t[r]);return function(){for(const r of Object.keys(t))e.removeListener(r,t[r])}}(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(t,r,s)=>{this.handleUpgrade(t,r,s,e)}})}!0===e.perMessageDeflate&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set,this._shouldEmitClose=!1),this.options=e,this._state=0}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(2===this._state)return e&&this.once("close",(()=>{e(new Error("The server is not running"))})),void process.nextTick(d,this);if(e&&this.once("close",e),1!==this._state)if(this._state=1,this.options.noServer||this.options.server)this._server&&(this._removeListeners(),this._removeListeners=this._server=null),this.clients&&this.clients.size?this._shouldEmitClose=!0:process.nextTick(d,this);else{const e=this._server;this._removeListeners(),this._removeListeners=this._server=null,e.close((()=>{d(this)}))}}shouldHandle(e){if(this.options.path){const t=e.url.indexOf("?");if((-1!==t?e.url.slice(0,t):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,t,r,s){t.on("error",f);const n=void 0!==e.headers["sec-websocket-key"]&&e.headers["sec-websocket-key"],i=+e.headers["sec-websocket-version"];if("GET"!==e.method||"websocket"!==e.headers.upgrade.toLowerCase()||!n||!p.test(n)||8!==i&&13!==i||!this.shouldHandle(e))return m(t,400);const l=e.headers["sec-websocket-protocol"];let h=new Set;if(void 0!==l)try{h=c.parse(l)}catch(e){return m(t,400)}const u=e.headers["sec-websocket-extensions"],d={};if(this.options.perMessageDeflate&&void 0!==u){const e=new a(this.options.perMessageDeflate,!0,this.options.maxPayload);try{const t=o.parse(u);t[a.extensionName]&&(e.accept(t[a.extensionName]),d[a.extensionName]=e)}catch(e){return m(t,400)}}if(this.options.verifyClient){const o={origin:e.headers[8===i?"sec-websocket-origin":"origin"],secure:!(!e.socket.authorized&&!e.socket.encrypted),req:e};if(2===this.options.verifyClient.length)return void this.options.verifyClient(o,((i,o,a,c)=>{if(!i)return m(t,o||401,a,c);this.completeUpgrade(d,n,h,e,t,r,s)}));if(!this.options.verifyClient(o))return m(t,401)}this.completeUpgrade(d,n,h,e,t,r,s)}completeUpgrade(e,t,r,s,n,c,p){if(!n.readable||!n.writable)return n.destroy();if(n[u])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return m(n,503);const g=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${i("sha1").update(t+h).digest("base64")}`],y=new l(null);if(r.size){const e=this.options.handleProtocols?this.options.handleProtocols(r,s):r.values().next().value;e&&(g.push(`Sec-WebSocket-Protocol: ${e}`),y._protocol=e)}if(e[a.extensionName]){const t=e[a.extensionName].params,r=o.format({[a.extensionName]:[t]});g.push(`Sec-WebSocket-Extensions: ${r}`),y._extensions=e}this.emit("headers",g,s),n.write(g.concat("\r\n").join("\r\n")),n.removeListener("error",f),y.setSocket(n,c,{maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients&&(this.clients.add(y),y.on("close",(()=>{this.clients.delete(y),this._shouldEmitClose&&!this.clients.size&&process.nextTick(d,this)}))),p(y,s)}}},"../../node_modules/ws/lib/websocket.js":(e,t,r)=>{"use strict";const s=r("events"),n=r("https"),i=r("http"),o=r("net"),a=r("tls"),{randomBytes:c,createHash:l}=r("crypto"),{Readable:h}=r("stream"),{URL:u}=r("url"),p=r("../../node_modules/ws/lib/permessage-deflate.js"),d=r("../../node_modules/ws/lib/receiver.js"),f=r("../../node_modules/ws/lib/sender.js"),{BINARY_TYPES:m,EMPTY_BUFFER:g,GUID:y,kForOnEventAttribute:b,kListener:v,kStatusCode:x,kWebSocket:w,NOOP:E}=r("../../node_modules/ws/lib/constants.js"),{EventTarget:{addEventListener:S,removeEventListener:_}}=r("../../node_modules/ws/lib/event-target.js"),{format:T,parse:P}=r("../../node_modules/ws/lib/extension.js"),{toBuffer:A}=r("../../node_modules/ws/lib/buffer-util.js"),C=["CONNECTING","OPEN","CLOSING","CLOSED"],k=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/,O=[8,13];class N extends s{constructor(e,t,r){super(),this._binaryType=m[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=g,this._closeTimer=null,this._extensions={},this._protocol="",this._readyState=N.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,null!==e?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,void 0===t?t=[]:Array.isArray(t)||("object"==typeof t&&null!==t?(r=t,t=[]):t=[t]),I(this,e,t,r)):this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(e){m.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,r){const s=new d({binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:r.maxPayload,skipUTF8Validation:r.skipUTF8Validation});this._sender=new f(e,this._extensions),this._receiver=s,this._socket=e,s[w]=this,e[w]=this,s.on("conclude",j),s.on("drain",F),s.on("error",B),s.on("message",q),s.on("ping",$),s.on("pong",H),e.setTimeout(0),e.setNoDelay(),t.length>0&&e.unshift(t),e.on("close",W),e.on("data",G),e.on("end",z),e.on("error",K),this._readyState=N.OPEN,this.emit("open")}emitClose(){if(!this._socket)return this._readyState=N.CLOSED,void this.emit("close",this._closeCode,this._closeMessage);this._extensions[p.extensionName]&&this._extensions[p.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=N.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState!==N.CLOSED){if(this.readyState===N.CONNECTING){const e="WebSocket was closed before the connection was established";return M(this,this._req,e)}this.readyState!==N.CLOSING?(this._readyState=N.CLOSING,this._sender.close(e,t,!this._isServer,(e=>{e||(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())})),this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),3e4)):this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end()}}ping(e,t,r){if(this.readyState===N.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(r=e,e=t=void 0):"function"==typeof t&&(r=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===N.OPEN?(void 0===t&&(t=!this._isServer),this._sender.ping(e||g,t,r)):D(this,e,r)}pong(e,t,r){if(this.readyState===N.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(r=e,e=t=void 0):"function"==typeof t&&(r=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===N.OPEN?(void 0===t&&(t=!this._isServer),this._sender.pong(e||g,t,r)):D(this,e,r)}send(e,t,r){if(this.readyState===N.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof t&&(r=t,t={}),"number"==typeof e&&(e=e.toString()),this.readyState!==N.OPEN)return void D(this,e,r);const s={binary:"string"!=typeof e,mask:!this._isServer,compress:!0,fin:!0,...t};this._extensions[p.extensionName]||(s.compress=!1),this._sender.send(e||g,s,r)}terminate(){if(this.readyState!==N.CLOSED){if(this.readyState===N.CONNECTING){const e="WebSocket was closed before the connection was established";return M(this,this._req,e)}this._socket&&(this._readyState=N.CLOSING,this._socket.destroy())}}}function I(e,t,r,s){const o={protocolVersion:O[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...s,createConnection:void 0,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:void 0,host:void 0,path:void 0,port:void 0};if(!O.includes(o.protocolVersion))throw new RangeError(`Unsupported protocol version: ${o.protocolVersion} (supported versions: ${O.join(", ")})`);let a;if(t instanceof u)a=t,e._url=t.href;else{try{a=new u(t)}catch(e){throw new SyntaxError(`Invalid URL: ${t}`)}e._url=t}const h="wss:"===a.protocol,d="ws+unix:"===a.protocol;if("ws:"!==a.protocol&&!h&&!d)throw new SyntaxError('The URL\'s protocol must be one of "ws:", "wss:", or "ws+unix:"');if(d&&!a.pathname)throw new SyntaxError("The URL's pathname is empty");if(a.hash)throw new SyntaxError("The URL contains a fragment identifier");const f=h?443:80,m=c(16).toString("base64"),g=h?n.get:i.get,b=new Set;let v;if(o.createConnection=h?L:R,o.defaultPort=o.defaultPort||f,o.port=a.port||f,o.host=a.hostname.startsWith("[")?a.hostname.slice(1,-1):a.hostname,o.headers={"Sec-WebSocket-Version":o.protocolVersion,"Sec-WebSocket-Key":m,Connection:"Upgrade",Upgrade:"websocket",...o.headers},o.path=a.pathname+a.search,o.timeout=o.handshakeTimeout,o.perMessageDeflate&&(v=new p(!0!==o.perMessageDeflate?o.perMessageDeflate:{},!1,o.maxPayload),o.headers["Sec-WebSocket-Extensions"]=T({[p.extensionName]:v.offer()})),r.length){for(const e of r){if("string"!=typeof e||!k.test(e)||b.has(e))throw new SyntaxError("An invalid or duplicated subprotocol was specified");b.add(e)}o.headers["Sec-WebSocket-Protocol"]=r.join(",")}if(o.origin&&(o.protocolVersion<13?o.headers["Sec-WebSocket-Origin"]=o.origin:o.headers.Origin=o.origin),(a.username||a.password)&&(o.auth=`${a.username}:${a.password}`),d){const e=o.path.split(":");o.socketPath=e[0],o.path=e[1]}let x=e._req=g(o);o.timeout&&x.on("timeout",(()=>{M(e,x,"Opening handshake has timed out")})),x.on("error",(t=>{null===x||x.aborted||(x=e._req=null,e._readyState=N.CLOSING,e.emit("error",t),e.emitClose())})),x.on("response",(n=>{const i=n.headers.location,a=n.statusCode;if(i&&o.followRedirects&&a>=300&&a<400){if(++e._redirects>o.maxRedirects)return void M(e,x,"Maximum redirects exceeded");x.abort();const n=new u(i,t);I(e,n,r,s)}else e.emit("unexpected-response",x,n)||M(e,x,`Unexpected server response: ${n.statusCode}`)})),x.on("upgrade",((t,r,s)=>{if(e.emit("upgrade",t),e.readyState!==N.CONNECTING)return;x=e._req=null;const n=l("sha1").update(m+y).digest("base64");if(t.headers["sec-websocket-accept"]!==n)return void M(e,r,"Invalid Sec-WebSocket-Accept header");const i=t.headers["sec-websocket-protocol"];let a;if(void 0!==i?b.size?b.has(i)||(a="Server sent an invalid subprotocol"):a="Server sent a subprotocol but none was requested":b.size&&(a="Server sent no subprotocol"),a)return void M(e,r,a);i&&(e._protocol=i);const c=t.headers["sec-websocket-extensions"];if(void 0!==c){if(!v)return void M(e,r,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");let t;try{t=P(c)}catch(t){return void M(e,r,"Invalid Sec-WebSocket-Extensions header")}const s=Object.keys(t);if(1!==s.length||s[0]!==p.extensionName)return void M(e,r,"Server indicated an extension that was not requested");try{v.accept(t[p.extensionName])}catch(t){return void M(e,r,"Invalid Sec-WebSocket-Extensions header")}e._extensions[p.extensionName]=v}e.setSocket(r,s,{maxPayload:o.maxPayload,skipUTF8Validation:o.skipUTF8Validation})}))}function R(e){return e.path=e.socketPath,o.connect(e)}function L(e){return e.path=void 0,e.servername||""===e.servername||(e.servername=o.isIP(e.host)?"":e.host),a.connect(e)}function M(e,t,r){e._readyState=N.CLOSING;const s=new Error(r);Error.captureStackTrace(s,M),t.setHeader?(t.abort(),t.socket&&!t.socket.destroyed&&t.socket.destroy(),t.once("abort",e.emitClose.bind(e)),e.emit("error",s)):(t.destroy(s),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e)))}function D(e,t,r){if(t){const r=A(t).length;e._socket?e._sender._bufferedBytes+=r:e._bufferedAmount+=r}r&&r(new Error(`WebSocket is not open: readyState ${e.readyState} (${C[e.readyState]})`))}function j(e,t){const r=this[w];r._closeFrameReceived=!0,r._closeMessage=t,r._closeCode=e,void 0!==r._socket[w]&&(r._socket.removeListener("data",G),process.nextTick(V,r._socket),1005===e?r.close():r.close(e,t))}function F(){this[w]._socket.resume()}function B(e){const t=this[w];void 0!==t._socket[w]&&(t._socket.removeListener("data",G),process.nextTick(V,t._socket),t.close(e[x])),t.emit("error",e)}function U(){this[w].emitClose()}function q(e,t){this[w].emit("message",e,t)}function $(e){const t=this[w];t.pong(e,!t._isServer,E),t.emit("ping",e)}function H(e){this[w].emit("pong",e)}function V(e){e.resume()}function W(){const e=this[w];let t;this.removeListener("close",W),this.removeListener("data",G),this.removeListener("end",z),e._readyState=N.CLOSING,this._readableState.endEmitted||e._closeFrameReceived||e._receiver._writableState.errorEmitted||null===(t=e._socket.read())||e._receiver.write(t),e._receiver.end(),this[w]=void 0,clearTimeout(e._closeTimer),e._receiver._writableState.finished||e._receiver._writableState.errorEmitted?e.emitClose():(e._receiver.on("error",U),e._receiver.on("finish",U))}function G(e){this[w]._receiver.write(e)||this.pause()}function z(){const e=this[w];e._readyState=N.CLOSING,e._receiver.end(),this.end()}function K(){const e=this[w];this.removeListener("error",K),this.on("error",E),e&&(e._readyState=N.CLOSING,this.destroy())}Object.defineProperty(N,"CONNECTING",{enumerable:!0,value:C.indexOf("CONNECTING")}),Object.defineProperty(N.prototype,"CONNECTING",{enumerable:!0,value:C.indexOf("CONNECTING")}),Object.defineProperty(N,"OPEN",{enumerable:!0,value:C.indexOf("OPEN")}),Object.defineProperty(N.prototype,"OPEN",{enumerable:!0,value:C.indexOf("OPEN")}),Object.defineProperty(N,"CLOSING",{enumerable:!0,value:C.indexOf("CLOSING")}),Object.defineProperty(N.prototype,"CLOSING",{enumerable:!0,value:C.indexOf("CLOSING")}),Object.defineProperty(N,"CLOSED",{enumerable:!0,value:C.indexOf("CLOSED")}),Object.defineProperty(N.prototype,"CLOSED",{enumerable:!0,value:C.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","protocol","readyState","url"].forEach((e=>{Object.defineProperty(N.prototype,e,{enumerable:!0})})),["open","error","close","message"].forEach((e=>{Object.defineProperty(N.prototype,`on${e}`,{enumerable:!0,get(){for(const t of this.listeners(e))if(t[b])return t[v];return null},set(t){for(const t of this.listeners(e))if(t[b]){this.removeListener(e,t);break}"function"==typeof t&&this.addEventListener(e,t,{[b]:!0})}})})),N.prototype.addEventListener=S,N.prototype.removeEventListener=_,e.exports=N},"../../node_modules/xmlhttprequest-ssl/lib/XMLHttpRequest.js":(e,t,r)=>{var s=r("fs"),n=r("url"),i=r("child_process").spawn;function o(e){"use strict";e=e||{};var t,o,a=this,c=r("http"),l=r("https"),h={},u=!1,p={"User-Agent":"node-XMLHttpRequest",Accept:"*/*"},d=Object.assign({},p),f=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","content-transfer-encoding","cookie","cookie2","date","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"],m=["TRACE","TRACK","CONNECT"],g=!1,y=!1,b=!1,v={};this.UNSENT=0,this.OPENED=1,this.HEADERS_RECEIVED=2,this.LOADING=3,this.DONE=4,this.readyState=this.UNSENT,this.onreadystatechange=null,this.responseText="",this.responseXML="",this.status=null,this.statusText=null,this.open=function(e,t,r,s,n){if(this.abort(),y=!1,b=!1,!function(e){return e&&-1===m.indexOf(e)}(e))throw new Error("SecurityError: Request method not allowed");h={method:e,url:t.toString(),async:"boolean"!=typeof r||r,user:s||null,password:n||null},x(this.OPENED)},this.setDisableHeaderCheck=function(e){u=e},this.setRequestHeader=function(e,t){if(this.readyState!=this.OPENED)throw new Error("INVALID_STATE_ERR: setRequestHeader can only be called when state is OPEN");if(!function(e){return u||e&&-1===f.indexOf(e.toLowerCase())}(e))return console.warn('Refused to set unsafe header "'+e+'"'),!1;if(g)throw new Error("INVALID_STATE_ERR: send flag is true");return d[e]=t,!0},this.getResponseHeader=function(e){return"string"==typeof e&&this.readyState>this.OPENED&&o.headers[e.toLowerCase()]&&!y?o.headers[e.toLowerCase()]:null},this.getAllResponseHeaders=function(){if(this.readyState<this.HEADERS_RECEIVED||y)return"";var e="";for(var t in o.headers)"set-cookie"!==t&&"set-cookie2"!==t&&(e+=t+": "+o.headers[t]+"\r\n");return e.substr(0,e.length-2)},this.getRequestHeader=function(e){return"string"==typeof e&&d[e]?d[e]:""},this.send=function(r){if(this.readyState!=this.OPENED)throw new Error("INVALID_STATE_ERR: connection must be opened before send() is called");if(g)throw new Error("INVALID_STATE_ERR: send has already been called");var u,p=!1,f=!1,m=n.parse(h.url);switch(m.protocol){case"https:":p=!0;case"http:":u=m.hostname;break;case"file:":f=!0;break;case void 0:case"":u="localhost";break;default:throw new Error("Protocol not supported.")}if(f){if("GET"!==h.method)throw new Error("XMLHttpRequest: Only GET method is supported");if(h.async)s.readFile(unescape(m.pathname),"utf8",(function(e,t){e?a.handleError(e,e.errno||-1):(a.status=200,a.responseText=t,x(a.DONE))}));else try{this.responseText=s.readFileSync(unescape(m.pathname),"utf8"),this.status=200,x(a.DONE)}catch(e){this.handleError(e,e.errno||-1)}}else{var b=m.port||(p?443:80),v=m.pathname+(m.search?m.search:"");if(d.Host=u,p&&443===b||80===b||(d.Host+=":"+m.port),h.user){void 0===h.password&&(h.password="");var w=new Buffer(h.user+":"+h.password);d.Authorization="Basic "+w.toString("base64")}"GET"===h.method||"HEAD"===h.method?r=null:r?(d["Content-Length"]=Buffer.isBuffer(r)?r.length:Buffer.byteLength(r),d["Content-Type"]||(d["Content-Type"]="text/plain;charset=UTF-8")):"POST"===h.method&&(d["Content-Length"]=0);var E=e.agent||!1,S={host:u,port:b,path:v,method:h.method,headers:d,agent:E};if(p&&(S.pfx=e.pfx,S.key=e.key,S.passphrase=e.passphrase,S.cert=e.cert,S.ca=e.ca,S.ciphers=e.ciphers,S.rejectUnauthorized=!1!==e.rejectUnauthorized),y=!1,h.async){var _=p?l.request:c.request;g=!0,a.dispatchEvent("readystatechange");var T=function(r){if(302===(o=r).statusCode||303===o.statusCode||307===o.statusCode){h.url=o.headers.location;var s=n.parse(h.url);u=s.hostname;var i={hostname:s.hostname,port:s.port,path:s.path,method:303===o.statusCode?"GET":h.method,headers:d};return p&&(i.pfx=e.pfx,i.key=e.key,i.passphrase=e.passphrase,i.cert=e.cert,i.ca=e.ca,i.ciphers=e.ciphers,i.rejectUnauthorized=!1!==e.rejectUnauthorized),void(t=_(i,T).on("error",P)).end()}o&&o.setEncoding&&o.setEncoding("utf8"),x(a.HEADERS_RECEIVED),a.status=o.statusCode,o.on("data",(function(e){e&&(a.responseText+=e),g&&x(a.LOADING)})),o.on("end",(function(){g&&(g=!1,x(a.DONE))})),o.on("error",(function(e){a.handleError(e)}))},P=function(e){a.handleError(e)};t=_(S,T).on("error",P),e.autoUnref&&t.on("socket",(e=>{e.unref()})),r&&t.write(r),t.end(),a.dispatchEvent("loadstart")}else{var A=".node-xmlhttprequest-content-"+process.pid,C=".node-xmlhttprequest-sync-"+process.pid;s.writeFileSync(C,"","utf8");for(var k="var http = require('http'), https = require('https'), fs = require('fs');var doRequest = http"+(p?"s":"")+".request;var options = "+JSON.stringify(S)+";var responseText = '';var req = doRequest(options, function(response) {response.setEncoding('utf8');response.on('data', function(chunk) { responseText += chunk;});response.on('end', function() {fs.writeFileSync('"+A+"', 'NODE-XMLHTTPREQUEST-STATUS:' + response.statusCode + ',' + responseText, 'utf8');fs.unlinkSync('"+C+"');});response.on('error', function(error) {fs.writeFileSync('"+A+"', 'NODE-XMLHTTPREQUEST-ERROR:' + JSON.stringify(error), 'utf8');fs.unlinkSync('"+C+"');});}).on('error', function(error) {fs.writeFileSync('"+A+"', 'NODE-XMLHTTPREQUEST-ERROR:' + JSON.stringify(error), 'utf8');fs.unlinkSync('"+C+"');});"+(r?"req.write('"+JSON.stringify(r).slice(1,-1).replace(/'/g,"\\'")+"');":"")+"req.end();",O=i(process.argv[0],["-e",k]);s.existsSync(C););if(a.responseText=s.readFileSync(A,"utf8"),O.stdin.end(),s.unlinkSync(A),a.responseText.match(/^NODE-XMLHTTPREQUEST-ERROR:/)){var N=a.responseText.replace(/^NODE-XMLHTTPREQUEST-ERROR:/,"");a.handleError(N,503)}else a.status=a.responseText.replace(/^NODE-XMLHTTPREQUEST-STATUS:([0-9]*),.*/,"$1"),a.responseText=a.responseText.replace(/^NODE-XMLHTTPREQUEST-STATUS:[0-9]*,(.*)/,"$1"),x(a.DONE)}}},this.handleError=function(e,t){this.status=t||0,this.statusText=e,this.responseText=e.stack,y=!0,x(this.DONE)},this.abort=function(){t&&(t.abort(),t=null),d=Object.assign({},p),this.responseText="",this.responseXML="",y=b=!0,this.readyState===this.UNSENT||this.readyState===this.OPENED&&!g||this.readyState===this.DONE||(g=!1,x(this.DONE)),this.readyState=this.UNSENT},this.addEventListener=function(e,t){e in v||(v[e]=[]),v[e].push(t)},this.removeEventListener=function(e,t){e in v&&(v[e]=v[e].filter((function(e){return e!==t})))},this.dispatchEvent=function(e){if("function"==typeof a["on"+e]&&(this.readyState===this.DONE?setImmediate((function(){a["on"+e]()})):a["on"+e]()),e in v)for(let t=0,r=v[e].length;t<r;t++)this.readyState===this.DONE?setImmediate((function(){v[e][t].call(a)})):v[e][t].call(a)};var x=function(e){if(!(a.readyState===e||a.readyState===a.UNSENT&&b)&&(a.readyState=e,(h.async||a.readyState<a.OPENED||a.readyState===a.DONE)&&a.dispatchEvent("readystatechange"),a.readyState===a.DONE)){let e;e=b?"abort":y?"error":"load",a.dispatchEvent(e),a.dispatchEvent("loadend")}}}e.exports=o,o.XMLHttpRequest=o},bufferutil:e=>{"use strict";e.exports=r(864)},fsevents:e=>{"use strict";e.exports=r(943)},"utf-8-validate":e=>{"use strict";e.exports=r(239)},child_process:e=>{"use strict";e.exports=r(81)},crypto:e=>{"use strict";e.exports=r(113)},events:e=>{"use strict";e.exports=r(361)},fs:e=>{"use strict";e.exports=r(358)},http:e=>{"use strict";e.exports=r(685)},https:e=>{"use strict";e.exports=r(687)},module:e=>{"use strict";e.exports=r(188)},net:e=>{"use strict";e.exports=r(808)},os:e=>{"use strict";e.exports=r(37)},path:e=>{"use strict";e.exports=r(17)},stream:e=>{"use strict";e.exports=r(781)},tls:e=>{"use strict";e.exports=r(404)},tty:e=>{"use strict";e.exports=r(224)},url:e=>{"use strict";e.exports=r(310)},util:e=>{"use strict";e.exports=r(837)},zlib:e=>{"use strict";e.exports=r(796)},"../../node_modules/@babel/runtime/helpers/arrayLikeToArray.js":e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/arrayWithHoles.js":e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/arrayLikeToArray.js");e.exports=function(e){if(Array.isArray(e))return s(e)},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/asyncToGenerator.js":e=>{function t(e,t,r,s,n,i,o){try{var a=e[i](o),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(s,n)}e.exports=function(e){return function(){var r=this,s=arguments;return new Promise((function(n,i){var o=e.apply(r,s);function a(e){t(o,n,i,a,c,"next",e)}function c(e){t(o,n,i,a,c,"throw",e)}a(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/classCallCheck.js":e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/createClass.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/toPropertyKey.js");function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/defineProperty.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/toPropertyKey.js");e.exports=function(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/iterableToArray.js":e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js":e=>{e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var s,n,i,o,a=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(s=i.call(r)).done)&&(a.push(s.value),a.length!==t);c=!0);}catch(e){l=!0,n=e}finally{try{if(!c&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(l)throw n}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/nonIterableRest.js":e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/nonIterableSpread.js":e=>{e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/objectWithoutProperties.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js");e.exports=function(e,t){if(null==e)return{};var r,n,i=s(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js":e=>{e.exports=function(e,t){if(null==e)return{};var r,s,n={},i=Object.keys(e);for(s=0;s<i.length;s++)r=i[s],t.indexOf(r)>=0||(n[r]=e[r]);return n},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/typeof.js").default;function n(){"use strict";e.exports=n=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,i=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",h=a.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function p(e,t,r,s){var n=t&&t.prototype instanceof m?t:m,i=Object.create(n.prototype),a=new C(s||[]);return o(i,"_invoke",{value:_(e,r,a)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var f={};function m(){}function g(){}function y(){}var b={};u(b,c,(function(){return this}));var v=Object.getPrototypeOf,x=v&&v(v(k([])));x&&x!==r&&i.call(x,c)&&(b=x);var w=y.prototype=m.prototype=Object.create(b);function E(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function r(n,o,a,c){var l=d(e[n],e,o);if("throw"!==l.type){var h=l.arg,u=h.value;return u&&"object"==s(u)&&i.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(u).then((function(e){h.value=e,a(h)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var n;o(this,"_invoke",{value:function(e,s){function i(){return new t((function(t,n){r(e,s,t,n)}))}return n=n?n.then(i,i):i()}})}function _(e,t,r){var s="suspendedStart";return function(n,i){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===n)throw i;return{value:void 0,done:!0}}for(r.method=n,r.arg=i;;){var o=r.delegate;if(o){var a=T(o,r);if(a){if(a===f)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===s)throw s="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);s="executing";var c=d(e,t,r);if("normal"===c.type){if(s=r.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(s="completed",r.method="throw",r.arg=c.arg)}}}function T(e,t){var r=t.method,s=e.iterator[r];if(void 0===s)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,T(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var n=d(s,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,f;var i=n.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function k(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,s=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return s.next=s}}return{next:O}}function O(){return{value:void 0,done:!0}}return g.prototype=y,o(w,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:g,configurable:!0}),g.displayName=u(y,h,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,u(e,h,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},E(S.prototype),u(S.prototype,l,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,s,n,i){void 0===i&&(i=Promise);var o=new S(p(e,r,s,n),i);return t.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},E(w),u(w,h,"Generator"),u(w,c,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var s in t)r.push(s);return r.reverse(),function e(){for(;r.length;){var s=r.pop();if(s in t)return e.value=s,e.done=!1,e}return e.done=!0,e}},t.values=k,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,s){return o.type="throw",o.arg=e,t.next=r,s&&(t.method="next",t.arg=void 0),!!s}for(var s=this.tryEntries.length-1;s>=0;--s){var n=this.tryEntries[s],o=n.completion;if("root"===n.tryLoc)return r("end");if(n.tryLoc<=this.prev){var a=i.call(n,"catchLoc"),c=i.call(n,"finallyLoc");if(a&&c){if(this.prev<n.catchLoc)return r(n.catchLoc,!0);if(this.prev<n.finallyLoc)return r(n.finallyLoc)}else if(a){if(this.prev<n.catchLoc)return r(n.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return r(n.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var s=this.tryEntries[r];if(s.tryLoc<=this.prev&&i.call(s,"finallyLoc")&&this.prev<s.finallyLoc){var n=s;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var o=n?n.completion:{};return o.type=e,o.arg=t,n?(this.method="next",this.next=n.finallyLoc,f):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var s=r.completion;if("throw"===s.type){var n=s.arg;A(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:k(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/slicedToArray.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/arrayWithHoles.js"),n=r("../../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"),i=r("../../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"),o=r("../../node_modules/@babel/runtime/helpers/nonIterableRest.js");e.exports=function(e,t){return s(e)||n(e,t)||i(e,t)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/toConsumableArray.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"),n=r("../../node_modules/@babel/runtime/helpers/iterableToArray.js"),i=r("../../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"),o=r("../../node_modules/@babel/runtime/helpers/nonIterableSpread.js");e.exports=function(e){return s(e)||n(e)||i(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/toPrimitive.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/typeof.js").default;e.exports=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/toPropertyKey.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/typeof.js").default,n=r("../../node_modules/@babel/runtime/helpers/toPrimitive.js");e.exports=function(e){var t=n(e,"string");return"symbol"===s(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/typeof.js":e=>{function t(r){return e.exports=t="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.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/arrayLikeToArray.js");e.exports=function(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/regenerator/index.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js")();e.exports=s;try{regeneratorRuntime=s}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=s:Function("r","regeneratorRuntime = r")(s)}},"../../node_modules/@socket.io/component-emitter/index.mjs":(e,t,r)=>{"use strict";function s(e){if(e)return function(e){for(var t in s.prototype)e[t]=s.prototype[t];return e}(e)}r.r(t),r.d(t,{Emitter:()=>s}),s.prototype.on=s.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},s.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this},s.prototype.off=s.prototype.removeListener=s.prototype.removeAllListeners=s.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,s=this._callbacks["$"+e];if(!s)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var n=0;n<s.length;n++)if((r=s[n])===t||r.fn===t){s.splice(n,1);break}return 0===s.length&&delete this._callbacks["$"+e],this},s.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),r=this._callbacks["$"+e],s=1;s<arguments.length;s++)t[s-1]=arguments[s];if(r){s=0;for(var n=(r=r.slice(0)).length;s<n;++s)r[s].apply(this,t)}return this},s.prototype.emitReserved=s.prototype.emit,s.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},s.prototype.hasListeners=function(e){return!!this.listeners(e).length}},"../../src/framework-mgmt/pinegrow-config-manager.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{getPinegrowConfig:()=>h});var s=r("../../node_modules/@babel/runtime/helpers/typeof.js"),n=r("path"),i=r("fs"),o=r("module"),a=r("../../node_modules/chokidar/index.js"),c=(0,o.createRequire)("file:///Users/techakayy/Pinegrow/PinegrowCode/frameworks/vue-svelte-designer/src/framework-mgmt/pinegrow-config-manager.js"),l=function(e){return!(!i.existsSync(e)||!i.statSync(e).isFile())},h=function(e,t){var r,i="pinegrow.config.js";try{var o=n.resolve(e,"pinegrow.config.js");if(!l(o)){if(o=n.resolve(e,"pinegrow.config.cjs"),!l(o))return;i="pinegrow.config.cjs"}if(t)try{r=function(e,t){var r=a.watch(e,{ignoreInitial:!0,awaitWriteFinish:{stabilityThreshold:1e3,pollInterval:100}});return r.on("unlink",(function(e){return r.unwatch(e)})).on("add",(function(e){delete c.cache[e],t(e)})).on("change",(function(e){delete c.cache[e],t(e)})).on("error",(function(e){console.log(e),console.log("Pinegrow: An error occured. Try re-starting your dev-server and re-opening your project!")})),r}(o,t)}catch(e){console.log(e),console.log("Pinegrow: Unable to watch ".concat(i,"!"))}try{var h=c(o);if(delete c.cache[o],h&&"object"===s(h))return{pinegrowConfig:h,pinegrowConfigWatcher:r}}catch(e){console.log(e),console.log("Pinegrow: Unable to process ".concat(i,"!"))}}catch(e){console.log(e)}}},"../../src/framework-mgmt/transform-plugins.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{resolvePathAlias:()=>f,transformPluginsArray:()=>m});var s=r("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),n=r("../../node_modules/@babel/runtime/helpers/defineProperty.js"),i=r("../../node_modules/@babel/runtime/helpers/typeof.js"),o=r("path"),a=r("fs");function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s}var u=(0,r("module").createRequire)("file:///Users/techakayy/Pinegrow/PinegrowCode/frameworks/vue-svelte-designer/src/framework-mgmt/transform-plugins.js"),p=function(e){return!(!a.existsSync(e)||!a.statSync(e).isFile())},d=function(e){return!(!a.existsSync(e)||!a.statSync(e).isDirectory())},f=function(e,t){var r=e;if(t&&t.length){var s,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var s=0,n=function(){};return{s:n,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}(t);try{for(n.s();!(s=n.n()).done;){var i=s.value,o=i.replacement,a=i.regex,c=a?new RegExp(i.find.source,i.find.flags):i.find,l=!1;if(a&&c.test(e)&&(l=!0),!a&&e.startsWith(c)&&(l=!0),l){r=e.replace(c,o);break}}}catch(e){n.e(e)}finally{n.f()}}return r},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{plugins:[]},t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],h=e.plugins,m={},g=o.resolve(t,"node_modules");if(h.forEach((function(e){try{var t,s,n,a,h={};if(Array.isArray(e)||"object"!==i(e)||(e=[e]),"string"==typeof e){var u=f(e,c);o.isAbsolute(u)||(u=o.resolve(r,u)),e=p(u)?[{dependencyRoot:o.dirname(u),pluginPath:u}]:[e]}if(Array.isArray(e)&&e.length){if("string"==typeof e[0]&&(t=e[0],s=o.resolve(g,t)),"object"===i(e[0])&&(t=(h=e[0]).dependency,s=h.dependencyRoot,h.options&&(a=l(l({},a),h.options)),h.pluginPath)){var d=f(h.pluginPath,c);if(!o.isAbsolute(d)){var y=h.dependencyRoot||r;d=o.resolve(y,d)}p(d)?(s=s||o.dirname(d),n=d):(console.log(e),console.log("Pinegrow: The pluginPath of the above plugin doesn't exist at ".concat(d," and was ignored. Make sure the plugin file exists!")),s=o.dirname(d),n=d)}e[1]&&("object"===i(e[1])?a=l(l({},a),e[1]):(console.log(e),console.log("Pinegrow: The above plugin's options were ignored. Make sure it's of type Object!")))}s&&(m[s]=l(l({},h),{},{dependency:t,dependencyRoot:s,pluginPath:n,options:a}))}catch(e){console.log(e),console.log("Pinegrow: An error occured when processing plugins!")}})),n){var y=o.resolve(t,"node_modules","@pinegrow");try{var b=a.readdirSync(y);b.filter((function(e){return e.endsWith("-plugin")&&"vite-plugin"!==e})).forEach((function(e){var t=o.resolve(y,e);d(t)&&!m[t]&&(m[t]={dependency:"@pinegrow/".concat(e),dependencyRoot:t})}))}catch(e){}}Object.entries(m).filter((function(e){var t=s(e,2),r=t[0],n=t[1];return n.dependency&&!n.pluginPath&&!r.endsWith("@pinegrow/vite-plugin")})).forEach((function(e){var t=s(e,2),n=t[0],i=t[1],a=i.dependency,l=i.options;try{var h,d;try{h=u(n),u.resolve(n)}catch(e){}if(!h)return;if("function"==typeof(h=h.default||h))return;if(h.pluginPath){var g=f(h.pluginPath,c);if(!o.isAbsolute(g)){var y=h.dependencyRoot||r;g=o.resolve(y,g)}p(g)?d=g:console.log("Pinegrow: The pluginPath of ".concat(h.dependency," doesn't exist at ").concat(g," and was ignored. Make sure the plugin file exists!"))}m[n]={dependency:a,dependencyRoot:n,name:h.name,key:h.key,productKey:h.productKey,library:h.library,syncWithLibrarySemVer:h.syncWithLibrarySemVer,pluginPath:d,options:l,themeTemplate:h.themeTemplate,init:h.init,invalid:h.invalid}}catch(e){console.log(e),console.log("Pinegrow: Unable to load plugin: ".concat(a))}}));var v=Object.values(m).filter((function(e){return e.key})).map((function(e){return e.key})),x=function(e){return e.filter((function(t,r){return e.indexOf(t)!==r}))},w=x(v);return w.length&&console.log("Pinegrow: The key".concat(1===w.length?"":"s"," ").concat(w.join(", ")," ").concat(1===w.length?"was":"were"," used in multiple plugins which can cause issues. Make sure duplicate keys are not used!")),Object.entries(m).filter((function(e){var t=s(e,2);return t[0],t[1].key})).forEach((function(t){var r=s(t,2),n=(r[0],r[1]),o=e[n.key];o&&"object"===i(o)&&(n.options=l(l({},n.options),o))})),Object.entries(m).forEach((function(e){var t=s(e,2),n=(t[0],t[1]);if(n.name=n.name||n.dependency||n.key||n.productKey||n.pluginPath||n.dependencyRoot,n.dependency=n.dependency||n.pluginPath||n.dependencyRoot,n.activeInProject=!0,n.options){var i=n.options;try{Object.entries(i).forEach((function(e){var t=s(e,2),n=t[0],a=t[1];if(n&&(n.toLowerCase().endsWith("file")||n.toLowerCase().endsWith("path")||n.toLowerCase().endsWith("root"))&&a&&"string"==typeof a){var l=f(a,c);o.isAbsolute(l)||(l=o.resolve(r,l)),("themePath"===n||p(l))&&(i[n]=l)}}))}catch(e){console.log(e),console.log("Pinegrow: An error occurred when processing plugin options for plugin: ".concat(n.name))}}else n.options={};if(n.themeTemplate){var l=n.options.themePath;try{if(l)try{a.statSync(l).isDirectory()&&(l=o.resolve(l,"pg".concat(n.key?"-".concat(n.key,"-"):"-","theme.cjs")))}catch(e){}else l=o.resolve(r,"themes/pg".concat(n.key?"-".concat(n.key,"-"):"-","theme.cjs"));void 0!==n.options.restartOnConfigUpdate&&null!==n.options.restartOnConfigUpdate||(n.options.restartOnConfigUpdate=!1),n.options.themePath=l,void 0!==n.options.restartOnThemeUpdate&&null!==n.options.restartOnThemeUpdate||(n.options.restartOnThemeUpdate=!0)}catch(e){console.log(e)}}})),Object.filter(m,(function(e){var t=s(e,2);return t[0],!t[1].invalid}))}},"../../node_modules/engine.io-client/build/esm-debug/contrib/parseqs.js":(e,t,r)=>{"use strict";function s(e){let t="";for(let r in e)e.hasOwnProperty(r)&&(t.length&&(t+="&"),t+=encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return t}function n(e){let t={},r=e.split("&");for(let e=0,s=r.length;e<s;e++){let s=r[e].split("=");t[decodeURIComponent(s[0])]=decodeURIComponent(s[1])}return t}r.r(t),r.d(t,{decode:()=>n,encode:()=>s})},"../../node_modules/engine.io-client/build/esm-debug/contrib/parseuri.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{parse:()=>i});const s=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,n=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function i(e){const t=e,r=e.indexOf("["),i=e.indexOf("]");-1!=r&&-1!=i&&(e=e.substring(0,r)+e.substring(r,i).replace(/:/g,";")+e.substring(i,e.length));let o=s.exec(e||""),a={},c=14;for(;c--;)a[n[c]]=o[c]||"";return-1!=r&&-1!=i&&(a.source=t,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a.pathNames=function(e,t){const r=t.replace(/\/{2,9}/g,"/").split("/");return"/"!=t.slice(0,1)&&0!==t.length||r.splice(0,1),"/"==t.slice(-1)&&r.splice(r.length-1,1),r}(0,a.path),a.queryKey=function(e,t){const r={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,s){t&&(r[t]=s)})),r}(0,a.query),a}},"../../node_modules/engine.io-client/build/esm-debug/contrib/yeast.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{decode:()=>l,encode:()=>c,yeast:()=>h});const s="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),n={};let i,o=0,a=0;function c(e){let t="";do{t=s[e%64]+t,e=Math.floor(e/64)}while(e>0);return t}function l(e){let t=0;for(a=0;a<e.length;a++)t=64*t+n[e.charAt(a)];return t}function h(){const e=c(+new Date);return e!==i?(o=0,i=e):e+"."+c(o++)}for(;a<64;a++)n[s[a]]=a},"../../node_modules/engine.io-client/build/esm-debug/globalThis.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{globalThisShim:()=>s});const s=global},"../../node_modules/engine.io-client/build/esm-debug/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Socket:()=>s.Socket,Transport:()=>n.Transport,installTimerFunctions:()=>o.installTimerFunctions,nextTick:()=>c.nextTick,parse:()=>a.parse,protocol:()=>l,transports:()=>i.transports});var s=r("../../node_modules/engine.io-client/build/esm-debug/socket.js"),n=r("../../node_modules/engine.io-client/build/esm-debug/transport.js"),i=r("../../node_modules/engine.io-client/build/esm-debug/transports/index.js"),o=r("../../node_modules/engine.io-client/build/esm-debug/util.js"),a=r("../../node_modules/engine.io-client/build/esm-debug/contrib/parseuri.js"),c=r("../../node_modules/engine.io-client/build/esm-debug/transports/websocket-constructor.js");const l=s.Socket.protocol},"../../node_modules/engine.io-client/build/esm-debug/socket.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Socket:()=>u});var s=r("../../node_modules/engine.io-client/build/esm-debug/transports/index.js"),n=r("../../node_modules/engine.io-client/build/esm-debug/util.js"),i=r("../../node_modules/engine.io-client/build/esm-debug/contrib/parseqs.js"),o=r("../../node_modules/engine.io-client/build/esm-debug/contrib/parseuri.js"),a=r("../../node_modules/debug/src/index.js"),c=r("../../node_modules/@socket.io/component-emitter/index.mjs"),l=r("../../node_modules/engine.io-parser/build/esm/index.js");const h=a("engine.io-client:socket");class u extends c.Emitter{constructor(e,t={}){super(),e&&"object"==typeof e&&(t=e,e=null),e?(e=(0,o.parse)(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=(0,o.parse)(t.host).host),(0,n.installTimerFunctions)(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},t),this.opts.path=this.opts.path.replace(/\/$/,"")+"/","string"==typeof this.opts.query&&(this.opts.query=(0,i.decode)(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,"function"==typeof addEventListener&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){h('creating transport "%s"',e);const t=Object.assign({},this.opts.query);t.EIO=l.protocol,t.transport=e,this.id&&(t.sid=this.id);const r=Object.assign({},this.opts.transportOptions[e],this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return h("options: %j",r),new s.transports[e](r)}open(){let e;if(this.opts.rememberUpgrade&&u.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((()=>{this.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(e){return h("error while creating transport: %s",e),this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}setTransport(e){h("setting transport %s",e.name),this.transport&&(h("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(e=>this.onClose("transport close",e)))}probe(e){h('probing transport "%s"',e);let t=this.createTransport(e),r=!1;u.priorWebsocketSuccess=!1;const s=()=>{r||(h('probe transport "%s" opened',e),t.send([{type:"ping",data:"probe"}]),t.once("packet",(s=>{if(!r)if("pong"===s.type&&"probe"===s.data){if(h('probe transport "%s" pong',e),this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;u.priorWebsocketSuccess="websocket"===t.name,h('pausing current transport "%s"',this.transport.name),this.transport.pause((()=>{r||"closed"!==this.readyState&&(h("changing transport and sending upgrade packet"),l(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())}))}else{h('probe transport "%s" failed',e);const r=new Error("probe error");r.transport=t.name,this.emitReserved("upgradeError",r)}})))};function n(){r||(r=!0,l(),t.close(),t=null)}const i=r=>{const s=new Error("probe error: "+r);s.transport=t.name,n(),h('probe transport "%s" failed because of error: %s',e,r),this.emitReserved("upgradeError",s)};function o(){i("transport closed")}function a(){i("socket closed")}function c(e){t&&e.name!==t.name&&(h('"%s" works - aborting "%s"',e.name,t.name),n())}const l=()=>{t.removeListener("open",s),t.removeListener("error",i),t.removeListener("close",o),this.off("close",a),this.off("upgrading",c)};t.once("open",s),t.once("error",i),t.once("close",o),this.once("close",a),this.once("upgrading",c),t.open()}onOpen(){if(h("socket open"),this.readyState="open",u.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause){h("starting upgrade probes");let e=0;const t=this.upgrades.length;for(;e<t;e++)this.probe(this.upgrades[e])}}onPacket(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(h('socket receive: type "%s", data "%s"',e.type,e.data),this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.resetPingTimeout(),this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}else h('packet received with socket readyState "%s"',this.readyState)}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.maxPayload=e.maxPayload,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn((()=>{this.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();h("flushing %d packets in socket",e.length),this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let t=0;t<this.writeBuffer.length;t++){const r=this.writeBuffer[t].data;if(r&&(e+=(0,n.byteLength)(r)),t>0&&e>this.maxPayload)return h("only send %d out of %d packets",t,this.writeBuffer.length),this.writeBuffer.slice(0,t);e+=2}return h("payload size is %d (max: %d)",e,this.maxPayload),this.writeBuffer}write(e,t,r){return this.sendPacket("message",e,t,r),this}send(e,t,r){return this.sendPacket("message",e,t,r),this}sendPacket(e,t,r,s){if("function"==typeof t&&(s=t,t=void 0),"function"==typeof r&&(s=r,r=null),"closing"===this.readyState||"closed"===this.readyState)return;(r=r||{}).compress=!1!==r.compress;const n={type:e,data:t,options:r};this.emitReserved("packetCreate",n),this.writeBuffer.push(n),s&&this.once("flush",s),this.flush()}close(){const e=()=>{this.onClose("forced close"),h("socket closing - telling transport to close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},r=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(()=>{this.upgrading?r():e()})):this.upgrading?r():e()),this}onError(e){h("socket error %j",e),u.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(h('socket close with reason: "%s"',e),this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let r=0;const s=e.length;for(;r<s;r++)~this.transports.indexOf(e[r])&&t.push(e[r]);return t}}u.protocol=l.protocol},"../../node_modules/engine.io-client/build/esm-debug/transport.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Transport:()=>c});var s=r("../../node_modules/engine.io-parser/build/esm/index.js"),n=r("../../node_modules/@socket.io/component-emitter/index.mjs"),i=r("../../node_modules/engine.io-client/build/esm-debug/util.js");const o=r("../../node_modules/debug/src/index.js")("engine.io-client:transport");class a extends Error{constructor(e,t,r){super(e),this.description=t,this.context=r,this.type="TransportError"}}class c extends n.Emitter{constructor(e){super(),this.writable=!1,(0,i.installTimerFunctions)(this,e),this.opts=e,this.query=e.query,this.readyState="",this.socket=e.socket}onError(e,t,r){return super.emitReserved("error",new a(e,t,r)),this}open(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this}close(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState?this.write(e):o("transport is not open, discarding packets")}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=(0,s.decodePacket)(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}}},"../../node_modules/engine.io-client/build/esm-debug/transports/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{transports:()=>n});var s=r("../../node_modules/engine.io-client/build/esm-debug/transports/polling.js");const n={websocket:r("../../node_modules/engine.io-client/build/esm-debug/transports/websocket.js").WS,polling:s.Polling}},"../../node_modules/engine.io-client/build/esm-debug/transports/polling.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Polling:()=>m,Request:()=>g});var s=r("../../node_modules/engine.io-client/build/esm-debug/transport.js"),n=r("../../node_modules/debug/src/index.js"),i=r("../../node_modules/engine.io-client/build/esm-debug/contrib/yeast.js"),o=r("../../node_modules/engine.io-client/build/esm-debug/contrib/parseqs.js"),a=r("../../node_modules/engine.io-parser/build/esm/index.js"),c=r("../../node_modules/engine.io-client/build/esm-debug/transports/xmlhttprequest.js"),l=r("../../node_modules/@socket.io/component-emitter/index.mjs"),h=r("../../node_modules/engine.io-client/build/esm-debug/util.js"),u=r("../../node_modules/engine.io-client/build/esm-debug/globalThis.js");const p=n("engine.io-client:polling");function d(){}const f=null!=new c.XHR({xdomain:!1}).responseType;class m extends s.Transport{constructor(e){if(super(e),this.polling=!1,"undefined"!=typeof location){const t="https:"===location.protocol;let r=location.port;r||(r=t?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||r!==e.port,this.xs=e.secure!==t}const t=e&&e.forceBase64;this.supportsBinary=f&&!t}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const t=()=>{p("paused"),this.readyState="paused",e()};if(this.polling||!this.writable){let e=0;this.polling&&(p("we are currently polling - waiting to pause"),e++,this.once("pollComplete",(function(){p("pre-pause polling complete"),--e||t()}))),this.writable||(p("we are currently writing - waiting to pause"),e++,this.once("drain",(function(){p("pre-pause writing complete"),--e||t()})))}else t()}poll(){p("polling"),this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){p("polling got data %s",e),(0,a.decodePayload)(e,this.socket.binaryType).forEach((e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState?this.poll():p('ignoring poll - transport state "%s"',this.readyState))}doClose(){const e=()=>{p("writing close packet"),this.write([{type:"close"}])};"open"===this.readyState?(p("transport open - closing"),e()):(p("transport not open - deferring close"),this.once("open",e))}write(e){this.writable=!1,(0,a.encodePayload)(e,(e=>{this.doWrite(e,(()=>{this.writable=!0,this.emitReserved("drain")}))}))}uri(){let e=this.query||{};const t=this.opts.secure?"https":"http";let r="";!1!==this.opts.timestampRequests&&(e[this.opts.timestampParam]=(0,i.yeast)()),this.supportsBinary||e.sid||(e.b64=1),this.opts.port&&("https"===t&&443!==Number(this.opts.port)||"http"===t&&80!==Number(this.opts.port))&&(r=":"+this.opts.port);const s=(0,o.encode)(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(s.length?"?"+s:"")}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new g(this.uri(),e)}doWrite(e,t){const r=this.request({method:"POST",data:e});r.on("success",t),r.on("error",((e,t)=>{this.onError("xhr post error",e,t)}))}doPoll(){p("xhr poll");const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",((e,t)=>{this.onError("xhr poll error",e,t)})),this.pollXhr=e}}class g extends l.Emitter{constructor(e,t){super(),(0,h.installTimerFunctions)(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.async=!1!==t.async,this.data=void 0!==t.data?t.data:null,this.create()}create(){const e=(0,h.pick)(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd,e.xscheme=!!this.opts.xs;const t=this.xhr=new c.XHR(e);try{p("xhr open %s: %s",this.method,this.uri),t.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0);for(let e in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(e)&&t.setRequestHeader(e,this.opts.extraHeaders[e])}}catch(e){}if("POST"===this.method)try{t.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{t.setRequestHeader("Accept","*/*")}catch(e){}"withCredentials"in t&&(t.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(t.timeout=this.opts.requestTimeout),t.onreadystatechange=()=>{4===t.readyState&&(200===t.status||1223===t.status?this.onLoad():this.setTimeoutFn((()=>{this.onError("number"==typeof t.status?t.status:0)}),0))},p("xhr data %s",this.data),t.send(this.data)}catch(e){return void this.setTimeoutFn((()=>{this.onError(e)}),0)}"undefined"!=typeof document&&(this.index=g.requestsCount++,g.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=d,e)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete g.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}if(g.requestsCount=0,g.requests={},"undefined"!=typeof document)if("function"==typeof attachEvent)attachEvent("onunload",y);else if("function"==typeof addEventListener){const e="onpagehide"in u.globalThisShim?"pagehide":"unload";addEventListener(e,y,!1)}function y(){for(let e in g.requests)g.requests.hasOwnProperty(e)&&g.requests[e].abort()}},"../../node_modules/engine.io-client/build/esm-debug/transports/websocket-constructor.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{WebSocket:()=>s,defaultBinaryType:()=>i,nextTick:()=>o,usingBrowserWebSocket:()=>n});const s=r("../../node_modules/ws/wrapper.mjs").default,n=!1,i="nodebuffer",o=process.nextTick},"../../node_modules/engine.io-client/build/esm-debug/transports/websocket.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{WS:()=>p});var s=r("../../node_modules/engine.io-client/build/esm-debug/transport.js"),n=r("../../node_modules/engine.io-client/build/esm-debug/contrib/parseqs.js"),i=r("../../node_modules/engine.io-client/build/esm-debug/contrib/yeast.js"),o=r("../../node_modules/engine.io-client/build/esm-debug/util.js"),a=r("../../node_modules/engine.io-client/build/esm-debug/transports/websocket-constructor.js"),c=r("../../node_modules/debug/src/index.js"),l=r("../../node_modules/engine.io-parser/build/esm/index.js");const h=c("engine.io-client:websocket"),u="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class p extends s.Transport{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,r=u?{}:(0,o.pick)(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=a.usingBrowserWebSocket&&!u?t?new a.WebSocket(e,t):new a.WebSocket(e):new a.WebSocket(e,t,r)}catch(e){return this.emitReserved("error",e)}this.ws.binaryType=this.socket.binaryType||a.defaultBinaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const r=e[t],s=t===e.length-1;(0,l.encodePacket)(r,this.supportsBinary,(e=>{const t={};!a.usingBrowserWebSocket&&(r.options&&(t.compress=r.options.compress),this.opts.perMessageDeflate)&&("string"==typeof e?Buffer.byteLength(e):e.length)<this.opts.perMessageDeflate.threshold&&(t.compress=!1);try{a.usingBrowserWebSocket?this.ws.send(e):this.ws.send(e,t)}catch(e){h("websocket closed before onclose event")}s&&(0,a.nextTick)((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){void 0!==this.ws&&(this.ws.close(),this.ws=null)}uri(){let e=this.query||{};const t=this.opts.secure?"wss":"ws";let r="";this.opts.port&&("wss"===t&&443!==Number(this.opts.port)||"ws"===t&&80!==Number(this.opts.port))&&(r=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=(0,i.yeast)()),this.supportsBinary||(e.b64=1);const s=(0,n.encode)(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(s.length?"?"+s:"")}check(){return!!a.WebSocket}}},"../../node_modules/engine.io-client/build/esm-debug/transports/xmlhttprequest.js":(e,t,r)=>{"use strict";var s;r.r(t),r.d(t,{XHR:()=>i});var n=r("../../node_modules/xmlhttprequest-ssl/lib/XMLHttpRequest.js");const i=n||s||(s=r.t(n,2))},"../../node_modules/engine.io-client/build/esm-debug/util.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{byteLength:()=>c,installTimerFunctions:()=>a,pick:()=>n});var s=r("../../node_modules/engine.io-client/build/esm-debug/globalThis.js");function n(e,...t){return t.reduce(((t,r)=>(e.hasOwnProperty(r)&&(t[r]=e[r]),t)),{})}const i=setTimeout,o=clearTimeout;function a(e,t){t.useNativeTimers?(e.setTimeoutFn=i.bind(s.globalThisShim),e.clearTimeoutFn=o.bind(s.globalThisShim)):(e.setTimeoutFn=setTimeout.bind(s.globalThisShim),e.clearTimeoutFn=clearTimeout.bind(s.globalThisShim))}function c(e){return"string"==typeof e?function(e){let t=0,r=0;for(let s=0,n=e.length;s<n;s++)t=e.charCodeAt(s),t<128?r+=1:t<2048?r+=2:t<55296||t>=57344?r+=3:(s++,r+=4);return r}(e):Math.ceil(1.33*(e.byteLength||e.size))}},"../../node_modules/engine.io-parser/build/esm/commons.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{ERROR_PACKET:()=>i,PACKET_TYPES:()=>s,PACKET_TYPES_REVERSE:()=>n});const s=Object.create(null);s.open="0",s.close="1",s.ping="2",s.pong="3",s.message="4",s.upgrade="5",s.noop="6";const n=Object.create(null);Object.keys(s).forEach((e=>{n[s[e]]=e}));const i={type:"error",data:"parser error"}},"../../node_modules/engine.io-parser/build/esm/decodePacket.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var s=r("../../node_modules/engine.io-parser/build/esm/commons.js");const n=(e,t)=>{const r=Buffer.isBuffer(e);return"arraybuffer"===t&&r?i(e):e},i=e=>{const t=new ArrayBuffer(e.length),r=new Uint8Array(t);for(let t=0;t<e.length;t++)r[t]=e[t];return t},o=(e,t)=>{if("string"!=typeof e)return{type:"message",data:n(e,t)};const r=e.charAt(0);if("b"===r){const r=Buffer.from(e.substring(1),"base64");return{type:"message",data:n(r,t)}}return s.PACKET_TYPES_REVERSE[r]?e.length>1?{type:s.PACKET_TYPES_REVERSE[r],data:e.substring(1)}:{type:s.PACKET_TYPES_REVERSE[r]}:s.ERROR_PACKET}},"../../node_modules/engine.io-parser/build/esm/encodePacket.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var s=r("../../node_modules/engine.io-parser/build/esm/commons.js");const n=({type:e,data:t},r,n)=>{if(t instanceof ArrayBuffer||ArrayBuffer.isView(t)){const e=(e=>Buffer.isBuffer(e)?e:e instanceof ArrayBuffer?Buffer.from(e):Buffer.from(e.buffer,e.byteOffset,e.byteLength))(t);return n(((e,t)=>t?e:"b"+e.toString("base64"))(e,r))}return n(s.PACKET_TYPES[e]+(t||""))}},"../../node_modules/engine.io-parser/build/esm/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{decodePacket:()=>n.default,decodePayload:()=>a,encodePacket:()=>s.default,encodePayload:()=>o,protocol:()=>c});var s=r("../../node_modules/engine.io-parser/build/esm/encodePacket.js"),n=r("../../node_modules/engine.io-parser/build/esm/decodePacket.js");const i=String.fromCharCode(30),o=(e,t)=>{const r=e.length,n=new Array(r);let o=0;e.forEach(((e,a)=>{(0,s.default)(e,!1,(e=>{n[a]=e,++o===r&&t(n.join(i))}))}))},a=(e,t)=>{const r=e.split(i),s=[];for(let e=0;e<r.length;e++){const i=(0,n.default)(r[e],t);if(s.push(i),"error"===i.type)break}return s},c=4},"../../node_modules/socket.io-client/build/esm-debug/contrib/backo2.js":(e,t,r)=>{"use strict";function s(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}r.r(t),r.d(t,{Backoff:()=>s}),s.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-r:e+r}return 0|Math.min(e,this.max)},s.prototype.reset=function(){this.attempts=0},s.prototype.setMin=function(e){this.ms=e},s.prototype.setMax=function(e){this.max=e},s.prototype.setJitter=function(e){this.jitter=e}},"../../node_modules/socket.io-client/build/esm-debug/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Manager:()=>n.Manager,Socket:()=>i.Socket,connect:()=>h,default:()=>h,io:()=>h,protocol:()=>a.protocol});var s=r("../../node_modules/socket.io-client/build/esm-debug/url.js"),n=r("../../node_modules/socket.io-client/build/esm-debug/manager.js"),i=r("../../node_modules/socket.io-client/build/esm-debug/socket.js"),o=r("../../node_modules/debug/src/index.js"),a=r("../../node_modules/socket.io-parser/build/esm-debug/index.js");const c=o("socket.io-client"),l={};function h(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};const r=(0,s.url)(e,t.path||"/socket.io"),i=r.source,o=r.id,a=r.path,h=l[o]&&a in l[o].nsps;let u;return t.forceNew||t["force new connection"]||!1===t.multiplex||h?(c("ignoring socket cache for %s",i),u=new n.Manager(i,t)):(l[o]||(c("new io instance for %s",i),l[o]=new n.Manager(i,t)),u=l[o]),r.query&&!t.query&&(t.query=r.queryKey),u.socket(r.path,t)}Object.assign(h,{Manager:n.Manager,Socket:i.Socket,io:h,connect:h})},"../../node_modules/socket.io-client/build/esm-debug/manager.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Manager:()=>h});var s=r("../../node_modules/engine.io-client/build/esm-debug/index.js"),n=r("../../node_modules/socket.io-client/build/esm-debug/socket.js"),i=r("../../node_modules/socket.io-parser/build/esm-debug/index.js"),o=r("../../node_modules/socket.io-client/build/esm-debug/on.js"),a=r("../../node_modules/socket.io-client/build/esm-debug/contrib/backo2.js"),c=r("../../node_modules/@socket.io/component-emitter/index.mjs");const l=r("../../node_modules/debug/src/index.js")("socket.io-client:manager");class h extends c.Emitter{constructor(e,t){var r;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,(0,s.installTimerFunctions)(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(r=t.randomizationFactor)&&void 0!==r?r:.5),this.backoff=new a.Backoff({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;const n=t.parser||i;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(l("readyState %s",this._readyState),~this._readyState.indexOf("open"))return this;l("opening %s",this.uri),this.engine=new s.Socket(this.uri,this.opts);const t=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const n=(0,o.on)(t,"open",(function(){r.onopen(),e&&e()})),i=(0,o.on)(t,"error",(t=>{l("error"),r.cleanup(),r._readyState="closed",this.emitReserved("error",t),e?e(t):r.maybeReconnectOnOpen()}));if(!1!==this._timeout){const e=this._timeout;l("connect attempt will timeout after %d",e),0===e&&n();const r=this.setTimeoutFn((()=>{l("connect attempt timed out after %d",e),n(),t.close(),t.emit("error",new Error("timeout"))}),e);this.opts.autoUnref&&r.unref(),this.subs.push((function(){clearTimeout(r)}))}return this.subs.push(n),this.subs.push(i),this}connect(e){return this.open(e)}onopen(){l("open"),this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push((0,o.on)(e,"ping",this.onping.bind(this)),(0,o.on)(e,"data",this.ondata.bind(this)),(0,o.on)(e,"error",this.onerror.bind(this)),(0,o.on)(e,"close",this.onclose.bind(this)),(0,o.on)(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(e){this.onclose("parse error",e)}}ondecoded(e){(0,s.nextTick)((()=>{this.emitReserved("packet",e)}),this.setTimeoutFn)}onerror(e){l("error",e),this.emitReserved("error",e)}socket(e,t){let r=this.nsps[e];return r||(r=new n.Socket(this,e,t),this.nsps[e]=r),r}_destroy(e){const t=Object.keys(this.nsps);for(const e of t)if(this.nsps[e].active)return void l("socket %s is still active, skipping close",e);this._close()}_packet(e){l("writing packet %j",e);const t=this.encoder.encode(e);for(let r=0;r<t.length;r++)this.engine.write(t[r],e.options)}cleanup(){l("cleanup"),this.subs.forEach((e=>e())),this.subs.length=0,this.decoder.destroy()}_close(){l("disconnect"),this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,t){l("closed due to %s",e),this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)l("reconnect failed"),this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();l("will wait %dms before reconnect attempt",t),this._reconnecting=!0;const r=this.setTimeoutFn((()=>{e.skipReconnect||(l("attempting reconnect"),this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open((t=>{t?(l("reconnect attempt error"),e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):(l("reconnect success"),e.onreconnect())})))}),t);this.opts.autoUnref&&r.unref(),this.subs.push((function(){clearTimeout(r)}))}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}},"../../node_modules/socket.io-client/build/esm-debug/on.js":(e,t,r)=>{"use strict";function s(e,t,r){return e.on(t,r),function(){e.off(t,r)}}r.r(t),r.d(t,{on:()=>s})},"../../node_modules/socket.io-client/build/esm-debug/socket.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Socket:()=>c});var s=r("../../node_modules/socket.io-parser/build/esm-debug/index.js"),n=r("../../node_modules/socket.io-client/build/esm-debug/on.js"),i=r("../../node_modules/@socket.io/component-emitter/index.mjs");const o=r("../../node_modules/debug/src/index.js")("socket.io-client:socket"),a=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class c extends i.Emitter{constructor(e,t,r){super(),this.connected=!1,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,r&&r.auth&&(this.auth=r.auth),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[(0,n.on)(e,"open",this.onopen.bind(this)),(0,n.on)(e,"packet",this.onpacket.bind(this)),(0,n.on)(e,"error",this.onerror.bind(this)),(0,n.on)(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){if(a.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');t.unshift(e);const r={type:s.PacketType.EVENT,data:t,options:{}};if(r.options.compress=!1!==this.flags.compress,"function"==typeof t[t.length-1]){const e=this.ids++;o("emitting packet with ack id %d",e);const s=t.pop();this._registerAckCallback(e,s),r.id=e}const n=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return!this.flags.volatile||n&&this.connected?this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r):o("discard packet as the transport is not currently writable"),this.flags={},this}_registerAckCallback(e,t){const r=this.flags.timeout;if(void 0===r)return void(this.acks[e]=t);const s=this.io.setTimeoutFn((()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&(o("removing packet with ack id %d from the buffer",e),this.sendBuffer.splice(t,1));o("event with ack id %d has timed out after %d ms",e,r),t.call(this,new Error("operation has timed out"))}),r);this.acks[e]=(...e)=>{this.io.clearTimeoutFn(s),t.apply(this,[null,...e])}}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){o("transport is open - connecting"),"function"==typeof this.auth?this.auth((e=>{this.packet({type:s.PacketType.CONNECT,data:e})})):this.packet({type:s.PacketType.CONNECT,data:this.auth})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){o("close (%s)",e),this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case s.PacketType.CONNECT:if(e.data&&e.data.sid){const t=e.data.sid;this.onconnect(t)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case s.PacketType.EVENT:case s.PacketType.BINARY_EVENT:this.onevent(e);break;case s.PacketType.ACK:case s.PacketType.BINARY_ACK:this.onack(e);break;case s.PacketType.DISCONNECT:this.ondisconnect();break;case s.PacketType.CONNECT_ERROR:this.destroy();const t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){const t=e.data||[];o("emitting event %j",t),null!=e.id&&(o("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const r of t)r.apply(this,e)}super.emit.apply(this,e)}ack(e){const t=this;let r=!1;return function(...n){r||(r=!0,o("sending ack %j",n),t.packet({type:s.PacketType.ACK,id:e,data:n}))}}onack(e){const t=this.acks[e.id];"function"==typeof t?(o("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):o("bad ack %s",e.id)}onconnect(e){o("socket connected with id %s",e),this.id=e,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach((e=>this.emitEvent(e))),this.receiveBuffer=[],this.sendBuffer.forEach((e=>{this.notifyOutgoingListeners(e),this.packet(e)})),this.sendBuffer=[]}ondisconnect(){o("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach((e=>e())),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&(o("performing disconnect (%s)",this.nsp),this.packet({type:s.PacketType.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let r=0;r<t.length;r++)if(e===t[r])return t.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let r=0;r<t.length;r++)if(e===t[r])return t.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const r of t)r.apply(this,e.data)}}}},"../../node_modules/socket.io-client/build/esm-debug/url.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{url:()=>i});var s=r("../../node_modules/engine.io-client/build/esm-debug/index.js");const n=r("../../node_modules/debug/src/index.js")("socket.io-client:url");function i(e,t="",r){let i=e;r=r||"undefined"!=typeof location&&location,null==e&&(e=r.protocol+"//"+r.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?r.protocol+e:r.host+e),/^(https?|wss?):\/\//.test(e)||(n("protocol-less url %s",e),e=void 0!==r?r.protocol+"//"+e:"https://"+e),n("parse %s",e),i=(0,s.parse)(e)),i.port||(/^(http|ws)$/.test(i.protocol)?i.port="80":/^(http|ws)s$/.test(i.protocol)&&(i.port="443")),i.path=i.path||"/";const o=-1!==i.host.indexOf(":")?"["+i.host+"]":i.host;return i.id=i.protocol+"://"+o+":"+i.port+t,i.href=i.protocol+"://"+o+(r&&r.port===i.port?"":":"+i.port),i}},"../../node_modules/socket.io-parser/build/esm-debug/binary.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{deconstructPacket:()=>n,reconstructPacket:()=>o});var s=r("../../node_modules/socket.io-parser/build/esm-debug/is-binary.js");function n(e){const t=[],r=e.data,s=e;return s.data=i(r,t),s.attachments=t.length,{packet:s,buffers:t}}function i(e,t){if(!e)return e;if((0,s.isBinary)(e)){const r={_placeholder:!0,num:t.length};return t.push(e),r}if(Array.isArray(e)){const r=new Array(e.length);for(let s=0;s<e.length;s++)r[s]=i(e[s],t);return r}if("object"==typeof e&&!(e instanceof Date)){const r={};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=i(e[s],t));return r}return e}function o(e,t){return e.data=a(e.data,t),delete e.attachments,e}function a(e,t){if(!e)return e;if(e&&!0===e._placeholder){if("number"==typeof e.num&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}if(Array.isArray(e))for(let r=0;r<e.length;r++)e[r]=a(e[r],t);else if("object"==typeof e)for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=a(e[r],t));return e}},"../../node_modules/socket.io-parser/build/esm-debug/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Decoder:()=>h,Encoder:()=>l,PacketType:()=>c,protocol:()=>a});var s=r("../../node_modules/@socket.io/component-emitter/index.mjs"),n=r("../../node_modules/socket.io-parser/build/esm-debug/binary.js"),i=r("../../node_modules/socket.io-parser/build/esm-debug/is-binary.js");const o=r("../../node_modules/debug/src/index.js")("socket.io-parser"),a=5;var c;!function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}(c||(c={}));class l{constructor(e){this.replacer=e}encode(e){return o("encoding packet %j",e),e.type!==c.EVENT&&e.type!==c.ACK||!(0,i.hasBinary)(e)?[this.encodeAsString(e)]:this.encodeAsBinary({type:e.type===c.EVENT?c.BINARY_EVENT:c.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id})}encodeAsString(e){let t=""+e.type;return e.type!==c.BINARY_EVENT&&e.type!==c.BINARY_ACK||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),o("encoded %j as %s",e,t),t}encodeAsBinary(e){const t=(0,n.deconstructPacket)(e),r=this.encodeAsString(t.packet),s=t.buffers;return s.unshift(r),s}}class h extends s.Emitter{constructor(e){super(),this.reviver=e}add(e){let t;if("string"==typeof e){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const r=t.type===c.BINARY_EVENT;r||t.type===c.BINARY_ACK?(t.type=r?c.EVENT:c.ACK,this.reconstructor=new u(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else{if(!(0,i.isBinary)(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t))}}decodeString(e){let t=0;const r={type:Number(e.charAt(0))};if(void 0===c[r.type])throw new Error("unknown packet type "+r.type);if(r.type===c.BINARY_EVENT||r.type===c.BINARY_ACK){const s=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);const n=e.substring(s,t);if(n!=Number(n)||"-"!==e.charAt(t))throw new Error("Illegal attachments");r.attachments=Number(n)}if("/"===e.charAt(t+1)){const s=t+1;for(;++t&&","!==e.charAt(t)&&t!==e.length;);r.nsp=e.substring(s,t)}else r.nsp="/";const s=e.charAt(t+1);if(""!==s&&Number(s)==s){const s=t+1;for(;++t;){const r=e.charAt(t);if(null==r||Number(r)!=r){--t;break}if(t===e.length)break}r.id=Number(e.substring(s,t+1))}if(e.charAt(++t)){const s=this.tryParse(e.substr(t));if(!h.isPayloadValid(r.type,s))throw new Error("invalid payload");r.data=s}return o("decoded %s as %j",e,r),r}tryParse(e){try{return JSON.parse(e,this.reviver)}catch(e){return!1}}static isPayloadValid(e,t){switch(e){case c.CONNECT:return"object"==typeof t;case c.DISCONNECT:return void 0===t;case c.CONNECT_ERROR:return"string"==typeof t||"object"==typeof t;case c.EVENT:case c.BINARY_EVENT:return Array.isArray(t)&&t.length>0;case c.ACK:case c.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class u{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const e=(0,n.reconstructPacket)(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}},"../../node_modules/socket.io-parser/build/esm-debug/is-binary.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{hasBinary:()=>c,isBinary:()=>a});const s="function"==typeof ArrayBuffer,n=Object.prototype.toString,i="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===n.call(Blob),o="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===n.call(File);function a(e){return s&&(e instanceof ArrayBuffer||(e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer)(e))||i&&e instanceof Blob||o&&e instanceof File}function c(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e)){for(let t=0,r=e.length;t<r;t++)if(c(e[t]))return!0;return!1}if(a(e))return!0;if(e.toJSON&&"function"==typeof e.toJSON&&1===arguments.length)return c(e.toJSON(),!0);for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&c(e[t]))return!0;return!1}},"../../node_modules/ws/wrapper.mjs":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Receiver:()=>n,Sender:()=>i,WebSocket:()=>o,WebSocketServer:()=>a,createWebSocketStream:()=>s,default:()=>c});var s=r("../../node_modules/ws/lib/stream.js"),n=r("../../node_modules/ws/lib/receiver.js"),i=r("../../node_modules/ws/lib/sender.js"),o=r("../../node_modules/ws/lib/websocket.js"),a=r("../../node_modules/ws/lib/websocket-server.js");const c=o},"../../node_modules/binary-extensions/binary-extensions.json":e=>{"use strict";e.exports=JSON.parse('["3dm","3ds","3g2","3gp","7z","a","aac","adp","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]')}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return n[e](r,r.exports,o),r.exports}s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var n=Object.create(null);o.r(n);var i={};t=t||[null,s({}),s([]),s(s)];for(var a=2&r&&e;"object"==typeof a&&!~t.indexOf(a);a=s(a))Object.getOwnPropertyNames(a).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,o.d(n,i),n},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};(()=>{"use strict";o.r(a),o.d(a,{PgDevConnector:()=>S});var e=o("../../node_modules/@babel/runtime/helpers/typeof.js"),t=o("../../node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),r=o("../../node_modules/@babel/runtime/helpers/toConsumableArray.js"),s=o("../../node_modules/@babel/runtime/helpers/asyncToGenerator.js"),n=o("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),i=o("../../node_modules/@babel/runtime/helpers/createClass.js"),c=o("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),l=o("../../node_modules/@babel/runtime/helpers/defineProperty.js"),h=o("../../node_modules/@babel/runtime/regenerator/index.js"),u=o("path"),p=o("fs"),d=o("../../node_modules/socket.io-client/build/esm-debug/index.js"),f=o("../../node_modules/chokidar/index.js"),m=o("../../src/framework-mgmt/transform-plugins.js"),g=o("../../src/framework-mgmt/pinegrow-config-manager.js"),y=["activeInProject","pluginPathFound","productKeyStatus","invalid"],b=["listenerServer","nuxtInstance"];function v(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return x(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?x(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var s=0,n=function(){};return{s:n,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s}function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var S=i((function i(o){var a=this;c(this,i),l(this,"init",(function(){a.customOptions.projectRoot=a.projectRoot=process.cwd(),a.processPinegrowConfig(),a.processRepoRoot()})),l(this,"processRepoRoot",(function(){try{if(a.customOptions.repoRoot){a.customOptions.repoRoot=(0,m.resolvePathAlias)(a.customOptions.repoRoot,a.aliases);try{if(u.isAbsolute(a.customOptions.repoRoot)?a.repoRoot=a.customOptions.repoRoot:a.repoRoot=u.resolve(a.projectRoot,a.customOptions.repoRoot),a.customOptions.repoRoot&&!a.isExistsAndDirectory(a.repoRoot))return void console.log("Pinegrow: Unable to process repoRoot option - ".concat(a.customOptions.repoRoot,". Directory doesn't exists at ").concat(a.repoRoot,"!"))}catch(e){return console.log(e),void console.log("Pinegrow: Unable to process repoRoot option - ".concat(a.customOptions.repoRoot,". Make sure the repoRoot is either a relative (beginning with ./ or ../) or an absolute path (beginning with a /)!"))}a.customOptions.repoRoot=a.repoRoot}else a.customOptions.repoRoot=a.repoRoot=a.projectRoot;var e=u.resolve(a.customOptions.repoRoot,"node_modules","@pinegrow");if(!a.isExistsAndDirectory(e))return void console.log("Pinegrow: Unable to find node_modules/@pinegrow folder at ".concat(a.customOptions.repoRoot,". If your project is part of a mono-repo, add the repoRoot option to liveDesigner to specify the relative path from your project root to the root of the mono-repo!"))}catch(e){console.log(e),console.log("Pinegrow: An error occured when processing repoRoot!")}})),l(this,"processConfigPath",(function(){try{if(a.customOptions.configPath){a.customOptions.configPath=(0,m.resolvePathAlias)(a.customOptions.configPath,a.aliases);try{if(u.isAbsolute(a.customOptions.configPath)?a.configPath=a.customOptions.configPath:a.configPath=u.resolve(a.projectRoot,a.customOptions.configPath),a.customOptions.configPath&&!a.isExistsPath(a.configPath))return void console.log("Pinegrow: Unable to process configPath option - ".concat(a.customOptions.configPath,". Path doesn't exists at ").concat(a.configPath,"!"))}catch(e){return console.log(e),void console.log("Pinegrow: Unable to process configPath option - ".concat(a.customOptions.configPath,". Make sure the configPath is either a relative (beginning with ./) or an absolute path (beginning with a /)!"))}a.customOptions.configPath=a.configPath}else a.customOptions.configPath=a.configPath=a.projectRoot,a.viteDevServer&&(a.customOptions.configPath=a.configPath=a.viteDevServer.config.configFile||a.viteDevServer.config.root||a.projectRoot);a.configPath&&a.isFile(a.configPath)?(a.customOptions.configRoot=a.configRoot=u.dirname(a.configPath),a.customOptions.configFilename=a.configFilename=u.basename(a.configPath)):a.customOptions.configRoot=a.configRoot=a.configPath}catch(e){console.log(e),console.log("Pinegrow: An error occured when processing configPath!")}})),l(this,"processPinegrowConfig",(function(){var e;a.pinegrowConfigWatcher&&(a.pinegrowConfigWatcher.close(),a.pinegrowConfigWatcher=null);var t=(0,g.getPinegrowConfig)(a.projectRoot,a.restart);null!=t&&null!==(e=t.pinegrowConfig)&&void 0!==e&&e.liveDesigner&&(a.customOptions=E(E({},a.customOptions),t.pinegrowConfig.liveDesigner)),null!=t&&t.pinegrowConfigWatcher&&(a.pinegrowConfigWatcher=t.pinegrowConfigWatcher)})),l(this,"processPlugins",(function(){a.customOptions.plugins&&!Array.isArray(a.customOptions.plugins)&&(console.log("Pinegrow: plugins option was ignored. Make sure it's an array!"),a.customOptions.plugins=[]);try{a.plugins=(0,m.transformPluginsArray)(a.customOptions,a.repoRoot,a.projectRoot,!0,a.aliases)}catch(e){console.log(e),console.log("Pinegrow: An error occured when processing plugins!")}})),l(this,"processFilesNotToWatchByDevServer",(function(){Object.entries(a.plugins).forEach((function(e){var t,r,s=n(e,2),i=(s[0],s[1]);null!==(t=i.options)&&void 0!==t&&t.configPath&&i.options.restartOnConfigUpdate&&(a.pluginFilesNotToBeWatchedByDevServer.add(i.options.configPath),a.fileNamesThatRestartDevServer.add(i.options.configPath)),null!==(r=i.options)&&void 0!==r&&r.themePath&&(a.pluginFilesNotToBeWatchedByDevServer.add(i.options.themePath),i.options.restartOnThemeUpdate&&a.fileNamesThatRestartDevServer.add(i.options.themePath))}))})),l(this,"validatePluginProductKeys",(function(){try{a.pluginsWithProductKeys={},Object.entries(a.plugins).filter((function(e){var t=n(e,2),r=(t[0],t[1]);return r.productKey||r.dependency.startsWith("@pinegrow")&&r.dependency.endsWith("-plugin")&&"@pinegrow/vite-plugin"!==r.dependency})).forEach((function(e){var t=n(e,2),r=t[0],s=t[1];return a.pluginsWithProductKeys[r]={dependency:s.dependency,productKey:s.productKey}})),Object.entries(a.pluginsWithProductKeys).length?a.socket&&a.socket.emit("checkPluginProductsAreActive",a.pluginsWithProductKeys):a.reset()}catch(e){console.log(e),console.log("Pinegrow: An error occured when validating plugins!")}})),l(this,"validatePostPluginProductKeysStatusCheck",(function(){Object.entries(a.pluginsWithProductKeysStatus).forEach((function(e){var t=n(e,2),r=t[0],s=t[1],i=s.productKeyStatus,o=(s.productUrl,s.activeInProject);a.plugins[r]&&(a.plugins[r].productKeyStatus=i,a.plugins[r].activeInProject=o)})),a.reset()})),l(this,"reset",s(h.mark((function e(){return h.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a.watchedPluginFiles=[],a.pluginFileWatcher&&(a.pluginFileWatcher.close(),a.pluginFileWatcher=null),a.watchPluginFiles(),e.next=5,a.refresh();case 5:case"end":return e.stop()}}),e)})))),l(this,"refresh",s(h.mark((function e(){return h.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.getPluginData();case 2:a.sendDevServerData("config");case 3:case"end":return e.stop()}}),e)})))),l(this,"restart",function(){var e=s(h.mark((function e(t){var r;return h.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=10;break}if(e.prev=1,r=u.basename(t),!a.fileNamesThatRestartDevServer.has(t)&&!a.fileNamesThatRestartDevServer.has(r)){e.next=6;break}return a.restartDevServer(),e.abrupt("return");case 6:e.next=10;break;case 8:e.prev=8,e.t0=e.catch(1);case 10:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t){return e.apply(this,arguments)}}()),l(this,"restartDevServer",(function(){a.customOptions.nuxtInstance?a.customOptions.nuxtInstance.callHook("restart"):a.viteDevServer.restart(!0)})),l(this,"getPluginData",s(h.mark((function e(){var t,r,s,i,o,c,l,u;return h.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=[],r=Object.entries(a.plugins).filter((function(e){var t=n(e,2),r=(t[0],t[1]);return!1!==r.productKeyStatus&&r.activeInProject})),s=v(r),e.prev=3,s.s();case 5:if((i=s.n()).done){e.next=23;break}if(o=n(i.value,2),c=o[0],l=o[1],e.prev=7,"tailwindcss"===l.key||!l.init||"function"!=typeof l.init){e.next=14;break}return e.next=11,l.init(l.options);case 11:u=e.sent,t.push(u),u&&(a.plugins[c].data=u);case 14:e.next=21;break;case 16:return e.prev=16,e.t0=e.catch(7),console.log(e.t0),console.log("Pinegrow: Unable to process plugin: ".concat(a.plugins[c].name)),e.abrupt("return");case 21:e.next=5;break;case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(3),s.e(e.t1);case 28:return e.prev=28,s.f(),e.finish(28);case 31:return e.abrupt("return",t);case 32:case"end":return e.stop()}}),e,null,[[3,25,28,31],[7,16]])})))),l(this,"watchPluginFiles",s(h.mark((function e(){var t,s,i,o;return h.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Object.entries(a.plugins).filter((function(e){var t=n(e,2),r=(t[0],t[1]);return!1!==r.productKeyStatus&&r.activeInProject})),s=v(t),e.prev=2,o=h.mark((function e(){var t,r,s,o;return h.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n(i.value,2),r=t[0],(s=t[1]).options){o=s.options;try{a.plugins[r].watchedFiles=[],Object.entries(o).forEach((function(e){var t=n(e,2),s=t[0],i=t[1];if(s&&(s.toLowerCase().endsWith("file")||s.toLowerCase().endsWith("path")||s.toLowerCase().endsWith("root"))&&i&&"string"==typeof i){var o=i;("themePath"===s||a.isExistsAndFile(o))&&(a.plugins[r].watchedFiles.push(o),a.watchedPluginFiles.push(o))}}))}catch(e){console.log(e),console.log("Pinegrow: Unable to watch files for plugin: ".concat(a.plugins[r].name))}}case 2:case"end":return e.stop()}}),e)})),s.s();case 5:if((i=s.n()).done){e.next=9;break}return e.delegateYield(o(),"t0",7);case 7:e.next=5;break;case 9:e.next=14;break;case 11:e.prev=11,e.t1=e.catch(2),s.e(e.t1);case 14:return e.prev=14,s.f(),e.finish(14);case 17:a.watchedPluginFiles=r(new Set(a.watchedPluginFiles)),a.pluginFileWatcher||(a.pluginFileWatcher=f.watch(a.watchedPluginFiles,{ignored:function(e){return!a.watchedPluginFiles.includes(e)},ignoreInitial:!0,awaitWriteFinish:{stabilityThreshold:1e3,pollInterval:100}}),a.pluginFileWatcher.on("unlink",(function(e){return a.pluginFileWatcher.unwatch(e)})).on("add",(function(e){return a.reset()})).on("change",(function(e){return a.restart(e)})).on("error",(function(e){console.log(e),console.log("Pinegrow: An error occured. Try re-starting your dev-server!")})));case 19:case"end":return e.stop()}}),e,null,[[2,11,14,17]])})))),l(this,"initHandShakeWithPinegrow",(function(){a.processPlugins(),a.processFilesNotToWatchByDevServer();try{a.watcher&&(a.watcher.close(),a.watcher=null),a.connectorJson_folderPath=u.resolve(a.projectRoot,"_pginfo"),a.connectorJson_filePath=u.resolve(a.connectorJson_folderPath,"live-designer.json"),a.watcher=f.watch([a.connectorJson_filePath,a.connectorJson_folderPath],{ignored:function(e){return![a.connectorJson_filePath,a.connectorJson_folderPath].includes(e)},awaitWriteFinish:{stabilityThreshold:1e3,pollInterval:100}}),a.watcher.on("unlinkDir",(function(e){return a.disconnectWithPinegrow()})).on("unlink",(function(e){return a.disconnectWithPinegrow()})).on("add",(function(e){return a.fetchPinegrowUrlAndConnect()})).on("change",(function(e){return a.fetchPinegrowUrlAndConnect()})).on("error",(function(e){console.log(e),console.log("Pinegrow: An error occured. Try re-starting your dev-server!")}))}catch(e){console.log(e),console.log("\nPinegrow: Unable to connect!")}})),l(this,"fetchPinegrowUrlAndConnect",(function(){try{var e={};if(p.existsSync(a.connectorJson_filePath)){var t=p.readFileSync(a.connectorJson_filePath,{encoding:"utf8",flag:"r"});if(!t.trim())return;e={},e=JSON.parse(t)}if(e.pinegrow_url){a.pinegrow_url=e.pinegrow_url;try{a.socket&&a.socket.connected?(a.validatePluginProductKeys(),a._socketOnConnect&&a._socketOnConnect()):a.connectionManager()}catch(e){}}else a.disconnectWithPinegrow()}catch(e){}})),l(this,"disconnectWithPinegrow",(function(){a.pinegrow_url=null,a.unsubscribeSocketEventHandlers(),a.removeSocket(),a._disconnectWithPinegrow&&a._disconnectWithPinegrow()})),l(this,"unsubscribeSocketEventHandlers",(function(){a.socket&&(a.socket.removeListener("error"),a.socket.removeListener("connect_error"),a.socket.removeListener("disconnect"),a.socket.removeListener("reconnect_attempt"),a.socket.removeListener("reconnect_error"),a.socket.removeListener("reconnect_failed"))})),l(this,"removeSocket",(function(){a.socket&&(a.socket.destroy(),a.socket=null)})),l(this,"connectionManager",(function(){var e=a.pinegrow_url;a.socket=(0,d.default)(e,{autoConnect:!0,reconnectionDelay:500,reconnectionDelayMax:5e3,randomizationFactor:.5}),a.socket.on("connect",(function(e){a.projectMetaData=e,a.dev_server||console.log("\nPinegrow: Connected!"),a.dev_server&&a.dev_server_url&&console.log("\nPinegrow: Connected to ".concat(a.dev_server_url)),a.validatePluginProductKeys(),a._socketOnConnect&&a._socketOnConnect()})),a.socket.on("onConnected",(function(e){a.projectMetaData||(a.projectMetaData=e)})),a.socket.on("pluginProductsActiveStatus",(function(e){a.pluginsWithProductKeysStatus=e,a.validatePostPluginProductKeysStatusCheck()})),a.socket.on("error",(function(){})),a.socket.on("connect_error",(function(e){})),a.socket.on("disconnect",(function(e,t){console.log("Pinegrow: Disconnected!"),a._socketOnDisconnect&&a._socketOnDisconnect()})),a.socket.on("reconnect_attempt",(function(e){})),a.socket.on("reconnect_error",(function(){})),a.socket.on("reconnect_failed",(function(){a.unsubscribeSocketEventHandlers(),a.removeSocket()})),a.socket.on("fetchDevServerData",(function(){a.sendDevServerData("connection")})),a._connectionManager&&a._connectionManager()})),l(this,"sendDevServerData",(function(e){var r=Object.values(a.plugins).map((function(e){return e.activeInProject,e.pluginPathFound,e.productKeyStatus,e.invalid,t(e,y)})),s=a.customOptions,n=(s.listenerServer,s.nuxtInstance,t(s,b));a.socket&&a.socket.emit("devServerData",{reason:e,dev_server:a.dev_server,dev_server_url:a.dev_server_url,aliases:a.aliases,customOptions:E(E({},n),{},{plugins:r})})})),l(this,"sendDevServerUrl",(function(){a.dev_server_url&&a.socket&&a.socket.connected&&(console.log("\nPinegrow: Connected with dev-server at ".concat(a.dev_server_url)),a.sendDevServerData("config"))})),l(this,"isFile",(function(e){return!!p.statSync(e).isFile()})),l(this,"isExistsPath",(function(e){return!!p.existsSync(e)})),l(this,"isExistsAndFile",(function(e){return!(!p.existsSync(e)||!p.statSync(e).isFile())})),l(this,"isExistsAndDirectory",(function(e){return!(!p.existsSync(e)||!p.statSync(e).isDirectory())})),l(this,"parseQueryString",(function(e){var t=e.split("?",2),r=n(t,2),s=r[0],i=r[1],o=Object.fromEntries(new URLSearchParams(i));return null!=o.vue&&(o.vue=!0),null!=o.index&&(o.index=Number(o.index)),null!=o.raw&&(o.raw=!0),null!=o.scoped&&(o.scoped=!0),{filename:s,query:o}})),this.dev_server=!1,this.aliases=[],this.plugins={},this.globsNotToWatchByDevServer=new Set(["**/_pgbackup/**","**/_pginfo/**","**/pinegrow.json","**/pinegrow.config.js","**/pinegrow.config.cjs","**/pinegrow.config.ts"]),this.pluginFilesNotToBeWatchedByDevServer=new Set,this.fileNamesThatRestartDevServer=new Set(["pinegrow.config.js","pinegrow.config.cjs","pinegrow.config.ts"]),o&&"object"!==e(o)&&console.log("Pinegrow: liveDesigner options ignored. Make sure it's of type object!"),this.customOptions=o||{},this.customOptions.plugins||(this.customOptions.plugins=[]),this.customOptions.mappingType||(this.customOptions.mappingType="type1"),Object.filter=function(e,t){return Object.fromEntries(Object.entries(e).filter(t))}}))})(),e.exports=a})()}},t={};function r(s){var n=t[s];if(void 0!==n)return n.exports;var i=t[s]={exports:{}};return e[s](i,i.exports,r),i.exports}r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";r.r(s),r.d(s,{liveDesigner:()=>Cb});var e=r(461),t=r(408),n=r(681),i=r(870),o=r(100),a=r(297),c=r(230),l=r(421),h=r(660),u=r(290),p=r(841),d=r(228),f=r(17),m=r(358);const g=require("vite");function y(e,t){const r=Object.create(null),s=e.split(",");for(let e=0;e<s.length;e++)r[s[e]]=!0;return t?e=>!!r[e.toLowerCase()]:e=>!!r[e]}const b={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},v={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},x=y("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function w(e){if(W(e)){const t={};for(let r=0;r<e.length;r++){const s=e[r],n=Y(s)?T(s):w(s);if(n)for(const e in n)t[e]=n[e]}return t}return Y(e)||X(e)?e:void 0}const E=/;(?![^(]*\))/g,S=/:([^]+)/,_=/\/\*.*?\*\//gs;function T(e){const t={};return e.replace(_,"").split(E).forEach((e=>{if(e){const r=e.split(S);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}function P(e){let t="";if(!e||Y(e))return t;for(const r in e){const s=e[r],n=r.startsWith("--")?r:ae(r);(Y(s)||"number"==typeof s)&&(t+=`${n}:${s};`)}return t}function A(e){let t="";if(Y(e))t=e;else if(W(e))for(let r=0;r<e.length;r++){const s=A(e[r]);s&&(t+=s+" ")}else if(X(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const C=y("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),k=y("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),O=y("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),N=y("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly,async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),I=y("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),R=y("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),L=/["'&<>]/;function M(e){const t=""+e,r=L.exec(t);if(!r)return t;let s,n,i="",o=0;for(n=r.index;n<t.length;n++){switch(t.charCodeAt(n)){case 34:s=""";break;case 38:s="&";break;case 39:s="'";break;case 60:s="<";break;case 62:s=">";break;default:continue}o!==n&&(i+=t.slice(o,n)),o=n+1,i+=s}return o!==n?i+t.slice(o,n):i}const D=e=>Y(e)?e:null==e?"":W(e)||X(e)&&(e.toString===Q||!K(e.toString))?JSON.stringify(e,j,2):String(e),j=(e,t)=>t&&t.__v_isRef?j(e,t.value):G(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,r])=>(e[`${t} =>`]=r,e)),{})}:z(t)?{[`Set(${t.size})`]:[...t.values()]}:!X(t)||W(t)||ee(t)?t:String(t),F=Object.freeze({}),B=()=>{},U=()=>!1,q=/^on[^a-z]/,$=e=>q.test(e),H=Object.assign,V=Object.prototype.hasOwnProperty,W=Array.isArray,G=e=>"[object Map]"===Z(e),z=e=>"[object Set]"===Z(e),K=e=>"function"==typeof e,Y=e=>"string"==typeof e,J=e=>"symbol"==typeof e,X=e=>null!==e&&"object"==typeof e,Q=Object.prototype.toString,Z=e=>Q.call(e),ee=e=>"[object Object]"===Z(e),te=y(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),re=y("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),se=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},ne=/-(\w)/g,ie=se((e=>e.replace(ne,((e,t)=>t?t.toUpperCase():"")))),oe=/\B([A-Z])/g,ae=se((e=>e.replace(oe,"-$1").toLowerCase())),ce=se((e=>e.charAt(0).toUpperCase()+e.slice(1))),le=se((e=>e?`on${ce(e)}`:"")),he=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function ue(e){return he.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function pe(e){throw e}function de(e){console.warn(`[Vue warn] ${e.message}`)}function fe(e,t,r,s){const n=(r||me)[e]+(s||""),i=new SyntaxError(String(n));return i.code=e,i.loc=t,i}const me={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '\x3c!--' in comment.",17:"Attribute name cannot contain U+0022 (\"), U+0027 ('), and U+003C (<).",18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:"v-model cannot be used on a prop, because local prop bindings are not writable.\nUse a v-bind binding combined with a v-on listener that emits update:x event instead.",45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',51:""},ge=Symbol("Fragment"),ye=Symbol("Teleport"),be=Symbol("Suspense"),ve=Symbol("KeepAlive"),xe=Symbol("BaseTransition"),we=Symbol("openBlock"),Ee=Symbol("createBlock"),Se=Symbol("createElementBlock"),_e=Symbol("createVNode"),Te=Symbol("createElementVNode"),Pe=Symbol("createCommentVNode"),Ae=Symbol("createTextVNode"),Ce=Symbol("createStaticVNode"),ke=Symbol("resolveComponent"),Oe=Symbol("resolveDynamicComponent"),Ne=Symbol("resolveDirective"),Ie=Symbol("resolveFilter"),Re=Symbol("withDirectives"),Le=Symbol("renderList"),Me=Symbol("renderSlot"),De=Symbol("createSlots"),je=Symbol("toDisplayString"),Fe=Symbol("mergeProps"),Be=Symbol("normalizeClass"),Ue=Symbol("normalizeStyle"),qe=Symbol("normalizeProps"),$e=Symbol("guardReactiveProps"),He=Symbol("toHandlers"),Ve=Symbol("camelize"),We=Symbol("capitalize"),Ge=Symbol("toHandlerKey"),ze=Symbol("setBlockTracking"),Ke=Symbol("pushScopeId"),Ye=Symbol("popScopeId"),Je=Symbol("withCtx"),Xe=Symbol("unref"),Qe=Symbol("isRef"),Ze=Symbol("withMemo"),et=Symbol("isMemoSame"),tt={[ge]:"Fragment",[ye]:"Teleport",[be]:"Suspense",[ve]:"KeepAlive",[xe]:"BaseTransition",[we]:"openBlock",[Ee]:"createBlock",[Se]:"createElementBlock",[_e]:"createVNode",[Te]:"createElementVNode",[Pe]:"createCommentVNode",[Ae]:"createTextVNode",[Ce]:"createStaticVNode",[ke]:"resolveComponent",[Oe]:"resolveDynamicComponent",[Ne]:"resolveDirective",[Ie]:"resolveFilter",[Re]:"withDirectives",[Le]:"renderList",[Me]:"renderSlot",[De]:"createSlots",[je]:"toDisplayString",[Fe]:"mergeProps",[Be]:"normalizeClass",[Ue]:"normalizeStyle",[qe]:"normalizeProps",[$e]:"guardReactiveProps",[He]:"toHandlers",[Ve]:"camelize",[We]:"capitalize",[Ge]:"toHandlerKey",[ze]:"setBlockTracking",[Ke]:"pushScopeId",[Ye]:"popScopeId",[Je]:"withCtx",[Xe]:"unref",[Qe]:"isRef",[Ze]:"withMemo",[et]:"isMemoSame"};function rt(e){Object.getOwnPropertySymbols(e).forEach((t=>{tt[t]=e[t]}))}const st={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function nt(e,t=st){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function it(e,t,r,s,n,i,o,a=!1,c=!1,l=!1,h=st){return e&&(a?(e.helper(we),e.helper(dn(e.inSSR,l))):e.helper(pn(e.inSSR,l)),o&&e.helper(Re)),{type:13,tag:t,props:r,children:s,patchFlag:n,dynamicProps:i,directives:o,isBlock:a,disableTracking:c,isComponent:l,loc:h}}function ot(e,t=st){return{type:17,loc:t,elements:e}}function at(e,t=st){return{type:15,loc:t,properties:e}}function ct(e,t){return{type:16,loc:st,key:Y(e)?lt(e,!0):e,value:t}}function lt(e,t=!1,r=st,s=0){return{type:4,loc:r,content:e,isStatic:t,constType:t?3:s}}function ht(e,t=st){return{type:8,loc:t,children:e}}function ut(e,t=[],r=st){return{type:14,loc:r,callee:e,arguments:t}}function pt(e,t,r=!1,s=!1,n=st){return{type:18,params:e,returns:t,newline:r,isSlot:s,loc:n}}function dt(e,t,r,s=!0){return{type:19,test:e,consequent:t,alternate:r,newline:s,loc:st}}function ft(e,t,r=!1){return{type:20,index:e,value:t,isVNode:r,loc:st}}function mt(e){return{type:21,body:e,loc:st}}function gt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function yt(e){var t=e.default;if("function"==typeof t){var r=function(){return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:function(){return e[t]}})})),r}var bt={};Object.defineProperty(bt,"__esModule",{value:!0});const vt=/\r\n?|[\n\u2028\u2029]/,xt=new RegExp(vt.source,"g");function wt(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}const Et=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,St=new RegExp("(?=("+/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function _t(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class Tt{constructor(e,t){this.line=void 0,this.column=void 0,this.line=e,this.column=t}}class Pt{constructor(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}}class At{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){return this.plugins.has(e)}getPluginOption(e,t){if(this.hasPlugin(e))return this.plugins.get(e)[t]}}function Ct(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function kt(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function Ot(e,t,r){let s=null,n=t.length;for(;null===s&&n>0;)s=t[--n];null===s||s.start>r.start?kt(e,r.comments):Ct(s,r.comments)}class Nt extends At{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.comments.push(e)}processComment(e){const{commentStack:t}=this.state,r=t.length;if(0===r)return;let s=r-1;const n=t[s];n.start===e.end&&(n.leadingNode=e,s--);const{start:i}=e;for(;s>=0;s--){const r=t[s],n=r.end;if(!(n>i)){n===i&&(r.trailingNode=e);break}r.containingNode=e,this.finalizeComment(r),t.splice(s,1)}}finalizeComment(e){const{comments:t}=e;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&Ct(e.leadingNode,t),null!==e.trailingNode&&function(e,t){void 0===e.leadingComments?e.leadingComments=t:e.leadingComments.unshift(...t)}(e.trailingNode,t);else{const{containingNode:r,start:s}=e;if(44===this.input.charCodeAt(s-1))switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Ot(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":Ot(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Ot(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Ot(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":Ot(r,r.specifiers,e);break;default:kt(r,t)}else kt(r,t)}}finalizeRemainingComments(){const{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){const{commentStack:t}=this.state,{length:r}=t;if(0===r)return;const s=t[r-1];s.leadingNode===e&&(s.leadingNode=null)}takeSurroundingComments(e,t,r){const{commentStack:s}=this.state,n=s.length;if(0===n)return;let i=n-1;for(;i>=0;i--){const n=s[i],o=n.end;if(n.start===r)n.leadingNode=e;else if(o===t)n.trailingNode=e;else if(o<t)break}}}const It=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"}),Rt=Dt({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipeBodyIsTighter:"Unexpected %0 after pipeline body; any %0 expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:'Invalid topic token %0. In order to use %0 as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "%0" }.',PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:"Hack-style pipe body cannot be an unparenthesized %0 expression; please wrap it in parentheses.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},It.SyntaxError),Lt=Dt({ImportMetaOutsideModule:"import.meta may appear only with 'sourceType: \"module\"'",ImportOutsideModule:"'import' and 'export' may appear only with 'sourceType: \"module\"'"},It.SourceTypeModuleError);function Mt(e,t){return"flow"===t&&"PatternIsOptional"===e?"OptionalBindingPattern":e}function Dt(e,t,r){const s={};return Object.keys(e).forEach((n=>{s[n]=Object.freeze({code:t,reasonCode:Mt(n,r),template:e[n]})})),Object.freeze(s)}class jt extends Nt{getLocationForPosition(e){let t;return t=e===this.state.start?this.state.startLoc:e===this.state.lastTokStart?this.state.lastTokStartLoc:e===this.state.end?this.state.endLoc:e===this.state.lastTokEnd?this.state.lastTokEndLoc:function(e,t){let r,s=1,n=0;for(xt.lastIndex=0;(r=xt.exec(e))&&r.index<t;)s++,n=xt.lastIndex;return new Tt(s,t-n)}(this.input,e),t}raise(e,{code:t,reasonCode:r,template:s},...n){return this.raiseWithData(e,{code:t,reasonCode:r},s,...n)}raiseOverwrite(e,{code:t,template:r},...s){const n=this.getLocationForPosition(e),i=r.replace(/%(\d+)/g,((e,t)=>s[t]))+` (${n.line}:${n.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let r=t.length-1;r>=0;r--){const s=t[r];if(s.pos===e)return Object.assign(s,{message:i});if(s.pos<e)break}}return this._raise({code:t,loc:n,pos:e},i)}raiseWithData(e,t,r,...s){const n=this.getLocationForPosition(e),i=r.replace(/%(\d+)/g,((e,t)=>s[t]))+` (${n.line}:${n.column})`;return this._raise(Object.assign({loc:n,pos:e},t),i)}_raise(e,t){const r=new SyntaxError(t);if(Object.assign(r,e),this.options.errorRecovery)return this.isLookahead||this.state.errors.push(r),r;throw r}}class Ft{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}}const Bt={brace:new Ft("{"),template:new Ft("`",!0)},Ut=!0,qt=!0,$t=!0,Ht=!0,Vt=!0;class Wt{constructor(e,t={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=null!=t.binop?t.binop:null,this.updateContext=null}}const Gt=new Map;function zt(e,t={}){t.keyword=e;const r=rr(e,t);return Gt.set(e,r),r}function Kt(e,t){return rr(e,{beforeExpr:Ut,binop:t})}let Yt=-1;const Jt=[],Xt=[],Qt=[],Zt=[],er=[],tr=[];function rr(e,t={}){var r,s,n,i;return++Yt,Xt.push(e),Qt.push(null!=(r=t.binop)?r:-1),Zt.push(null!=(s=t.beforeExpr)&&s),er.push(null!=(n=t.startsExpr)&&n),tr.push(null!=(i=t.prefix)&&i),Jt.push(new Wt(e,t)),Yt}function sr(e,t={}){var r,s,n,i;return++Yt,Gt.set(e,Yt),Xt.push(e),Qt.push(null!=(r=t.binop)?r:-1),Zt.push(null!=(s=t.beforeExpr)&&s),er.push(null!=(n=t.startsExpr)&&n),tr.push(null!=(i=t.prefix)&&i),Jt.push(new Wt("name",t)),Yt}const nr={bracketL:rr("[",{beforeExpr:Ut,startsExpr:qt}),bracketHashL:rr("#[",{beforeExpr:Ut,startsExpr:qt}),bracketBarL:rr("[|",{beforeExpr:Ut,startsExpr:qt}),bracketR:rr("]"),bracketBarR:rr("|]"),braceL:rr("{",{beforeExpr:Ut,startsExpr:qt}),braceBarL:rr("{|",{beforeExpr:Ut,startsExpr:qt}),braceHashL:rr("#{",{beforeExpr:Ut,startsExpr:qt}),braceR:rr("}",{beforeExpr:Ut}),braceBarR:rr("|}"),parenL:rr("(",{beforeExpr:Ut,startsExpr:qt}),parenR:rr(")"),comma:rr(",",{beforeExpr:Ut}),semi:rr(";",{beforeExpr:Ut}),colon:rr(":",{beforeExpr:Ut}),doubleColon:rr("::",{beforeExpr:Ut}),dot:rr("."),question:rr("?",{beforeExpr:Ut}),questionDot:rr("?."),arrow:rr("=>",{beforeExpr:Ut}),template:rr("template"),ellipsis:rr("...",{beforeExpr:Ut}),backQuote:rr("`",{startsExpr:qt}),dollarBraceL:rr("${",{beforeExpr:Ut,startsExpr:qt}),at:rr("@"),hash:rr("#",{startsExpr:qt}),interpreterDirective:rr("#!..."),eq:rr("=",{beforeExpr:Ut,isAssign:Ht}),assign:rr("_=",{beforeExpr:Ut,isAssign:Ht}),slashAssign:rr("_=",{beforeExpr:Ut,isAssign:Ht}),xorAssign:rr("_=",{beforeExpr:Ut,isAssign:Ht}),moduloAssign:rr("_=",{beforeExpr:Ut,isAssign:Ht}),incDec:rr("++/--",{prefix:Vt,postfix:!0,startsExpr:qt}),bang:rr("!",{beforeExpr:Ut,prefix:Vt,startsExpr:qt}),tilde:rr("~",{beforeExpr:Ut,prefix:Vt,startsExpr:qt}),pipeline:Kt("|>",0),nullishCoalescing:Kt("??",1),logicalOR:Kt("||",1),logicalAND:Kt("&&",2),bitwiseOR:Kt("|",3),bitwiseXOR:Kt("^",4),bitwiseAND:Kt("&",5),equality:Kt("==/!=/===/!==",6),lt:Kt("</>/<=/>=",7),gt:Kt("</>/<=/>=",7),relational:Kt("</>/<=/>=",7),bitShift:Kt("<</>>/>>>",8),plusMin:rr("+/-",{beforeExpr:Ut,binop:9,prefix:Vt,startsExpr:qt}),modulo:rr("%",{binop:10,startsExpr:qt}),star:rr("*",{binop:10}),slash:Kt("/",10),exponent:rr("**",{beforeExpr:Ut,binop:11,rightAssociative:!0}),_in:zt("in",{beforeExpr:Ut,binop:7}),_instanceof:zt("instanceof",{beforeExpr:Ut,binop:7}),_break:zt("break"),_case:zt("case",{beforeExpr:Ut}),_catch:zt("catch"),_continue:zt("continue"),_debugger:zt("debugger"),_default:zt("default",{beforeExpr:Ut}),_else:zt("else",{beforeExpr:Ut}),_finally:zt("finally"),_function:zt("function",{startsExpr:qt}),_if:zt("if"),_return:zt("return",{beforeExpr:Ut}),_switch:zt("switch"),_throw:zt("throw",{beforeExpr:Ut,prefix:Vt,startsExpr:qt}),_try:zt("try"),_var:zt("var"),_const:zt("const"),_with:zt("with"),_new:zt("new",{beforeExpr:Ut,startsExpr:qt}),_this:zt("this",{startsExpr:qt}),_super:zt("super",{startsExpr:qt}),_class:zt("class",{startsExpr:qt}),_extends:zt("extends",{beforeExpr:Ut}),_export:zt("export"),_import:zt("import",{startsExpr:qt}),_null:zt("null",{startsExpr:qt}),_true:zt("true",{startsExpr:qt}),_false:zt("false",{startsExpr:qt}),_typeof:zt("typeof",{beforeExpr:Ut,prefix:Vt,startsExpr:qt}),_void:zt("void",{beforeExpr:Ut,prefix:Vt,startsExpr:qt}),_delete:zt("delete",{beforeExpr:Ut,prefix:Vt,startsExpr:qt}),_do:zt("do",{isLoop:$t,beforeExpr:Ut}),_for:zt("for",{isLoop:$t}),_while:zt("while",{isLoop:$t}),_as:sr("as",{startsExpr:qt}),_assert:sr("assert",{startsExpr:qt}),_async:sr("async",{startsExpr:qt}),_await:sr("await",{startsExpr:qt}),_from:sr("from",{startsExpr:qt}),_get:sr("get",{startsExpr:qt}),_let:sr("let",{startsExpr:qt}),_meta:sr("meta",{startsExpr:qt}),_of:sr("of",{startsExpr:qt}),_sent:sr("sent",{startsExpr:qt}),_set:sr("set",{startsExpr:qt}),_static:sr("static",{startsExpr:qt}),_yield:sr("yield",{startsExpr:qt}),_asserts:sr("asserts",{startsExpr:qt}),_checks:sr("checks",{startsExpr:qt}),_exports:sr("exports",{startsExpr:qt}),_global:sr("global",{startsExpr:qt}),_implements:sr("implements",{startsExpr:qt}),_intrinsic:sr("intrinsic",{startsExpr:qt}),_infer:sr("infer",{startsExpr:qt}),_is:sr("is",{startsExpr:qt}),_mixins:sr("mixins",{startsExpr:qt}),_proto:sr("proto",{startsExpr:qt}),_require:sr("require",{startsExpr:qt}),_keyof:sr("keyof",{startsExpr:qt}),_readonly:sr("readonly",{startsExpr:qt}),_unique:sr("unique",{startsExpr:qt}),_abstract:sr("abstract",{startsExpr:qt}),_declare:sr("declare",{startsExpr:qt}),_enum:sr("enum",{startsExpr:qt}),_module:sr("module",{startsExpr:qt}),_namespace:sr("namespace",{startsExpr:qt}),_interface:sr("interface",{startsExpr:qt}),_type:sr("type",{startsExpr:qt}),_opaque:sr("opaque",{startsExpr:qt}),name:rr("name",{startsExpr:qt}),string:rr("string",{startsExpr:qt}),num:rr("num",{startsExpr:qt}),bigint:rr("bigint",{startsExpr:qt}),decimal:rr("decimal",{startsExpr:qt}),regexp:rr("regexp",{startsExpr:qt}),privateName:rr("#name",{startsExpr:qt}),eof:rr("eof"),jsxName:rr("jsxName"),jsxText:rr("jsxText",{beforeExpr:!0}),jsxTagStart:rr("jsxTagStart",{startsExpr:!0}),jsxTagEnd:rr("jsxTagEnd"),placeholder:rr("%%",{startsExpr:!0})};function ir(e){return e>=87&&e<=122}function or(e){return e>=52&&e<=122}function ar(e){return e>=52&&e<=126}function cr(e){return er[e]}function lr(e){return e>=119&&e<=121}function hr(e){return e>=52&&e<=86}function ur(e){return Xt[e]}function pr(e){return Qt[e]}function dr(e){return Jt[e]}Jt[8].updateContext=e=>{e.pop()},Jt[5].updateContext=Jt[7].updateContext=Jt[23].updateContext=e=>{e.push(Bt.brace)},Jt[22].updateContext=e=>{e[e.length-1]===Bt.template?e.pop():e.push(Bt.template)},Jt[132].updateContext=e=>{e.push(Bt.j_expr,Bt.j_oTag)};let fr="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",mr="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const gr=new RegExp("["+fr+"]"),yr=new RegExp("["+fr+mr+"]");fr=mr=null;const br=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],vr=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function xr(e,t){let r=65536;for(let s=0,n=t.length;s<n;s+=2){if(r+=t[s],r>e)return!1;if(r+=t[s+1],r>=e)return!0}return!1}function wr(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&gr.test(String.fromCharCode(e)):xr(e,br)))}function Er(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&yr.test(String.fromCharCode(e)):xr(e,br)||xr(e,vr))))}const Sr=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),_r=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),Tr=new Set(["eval","arguments"]);function Pr(e,t){return t&&"await"===e||"enum"===e}function Ar(e,t){return Pr(e,t)||_r.has(e)}function Cr(e){return Tr.has(e)}function kr(e,t){return Ar(e,t)||Cr(e)}const Or=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);class Nr{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}}class Ir{constructor(e,t){this.scopeStack=[],this.undefinedExports=new Map,this.undefinedPrivateNames=new Map,this.raise=e,this.inModule=t}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(64&e)>0&&0==(2&e)}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(128&t)return!0;if(323&t)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Nr(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(2&e.flags||!this.inModule&&1&e.flags)}declareName(e,t,r){let s=this.currentScope();if(8&t||16&t)this.checkRedeclarationInScope(s,e,t,r),16&t?s.functions.add(e):s.lexical.add(e),8&t&&this.maybeExportDefined(s,e);else if(4&t)for(let n=this.scopeStack.length-1;n>=0&&(s=this.scopeStack[n],this.checkRedeclarationInScope(s,e,t,r),s.var.add(e),this.maybeExportDefined(s,e),!(259&s.flags));--n);this.inModule&&1&s.flags&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.inModule&&1&e.flags&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,r,s){this.isRedeclaredInScope(e,t,r)&&this.raise(s,Rt.VarRedeclaration,t)}isRedeclaredInScope(e,t,r){return!!(1&r)&&(8&r?e.lexical.has(t)||e.functions.has(t)||e.var.has(t):16&r?e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t):e.lexical.has(t)&&!(8&e.flags&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t))}checkLocalExport(e){const{name:t}=e,r=this.scopeStack[0];r.lexical.has(t)||r.var.has(t)||r.functions.has(t)||this.undefinedExports.set(t,e.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(259&t)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(323&t&&!(4&t))return t}}}class Rr extends Nr{constructor(...e){super(...e),this.declareFunctions=new Set}}class Lr extends Ir{createScope(e){return new Rr(e)}declareName(e,t,r){const s=this.currentScope();if(2048&t)return this.checkRedeclarationInScope(s,e,t,r),this.maybeExportDefined(s,e),void s.declareFunctions.add(e);super.declareName(...arguments)}isRedeclaredInScope(e,t,r){return!!super.isRedeclaredInScope(...arguments)||!!(2048&r)&&!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}}class Mr{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.decoratorStack=[[]],this.comments=[],this.commentStack=[],this.pos=0,this.type=129,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.lastTokEnd=0,this.context=[Bt.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.strictErrors=new Map,this.tokensLength=0}init({strictMode:e,sourceType:t,startLine:r,startColumn:s}){this.strict=!1!==e&&(!0===e||"module"===t),this.curLine=r,this.lineStart=-s,this.startLoc=this.endLoc=new Tt(r,s)}curPosition(){return new Tt(this.curLine,this.pos-this.lineStart)}clone(e){const t=new Mr,r=Object.keys(this);for(let s=0,n=r.length;s<n;s++){const n=r[s];let i=this[n];!e&&Array.isArray(i)&&(i=i.slice()),t[n]=i}return t}}var Dr=function(e){return e>=48&&e<=57};const jr=new Set([103,109,115,105,121,117,100]),Fr={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]},Br={bin:[48,49]};Br.oct=[...Br.bin,50,51,52,53,54,55],Br.dec=[...Br.oct,56,57],Br.hex=[...Br.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Ur{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new Pt(e.startLoc,e.endLoc)}}class qr extends jt{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.state=new Mr,this.state.init(e),this.input=t,this.length=t.length,this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Ur(this.state)),this.state.lastTokEnd=this.state.end,this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return!!this.match(e)&&(this.next(),!0)}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return Et.lastIndex=e,Et.test(this.input)?Et.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if(55296==(64512&t)&&++e<this.input.length){const r=this.input.charCodeAt(e);56320==(64512&r)&&(t=65536+((1023&t)<<10)+(1023&r))}return t}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach(((e,t)=>this.raise(t,e))),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();e.preserveSpace||this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(129):e===Bt.template?this.readTmplToken():this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(){let e;this.isLookahead||(e=this.state.curPosition());const t=this.state.pos,r=this.input.indexOf("*/",t+2);if(-1===r)throw this.raise(t,Rt.UnterminatedComment);for(this.state.pos=r+2,xt.lastIndex=t+2;xt.test(this.input)&&xt.lastIndex<=r;)++this.state.curLine,this.state.lineStart=xt.lastIndex;if(this.isLookahead)return;const s={type:"CommentBlock",value:this.input.slice(t+2,r),start:t,end:r+2,loc:new Pt(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(s),s}skipLineComment(e){const t=this.state.pos;let r;this.isLookahead||(r=this.state.curPosition());let s=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!wt(s)&&++this.state.pos<this.length;)s=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const n=this.state.pos,i={type:"CommentLine",value:this.input.slice(t+e,n),start:t,end:n,loc:new Pt(r,this.state.curPosition())};return this.options.tokens&&this.pushToken(i),i}skipSpace(){const e=this.state.pos,t=[];e:for(;this.state.pos<this.length;){const r=this.input.charCodeAt(this.state.pos);switch(r){case 32:case 160:case 9:++this.state.pos;break;case 13:10===this.input.charCodeAt(this.state.pos+1)&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{const e=this.skipBlockComment();void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}case 47:{const e=this.skipLineComment(2);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}default:break e}break;default:if(_t(r))++this.state.pos;else if(45!==r||this.inModule){if(60!==r||this.inModule)break e;{const e=this.state.pos;if(33!==this.input.charCodeAt(e+1)||45!==this.input.charCodeAt(e+2)||45!==this.input.charCodeAt(e+3))break e;{const e=this.skipLineComment(4);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}else{const r=this.state.pos;if(45!==this.input.charCodeAt(r+1)||62!==this.input.charCodeAt(r+2)||!(0===e||this.state.lineStart>e))break e;{const e=this.skipLineComment(3);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}}if(t.length>0){const r={start:e,end:this.state.pos,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(e,t){this.state.end=this.state.pos;const r=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||(this.state.endLoc=this.state.curPosition(),this.updateContext(r))}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(0===this.state.pos&&this.readToken_interpreter())return;const e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(this.state.pos,Rt.UnexpectedDigitAfterHash);if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"hash"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,123===t?Rt.RecordExpressionHashIncorrectStartSyntaxType:Rt.TupleExpressionHashIncorrectStartSyntaxType);this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else wr(t)?(++this.state.pos,this.finishToken(128,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(128,this.readWord1())):this.finishOp(25,1)}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(29,2):this.finishOp(50,1)}readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;const t=this.state.pos;for(this.state.pos+=1;!wt(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);const r=this.input.slice(t+2,this.state.pos);return this.finishToken(26,r),!0}readToken_mult_modulo(e){let t=42===e?49:48,r=1,s=this.input.charCodeAt(this.state.pos+1);42===e&&42===s&&(r++,s=this.input.charCodeAt(this.state.pos+2),t=51),61!==s||this.state.inType||(r++,t=37===e?31:28),this.finishOp(t,r)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(t!==e){if(124===e){if(62===t)return void this.finishOp(35,2);if(this.hasPlugin("recordAndTuple")&&125===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,Rt.RecordExpressionBarIncorrectEndSyntaxType);return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&93===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,Rt.TupleExpressionBarIncorrectEndSyntaxType);return this.state.pos+=2,void this.finishToken(4)}}61!==t?this.finishOp(124===e?39:41,1):this.finishOp(28,2)}else 61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(28,3):this.finishOp(124===e?37:38,2)}readToken_caret(){61!==this.input.charCodeAt(this.state.pos+1)||this.state.inType?this.finishOp(40,1):this.finishOp(30,2)}readToken_plus_min(e){const t=this.input.charCodeAt(this.state.pos+1);t!==e?61===t?this.finishOp(28,2):this.finishOp(47,1):this.finishOp(32,2)}readToken_lt(){const{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(60===t)return 61===this.input.charCodeAt(e+2)?void this.finishOp(28,3):void this.finishOp(46,2);61!==t?this.finishOp(43,1):this.finishOp(45,2)}readToken_gt(){const{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(62===t){const t=62===this.input.charCodeAt(e+2)?3:2;return 61===this.input.charCodeAt(e+t)?void this.finishOp(28,t+1):void this.finishOp(46,t)}61!==t?this.finishOp(44,1):this.finishOp(45,2)}readToken_eq_excl(e){const t=this.input.charCodeAt(this.state.pos+1);if(61!==t)return 61===e&&62===t?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(61===e?27:33,1);this.finishOp(42,61===this.input.charCodeAt(this.state.pos+2)?3:2)}readToken_question(){const e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);63===e?61===t?this.finishOp(28,3):this.finishOp(36,2):46!==e||t>=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,Rt.TupleExpressionBarIncorrectStartSyntaxType);this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,Rt.RecordExpressionBarIncorrectStartSyntaxType);this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return++this.state.pos,void this.finishToken(22);case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(120===e||88===e)return void this.readRadixNumber(16);if(111===e||79===e)return void this.readRadixNumber(8);if(98===e||66===e)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(34,1);case 64:return++this.state.pos,void this.finishToken(24);case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(wr(e))return void this.readWord(e)}throw this.raise(this.state.pos,Rt.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,r)}readRegexp(){const e=this.state.start+1;let t,r,{pos:s}=this.state;for(;;++s){if(s>=this.length)throw this.raise(e,Rt.UnterminatedRegExp);const n=this.input.charCodeAt(s);if(wt(n))throw this.raise(e,Rt.UnterminatedRegExp);if(t)t=!1;else{if(91===n)r=!0;else if(93===n&&r)r=!1;else if(47===n&&!r)break;t=92===n}}const n=this.input.slice(e,s);++s;let i="";for(;s<this.length;){const e=this.codePointAtPos(s),t=String.fromCharCode(e);if(jr.has(e))i.includes(t)&&this.raise(s+1,Rt.DuplicateRegExpFlags);else{if(!Er(e)&&92!==e)break;this.raise(s+1,Rt.MalformedRegExpFlags)}++s,i+=t}this.state.pos=s,this.finishToken(127,{pattern:n,flags:i})}readInt(e,t,r,s=!0){const n=this.state.pos,i=16===e?Fr.hex:Fr.decBinOct,o=16===e?Br.hex:10===e?Br.dec:8===e?Br.oct:Br.bin;let a=!1,c=0;for(let n=0,l=null==t?1/0:t;n<l;++n){const t=this.input.charCodeAt(this.state.pos);let l;if(95!==t){if(l=t>=97?t-97+10:t>=65?t-65+10:Dr(t)?t-48:1/0,l>=e)if(this.options.errorRecovery&&l<=9)l=0,this.raise(this.state.start+n+2,Rt.InvalidDigit,e);else{if(!r)break;l=0,a=!0}++this.state.pos,c=c*e+l}else{const e=this.input.charCodeAt(this.state.pos-1),t=this.input.charCodeAt(this.state.pos+1);(-1===o.indexOf(t)||i.indexOf(e)>-1||i.indexOf(t)>-1||Number.isNaN(t))&&this.raise(this.state.pos,Rt.UnexpectedNumericSeparator),s||this.raise(this.state.pos,Rt.NumericSeparatorInEscapeSequence),++this.state.pos}}return this.state.pos===n||null!=t&&this.state.pos-n!==t||a?null:c}readRadixNumber(e){const t=this.state.pos;let r=!1;this.state.pos+=2;const s=this.readInt(e);null==s&&this.raise(this.state.start+2,Rt.InvalidDigit,e);const n=this.input.charCodeAt(this.state.pos);if(110===n)++this.state.pos,r=!0;else if(109===n)throw this.raise(t,Rt.InvalidDecimal);if(wr(this.codePointAtPos(this.state.pos)))throw this.raise(this.state.pos,Rt.NumberIdentifier);if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(125,e)}else this.finishToken(124,s)}readNumber(e){const t=this.state.pos;let r=!1,s=!1,n=!1,i=!1,o=!1;e||null!==this.readInt(10)||this.raise(t,Rt.InvalidNumber);const a=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(a){const e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(t,Rt.StrictOctalLiteral),!this.state.strict){const r=e.indexOf("_");r>0&&this.raise(r+t,Rt.ZeroDigitNumericSeparator)}o=a&&!/[89]/.test(e)}let c=this.input.charCodeAt(this.state.pos);if(46!==c||o||(++this.state.pos,this.readInt(10),r=!0,c=this.input.charCodeAt(this.state.pos)),69!==c&&101!==c||o||(c=this.input.charCodeAt(++this.state.pos),43!==c&&45!==c||++this.state.pos,null===this.readInt(10)&&this.raise(t,Rt.InvalidOrMissingExponent),r=!0,i=!0,c=this.input.charCodeAt(this.state.pos)),110===c&&((r||a)&&this.raise(t,Rt.InvalidBigIntLiteral),++this.state.pos,s=!0),109===c&&(this.expectPlugin("decimal",this.state.pos),(i||a)&&this.raise(t,Rt.InvalidDecimal),++this.state.pos,n=!0),wr(this.codePointAtPos(this.state.pos)))throw this.raise(this.state.pos,Rt.NumberIdentifier);const l=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(s)return void this.finishToken(125,l);if(n)return void this.finishToken(126,l);const h=o?parseInt(l,8):parseFloat(l);this.finishToken(124,h)}readCodePoint(e){let t;if(123===this.input.charCodeAt(this.state.pos)){const r=++this.state.pos;if(t=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,!0,e),++this.state.pos,null!==t&&t>1114111){if(!e)return null;this.raise(r,Rt.InvalidCodePoint)}}else t=this.readHexChar(4,!1,e);return t}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,Rt.UnterminatedString);const s=this.input.charCodeAt(this.state.pos);if(s===e)break;if(92===s)t+=this.input.slice(r,this.state.pos),t+=this.readEscapedChar(!1),r=this.state.pos;else if(8232===s||8233===s)++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;else{if(wt(s))throw this.raise(this.state.start,Rt.UnterminatedString);++this.state.pos}}t+=this.input.slice(r,this.state.pos++),this.finishToken(123,t)}readTmplToken(){let e="",t=this.state.pos,r=!1;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,Rt.UnterminatedTemplate);const s=this.input.charCodeAt(this.state.pos);if(96===s||36===s&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos===this.state.start&&this.match(20)?36===s?(this.state.pos+=2,void this.finishToken(23)):(++this.state.pos,void this.finishToken(22)):(e+=this.input.slice(t,this.state.pos),void this.finishToken(20,r?null:e));if(92===s){e+=this.input.slice(t,this.state.pos);const s=this.readEscapedChar(!0);null===s?r=!0:e+=s,t=this.state.pos}else if(wt(s)){switch(e+=this.input.slice(t,this.state.pos),++this.state.pos,s){case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(s)}++this.state.curLine,this.state.lineStart=this.state.pos,t=this.state.pos}else++this.state.pos}}recordStrictModeErrors(e,t){this.state.strict&&!this.state.strictErrors.has(e)?this.raise(e,t):this.state.strictErrors.set(e,t)}readEscapedChar(e){const t=!e,r=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,!1,t);return null===e?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return null===e?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:this.state.lineStart=this.state.pos,++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e)return null;this.recordStrictModeErrors(this.state.pos-1,Rt.StrictNumericEscape);default:if(r>=48&&r<=55){const t=this.state.pos-1;let r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(r,8);s>255&&(r=r.slice(0,-1),s=parseInt(r,8)),this.state.pos+=r.length-1;const n=this.input.charCodeAt(this.state.pos);if("0"!==r||56===n||57===n){if(e)return null;this.recordStrictModeErrors(t,Rt.StrictNumericEscape)}return String.fromCharCode(s)}return String.fromCharCode(r)}}readHexChar(e,t,r){const s=this.state.pos,n=this.readInt(16,e,t,!1);return null===n&&(r?this.raise(s,Rt.InvalidEscapeSequence):this.state.pos=s-1),n}readWord1(e){this.state.containsEsc=!1;let t="";const r=this.state.pos;let s=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){const e=this.codePointAtPos(this.state.pos);if(Er(e))this.state.pos+=e<=65535?1:2;else{if(92!==e)break;{this.state.containsEsc=!0,t+=this.input.slice(s,this.state.pos);const e=this.state.pos,n=this.state.pos===r?wr:Er;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(this.state.pos,Rt.MissingUnicodeEscape),s=this.state.pos-1;continue}++this.state.pos;const i=this.readCodePoint(!0);null!==i&&(n(i)||this.raise(e,Rt.EscapedCharNotAnIdentifier),t+=String.fromCodePoint(i)),s=this.state.pos}}}return t+this.input.slice(s,this.state.pos)}readWord(e){const t=this.readWord1(e),r=Gt.get(t);void 0!==r?this.finishToken(r,ur(r)):this.finishToken(122,t)}checkKeywordEscapes(){const{type:e}=this.state;hr(e)&&this.state.containsEsc&&this.raise(this.state.start,Rt.InvalidEscapedReservedWord,ur(e))}updateContext(e){const{context:t,type:r}=this.state;switch(r){case 8:t.pop();break;case 5:case 7:case 23:t.push(Bt.brace);break;case 22:t[t.length-1]===Bt.template?t.pop():t.push(Bt.template)}}}class $r{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Hr{constructor(e){this.stack=[],this.undefinedPrivateNames=new Map,this.raise=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new $r)}exit(){const e=this.stack.pop(),t=this.current();for(const[r,s]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(r)||t.undefinedPrivateNames.set(r,s):this.raise(s,Rt.InvalidPrivateFieldResolution,r)}declarePrivateName(e,t,r){const s=this.current();let n=s.privateNames.has(e);if(3&t){const r=n&&s.loneAccessors.get(e);r?(n=(3&r)==(3&t)||(4&r)!=(4&t),n||s.loneAccessors.delete(e)):n||s.loneAccessors.set(e,t)}n&&this.raise(r,Rt.PrivateNameRedeclaration,e),s.privateNames.add(e),s.undefinedPrivateNames.delete(e)}usePrivateName(e,t){let r;for(r of this.stack)if(r.privateNames.has(e))return;r?r.undefinedPrivateNames.set(e,t):this.raise(t,Rt.InvalidPrivateFieldResolution,e)}}class Vr{constructor(e=0){this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return 2===this.type||1===this.type}isCertainlyParameterDeclaration(){return 3===this.type}}class Wr extends Vr{constructor(e){super(e),this.errors=new Map}recordDeclarationError(e,t){this.errors.set(e,t)}clearDeclarationError(e){this.errors.delete(e)}iterateErrors(e){this.errors.forEach(e)}}class Gr{constructor(e){this.stack=[new Vr],this.raise=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){const{stack:r}=this;let s=r.length-1,n=r[s];for(;!n.isCertainlyParameterDeclaration();){if(!n.canBeArrowParameterDeclaration())return;n.recordDeclarationError(e,t),n=r[--s]}this.raise(e,t)}recordParenthesizedIdentifierError(e,t){const{stack:r}=this,s=r[r.length-1];if(s.isCertainlyParameterDeclaration())this.raise(e,t);else{if(!s.canBeArrowParameterDeclaration())return;s.recordDeclarationError(e,t)}}recordAsyncArrowParametersError(e,t){const{stack:r}=this;let s=r.length-1,n=r[s];for(;n.canBeArrowParameterDeclaration();)2===n.type&&n.recordDeclarationError(e,t),n=r[--s]}validateAsPattern(){const{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors(((t,r)=>{this.raise(r,t);let s=e.length-2,n=e[s];for(;n.canBeArrowParameterDeclaration();)n.clearDeclarationError(r),n=e[--s]}))}}function zr(){return new Vr}class Kr{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}}function Yr(e,t){return(e?2:0)|(t?1:0)}class Jr extends qr{addExtra(e,t,r){e&&((e.extra=e.extra||{})[t]=r)}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(Er(e)||55296==(64512&e))}return!1}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return!!this.isContextual(e)&&(this.next(),!0)}expectContextual(e,t){this.eatContextual(e)||this.unexpected(null,t)}canInsertSemicolon(){return this.match(129)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return vt.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return St.lastIndex=this.state.end,St.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(this.state.lastTokEnd,Rt.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){this.state.start>this.state.lastTokEnd&&this.raise(this.state.lastTokEnd,{code:It.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}unexpected(e,t={code:It.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){throw"number"==typeof t&&(t={code:It.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${ur(t)}"`}),this.raise(null!=e?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e))throw this.raiseWithData(null!=t?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`);return!0}expectOnePlugin(e,t){if(!e.some((e=>this.hasPlugin(e))))throw this.raiseWithData(null!=t?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}tryParse(e,t=this.state.clone()){const r={node:null};try{const s=e(((e=null)=>{throw r.node=e,r}));if(this.state.errors.length>t.errors.length){const e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:s,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:s,error:null,thrown:!1,aborted:!1,failState:null}}catch(e){const s=this.state;if(this.state=t,e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:s};if(e===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:s};throw e}}checkExpressionErrors(e,t){if(!e)return!1;const{shorthandAssign:r,doubleProto:s,optionalParameters:n}=e,i=r+s+n>-3;if(!t)return i;i&&(r>=0&&this.unexpected(r),s>=0&&this.raise(s,Rt.DuplicateProto),n>=0&&this.unexpected(n))}isLiteralPropertyName(){return ar(this.state.type)}isPrivateName(e){return"PrivateName"===e.type}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)}isOptionalChain(e){return"OptionalMemberExpression"===e.type||"OptionalCallExpression"===e.type}isObjectProperty(e){return"ObjectProperty"===e.type}isObjectMethod(e){return"ObjectMethod"===e.type}initializeScopes(e="module"===this.options.sourceType){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const s=this.inModule;this.inModule=e;const n=this.scope,i=this.getScopeHandler();this.scope=new i(this.raise.bind(this),this.inModule);const o=this.prodParam;this.prodParam=new Kr;const a=this.classScope;this.classScope=new Hr(this.raise.bind(this));const c=this.expressionScope;return this.expressionScope=new Gr(this.raise.bind(this)),()=>{this.state.labels=t,this.exportedIdentifiers=r,this.inModule=s,this.scope=n,this.prodParam=o,this.classScope=a,this.expressionScope=c}}enterInitialScopes(){let e=0;this.inModule&&(e|=2),this.scope.enter(1),this.prodParam.enter(e)}}class Xr{constructor(){this.shorthandAssign=-1,this.doubleProto=-1,this.optionalParameters=-1}}let Qr=class{constructor(e,t,r){this.type="",this.start=t,this.end=0,this.loc=new Pt(r),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}};const Zr=Qr.prototype;function es(e){const{type:t,start:r,end:s,loc:n,range:i,extra:o,name:a}=e,c=Object.create(Zr);return c.type=t,c.start=r,c.end=s,c.loc=n,c.range=i,c.extra=o,c.name=a,"Placeholder"===t&&(c.expectedNode=e.expectedNode),c}Zr.__clone=function(){const e=new Qr,t=Object.keys(this);for(let r=0,s=t.length;r<s;r++){const s=t[r];"leadingComments"!==s&&"trailingComments"!==s&&"innerComments"!==s&&(e[s]=this[s])}return e};class ts extends Jr{startNode(){return new Qr(this,this.state.start,this.state.startLoc)}startNodeAt(e,t){return new Qr(this,e,t)}startNodeAtNode(e){return this.startNodeAt(e.start,e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEnd,this.state.lastTokEndLoc)}finishNodeAt(e,t,r,s){return e.type=t,e.end=r,e.loc.end=s,this.options.ranges&&(e.range[1]=r),this.options.attachComment&&this.processComment(e),e}resetStartLocation(e,t,r){e.start=t,e.loc.start=r,this.options.ranges&&(e.range[0]=t)}resetEndLocation(e,t=this.state.lastTokEnd,r=this.state.lastTokEndLoc){e.end=t,e.loc.end=r,this.options.ranges&&(e.range[1]=t)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.start,t.loc.start)}}const rs=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),ss=Dt({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:"Cannot overwrite reserved type %0.",DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:"Unexpected reserved type %0.",UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},It.SyntaxError,"flow");function ns(e){return"type"===e.importKind||"typeof"===e.importKind}function is(e){return or(e)&&91!==e}const os={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},as=/\*?\s*@((?:no)?flow)\b/,cs={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},ls=/^[\da-fA-F]+$/,hs=/^\d+$/,us=Dt({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:"Expected corresponding JSX closing tag for <%0>.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"},It.SyntaxError,"jsx");function ps(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function ds(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return ds(e.object)+"."+ds(e.property);throw new Error("Node had unexpected type: "+e.type)}Bt.j_oTag=new Ft("<tag"),Bt.j_cTag=new Ft("</tag"),Bt.j_expr=new Ft("<tag>...</tag>",!0);class fs extends Nr{constructor(...e){super(...e),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}}class ms extends Ir{createScope(e){return new fs(e)}declareName(e,t,r){const s=this.currentScope();if(1024&t)return this.maybeExportDefined(s,e),void s.exportOnlyBindings.add(e);super.declareName(...arguments),2&t&&(1&t||(this.checkRedeclarationInScope(s,e,t,r),this.maybeExportDefined(s,e)),s.types.add(e)),256&t&&s.enums.add(e),512&t&&s.constEnums.add(e),128&t&&s.classes.add(e)}isRedeclaredInScope(e,t,r){return e.enums.has(t)?!(256&r)||!!(512&r)!==e.constEnums.has(t):128&r&&e.classes.has(t)?!!e.lexical.has(t)&&!!(1&r):!!(2&r&&e.types.has(t))||super.isRedeclaredInScope(...arguments)}checkLocalExport(e){const t=this.scopeStack[0],{name:r}=e;t.types.has(r)||t.exportOnlyBindings.has(r)||super.checkLocalExport(e)}}function gs(e){if(!e)throw new Error("Assert fail")}const ys=Dt({AbstractMethodHasImplementation:"Method '%0' cannot have an implementation because it is marked abstract.",AbstractPropertyHasInitializer:"Property '%0' cannot have an initializer because it is marked abstract.",AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:"'declare' is not allowed in %0ters.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:"Accessibility modifier already seen.",DuplicateModifier:"Duplicate modifier: '%0'.",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:"'%0' modifier cannot be used with '%1' modifier.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0').",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InvalidModifierOnTypeMember:"'%0' modifier cannot appear on a type member.",InvalidModifiersOrder:"'%0' modifier must precede '%1' modifier.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0').",ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0."},It.SyntaxError,"typescript");function bs(e){return"private"===e||"public"===e||"protected"===e}const vs=Dt({ClassNameIsRequired:"A class name is required."},It.SyntaxError);function xs(e,t){return e.some((e=>Array.isArray(e)?e[0]===t:e===t))}function ws(e,t,r){const s=e.find((e=>Array.isArray(e)?e[0]===t:e===t));return s&&Array.isArray(s)?s[1][r]:null}const Es=["minimal","fsharp","hack","smart"],Ss=["^","%","#"],_s=["hash","bar"],Ts={estree:e=>class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const s=this.estreeParseLiteral(r);return s.regex={pattern:e,flags:t},s}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);return r.bigint=String(r.value||e),r}parseDecimalLiteral(e){const t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value,r=this.startNodeAt(e.start,e.loc.start),s=this.startNodeAt(t.start,t.loc.start);return s.value=t.extra.expressionValue,s.raw=t.extra.raw,r.expression=this.finishNodeAt(s,"Literal",t.end,t.loc.end),r.directive=t.extra.raw.slice(1,-1),this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){null!=e&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&!(null!=(t=e.expression.extra)&&t.parenthesized)}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const r=e.directives.map((e=>this.directiveToStmt(e)));e.body=r.concat(e.body),delete e.directives}pushClassMethod(e,t,r,s,n,i){this.parseMethod(t,r,s,n,i,"ClassMethod",!0),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)}parsePrivateName(){const e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);return delete e.id,e.name=t,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?"PrivateIdentifier"===e.type:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t){const r=super.parseLiteral(e,t);return r.raw=r.extra.raw,delete r.extra,r}parseFunctionBody(e,t,r=!1){super.parseFunctionBody(e,t,r),e.expression="BlockStatement"!==e.body.type}parseMethod(e,t,r,s,n,i,o=!1){let a=this.startNode();return a.kind=e.kind,a=super.parseMethod(a,t,r,s,n,i,o),a.type="FunctionExpression",delete a.kind,e.value=a,"ClassPrivateMethod"===i&&(e.computed=!1),i="MethodDefinition",this.finishNode(e,i)}parseClassProperty(...e){const t=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")?(t.type="PropertyDefinition",t):t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")?(t.type="PropertyDefinition",t.computed=!1,t):t}parseObjectMethod(e,t,r,s,n){const i=super.parseObjectMethod(e,t,r,s,n);return i&&(i.type="Property","method"===i.kind&&(i.kind="init"),i.shorthand=!1),i}parseObjectProperty(e,t,r,s,n){const i=super.parseObjectProperty(e,t,r,s,n);return i&&(i.kind="init",i.type="Property"),i}isAssignable(e,t){return null!=e&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e,t=!1){return null!=e&&this.isObjectProperty(e)?(this.toAssignable(e.value,t),e):super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){"get"===e.kind||"set"===e.kind?this.raise(e.key.start,Rt.PatternHasAccessor):e.method?this.raise(e.key.start,Rt.PatternHasMethod):super.toAssignableObjectExpressionProp(e,...t)}finishCallExpression(e,t){var r;(super.finishCallExpression(e,t),"Import"===e.callee.type)&&(e.type="ImportExpression",e.source=e.arguments[0],this.hasPlugin("importAssertions")&&(e.attributes=null!=(r=e.arguments[1])?r:null),delete e.arguments,delete e.callee);return e}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e){switch(super.parseExport(e),e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":1===e.specifiers.length&&"ExportNamespaceSpecifier"===e.specifiers[0].type&&(e.type="ExportAllDeclaration",e.exported=e.specifiers[0].exported,delete e.specifiers)}return e}parseSubscript(e,t,r,s,n){const i=super.parseSubscript(e,t,r,s,n);if(n.optionalChainMember){if("OptionalMemberExpression"!==i.type&&"OptionalCallExpression"!==i.type||(i.type=i.type.substring(8)),n.stop){const e=this.startNodeAtNode(i);return e.expression=i,this.finishNode(e,"ChainExpression")}}else"MemberExpression"!==i.type&&"CallExpression"!==i.type||(i.optional=!1);return i}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return"ChainExpression"===e.type}isObjectProperty(e){return"Property"===e.type&&"init"===e.kind&&!e.method}isObjectMethod(e){return e.method||"get"===e.kind||"set"===e.kind}},jsx:e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,us.UnterminatedJsxContent);const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:return this.state.pos===this.state.start?60===r&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(132)):super.getTokenFromCode(r):(e+=this.input.slice(t,this.state.pos),this.finishToken(131,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:wt(r)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;return++this.state.pos,13===t&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,r=e?"\n":"\r\n"):r=String.fromCharCode(t),++this.state.curLine,this.state.lineStart=this.state.pos,r}jsxReadString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,Rt.UnterminatedString);const s=this.input.charCodeAt(this.state.pos);if(s===e)break;38===s?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):wt(s)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}return t+=this.input.slice(r,this.state.pos++),this.finishToken(123,t)}jsxReadEntity(){let e,t="",r=0,s=this.input[this.state.pos];const n=++this.state.pos;for(;this.state.pos<this.length&&r++<10;){if(s=this.input[this.state.pos++],";"===s){"#"===t[0]?"x"===t[1]?(t=t.substr(2),ls.test(t)&&(e=String.fromCodePoint(parseInt(t,16)))):(t=t.substr(1),hs.test(t)&&(e=String.fromCodePoint(parseInt(t,10)))):e=cs[t];break}t+=s}return e||(this.state.pos=n,"&")}jsxReadWord(){let e;const t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(Er(e)||45===e);return this.finishToken(130,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();return this.match(130)?e.name=this.state.value:hr(this.state.type)?e.name=ur(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.start,t=this.state.startLoc,r=this.jsxParseIdentifier();if(!this.eat(14))return r;const s=this.startNodeAt(e,t);return s.namespace=r,s.name=this.jsxParseIdentifier(),this.finishNode(s,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.start,t=this.state.startLoc;let r=this.jsxParseNamespacedName();if("JSXNamespacedName"===r.type)return r;for(;this.eat(16);){const s=this.startNodeAt(e,t);s.object=r,s.property=this.jsxParseIdentifier(),r=this.finishNode(s,"JSXMemberExpression")}return r}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.next(),e=this.jsxParseExpressionContainer(e),"JSXEmptyExpression"===e.expression.type&&this.raise(e.start,us.AttributeIsEmpty),e;case 132:case 123:return this.parseExprAtom();default:throw this.raise(this.state.start,us.UnsupportedJsxValue)}}jsxParseEmptyExpression(){const e=this.startNodeAt(this.state.lastTokEnd,this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.start,this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{const t=this.parseExpression();e.expression=t}return this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){const e=this.startNode();return this.eat(5)?(this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.expect(8),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(27)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsxParseOpeningElementAt(e,t){const r=this.startNodeAt(e,t);return this.match(133)?(this.expect(133),this.finishNode(r,"JSXOpeningFragment")):(r.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(r))}jsxParseOpeningElementAfterName(e){const t=[];for(;!this.match(50)&&!this.match(133);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(50),this.expect(133),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e,t){const r=this.startNodeAt(e,t);return this.match(133)?(this.expect(133),this.finishNode(r,"JSXClosingFragment")):(r.name=this.jsxParseElementName(),this.expect(133),this.finishNode(r,"JSXClosingElement"))}jsxParseElementAt(e,t){const r=this.startNodeAt(e,t),s=[],n=this.jsxParseOpeningElementAt(e,t);let i=null;if(!n.selfClosing){e:for(;;)switch(this.state.type){case 132:if(e=this.state.start,t=this.state.startLoc,this.next(),this.eat(50)){i=this.jsxParseClosingElementAt(e,t);break e}s.push(this.jsxParseElementAt(e,t));break;case 131:s.push(this.parseExprAtom());break;case 5:{const e=this.startNode();this.next(),this.match(21)?s.push(this.jsxParseSpreadChild(e)):s.push(this.jsxParseExpressionContainer(e));break}default:throw this.unexpected()}ps(n)&&!ps(i)?this.raise(i.start,us.MissingClosingTagFragment):!ps(n)&&ps(i)?this.raise(i.start,us.MissingClosingTagElement,ds(n.name)):ps(n)||ps(i)||ds(i.name)!==ds(n.name)&&this.raise(i.start,us.MissingClosingTagElement,ds(n.name))}if(ps(n)?(r.openingFragment=n,r.closingFragment=i):(r.openingElement=n,r.closingElement=i),r.children=s,this.match(43))throw this.raise(this.state.start,us.UnwrappedAdjacentJSXElements);return ps(n)?this.finishNode(r,"JSXFragment"):this.finishNode(r,"JSXElement")}jsxParseElement(){const e=this.state.start,t=this.state.startLoc;return this.next(),this.jsxParseElementAt(e,t)}parseExprAtom(e){return this.match(131)?this.parseLiteral(this.state.value,"JSXText"):this.match(132)?this.jsxParseElement():this.match(43)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(132),this.jsxParseElement()):super.parseExprAtom(e)}getTokenFromCode(e){const t=this.curContext();if(t===Bt.j_expr)return this.jsxReadToken();if(t===Bt.j_oTag||t===Bt.j_cTag){if(wr(e))return this.jsxReadWord();if(62===e)return++this.state.pos,this.finishToken(133);if((34===e||39===e)&&t===Bt.j_oTag)return this.jsxReadString(e)}return 60===e&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1)?(++this.state.pos,this.finishToken(132)):super.getTokenFromCode(e)}updateContext(e){super.updateContext(e);const{context:t,type:r}=this.state;if(50===r&&132===e)t.splice(-2,2,Bt.j_cTag),this.state.canStartJSXElement=!1;else if(132===r)t.push(Bt.j_expr,Bt.j_oTag);else if(133===r){const r=t.pop();r===Bt.j_oTag&&50===e||r===Bt.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===Bt.j_expr):this.state.canStartJSXElement=!0}else this.state.canStartJSXElement=Zt[r]}},flow:e=>class extends e{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return Lr}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){return 123!==e&&13!==e&&26!==e&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){const t=as.exec(e.value);if(t)if("flow"===t[1])this.flowPragma="flow";else{if("noflow"!==t[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=!0,this.expect(e||14);const r=this.flowParseType();return this.state.inType=t,r}flowParsePredicate(){const e=this.startNode(),t=this.state.start;return this.next(),this.expectContextual(101),this.state.lastTokStart>t+1&&this.raise(t,ss.UnexpectedSpaceBetweenModuloChecks),this.eat(10)?(e.value=this.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=!0,this.expect(14);let t=null,r=null;return this.match(48)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(48)&&(r=this.flowParsePredicate())),[t,r]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier(),r=this.startNode(),s=this.startNode();this.match(43)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);const n=this.flowParseFunctionTypeParams();return r.params=n.params,r.rest=n.rest,r.this=n._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),s.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(s,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(74))return this.flowParseDeclareClass(e);if(this.match(62))return this.flowParseDeclareFunction(e);if(this.match(68))return this.flowParseDeclareVariable(e);if(this.eatContextual(117))return this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(this.state.lastTokStart,ss.NestedDeclareModule),this.flowParseDeclareModule(e));if(this.isContextual(120))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(121))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(119))return this.flowParseDeclareInterface(e);if(this.match(76))return this.flowParseDeclareExportDeclaration(e,t);throw this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(123)?e.id=this.parseExprAtom():e.id=this.parseIdentifier();const t=e.body=this.startNode(),r=t.body=[];for(this.expect(5);!this.match(8);){let e=this.startNode();this.match(77)?(this.next(),this.isContextual(120)||this.match(81)||this.raise(this.state.lastTokStart,ss.InvalidNonTypeImportInDeclareModule),this.parseImport(e)):(this.expectContextual(115,ss.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),r.push(e)}this.scope.exit(),this.expect(8),this.finishNode(t,"BlockStatement");let s=null,n=!1;return r.forEach((e=>{!function(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}(e)?"DeclareModuleExports"===e.type&&(n&&this.raise(e.start,ss.DuplicateDeclareModuleExports),"ES"===s&&this.raise(e.start,ss.AmbiguousDeclareModuleKind),s="CommonJS",n=!0):("CommonJS"===s&&this.raise(e.start,ss.AmbiguousDeclareModuleKind),s="ES")})),e.kind=s||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){if(this.expect(76),this.eat(59))return this.match(62)||this.match(74)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(69)||this.isLet()||(this.isContextual(120)||this.isContextual(119))&&!t){const e=this.state.value,t=os[e];throw this.raise(this.state.start,ss.UnsupportedDeclareExportKind,e,t)}if(this.match(68)||this.match(62)||this.match(74)||this.isContextual(121))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(49)||this.match(5)||this.isContextual(119)||this.isContextual(120)||this.isContextual(121))return"ExportNamedDeclaration"===(e=this.parseExport(e)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;throw this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(102),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){return this.next(),this.flowParseTypeAlias(e),e.type="DeclareTypeAlias",e}flowParseDeclareOpaqueType(e){return this.next(),this.flowParseOpaqueType(e,!0),e.type="DeclareOpaqueType",e}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=!1){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?17:9,e.id.start),this.match(43)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(75))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(this.isContextual(108)){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12))}if(this.isContextual(104)){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}flowParseInterfaceExtends(){const e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(43)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(this.state.start,ss.UnexpectedReservedUnderscore)}checkReservedType(e,t,r){rs.has(e)&&this.raise(t,r?ss.AssignReservedType:ss.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.start,t),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,9,e.id.start),this.match(43)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(27),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){return this.expectContextual(120),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,9,e.id.start),this.match(43)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(27)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){const t=this.state.start,r=this.startNode(),s=this.flowParseVariance(),n=this.flowParseTypeAnnotatableIdentifier();return r.name=n.name,r.variance=s,r.bound=n.typeAnnotation,this.match(27)?(this.eat(27),r.default=this.flowParseType()):e&&this.raise(t,ss.MissingTypeParamDefault),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(43)||this.match(132)?this.next():this.unexpected();let r=!1;do{const e=this.flowParseTypeParameter(r);t.params.push(e),e.default&&(r=!0),this.match(44)||this.expect(12)}while(!this.match(44));return this.expect(44),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expect(43);const r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(44);)e.params.push(this.flowParseType()),this.match(44)||this.expect(12);return this.state.noAnonFunctionType=r,this.expect(44),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(43);!this.match(44);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(44)||this.expect(12);return this.expect(44),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();if(this.expectContextual(119),e.extends=[],this.eat(75))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(124)||this.match(123)?this.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,r){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(43)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(43)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(72)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:s,allowInexact:n}){const i=this.state.inType;this.state.inType=!0;const o=this.startNode();let a,c;o.callProperties=[],o.properties=[],o.indexers=[],o.internalSlots=[];let l=!1;for(t&&this.match(6)?(this.expect(6),a=9,c=!0):(this.expect(5),a=8,c=!1),o.exact=c;!this.match(a);){let t=!1,i=null,a=null;const h=this.startNode();if(s&&this.isContextual(109)){const t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),i=this.state.start,e=!1)}if(e&&this.isContextual(98)){const e=this.lookahead();14!==e.type&&17!==e.type&&(this.next(),t=!0)}const u=this.flowParseVariance();if(this.eat(0))null!=i&&this.unexpected(i),this.eat(0)?(u&&this.unexpected(u.start),o.internalSlots.push(this.flowParseObjectTypeInternalSlot(h,t))):o.indexers.push(this.flowParseObjectTypeIndexer(h,t,u));else if(this.match(10)||this.match(43))null!=i&&this.unexpected(i),u&&this.unexpected(u.start),o.callProperties.push(this.flowParseObjectTypeCallProperty(h,t));else{let e="init";(this.isContextual(92)||this.isContextual(97))&&ar(this.lookahead().type)&&(e=this.state.value,this.next());const s=this.flowParseObjectTypeProperty(h,t,i,u,e,r,null!=n?n:!c);null===s?(l=!0,a=this.state.lastTokStart):o.properties.push(s)}this.flowObjectTypeSemicolon(),!a||this.match(8)||this.match(9)||this.raise(a,ss.UnexpectedExplicitInexactInObject)}this.expect(a),r&&(o.inexact=l);const h=this.finishNode(o,"ObjectTypeAnnotation");return this.state.inType=i,h}flowParseObjectTypeProperty(e,t,r,s,n,i,o){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(i?o||this.raise(this.state.lastTokStart,ss.InexactInsideExact):this.raise(this.state.lastTokStart,ss.InexactInsideNonObject),s&&this.raise(s.start,ss.InexactVariance),null):(i||this.raise(this.state.lastTokStart,ss.UnexpectedSpreadType),null!=r&&this.unexpected(r),s&&this.raise(s.start,ss.SpreadVariance),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=r,e.kind=n;let o=!1;return this.match(43)||this.match(10)?(e.method=!0,null!=r&&this.unexpected(r),s&&this.unexpected(s.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start)),"get"!==n&&"set"!==n||this.flowCheckGetterSetterParams(e),!i&&"constructor"===e.key.name&&e.value.this&&this.raise(e.value.this.start,ss.ThisParamBannedInConstructor)):("init"!==n&&this.unexpected(),e.method=!1,this.eat(17)&&(o=!0),e.value=this.flowParseTypeInitialiser(),e.variance=s),e.optional=o,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t="get"===e.kind?0:1,r=e.start,s=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.value.this.start,"get"===e.kind?ss.GetterMayNotHaveThisParam:ss.SetterMayNotHaveThisParam),s!==t&&("get"===e.kind?this.raise(r,Rt.BadGetterArity):this.raise(r,Rt.BadSetterArity)),"set"===e.kind&&e.value.rest&&this.raise(r,Rt.BadSetterRestParameter)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start,t=t||this.state.startLoc;let s=r||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const r=this.startNodeAt(e,t);r.qualification=s,r.id=this.flowParseRestrictedIdentifier(!0),s=this.finishNode(r,"QualifiedTypeIdentifier")}return s}flowParseGenericType(e,t,r){const s=this.startNodeAt(e,t);return s.typeParameters=null,s.id=this.flowParseQualifiedTypeIdentifier(e,t,r),this.match(43)&&(s.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(s,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();return this.expect(81),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();for(e.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,"TupleTypeAnnotation")}flowParseFunctionTypeParam(e){let t=null,r=!1,s=null;const n=this.startNode(),i=this.lookahead(),o=72===this.state.type;return 14===i.type||17===i.type?(o&&!e&&this.raise(n.start,ss.ThisParamMustBeFirst),t=this.parseIdentifier(o),this.eat(17)&&(r=!0,o&&this.raise(n.start,ss.ThisParamMayNotBeOptional)),s=this.flowParseTypeInitialiser()):s=this.flowParseType(),n.name=t,n.optional=r,n.typeAnnotation=s,this.finishNode(n,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){const t=this.startNodeAt(e.start,e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,"FunctionTypeParam")}flowParseFunctionTypeParams(e=[]){let t=null,r=null;for(this.match(72)&&(r=this.flowParseFunctionTypeParam(!0),r.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:r}}flowIdentToTypeAnnotation(e,t,r,s){switch(s.name){case"any":return this.finishNode(r,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(r,"BooleanTypeAnnotation");case"mixed":return this.finishNode(r,"MixedTypeAnnotation");case"empty":return this.finishNode(r,"EmptyTypeAnnotation");case"number":return this.finishNode(r,"NumberTypeAnnotation");case"string":return this.finishNode(r,"StringTypeAnnotation");case"symbol":return this.finishNode(r,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(s.name),this.flowParseGenericType(e,t,s)}}flowParsePrimaryType(){const e=this.state.start,t=this.state.startLoc,r=this.startNode();let s,n,i=!1;const o=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,n=this.flowParseTupleType(),this.state.noAnonFunctionType=o,n;case 43:return r.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),s=this.flowParseFunctionTypeParams(),r.params=s.params,r.rest=s.rest,r.this=s._this,this.expect(11),this.expect(19),r.returnType=this.flowParseType(),this.finishNode(r,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(ir(this.state.type)||this.match(72)){const e=this.lookahead().type;i=17!==e&&14!==e}else i=!0;if(i){if(this.state.noAnonFunctionType=!1,n=this.flowParseType(),this.state.noAnonFunctionType=o,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),n;this.eat(12)}return s=n?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(n)]):this.flowParseFunctionTypeParams(),r.params=s.params,r.rest=s.rest,r.this=s._this,this.expect(11),this.expect(19),r.returnType=this.flowParseType(),r.typeParameters=null,this.finishNode(r,"FunctionTypeAnnotation");case 123:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 79:case 80:return r.value=this.match(79),this.next(),this.finishNode(r,"BooleanLiteralTypeAnnotation");case 47:if("-"===this.state.value){if(this.next(),this.match(124))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",r);if(this.match(125))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",r);throw this.raise(this.state.start,ss.UnexpectedSubtractionOperand)}throw this.unexpected();case 124:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 125:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 82:return this.next(),this.finishNode(r,"VoidTypeAnnotation");case 78:return this.next(),this.finishNode(r,"NullLiteralTypeAnnotation");case 72:return this.next(),this.finishNode(r,"ThisTypeAnnotation");case 49:return this.next(),this.finishNode(r,"ExistsTypeAnnotation");case 81:return this.flowParseTypeofType();default:if(hr(this.state.type)){const e=ur(this.state.type);return this.next(),super.createIdentifier(r,e)}if(ir(this.state.type))return this.isContextual(119)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,t,r,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){const e=this.state.start,t=this.state.startLoc;let r=this.flowParsePrimaryType(),s=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const n=this.startNodeAt(e,t),i=this.eat(18);s=s||i,this.expect(0),!i&&this.match(3)?(n.elementType=r,this.next(),r=this.finishNode(n,"ArrayTypeAnnotation")):(n.objectType=r,n.indexType=this.flowParseType(),this.expect(3),s?(n.optional=i,r=this.finishNode(n,"OptionalIndexedAccessType")):r=this.finishNode(n,"IndexedAccessType"))}return r}flowParsePrefixType(){const e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const t=this.startNodeAt(e.start,e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.this=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){const e=this.startNode();this.eat(41);const t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(41);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){const e=this.startNode();this.eat(39);const t=this.flowParseIntersectionType();for(e.types=[t];this.eat(39);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){const e=this.state.inType;this.state.inType=!0;const t=this.flowParseUnionType();return this.state.inType=e,t}flowParseTypeOrImplicitInstantiation(){if(122===this.state.type&&"_"===this.state.value){const e=this.state.start,t=this.state.startLoc,r=this.parseIdentifier();return this.flowParseGenericType(e,t,r)}return this.flowParseType()}flowParseTypeAnnotation(){const e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){const t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t)),t}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.end,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(47)&&(e=this.startNode(),"+"===this.state.value?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")),e}parseFunctionBody(e,t,r=!1){return t?this.forwardNoArrowParamsConversionAt(e,(()=>super.parseFunctionBody(e,!0,r))):super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,t,r=!1){if(this.match(14)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,r)}parseStatement(e,t){if(this.state.strict&&this.isContextual(119)){if(or(this.lookahead().type)){const e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(116)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);return void 0!==this.flowPragma||this.isValidDirective(r)||(this.flowPragma=null),r}parseExpressionStatement(e,t){if("Identifier"===t.type)if("declare"===t.name){if(this.match(74)||ir(this.state.type)||this.match(62)||this.match(68)||this.match(76))return this.flowParseDeclare(e)}else if(ir(this.state.type)){if("interface"===t.name)return this.flowParseInterface(e);if("type"===t.name)return this.flowParseTypeAlias(e);if("opaque"===t.name)return this.flowParseOpaqueType(e,!1)}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){const{type:e}=this.state;return lr(e)||this.shouldParseEnums()&&116===e?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;return lr(e)||this.shouldParseEnums()&&116===e?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(116)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,s){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(44===t||61===t||58===t||41===t)return this.setOptionalParametersError(s),e}this.expect(17);const n=this.state.clone(),i=this.state.noArrowAt,o=this.startNodeAt(t,r);let{consequent:a,failed:c}=this.tryParseConditionalConsequent(),[l,h]=this.getArrowLikeExpressions(a);if(c||h.length>0){const e=[...i];if(h.length>0){this.state=n,this.state.noArrowAt=e;for(let t=0;t<h.length;t++)e.push(h[t].start);({consequent:a,failed:c}=this.tryParseConditionalConsequent()),[l,h]=this.getArrowLikeExpressions(a)}c&&l.length>1&&this.raise(n.start,ss.AmbiguousConditionalArrow),c&&1===l.length&&(this.state=n,e.push(l[0].start),this.state.noArrowAt=e,({consequent:a,failed:c}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(a,!0),this.state.noArrowAt=i,this.expect(14),o.test=e,o.consequent=a,o.alternate=this.forwardNoArrowParamsConversionAt(o,(()=>this.parseMaybeAssign(void 0,void 0))),this.finishNode(o,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e],s=[];for(;0!==r.length;){const e=r.pop();"ArrowFunctionExpression"===e.type?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):s.push(e),r.push(e.body)):"ConditionalExpression"===e.type&&(r.push(e.consequent),r.push(e.alternate))}return t?(s.forEach((e=>this.finishArrowValidation(e))),[s,[]]):function(e,t){const r=[],s=[];for(let n=0;n<e.length;n++)(t(e[n])?r:s).push(e[n]);return[r,s]}(s,(e=>e.params.every((e=>this.isAssignable(e,!0)))))}finishArrowValidation(e){var t;this.toAssignableList(e.params,null==(t=e.extra)?void 0:t.trailingComma,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;return-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),r=t(),this.state.noArrowParamsConversionAt.pop()):r=t(),r}parseParenItem(e,t,r){if(e=super.parseParenItem(e,t,r),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const s=this.startNodeAt(t,r);return s.expression=e,s.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(s,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){"ImportDeclaration"===e.type&&("type"===e.importKind||"typeof"===e.importKind)||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind||"ExportAllDeclaration"===e.type&&"type"===e.exportKind||super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);return"ExportNamedDeclaration"!==t.type&&"ExportAllDeclaration"!==t.type||(t.exportKind=t.exportKind||"value"),t}parseExportDeclaration(e){if(this.isContextual(120)){e.exportKind="type";const t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),this.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(121)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(119)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.shouldParseEnums()&&this.isContextual(116)){e.exportKind="value";const t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(...arguments)||!(!this.isContextual(120)||49!==this.lookahead().type)&&(e.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){const t=this.state.start,r=super.maybeParseExportNamespaceSpecifier(e);return r&&"type"===e.exportKind&&this.unexpected(t),r}parseClassId(e,t,r){super.parseClassId(e,t,r),this.match(43)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,r){const s=this.state.start;if(this.isContextual(115)){if(this.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,r),t.declare&&("ClassProperty"!==t.type&&"ClassPrivateProperty"!==t.type&&"PropertyDefinition"!==t.type?this.raise(s,ss.DeclareClassElement):t.value&&this.raise(t.value.start,ss.DeclareClassFieldInitializer))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){const e=super.readWord1(),t="@@"+e;this.isIterator(e)&&this.state.inType||this.raise(this.state.pos,Rt.InvalidIdentifier,t),this.finishToken(122,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);return 123===e&&124===t?this.finishOp(6,2):!this.state.inType||62!==e&&60!==e?this.state.inType&&63===e?46===t?this.finishOp(18,2):this.finishOp(17,1):function(e,t){return 64===e&&64===t}(e,t)?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e):this.finishOp(62===e?44:43,1)}isAssignable(e,t){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e,t=!1){return"TypeCastExpression"===e.type?super.toAssignable(this.typeCastToParameter(e),t):super.toAssignable(e,t)}toAssignableList(e,t,r){for(let t=0;t<e.length;t++){const r=e[t];"TypeCastExpression"===(null==r?void 0:r.type)&&(e[t]=this.typeCastToParameter(r))}return super.toAssignableList(e,t,r)}toReferencedList(e,t){for(let s=0;s<e.length;s++){var r;const n=e[s];!n||"TypeCastExpression"!==n.type||null!=(r=n.extra)&&r.parenthesized||!(e.length>1)&&t||this.raise(n.typeAnnotation.start,ss.TypeCastInPattern)}return e}parseArrayLike(e,t,r,s){const n=super.parseArrayLike(e,t,r,s);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(n.elements),n}checkLVal(e,...t){if("TypeCastExpression"!==e.type)return super.checkLVal(e,...t)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(43)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,s,n,i){if(t.variance&&this.unexpected(t.variance.start),delete t.variance,this.match(43)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,r,s,n,i),t.params&&n){const e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(t.start,ss.ThisParamBannedInConstructor)}else if("MethodDefinition"===t.type&&n&&t.value.params){const e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(t.start,ss.ThisParamBannedInConstructor)}}pushClassPrivateMethod(e,t,r,s){t.variance&&this.unexpected(t.variance.start),delete t.variance,this.match(43)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,r,s)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(43)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(104)){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.match(43)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];this.isThisParam(r)&&"get"===e.kind?this.raise(r.start,ss.GetterMayNotHaveThisParam):this.isThisParam(r)&&this.raise(r.start,ss.SetterMayNotHaveThisParam)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,r,s,n,i,o,a){let c;e.variance&&this.unexpected(e.variance.start),delete e.variance,this.match(43)&&!o&&(c=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected()),super.parseObjPropValue(e,t,r,s,n,i,o,a),c&&((e.value||e).typeParameters=c)}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(e.start,ss.PatternIsOptional),this.isThisParam(e)&&this.raise(e.start,ss.ThisParamMayNotBeOptional),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(e.start,ss.ThisParamAnnotationRequired),this.match(27)&&this.isThisParam(e)&&this.raise(e.start,ss.ThisParamNoDefault),this.resetEndLocation(e),e}parseMaybeDefault(e,t,r){const s=super.parseMaybeDefault(e,t,r);return"AssignmentPattern"===s.type&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(s.typeAnnotation.start,ss.TypeBeforeInitializer),s}shouldParseDefaultImport(e){return ns(e)?is(this.state.type):super.shouldParseDefaultImport(e)}parseImportSpecifierLocal(e,t,r,s){t.local=ns(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),this.checkLVal(t.local,s,9),e.specifiers.push(this.finishNode(t,r))}maybeParseDefaultImportSpecifier(e){e.importKind="value";let t=null;if(this.match(81)?t="typeof":this.isContextual(120)&&(t="type"),t){const r=this.lookahead(),{type:s}=r;"type"===t&&49===s&&this.unexpected(r.start),(is(s)||5===s||49===s)&&(this.next(),e.importKind=t)}return super.maybeParseDefaultImportSpecifier(e)}parseImportSpecifier(e,t,r,s){const n=e.imported;let i=null;"Identifier"===n.type&&("type"===n.name?i="type":"typeof"===n.name&&(i="typeof"));let o=!1;if(this.isContextual(87)&&!this.isLookaheadContextual("as")){const t=this.parseIdentifier(!0);null===i||or(this.state.type)?(e.imported=n,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=t,e.importKind=i,e.local=es(t))}else{if(null!==i&&or(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=i;else{if(t)throw this.raise(e.start,Rt.ImportBindingIsString,n.value);e.imported=n,e.importKind=null}this.eatContextual(87)?e.local=this.parseIdentifier():(o=!0,e.local=es(e.imported))}const a=ns(e);return r&&a&&this.raise(e.start,ss.ImportTypeShorthandOnlyInPureImport),(r||a)&&this.checkReservedType(e.local.name,e.local.start,!0),!o||r||a||this.checkReservedWord(e.local.name,e.start,!0,!0),this.checkLVal(e.local,"import specifier",9),this.finishNode(e,"ImportSpecifier")}parseBindingAtom(){return 72===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(e,t){const r=e.kind;"get"!==r&&"set"!==r&&this.match(43)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=t}return super.parseAsyncArrowFromCallExpression(e,t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,t){var r;let s,n=null;if(this.hasPlugin("jsx")&&(this.match(132)||this.match(43))){if(n=this.state.clone(),s=this.tryParse((()=>super.parseMaybeAssign(e,t)),n),!s.error)return s.node;const{context:r}=this.state,i=r[r.length-1];i===Bt.j_oTag?r.length-=2:i===Bt.j_expr&&(r.length-=1)}if(null!=(r=s)&&r.error||this.match(43)){var i,o;let r;n=n||this.state.clone();const a=this.tryParse((s=>{var n;r=this.flowParseTypeParameterDeclaration();const i=this.forwardNoArrowParamsConversionAt(r,(()=>{const s=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(s,r),s}));null!=(n=i.extra)&&n.parenthesized&&s();const o=this.maybeUnwrapTypeCastExpression(i);return"ArrowFunctionExpression"!==o.type&&s(),o.typeParameters=r,this.resetStartLocationFromNode(o,r),i}),n);let c=null;if(a.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(a.node).type){if(!a.error&&!a.aborted)return a.node.async&&this.raise(r.start,ss.UnexpectedTypeParameterBeforeAsyncArrowFunction),a.node;c=a.node}if(null!=(i=s)&&i.node)return this.state=s.failState,s.node;if(c)return this.state=a.failState,c;if(null!=(o=s)&&o.thrown)throw s.error;if(a.thrown)throw a.error;throw this.raise(r.start,ss.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){const t=this.tryParse((()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const r=this.startNode();return[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),r}));if(t.thrown)return null;t.error&&(this.state=t.failState),e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,r){if(!r||-1===this.state.noArrowParamsConversionAt.indexOf(e.start)){for(let t=0;t<e.params.length;t++)this.isThisParam(e.params[t])&&t>0&&this.raise(e.params[t].start,ss.ThisParamMustBeFirst);return super.checkParams(...arguments)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,r,s){if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t)){this.next();const s=this.startNodeAt(t,r);s.callee=e,s.arguments=this.parseCallExpressionArguments(11,!1),e=this.finishNode(s,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(43)){const n=this.state.clone(),i=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t,r)||e()),n);if(!i.error&&!i.aborted)return i.node;const o=this.tryParse((()=>super.parseSubscripts(e,t,r,s)),n);if(o.node&&!o.error)return o.node;if(i.node)return this.state=i.failState,i.node;if(o.node)return this.state=o.failState,o.node;throw i.error||o.error}return super.parseSubscripts(e,t,r,s)}parseSubscript(e,t,r,s,n){if(this.match(18)&&this.isLookaheadToken_lt()){if(n.optionalChainMember=!0,s)return n.stop=!0,e;this.next();const i=this.startNodeAt(t,r);return i.callee=e,i.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),i.arguments=this.parseCallExpressionArguments(11,!1),i.optional=!0,this.finishCallExpression(i,!0)}if(!s&&this.shouldParseTypes()&&this.match(43)){const s=this.startNodeAt(t,r);s.callee=e;const i=this.tryParse((()=>(s.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),s.arguments=this.parseCallExpressionArguments(11,!1),n.optionalChainMember&&(s.optional=!1),this.finishCallExpression(s,n.optionalChainMember))));if(i.node)return i.error&&(this.state=i.failState),i.node}return super.parseSubscript(e,t,r,s,n)}parseNewArguments(e){let t=null;this.shouldParseTypes()&&this.match(43)&&(t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),e.typeArguments=t,super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const r=this.startNodeAt(e,t);if(this.parseFunctionParams(r),this.parseArrow(r))return this.parseArrowExpression(r,void 0,!0)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(42===e&&47===t&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);124!==e||125!==t?super.readToken_pipe_amp(e):this.finishOp(9,2)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(this.state.pos,ss.UnterminatedFlowComment),r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment())return this.state.hasFlowComment&&this.unexpected(null,ss.NestedFlowComment),this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),void(this.state.hasFlowComment=!0);if(!this.state.hasFlowComment)return super.skipBlockComment();{const e=this.input.indexOf("*-/",this.state.pos+=2);if(-1===e)throw this.raise(this.state.pos-2,Rt.UnterminatedComment);this.state.pos=e+3}}skipFlowComment(){const{pos:e}=this.state;let t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;const r=this.input.charCodeAt(t+e),s=this.input.charCodeAt(t+e+1);return 58===r&&58===s?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===r&&58!==s&&t}hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(this.state.pos,Rt.UnterminatedComment)}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,ss.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const s=r[0].toUpperCase()+r.slice(1);this.raise(e,ss.EnumInvalidMemberName,r,s,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,ss.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,ss.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,null===r?ss.EnumInvalidExplicitTypeUnknownSupplied:ss.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:s}){let n=null;switch(r){case"boolean":case"number":case"string":n=ss.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":n=ss.EnumInvalidMemberInitializerSymbolType;break;default:n=ss.EnumInvalidMemberInitializerUnknownType}return this.raise(e,n,t,s,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,ss.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,ss.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 124:{const r=this.parseNumericLiteral(this.state.value);return t()?{type:"number",pos:r.start,value:r}:{type:"invalid",pos:e}}case 123:{const r=this.parseStringLiteral(this.state.value);return t()?{type:"string",pos:r.start,value:r}:{type:"invalid",pos:e}}case 79:case 80:{const r=this.parseBooleanLiteral(this.match(79));return t()?{type:"boolean",pos:r.start,value:r}:{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;return{id:this.parseIdentifier(!0),init:this.eat(27)?this.flowEnumMemberInit():{type:"none",pos:e}}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:s}=t;null!==s&&s!==r&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set,s={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let n=!1;for(;!this.match(8);){if(this.eat(21)){n=!0;break}const i=this.startNode(),{id:o,init:a}=this.flowEnumMemberRaw(),c=o.name;if(""===c)continue;/^[a-z]/.test(c)&&this.flowEnumErrorInvalidMemberName(o.start,{enumName:e,memberName:c}),r.has(c)&&this.flowEnumErrorDuplicateMemberName(o.start,{enumName:e,memberName:c}),r.add(c);const l={enumName:e,explicitType:t,memberName:c};switch(i.id=o,a.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(a.pos,l,"boolean"),i.init=a.value,s.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(a.pos,l,"number"),i.init=a.value,s.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(a.pos,l,"string"),i.init=a.value,s.stringMembers.push(this.finishNode(i,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(a.pos,l);case"none":switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(a.pos,l);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(a.pos,l);break;default:s.defaultedMembers.push(this.finishNode(i,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:s,hasUnknownMembers:n}}flowEnumStringMembers(e,t,{enumName:r}){if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(const t of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r});return t}for(const e of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r});return e}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual(95)){if(!ir(this.state.type))throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null});const{value:t}=this.state;return this.next(),"boolean"!==t&&"number"!==t&&"string"!==t&&"symbol"!==t&&this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t}),t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const s=this.flowEnumParseExplicitType({enumName:t});this.expect(5);const{members:n,hasUnknownMembers:i}=this.flowEnumMembers({enumName:t,explicitType:s});switch(e.hasUnknownMembers=i,s){case"boolean":return e.explicitType=!0,e.members=n.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=n.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(n.stringMembers,n.defaultedMembers,{enumName:t}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=n.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{const s=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;const i=n.booleanMembers.length,o=n.numberMembers.length,a=n.stringMembers.length,c=n.defaultedMembers.length;if(i||o||a||c){if(i||o){if(!o&&!a&&i>=c){for(const e of n.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name});return e.members=n.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!i&&!a&&o>=c){for(const e of n.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name});return e.members=n.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.flowEnumErrorInconsistentMemberValues(r,{enumName:t}),s()}return e.members=this.flowEnumStringMembers(n.stringMembers,n.defaultedMembers,{enumName:t}),this.expect(8),this.finishNode(e,"EnumStringBody")}return s()}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start}),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(60===this.input.charCodeAt(e)){const t=this.input.charCodeAt(e+1);return 60!==t&&61!==t}return!1}maybeUnwrapTypeCastExpression(e){return"TypeCastExpression"===e.type?e.expression:e}},typescript:e=>class extends e{getScopeHandler(){return ms}tsIsIdentifier(){return ir(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(49)||this.match(21)||this.match(128)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!ir(this.state.type))return;const r=this.state.value;if(-1!==e.indexOf(r)){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers(e,t,r,s,n){const i=(t,r,s,n)=>{r===s&&e[n]&&this.raise(t,ys.InvalidModifiersOrder,s,n)},o=(t,r,s,n)=>{(e[s]&&r===n||e[n]&&r===s)&&this.raise(t,ys.IncompatibleModifiers,s,n)};for(;;){const a=this.state.start,c=this.tsParseModifier(t.concat(null!=r?r:[]),n);if(!c)break;bs(c)?e.accessibility?this.raise(a,ys.DuplicateAccessibilityModifier):(i(a,c,c,"override"),i(a,c,c,"static"),i(a,c,c,"readonly"),e.accessibility=c):(Object.hasOwnProperty.call(e,c)?this.raise(a,ys.DuplicateModifier,c):(i(a,c,"static","readonly"),i(a,c,"static","override"),i(a,c,"override","readonly"),i(a,c,"abstract","override"),o(a,c,"declare","override"),o(a,c,"static","abstract")),e[c]=!0),null!=r&&r.includes(c)&&this.raise(a,s,c)}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(44)}throw new Error("Unreachable")}tsParseList(e,t){const r=[];for(;!this.tsIsListTerminator(e);)r.push(t());return r}tsParseDelimitedList(e,t,r){return function(e){if(null==e)throw new Error(`Unexpected ${e} value.`);return e}(this.tsParseDelimitedListWorker(e,t,!0,r))}tsParseDelimitedListWorker(e,t,r,s){const n=[];let i=-1;for(;!this.tsIsListTerminator(e);){i=-1;const s=t();if(null==s)return;if(n.push(s),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(12))}i=this.state.lastTokStart}return s&&(s.value=i),n}tsParseBracketedList(e,t,r,s,n){s||(r?this.expect(0):this.expect(43));const i=this.tsParseDelimitedList(e,t,n);return r?this.expect(3):this.expect(44),i}tsParseImportType(){const e=this.startNode();return this.expect(77),this.expect(10),this.match(123)||this.raise(this.state.start,ys.UnsupportedImportTypeArgument),e.argument=this.parseExprAtom(),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName(!0)),this.match(43)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();for(;this.eat(16);){const r=this.startNodeAtNode(t);r.left=t,r.right=this.parseIdentifier(e),t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();return e.typeName=this.tsParseEntityName(!1),!this.hasPrecedingLineBreak()&&this.match(43)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();return this.expect(81),this.match(77)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(!0),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsEatThenParseType(75),e.default=this.tsEatThenParseType(27),this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.match(43))return this.tsParseTypeParameters()}tsParseTypeParameters(){const e=this.startNode();this.match(43)||this.match(132)?this.next():this.unexpected();const t={value:-1};return e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),!1,!0,t),0===e.params.length&&this.raise(e.start,ys.EmptyTypeParameters),-1!==t.value&&this.addExtra(e,"trailingComma",t.value),this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){return 69===this.lookahead().type?(this.next(),this.tsParseTypeReference()):null}tsFillSignature(e,t){const r=19===e;t.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(r||this.match(e))&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return this.parseBindingList(11,41).map((e=>("Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type&&this.raise(e.start,ys.UnsupportedSignatureParameterKind,e.type),e)))}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(e,t){return this.tsFillSignature(14,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!ir(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(e){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];const r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){this.eat(17)&&(e.optional=!0);const r=e;if(this.match(10)||this.match(43)){t&&this.raise(e.start,ys.ReadonlyForMethodSignature);const s=r;if(s.kind&&this.match(43)&&this.raise(this.state.pos,ys.AccesorCannotHaveTypeParameters),this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon(),"get"===s.kind)s.parameters.length>0&&(this.raise(this.state.pos,Rt.BadGetterArity),this.isThisParam(s.parameters[0])&&this.raise(this.state.pos,ys.AccesorCannotDeclareThisParameter));else if("set"===s.kind){if(1!==s.parameters.length)this.raise(this.state.pos,Rt.BadSetterArity);else{const e=s.parameters[0];this.isThisParam(e)&&this.raise(this.state.pos,ys.AccesorCannotDeclareThisParameter),"Identifier"===e.type&&e.optional&&this.raise(this.state.pos,ys.SetAccesorCannotHaveOptionalParameter),"RestElement"===e.type&&this.raise(this.state.pos,ys.SetAccesorCannotHaveRestParameter)}s.typeAnnotation&&this.raise(s.typeAnnotation.start,ys.SetAccesorCannotHaveReturnType)}else s.kind="method";return this.finishNode(s,"TSMethodSignature")}{const e=r;t&&(e.readonly=!0);const s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(43))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(71)){const t=this.startNode();return this.next(),this.match(10)||this.match(43)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],ys.InvalidModifierOnTypeMember);return this.tsTryParseIndexSignature(e)||(this.parsePropertyName(e),e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||!this.tsTokenCanFollowModifier()||(e.kind=e.key.name,this.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){const e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(47)?this.isContextual(112):(this.isContextual(112)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(52))))}tsParseMappedTypeParameter(){const e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(52),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();return this.expect(5),this.match(47)?(e.readonly=this.state.value,this.next(),this.expectContextual(112)):this.eatContextual(112)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(87)?this.tsParseType():null,this.expect(3),this.match(47)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let t=!1,r=null;return e.elementTypes.forEach((e=>{var s;let{type:n}=e;!t||"TSRestType"===n||"TSOptionalType"===n||"TSNamedTupleMember"===n&&e.optional||this.raise(e.start,ys.OptionalTypeBeforeRequired),t=t||"TSNamedTupleMember"===n&&e.optional||"TSOptionalType"===n,"TSRestType"===n&&(n=(e=e.typeAnnotation).type);const i="TSNamedTupleMember"===n;r=null!=(s=r)?s:i,r!==i&&this.raise(e.start,ys.MixedLabeledAndUnlabeledElements)})),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state,r=this.eat(21);let s=this.tsParseType();const n=this.eat(17);if(this.eat(14)){const e=this.startNodeAtNode(s);e.optional=n,"TSTypeReference"!==s.type||s.typeParameters||"Identifier"!==s.typeName.type?(this.raise(s.start,ys.InvalidTupleMemberLabel),e.label=s):e.label=s.typeName,e.elementType=this.tsParseType(),s=this.finishNode(e,"TSNamedTupleMember")}else if(n){const e=this.startNodeAtNode(s);e.typeAnnotation=s,s=this.finishNode(e,"TSOptionalType")}if(r){const r=this.startNodeAt(e,t);r.typeAnnotation=s,s=this.finishNode(r,"TSRestType")}return s}tsParseParenthesizedType(){const e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();return"TSConstructorType"===e&&(r.abstract=!!t,t&&this.next(),this.next()),this.tsFillSignature(19,r),this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();return e.literal=(()=>{switch(this.state.type){case 124:case 125:case 123:case 79:case 80:return this.parseExprAtom();default:throw this.unexpected()}})(),this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();return e.literal=this.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();return this.isContextual(107)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 123:case 124:case 125:case 79:case 80:return this.tsParseLiteralTypeNode();case 47:if("-"===this.state.value){const e=this.startNode(),t=this.lookahead();if(124!==t.type&&125!==t.type)throw this.unexpected();return e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 72:return this.tsParseThisTypeOrThisTypePredicate();case 81:return this.tsParseTypeQuery();case 77:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 22:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if(ir(e)||82===e||78===e){const t=82===e?"TSVoidKeyword":78===e?"TSNullKeyword":function(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}(this.state.value);if(void 0!==t&&46!==this.lookaheadCharCode()){const e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const t=this.startNodeAtNode(e);t.elementType=e,this.expect(3),e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e,t.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(t,"TSIndexedAccessType")}return e}tsParseTypeOperator(){const e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,ys.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual(106);const t=this.startNode();return t.name=this.tsParseTypeParameterName(),e.typeParameter=this.finishNode(t,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){var e;return(e=this.state.type)>=111&&e<=113&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(106)?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,r){const s=this.startNode(),n=this.eat(r),i=[];do{i.push(t())}while(this.eat(r));return 1!==i.length||n?(s.types=i,this.finishNode(s,e)):i[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),41)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),39)}tsIsStartOfFunctionType(){return!!this.match(43)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(ir(this.state.type)||this.match(72))return this.next(),!0;if(this.match(5)){let e=1;for(this.next();e>0;)this.match(5)?++e:this.match(8)&&--e,this.next();return!0}if(this.match(0)){let e=1;for(this.next();e>0;)this.match(0)?++e:this.match(3)&&--e,this.next();return!0}return!1}tsIsUnambiguouslyStartOfFunctionType(){if(this.next(),this.match(11)||this.match(21))return!0;if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(27))return!0;if(this.match(11)&&(this.next(),this.match(19)))return!0}return!1}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType((()=>{const t=this.startNode();this.expect(e);const r=this.startNode(),s=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(s&&this.match(72)){let e=this.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===e.type?(r.parameterName=e,r.asserts=!0,r.typeAnnotation=null,e=this.finishNode(r,"TSTypePredicate")):(this.resetStartLocationFromNode(e,r),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,"TSTypeAnnotation")}const n=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!n)return s?(r.parameterName=this.parseIdentifier(),r.asserts=s,r.typeAnnotation=null,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,t);const i=this.tsParseTypeAnnotation(!1);return r.parameterName=n,r.typeAnnotation=i,r.asserts=s,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")}))}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(107)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(100!==this.state.type)return!1;const e=this.state.containsEsc;return this.next(),!(!ir(this.state.type)&&!this.match(72)||(e&&this.raise(this.state.lastTokStart,Rt.InvalidEscapedReservedWord,"asserts"),0))}tsParseTypeAnnotation(e=!0,t=this.startNode()){return this.tsInType((()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()})),this.finishNode(t,"TSTypeAnnotation")}tsParseType(){gs(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(75))return e;const t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsParseNonConditionalType(),this.expect(17),t.trueType=this.tsParseType(),this.expect(14),t.falseType=this.tsParseType(),this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(114)&&71===this.lookahead().type}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(71)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(this.state.start,ys.ReservedTypeAssertion);const e=this.startNode(),t=this.tsTryNextParseConstantContext();return e.typeAnnotation=t||this.tsNextThenParseType(),this.expect(44),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start,r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));return r.length||this.raise(t,ys.EmptyHeritageClauseType,e),r}tsParseExpressionWithTypeArguments(){const e=this.startNode();return e.expression=this.tsParseEntityName(!1),this.match(43)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){ir(this.state.type)?(e.id=this.parseIdentifier(),this.checkLVal(e.id,"typescript interface declaration",130)):(e.id=null,this.raise(this.state.start,ys.MissingInterfaceName)),e.typeParameters=this.tsTryParseTypeParameters(),this.eat(75)&&(e.extends=this.tsParseHeritageClause("extends"));const t=this.startNode();return t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(t,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkLVal(e.id,"typescript type alias",2),e.typeParameters=this.tsTryParseTypeParameters(),e.typeAnnotation=this.tsInType((()=>{if(this.expect(27),this.isContextual(105)&&16!==this.lookahead().type){const e=this.startNode();return this.next(),this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()})),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return this.match(e)?this.tsNextThenParseType():void 0}tsExpectThenParseType(e){return this.tsDoThenParseType((()=>this.expect(e)))}tsNextThenParseType(){return this.tsDoThenParseType((()=>this.next()))}tsDoThenParseType(e){return this.tsInType((()=>(e(),this.tsParseType())))}tsParseEnumMember(){const e=this.startNode();return e.id=this.match(123)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(27)&&(e.initializer=this.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){return t&&(e.const=!0),e.id=this.parseIdentifier(),this.checkLVal(e.id,"typescript enum declaration",t?779:267),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();return this.scope.enter(0),this.expect(5),this.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=!1){if(e.id=this.parseIdentifier(),t||this.checkLVal(e.id,"module or namespace declaration",1024),this.eat(16)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(103)?(e.global=!0,e.id=this.parseIdentifier()):this.match(123)?e.id=this.parseExprAtom():this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||!1,e.id=this.parseIdentifier(),this.checkLVal(e.id,"import equals declaration",9),this.expect(27);const r=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==r.type&&this.raise(r.start,ys.ImportAliasHasImportType),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(110)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const e=this.startNode();if(this.expectContextual(110),this.expect(10),!this.match(123))throw this.unexpected();return e.expression=this.parseExprAtom(),this.expect(11),this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone(),r=e();return this.state=t,r}tsTryParseAndCatch(e){const t=this.tryParse((t=>e()||t()));if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node}tsTryParse(e){const t=this.state.clone(),r=e();return void 0!==r&&!1!==r?r:void(this.state=t)}tsTryParseDeclare(e){if(this.isLineTerminator())return;let t,r=this.state.type;return this.isContextual(93)&&(r=68,t="let"),this.tsInAmbientContext((()=>{switch(r){case 62:return e.declare=!0,this.parseFunctionStatement(e,!1,!0);case 74:return e.declare=!0,this.parseClass(e,!0,!1);case 69:if(this.match(69)&&this.isLookaheadContextual("enum"))return this.expect(69),this.expectContextual(116),this.tsParseEnumDeclaration(e,!0);case 68:return t=t||this.state.value,this.parseVarStatement(e,t);case 103:return this.tsParseAmbientExternalModuleDeclaration(e);default:if(ir(r))return this.tsParseDeclaration(e,this.state.value,!0)}}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t)return t.declare=!0,t;break}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);const r=e;return r.global=!0,r.id=t,r.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(74)||ir(this.state.type)))return this.tsParseAbstractDeclaration(e);break;case"enum":if(r||ir(this.state.type))return r&&this.next(),this.tsParseEnumDeclaration(e,!1);break;case"interface":if(this.tsCheckLineTerminator(r)&&ir(this.state.type))return this.tsParseInterfaceDeclaration(e);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(123))return this.tsParseAmbientExternalModuleDeclaration(e);if(ir(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&ir(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&ir(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.match(43))return;const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const s=this.tsTryParseAndCatch((()=>{const r=this.startNodeAt(e,t);return r.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams(r),r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),r}));return this.state.maybeInArrowParameters=r,s?this.parseArrowExpression(s,null,!0):void 0}tsParseTypeArguments(){const e=this.startNode();return e.params=this.tsInType((()=>this.tsInNoContext((()=>(this.expect(43),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))))),0===e.params.length&&this.raise(e.start,ys.EmptyTypeArguments),this.expect(44),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(e=this.state.type)>=114&&e<=120;var e}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start,s=this.state.startLoc;let n,i=!1,o=!1;if(void 0!==e){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]),n=t.accessibility,o=t.override,i=t.readonly,!1===e&&(n||i||o)&&this.raise(r,ys.UnexpectedParameterModifier)}const a=this.parseMaybeDefault();this.parseAssignableListItemTypes(a);const c=this.parseMaybeDefault(a.start,a.loc.start,a);if(n||i||o){const e=this.startNodeAt(r,s);return t.length&&(e.decorators=t),n&&(e.accessibility=n),i&&(e.readonly=i),o&&(e.override=o),"Identifier"!==c.type&&"AssignmentPattern"!==c.type&&this.raise(e.start,ys.UnsupportedParameterPropertyKind),e.parameter=c,this.finishNode(e,"TSParameterProperty")}return t.length&&(a.decorators=t),c}parseFunctionBodyAndFinish(e,t,r=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const s="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;s&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,s):"TSDeclareFunction"===s&&this.state.isAmbientContext&&(this.raise(e.start,ys.DeclareFunctionHasImplementation),e.declare)?super.parseFunctionBodyAndFinish(e,s,r):super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){!e.body&&e.id?this.checkLVal(e.id,"function name",1024):super.registerFunctionStatementId(...arguments)}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{"TSTypeCastExpression"===(null==e?void 0:e.type)&&this.raise(e.typeAnnotation.start,ys.UnexpectedTypeAnnotation)}))}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(...e){const t=super.parseArrayLike(...e);return"ArrayExpression"===t.type&&this.tsCheckForInvalidTypeCasts(t.elements),t}parseSubscript(e,t,r,s,n){if(!this.hasPrecedingLineBreak()&&this.match(33)){this.state.canStartJSXElement=!1,this.next();const s=this.startNodeAt(t,r);return s.expression=e,this.finishNode(s,"TSNonNullExpression")}let i=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(s)return n.stop=!0,e;n.optionalChainMember=i=!0,this.next()}if(this.match(43)){let o;const a=this.tsTryParseAndCatch((()=>{if(!s&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e)return e}const a=this.startNodeAt(t,r);a.callee=e;const c=this.tsParseTypeArguments();if(c){if(i&&!this.match(10)&&(o=this.state.pos,this.unexpected()),!s&&this.eat(10))return a.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(a.arguments),a.typeParameters=c,n.optionalChainMember&&(a.optional=i),this.finishCallExpression(a,n.optionalChainMember);if(this.match(22)){const s=this.parseTaggedTemplateExpression(e,t,r,n);return s.typeParameters=c,s}}this.unexpected()}));if(o&&this.unexpected(o,10),a)return a}return super.parseSubscript(e,t,r,s,n)}parseNewArguments(e){if(this.match(43)){const t=this.tsTryParseAndCatch((()=>{const e=this.tsParseTypeArguments();return this.match(10)||this.unexpected(),e}));t&&(e.typeParameters=t)}super.parseNewArguments(e)}parseExprOp(e,t,r,s){if(pr(52)>s&&!this.hasPrecedingLineBreak()&&this.isContextual(87)){const n=this.startNodeAt(t,r);n.expression=e;const i=this.tsTryNextParseConstantContext();return n.typeAnnotation=i||this.tsNextThenParseType(),this.finishNode(n,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(n,t,r,s)}return super.parseExprOp(e,t,r,s)}checkReservedWord(e,t,r,s){}checkDuplicateExports(){}parseImport(e){if(e.importKind="value",ir(this.state.type)||this.match(49)||this.match(5)){let t=this.lookahead();if(this.isContextual(120)&&12!==t.type&&91!==t.type&&27!==t.type&&(e.importKind="type",this.next(),t=this.lookahead()),ir(this.state.type)&&27===t.type)return this.tsParseImportEqualsDeclaration(e)}const t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(t.start,ys.TypeImportCannotSpecifyDefaultAndNamed),t}parseExport(e){if(this.match(77))return this.next(),this.isContextual(120)&&61!==this.lookaheadCharCode()?(e.importKind="type",this.next()):e.importKind="value",this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(27)){const t=e;return t.expression=this.parseExpression(),this.semicolon(),this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(87)){const t=e;return this.expectContextual(118),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}return this.isContextual(120)&&5===this.lookahead().type?(this.next(),e.exportKind="type"):e.exportKind="value",super.parseExport(e)}isAbstractClass(){return this.isContextual(114)&&74===this.lookahead().type}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0),e}if(this.match(119)){const e=this.startNode();this.next();const t=this.tsParseInterfaceDeclaration(e);if(t)return t}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(69===this.state.type&&116===this.lookahead().type){const e=this.startNode();return this.next(),this.expectContextual(116),this.tsParseEnumDeclaration(e,!0)}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some((t=>bs(t)?e.accessibility===t:!!e[t]))}tsIsStartOfStaticBlocks(){return this.isContextual(98)&&123===this.lookaheadCharCode()}parseClassMember(e,t,r){const s=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers(t,s,void 0,void 0,!0);const n=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,s)&&this.raise(this.state.pos,ys.StaticBlockCannotHaveModifier),this.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,r,!!t.static)};t.declare?this.tsInAmbientContext(n):n()}parseClassMemberWithIsStatic(e,t,r,s){const n=this.tsTryParseIndexSignature(t);if(n)return e.body.push(n),t.abstract&&this.raise(t.start,ys.IndexSignatureHasAbstract),t.accessibility&&this.raise(t.start,ys.IndexSignatureHasAccessibility,t.accessibility),t.declare&&this.raise(t.start,ys.IndexSignatureHasDeclare),void(t.override&&this.raise(t.start,ys.IndexSignatureHasOverride));!this.state.inAbstractClass&&t.abstract&&this.raise(t.start,ys.NonAbstractClassHasAbstractMethod),t.override&&(r.hadSuperClass||this.raise(t.start,ys.OverrideNotInSubClass)),super.parseClassMemberWithIsStatic(e,t,r,s)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(e.start,ys.ClassMethodHasReadonly),e.declare&&this.match(10)&&this.raise(e.start,ys.ClassMethodHasDeclare)}parseExpressionStatement(e,t){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t):void 0)||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,r,s){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,r,s);const n=this.tryParse((()=>super.parseConditional(e,t,r)));return n.node?(n.error&&(this.state=n.failState),n.node):(n.error&&super.setOptionalParametersError(s,n.error),e)}parseParenItem(e,t,r){if(e=super.parseParenItem(e,t,r),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const s=this.startNodeAt(t,r);return s.expression=e,s.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(s,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start,r=this.state.startLoc,s=this.eatContextual(115);if(s&&(this.isContextual(115)||!this.shouldParseExportDeclaration()))throw this.raise(this.state.start,ys.ExpectedAmbientAfterExportDeclare);let n;return ir(this.state.type)&&(n=this.tsTryParseExportDeclaration()),n||(n=super.parseExportDeclaration(e)),n&&("TSInterfaceDeclaration"===n.type||"TSTypeAliasDeclaration"===n.type||s)&&(e.exportKind="type"),n&&s&&(this.resetStartLocation(n,t,r),n.declare=!0),n}parseClassId(e,t,r){if((!t||r)&&this.isContextual(104))return;super.parseClassId(e,t,r,e.declare?1024:139);const s=this.tsTryParseTypeParameters();s&&(e.typeParameters=s)}parseClassPropertyAnnotation(e){!e.optional&&this.eat(33)&&(e.definite=!0);const t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&this.match(27)&&this.raise(this.state.start,ys.DeclareClassFieldHasInitializer),e.abstract&&this.match(27)){const{key:t}=e;this.raise(this.state.start,ys.AbstractPropertyHasInitializer,"Identifier"!==t.type||e.computed?`[${this.input.slice(t.start,t.end)}]`:t.name)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(e.start,ys.PrivateElementHasAbstract),e.accessibility&&this.raise(e.start,ys.PrivateElementHasAccessibility,e.accessibility),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,s,n,i){const o=this.tsTryParseTypeParameters();o&&n&&this.raise(o.start,ys.ConstructorHasTypeParameters),!t.declare||"get"!==t.kind&&"set"!==t.kind||this.raise(t.start,ys.DeclareAccessor,t.kind),o&&(t.typeParameters=o),super.pushClassMethod(e,t,r,s,n,i)}pushClassPrivateMethod(e,t,r,s){const n=this.tsTryParseTypeParameters();n&&(t.typeParameters=n),super.pushClassPrivateMethod(e,t,r,s)}declareClassPrivateMethodInScope(e,t){"TSDeclareMethod"!==e.type&&("MethodDefinition"!==e.type||e.value.body)&&super.declareClassPrivateMethodInScope(e,t)}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&this.match(43)&&(e.superTypeParameters=this.tsParseTypeArguments()),this.eatContextual(104)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();r&&(e.typeParameters=r),super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();r&&(e.typeParameters=r),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),"Identifier"===e.id.type&&this.eat(33)&&(e.definite=!0);const r=this.tsTryParseTypeAnnotation();r&&(e.id.typeAnnotation=r,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,s,n,i,o,a;let c,l,h,u;if(this.hasPlugin("jsx")&&(this.match(132)||this.match(43))){if(c=this.state.clone(),l=this.tryParse((()=>super.parseMaybeAssign(...e)),c),!l.error)return l.node;const{context:t}=this.state;t[t.length-1]===Bt.j_oTag?t.length-=2:t[t.length-1]===Bt.j_expr&&(t.length-=1)}if(!(null!=(t=l)&&t.error||this.match(43)))return super.parseMaybeAssign(...e);c=c||this.state.clone();const p=this.tryParse((t=>{var r,s;u=this.tsParseTypeParameters();const n=super.parseMaybeAssign(...e);return("ArrowFunctionExpression"!==n.type||null!=(r=n.extra)&&r.parenthesized)&&t(),0!==(null==(s=u)?void 0:s.params.length)&&this.resetStartLocationFromNode(n,u),n.typeParameters=u,n}),c);if(!p.error&&!p.aborted)return u&&this.reportReservedArrowTypeParam(u),p.node;if(!l&&(gs(!this.hasPlugin("jsx")),h=this.tryParse((()=>super.parseMaybeAssign(...e)),c),!h.error))return h.node;if(null!=(r=l)&&r.node)return this.state=l.failState,l.node;if(p.node)return this.state=p.failState,u&&this.reportReservedArrowTypeParam(u),p.node;if(null!=(s=h)&&s.node)return this.state=h.failState,h.node;if(null!=(n=l)&&n.thrown)throw l.error;if(p.thrown)throw p.error;if(null!=(i=h)&&i.thrown)throw h.error;throw(null==(o=l)?void 0:o.error)||p.error||(null==(a=h)?void 0:a.error)}reportReservedArrowTypeParam(e){var t;1!==e.params.length||null!=(t=e.extra)&&t.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(e.start,ys.ReservedArrowTypeParam)}parseMaybeUnary(e){return!this.hasPlugin("jsx")&&this.match(43)?this.tsParseTypeAssertion():super.parseMaybeUnary(e)}parseArrow(e){if(this.match(14)){const t=this.tryParse((e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||e(),t}));if(t.aborted)return;t.thrown||(t.error&&(this.state=t.failState),e.returnType=t.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e){this.eat(17)&&("Identifier"===e.type||this.state.isAmbientContext||this.state.inType||this.raise(e.start,ys.PatternIsOptional),e.optional=!0);const t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),this.resetEndLocation(e),e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return!0;default:return super.isAssignable(e,t)}}toAssignable(e,t=!1){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":default:return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":return e.expression=this.toAssignable(e.expression,t),e}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":return e.expression=this.toAssignable(e.expression,t),e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var s;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":return void this.checkLVal(e.parameter,"parameter property",...r);case"TSAsExpression":case"TSTypeAssertion":if(!(r[0]||"parenthesized expression"===t||null!=(s=e.extra)&&s.parenthesized)){this.raise(e.start,Rt.InvalidLhs,t);break}return void this.checkLVal(e.expression,"parenthesized expression",...r);case"TSNonNullExpression":return void this.checkLVal(e.expression,t,...r);default:return void super.checkLVal(e,t,...r)}}parseBindingAtom(){return 72===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(43)){const t=this.tsParseTypeArguments();if(this.match(10)){const r=super.parseMaybeDecoratorArguments(e);return r.typeParameters=t,r}this.unexpected(this.state.start,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?this.next():super.checkCommaAfterRest(e)}isClassMethod(){return this.match(43)||super.isClassMethod()}isClassProperty(){return this.match(33)||this.match(14)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);return"AssignmentPattern"===t.type&&t.typeAnnotation&&t.right.start<t.typeAnnotation.start&&this.raise(t.typeAnnotation.start,ys.TypeAnnotationAfterAssign),t}getTokenFromCode(e){if(this.state.inType){if(62===e)return this.finishOp(44,1);if(60===e)return this.finishOp(43,1)}return super.getTokenFromCode(e)}reScan_lt_gt(){const{type:e}=this.state;43===e?(this.state.pos-=1,this.readToken_lt()):44===e&&(this.state.pos-=1,this.readToken_gt())}toAssignableList(e){for(let t=0;t<e.length;t++){const r=e[t];if(r)switch(r.type){case"TSTypeCastExpression":e[t]=this.typeCastToParameter(r);break;case"TSAsExpression":case"TSTypeAssertion":this.state.maybeInArrowParameters?this.raise(r.start,ys.UnexpectedTypeCastInParameter):e[t]=this.typeCastToParameter(r)}}return super.toAssignableList(...arguments)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.end,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every((e=>this.isAssignable(e,!0))):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(43)){const t=this.tsTryParseAndCatch((()=>this.tsParseTypeArguments()));t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e)[0];return r&&this.isThisParam(r)?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e){if(this.match(74))return e.abstract=!0,this.parseClass(e,!0,!1);if(this.isContextual(119)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(e.start,ys.NonClassMethodPropertyHasAbstractModifer),this.next(),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,74)}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract&&(this.hasPlugin("estree")?t.value.body:t.body)){const{key:e}=t;this.raise(t.start,ys.AbstractMethodHasImplementation,"Identifier"!==e.type||t.computed?`[${this.input.slice(e.start,e.end)}]`:e.name)}return t}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,t,r,s){return!t&&s?(this.parseTypeOnlyImportExportSpecifier(e,!1,r),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,t,r,s))}parseImportSpecifier(e,t,r,s){return!t&&s?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,r,s))}parseTypeOnlyImportExportSpecifier(e,t,r){const s=t?"imported":"local",n=t?"local":"exported";let i,o=e[s],a=!1,c=!0;const l=o.start;if(this.isContextual(87)){const e=this.parseIdentifier();if(this.isContextual(87)){const t=this.parseIdentifier();or(this.state.type)?(a=!0,o=e,i=this.parseIdentifier(),c=!1):(i=t,c=!1)}else or(this.state.type)?(c=!1,i=this.parseIdentifier()):(a=!0,o=e)}else or(this.state.type)&&(a=!0,o=this.parseIdentifier());a&&r&&this.raise(l,t?ys.TypeModifierIsUsedInTypeImports:ys.TypeModifierIsUsedInTypeExports),e[s]=o,e[n]=i,e[t?"importKind":"exportKind"]=a?"type":"value",c&&this.eatContextual(87)&&(e[n]=t?this.parseIdentifier():this.parseModuleExportName()),e[n]||(e[n]=es(e[s])),t&&this.checkLVal(e[n],"import specifier",9)}},v8intrinsic:e=>class extends e{parseV8Intrinsic(){if(this.match(48)){const e=this.state.start,t=this.startNode();if(this.next(),ir(this.state.type)){const e=this.parseIdentifierName(this.state.start),r=this.createIdentifier(t,e);if(r.type="V8IntrinsicIdentifier",this.match(10))return r}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}},placeholders:e=>class extends e{parsePlaceholder(e){if(this.match(134)){const t=this.startNode();return this.next(),this.assertNoSpace("Unexpected space in placeholder."),t.name=super.parseIdentifier(!0),this.assertNoSpace("Unexpected space in placeholder."),this.expect(134),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!(!e.expectedNode||"Placeholder"!==e.type);return e.expectedNode=t,r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){return 37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(134,2):super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){void 0!==e&&super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){"Placeholder"!==e.type&&super.checkLVal(...arguments)}toAssignable(e){return e&&"Placeholder"===e.type&&"Expression"===e.expectedNode?(e.expectedNode="Pattern",e):super.toAssignable(...arguments)}isLet(e){return!!super.isLet(e)||!!this.isContextual(93)&&(!e&&134===this.lookahead().type)}verifyBreakContinue(e){e.label&&"Placeholder"===e.label.type||super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if("Placeholder"!==t.type||t.extra&&t.extra.parenthesized)return super.parseExpressionStatement(...arguments);if(this.match(14)){const r=e;return r.label=this.finishPlaceholder(t,"Identifier"),this.next(),r.body=this.parseStatement("label"),this.finishNode(r,"LabeledStatement")}return this.semicolon(),e.name=t.name,this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,r){const s=t?"ClassDeclaration":"ClassExpression";this.next(),this.takeDecorators(e);const n=this.state.strict,i=this.parsePlaceholder("Identifier");if(i)if(this.match(75)||this.match(134)||this.match(5))e.id=i;else{if(r||!t)return e.id=null,e.body=this.finishPlaceholder(i,"ClassBody"),this.finishNode(e,s);this.unexpected(null,vs.ClassNameIsRequired)}else this.parseClassId(e,t,r);return this.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,n),this.finishNode(e,s)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual(91)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(t,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const r=this.startNode();return r.exported=t,e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(59)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(ur(134),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){return!!(e.specifiers&&e.specifiers.length>0)||super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;null!=t&&t.length&&(e.specifiers=t.filter((e=>"Placeholder"===e.exported.type))),super.checkExport(e),e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);if(e.specifiers=[],!this.isContextual(91)&&!this.match(12))return e.source=this.finishPlaceholder(t,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");const r=this.startNodeAtNode(t);return r.local=t,this.finishNode(r,"ImportDefaultSpecifier"),e.specifiers.push(r),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(91),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}}},Ps=Object.keys(Ts),As={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0},Cs=e=>"ParenthesizedExpression"===e.type?Cs(e.expression):e;class ks extends ts{toAssignable(e,t=!1){var r,s;let n;switch(("ParenthesizedExpression"===e.type||null!=(r=e.extra)&&r.parenthesized)&&(n=Cs(e),t?"Identifier"===n.type?this.expressionScope.recordParenthesizedIdentifierError(e.start,Rt.InvalidParenthesizedAssignment):"MemberExpression"!==n.type&&this.raise(e.start,Rt.InvalidParenthesizedAssignment):this.raise(e.start,Rt.InvalidParenthesizedAssignment)),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,s=e.properties.length,n=s-1;r<s;r++){var i;const s=e.properties[r],o=r===n;this.toAssignableObjectExpressionProp(s,o,t),o&&"RestElement"===s.type&&null!=(i=e.extra)&&i.trailingComma&&this.raiseRestNotLast(e.extra.trailingComma)}break;case"ObjectProperty":this.toAssignable(e.value,t);break;case"SpreadElement":{this.checkToRestConversion(e),e.type="RestElement";const r=e.argument;this.toAssignable(r,t);break}case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,null==(s=e.extra)?void 0:s.trailingComma,t);break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,Rt.MissingEqInAssignment),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(n,t)}return e}toAssignableObjectExpressionProp(e,t,r){if("ObjectMethod"===e.type){const t="get"===e.kind||"set"===e.kind?Rt.PatternHasAccessor:Rt.PatternHasMethod;this.raise(e.key.start,t)}else"SpreadElement"!==e.type||t?this.toAssignable(e,r):this.raiseRestNotLast(e.start)}toAssignableList(e,t,r){let s=e.length;if(s){const n=e[s-1];if("RestElement"===(null==n?void 0:n.type))--s;else if("SpreadElement"===(null==n?void 0:n.type)){n.type="RestElement";let e=n.argument;this.toAssignable(e,r),e=Cs(e),"Identifier"!==e.type&&"MemberExpression"!==e.type&&"ArrayPattern"!==e.type&&"ObjectPattern"!==e.type&&this.unexpected(e.start),t&&this.raiseTrailingCommaAfterRest(t),--s}}for(let t=0;t<s;t++){const s=e[t];s&&(this.toAssignable(s,r),"RestElement"===s.type&&this.raiseRestNotLast(s.start))}return e}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every(((e,r)=>"ObjectMethod"!==e.type&&(r===t||"SpreadElement"!==e.type)&&this.isAssignable(e)))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every((e=>null===e||this.isAssignable(e)));case"AssignmentExpression":return"="===e.operator;case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(const t of e)"ArrayExpression"===(null==t?void 0:t.type)&&this.toReferencedListDeep(t.elements)}parseSpread(e,t){const r=this.startNode();return this.next(),r.argument=this.parseMaybeAssignAllowIn(e,void 0,t),this.finishNode(r,"SpreadElement")}parseRestBinding(){const e=this.startNode();return this.next(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,!0),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,r,s){const n=[];let i=!0;for(;!this.eat(e);)if(i?i=!1:this.expect(12),r&&this.match(12))n.push(null);else{if(this.eat(e))break;if(this.match(21)){n.push(this.parseAssignableListItemTypes(this.parseRestBinding())),this.checkCommaAfterRest(t),this.expect(e);break}{const e=[];for(this.match(24)&&this.hasPlugin("decorators")&&this.raise(this.state.start,Rt.UnsupportedParameterDecorator);this.match(24);)e.push(this.parseDecorator());n.push(this.parseAssignableListItem(s,e))}}return n}parseBindingRestProperty(e){return this.next(),e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){const e=this.startNode(),{type:t,start:r,startLoc:s}=this.state;return 21===t?this.parseBindingRestProperty(e):(this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,r,s,!1,!1,!0,!1),e)}parseAssignableListItem(e,t){const r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r);const s=this.parseMaybeDefault(r.start,r.loc.start,r);return t.length&&(r.decorators=t),s}parseAssignableListItemTypes(e){return e}parseMaybeDefault(e,t,r){var s,n,i;if(t=null!=(s=t)?s:this.state.startLoc,e=null!=(n=e)?n:this.state.start,r=null!=(i=r)?i:this.parseBindingAtom(),!this.eat(27))return r;const o=this.startNodeAt(e,t);return o.left=r,o.right=this.parseMaybeAssignAllowIn(),this.finishNode(o,"AssignmentPattern")}checkLVal(e,t,r=64,s,n,i=!1){switch(e.type){case"Identifier":{const{name:t}=e;this.state.strict&&(i?kr(t,this.inModule):Cr(t))&&this.raise(e.start,64===r?Rt.StrictEvalArguments:Rt.StrictEvalArgumentsBinding,t),s&&(s.has(t)?this.raise(e.start,Rt.ParamDupe):s.add(t)),n&&"let"===t&&this.raise(e.start,Rt.LetInLexicalBinding),64&r||this.scope.declareName(t,r,e.start);break}case"MemberExpression":64!==r&&this.raise(e.start,Rt.InvalidPropertyBindingPattern);break;case"ObjectPattern":for(let t of e.properties){if(this.isObjectProperty(t))t=t.value;else if(this.isObjectMethod(t))continue;this.checkLVal(t,"object destructuring pattern",r,s,n)}break;case"ArrayPattern":for(const t of e.elements)t&&this.checkLVal(t,"array destructuring pattern",r,s,n);break;case"AssignmentPattern":this.checkLVal(e.left,"assignment pattern",r,s);break;case"RestElement":this.checkLVal(e.argument,"rest element",r,s);break;case"ParenthesizedExpression":this.checkLVal(e.expression,"parenthesized expression",r,s);break;default:this.raise(e.start,64===r?Rt.InvalidLhs:Rt.InvalidLhsBinding,t)}}checkToRestConversion(e){"Identifier"!==e.argument.type&&"MemberExpression"!==e.argument.type&&this.raise(e.argument.start,Rt.InvalidRestAssignmentPattern)}checkCommaAfterRest(e){this.match(12)&&(this.lookaheadCharCode()===e?this.raiseTrailingCommaAfterRest(this.state.start):this.raiseRestNotLast(this.state.start))}raiseRestNotLast(e){throw this.raise(e,Rt.ElementAfterRest)}raiseTrailingCommaAfterRest(e){this.raise(e,Rt.RestTrailingComma)}}const Os=new Map([["ArrowFunctionExpression","arrow function"],["AssignmentExpression","assignment"],["ConditionalExpression","conditional"],["YieldExpression","yield"]]);class Ns extends ks{checkProto(e,t,r,s){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return;const n=e.key;if("__proto__"===("Identifier"===n.type?n.name:n.value)){if(t)return void this.raise(n.start,Rt.RecordNoProto);r.used&&(s?-1===s.doubleProto&&(s.doubleProto=n.start):this.raise(n.start,Rt.DuplicateProto)),r.used=!0}}shouldExitDescending(e,t){return"ArrowFunctionExpression"===e.type&&e.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();const e=this.parseExpression();return this.match(129)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.state.comments,e.errors=this.state.errors,this.options.tokens&&(e.tokens=this.tokens),e}parseExpression(e,t){return e?this.disallowInAnd((()=>this.parseExpressionBase(t))):this.allowInAnd((()=>this.parseExpressionBase(t)))}parseExpressionBase(e){const t=this.state.start,r=this.state.startLoc,s=this.parseMaybeAssign(e);if(this.match(12)){const n=this.startNodeAt(t,r);for(n.expressions=[s];this.eat(12);)n.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(n.expressions),this.finishNode(n,"SequenceExpression")}return s}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd((()=>this.parseMaybeAssign(e,t)))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd((()=>this.parseMaybeAssign(e,t)))}setOptionalParametersError(e,t){var r;e.optionalParameters=null!=(r=null==t?void 0:t.pos)?r:this.state.start}parseMaybeAssign(e,t){const r=this.state.start,s=this.state.startLoc;if(this.isContextual(99)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,r,s)),e}let n;e?n=!1:(e=new Xr,n=!0);const{type:i}=this.state;(10===i||ir(i))&&(this.state.potentialArrowAt=this.state.start);let o=this.parseMaybeConditional(e);if(t&&(o=t.call(this,o,r,s)),(a=this.state.type)>=27&&a<=31){const t=this.startNodeAt(r,s),n=this.state.value;return t.operator=n,this.match(27)?(t.left=this.toAssignable(o,!0),e.doubleProto>=r&&(e.doubleProto=-1),e.shorthandAssign>=r&&(e.shorthandAssign=-1)):t.left=o,this.checkLVal(o,"assignment expression"),this.next(),t.right=this.parseMaybeAssign(),this.finishNode(t,"AssignmentExpression")}var a;return n&&this.checkExpressionErrors(e,!0),o}parseMaybeConditional(e){const t=this.state.start,r=this.state.startLoc,s=this.state.potentialArrowAt,n=this.parseExprOps(e);return this.shouldExitDescending(n,s)?n:this.parseConditional(n,t,r,e)}parseConditional(e,t,r,s){if(this.eat(17)){const s=this.startNodeAt(t,r);return s.test=e,s.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),s.alternate=this.parseMaybeAssign(),this.finishNode(s,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(128)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){const t=this.state.start,r=this.state.startLoc,s=this.state.potentialArrowAt,n=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(n,s)?n:this.parseExprOp(n,t,r,-1)}parseExprOp(e,t,r,s){if(this.isPrivateName(e)){const t=this.getPrivateNameSV(e),{start:r}=e;(s>=pr(52)||!this.prodParam.hasIn||!this.match(52))&&this.raise(r,Rt.PrivateInExpectedIn,t),this.classScope.usePrivateName(t,r)}const n=this.state.type;if((i=n)>=35&&i<=53&&(this.prodParam.hasIn||!this.match(52))){let i=pr(n);if(i>s){if(35===n){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}const o=this.startNodeAt(t,r);o.left=e,o.operator=this.state.value;const a=37===n||38===n,c=36===n;if(c&&(i=pr(38)),this.next(),35===n&&"minimal"===this.getPluginOption("pipelineOperator","proposal")&&90===this.state.type&&this.prodParam.hasAwait)throw this.raise(this.state.start,Rt.UnexpectedAwaitAfterPipelineBody);o.right=this.parseExprOpRightExpr(n,i),this.finishNode(o,a||c?"LogicalExpression":"BinaryExpression");const l=this.state.type;if(c&&(37===l||38===l)||a&&36===l)throw this.raise(this.state.start,Rt.MixingCoalesceWithLogical);return this.parseExprOp(o,t,r,s)}}var i;return e}parseExprOpRightExpr(e,t){const r=this.state.start,s=this.state.startLoc;if(35===e)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((()=>this.parseHackPipeBody()));case"smart":return this.withTopicBindingContext((()=>{if(this.prodParam.hasYield&&this.isContextual(99))throw this.raise(this.state.start,Rt.PipeBodyIsTighter,this.state.value);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),r,s)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){const r=this.state.start,s=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,s,51===e?t-1:t)}parseHackPipeBody(){var e;const{start:t}=this.state,r=this.parseMaybeAssign();return!Os.has(r.type)||null!=(e=r.extra)&&e.parenthesized||this.raise(t,Rt.PipeUnparenthesizedBody,Os.get(r.type)),this.topicReferenceWasUsedInCurrentContext()||this.raise(t,Rt.PipeTopicUnused),r}checkExponentialAfterUnary(e){this.match(51)&&this.raise(e.argument.start,Rt.UnexpectedTokenUnaryExponentiation)}parseMaybeUnary(e,t){const r=this.state.start,s=this.state.startLoc,n=this.isContextual(90);if(n&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,s);return t||this.checkExponentialAfterUnary(e),e}const i=this.match(32),o=this.startNode();if(a=this.state.type,tr[a]){o.operator=this.state.value,o.prefix=!0,this.match(66)&&this.expectPlugin("throwExpressions");const r=this.match(83);if(this.next(),o.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&r){const e=o.argument;"Identifier"===e.type?this.raise(o.start,Rt.StrictDelete):this.hasPropertyAsPrivateName(e)&&this.raise(o.start,Rt.DeletePrivateField)}if(!i)return t||this.checkExponentialAfterUnary(o),this.finishNode(o,"UnaryExpression")}var a;const c=this.parseUpdate(o,i,e);if(n){const{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?cr(e):cr(e)&&!this.match(48))&&!this.isAmbiguousAwait())return this.raiseOverwrite(r,Rt.AwaitNotInAsyncContext),this.parseAwait(r,s)}return c}parseUpdate(e,t,r){if(t)return this.checkLVal(e.argument,"prefix operation"),this.finishNode(e,"UpdateExpression");const s=this.state.start,n=this.state.startLoc;let i=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return i;for(;32===this.state.type&&!this.canInsertSemicolon();){const e=this.startNodeAt(s,n);e.operator=this.state.value,e.prefix=!1,e.argument=i,this.checkLVal(i,"postfix operation"),this.next(),i=this.finishNode(e,"UpdateExpression")}return i}parseExprSubscripts(e){const t=this.state.start,r=this.state.startLoc,s=this.state.potentialArrowAt,n=this.parseExprAtom(e);return this.shouldExitDescending(n,s)?n:this.parseSubscripts(n,t,r)}parseSubscripts(e,t,r,s){const n={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,r,s,n),n.maybeAsyncArrow=!1}while(!n.stop);return e}parseSubscript(e,t,r,s,n){if(!s&&this.eat(15))return this.parseBind(e,t,r,s,n);if(this.match(22))return this.parseTaggedTemplateExpression(e,t,r,n);let i=!1;if(this.match(18)){if(s&&40===this.lookaheadCharCode())return n.stop=!0,e;n.optionalChainMember=i=!0,this.next()}if(!s&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,r,n,i);{const s=this.eat(0);return s||i||this.eat(16)?this.parseMember(e,t,r,n,s,i):(n.stop=!0,e)}}parseMember(e,t,r,s,n,i){const o=this.startNodeAt(t,r);o.object=e,o.computed=n;const a=!n&&this.match(128)&&this.state.value,c=n?this.parseExpression():a?this.parsePrivateName():this.parseIdentifier(!0);return!1!==a&&("Super"===o.object.type&&this.raise(t,Rt.SuperPrivateField),this.classScope.usePrivateName(a,c.start)),o.property=c,n&&this.expect(3),s.optionalChainMember?(o.optional=i,this.finishNode(o,"OptionalMemberExpression")):this.finishNode(o,"MemberExpression")}parseBind(e,t,r,s,n){const i=this.startNodeAt(t,r);return i.object=e,i.callee=this.parseNoCallExpr(),n.stop=!0,this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r,s)}parseCoverCallAndAsyncArrowHead(e,t,r,s,n){const i=this.state.maybeInArrowParameters;let o=null;this.state.maybeInArrowParameters=!0,this.next();let a=this.startNodeAt(t,r);return a.callee=e,s.maybeAsyncArrow&&(this.expressionScope.enter(new Wr(2)),o=new Xr),s.optionalChainMember&&(a.optional=n),a.arguments=n?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,a,o),this.finishCallExpression(a,s.optionalChainMember),s.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!n?(s.stop=!0,this.expressionScope.validateAsPattern(),this.expressionScope.exit(),a=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),a)):(s.maybeAsyncArrow&&(this.checkExpressionErrors(o,!0),this.expressionScope.exit()),this.toReferencedArguments(a)),this.state.maybeInArrowParameters=i,a}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,s){const n=this.startNodeAt(t,r);return n.tag=e,n.quasi=this.parseTemplate(!0),s.optionalChainMember&&this.raise(t,Rt.OptionalChainingNoTemplate),this.finishNode(n,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if("Import"===e.callee.type)if(2===e.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),0===e.arguments.length||e.arguments.length>2)this.raise(e.start,Rt.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument");else for(const t of e.arguments)"SpreadElement"===t.type&&this.raise(t.start,Rt.ImportCallSpreadArgument);return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,s,n){const i=[];let o=!0;const a=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){!t||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(this.state.lastTokStart,Rt.ImportCallArgumentTrailingComma),s&&this.addExtra(s,"trailingComma",this.state.lastTokStart),this.next();break}i.push(this.parseExprListItem(!1,n,r))}return this.state.inFSharpPipelineDirectBody=a,i}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,null==(r=t.extra)?void 0:r.trailingComma),t.innerComments&&kt(e,t.innerComments),t.callee.trailingComments&&kt(e,t.callee.trailingComments),e}parseNoCallExpr(){const e=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,!0)}parseExprAtom(e){let t;const{type:r}=this.state;switch(r){case 73:return this.parseSuper();case 77:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(this.state.lastTokStart,Rt.UnsupportedImport),this.finishNode(t,"Import"));case 72:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 84:return this.parseDo(this.startNode(),!1);case 50:case 29:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 124:return this.parseNumericLiteral(this.state.value);case 125:return this.parseBigIntLiteral(this.state.value);case 126:return this.parseDecimalLiteral(this.state.value);case 123:return this.parseStringLiteral(this.state.value);case 78:return this.parseNullLiteral();case 79:return this.parseBooleanLiteral(!0);case 80:return this.parseBooleanLiteral(!1);case 10:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:return this.parseArrayLike(2===this.state.type?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,e);case 6:case 7:return this.parseObjectLike(6===this.state.type?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,e);case 62:return this.parseFunctionOrFunctionSent();case 24:this.parseDecorators();case 74:return t=this.startNode(),this.takeDecorators(t),this.parseClass(t,!1);case 71:return this.parseNewOrNewTarget();case 22:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;const e=t.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(t,"BindExpression");throw this.raise(e.start,Rt.UnsupportedBind)}case 128:return this.raise(this.state.start,Rt.PrivateInExpectedIn,this.state.value),this.parsePrivateName();case 31:return this.parseTopicReferenceThenEqualsSign(48,"%");case 30:return this.parseTopicReferenceThenEqualsSign(40,"^");case 40:case 48:case 25:{const e=this.getPluginOption("pipelineOperator","proposal");if(e)return this.parseTopicReference(e);throw this.unexpected()}case 43:{const e=this.input.codePointAt(this.nextTokenStart());if(wr(e)||62===e){this.expectOnePlugin(["jsx","flow","typescript"]);break}throw this.unexpected()}default:if(ir(r)){if(this.isContextual(117)&&123===this.lookaheadCharCode()&&!this.hasFollowingLineBreak())return this.parseModuleExpression();const e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,r=this.parseIdentifier();if(!t&&"async"===r.name&&!this.canInsertSemicolon()){const{type:e}=this.state;if(62===e)return this.resetPreviousNodeTrailingComments(r),this.next(),this.parseFunction(this.startNodeAtNode(r),void 0,!0);if(ir(e))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(r)):r;if(84===e)return this.resetPreviousNodeTrailingComments(r),this.parseDo(this.startNodeAtNode(r),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(r),[r],!1)):r}throw this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){const r=this.getPluginOption("pipelineOperator","proposal");if(r)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc.column--,this.parseTopicReference(r);throw this.unexpected()}parseTopicReference(e){const t=this.startNode(),r=this.state.start,s=this.state.type;return this.next(),this.finishTopicReference(t,r,e,s)}finishTopicReference(e,t,r,s){if(this.testTopicReferenceConfiguration(r,t,s)){let s;return s="smart"===r?"PipelinePrimaryTopicReference":"TopicReference",this.topicReferenceIsAllowedInCurrentContext()||("smart"===r?this.raise(t,Rt.PrimaryTopicNotAllowed):this.raise(t,Rt.PipeTopicUnbound)),this.registerTopicReference(),this.finishNode(e,s)}throw this.raise(t,Rt.PipeTopicUnconfiguredToken,ur(s))}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":{const e=this.getPluginOption("pipelineOperator","topicToken");return ur(r)===e}case"smart":return 25===r;default:throw this.raise(t,Rt.PipeTopicRequiresHackPipes)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(Yr(!0,this.prodParam.hasYield));const t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(this.state.pos,Rt.LineTerminatorBeforeArrow),this.expect(19),this.parseArrowExpression(e,t,!0),e}parseDo(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();const r=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(2),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=r,this.finishNode(e,"DoExpression")}parseSuper(){const e=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(e.start,Rt.UnexpectedSuper):this.raise(e.start,Rt.SuperNotAllowed),this.match(10)||this.match(0)||this.match(16)||this.raise(e.start,Rt.UnsupportedSuper),this.finishNode(e,"Super")}parsePrivateName(){const e=this.startNode(),t=this.startNodeAt(this.state.start+1,new Tt(this.state.curLine,this.state.start+1-this.state.lineStart)),r=this.state.value;return this.next(),e.id=this.createIdentifier(t,r),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(96)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;const s=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==r||s)&&this.raise(e.property.start,Rt.UnsupportedMetaProperty,t.name,r),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");return this.next(),this.isContextual(94)&&(this.inModule||this.raise(t.start,Lt.ImportMetaOutsideModule),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){return this.addExtra(r,"rawValue",e),this.addExtra(r,"raw",this.input.slice(r.start,this.state.end)),r.value=e,this.next(),this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");return t.pattern=e.pattern,t.flags=e.flags,t}parseBooleanLiteral(e){const t=this.startNode();return t.value=e,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start,r=this.state.startLoc;let s;this.next(),this.expressionScope.enter(new Wr(1));const n=this.state.maybeInArrowParameters,i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const o=this.state.start,a=this.state.startLoc,c=[],l=new Xr;let h,u,p=!0;for(;!this.match(11);){if(p)p=!1;else if(this.expect(12,-1===l.optionalParameters?null:l.optionalParameters),this.match(11)){u=this.state.start;break}if(this.match(21)){const e=this.state.start,t=this.state.startLoc;h=this.state.start,c.push(this.parseParenItem(this.parseRestBinding(),e,t)),this.checkCommaAfterRest(41);break}c.push(this.parseMaybeAssignAllowIn(l,this.parseParenItem))}const d=this.state.lastTokEnd,f=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=n,this.state.inFSharpPipelineDirectBody=i;let m=this.startNodeAt(t,r);if(e&&this.shouldParseArrow(c)&&(m=this.parseArrow(m)))return this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(m,c,!1),m;if(this.expressionScope.exit(),c.length||this.unexpected(this.state.lastTokStart),u&&this.unexpected(u),h&&this.unexpected(h),this.checkExpressionErrors(l,!0),this.toReferencedListDeep(c,!0),c.length>1?(s=this.startNodeAt(o,a),s.expressions=c,this.finishNode(s,"SequenceExpression"),this.resetEndLocation(s,d,f)):s=c[0],!this.options.createParenthesizedExpressions)return this.addExtra(s,"parenthesized",!0),this.addExtra(s,"parenStart",t),this.takeSurroundingComments(s,t,this.state.lastTokEnd),s;const g=this.startNodeAt(t,r);return g.expression=s,this.finishNode(g,"ParenthesizedExpression"),g}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();if(this.next(),this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.raise(r.start,Rt.UnexpectedNewTarget),r}return this.parseNew(e)}parseNew(e){return e.callee=this.parseNoCallExpr(),"Import"===e.callee.type?this.raise(e.callee.start,Rt.ImportCallNotNewExpression):this.isOptionalChain(e.callee)?this.raise(this.state.lastTokEnd,Rt.OptionalChainingNoNew):this.eat(18)&&this.raise(this.state.start,Rt.OptionalChainingNoNew),this.parseNewArguments(e),this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(10)){const t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[]}parseTemplateElement(e){const t=this.startNode();return null===this.state.value&&(e||this.raise(this.state.start+1,Rt.InvalidEscapeSequenceTemplate)),t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value},this.next(),t.tail=this.match(22),this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next(),t.expressions=[];let r=this.parseTemplateElement(e);for(t.quasis=[r];!r.tail;)this.expect(23),t.expressions.push(this.parseTemplateSubstitution()),this.expect(8),t.quasis.push(r=this.parseTemplateElement(e));return this.next(),this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,s){r&&this.expectPlugin("recordAndTuple");const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const i=Object.create(null);let o=!0;const a=this.startNode();for(a.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addExtra(a,"trailingComma",this.state.lastTokStart);break}let n;t?n=this.parseBindingProperty():(n=this.parsePropertyDefinition(s),this.checkProto(n,r,i,s)),r&&!this.isObjectProperty(n)&&"SpreadElement"!==n.type&&this.raise(n.start,Rt.InvalidRecordProperty),n.shorthand&&this.addExtra(n,"shorthand",!0),a.properties.push(n)}this.next(),this.state.inFSharpPipelineDirectBody=n;let c="ObjectExpression";return t?c="ObjectPattern":r&&(c="RecordExpression"),this.finishNode(a,c)}maybeAsyncOrAccessorProp(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(49))}parsePropertyDefinition(e){let t=[];if(this.match(24))for(this.hasPlugin("decorators")&&this.raise(this.state.start,Rt.UnsupportedPropertyDecorator);this.match(24);)t.push(this.parseDecorator());const r=this.startNode();let s,n,i=!1,o=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(r.decorators=t,t=[]),r.method=!1,e&&(s=this.state.start,n=this.state.startLoc);let a=this.eat(49);this.parsePropertyNamePrefixOperator(r);const c=this.state.containsEsc,l=this.parsePropertyName(r);if(!a&&!c&&this.maybeAsyncOrAccessorProp(r)){const e=l.name;"async"!==e||this.hasPrecedingLineBreak()||(i=!0,this.resetPreviousNodeTrailingComments(l),a=this.eat(49),this.parsePropertyName(r)),"get"!==e&&"set"!==e||(o=!0,this.resetPreviousNodeTrailingComments(l),r.kind=e,this.match(49)&&(a=!0,this.raise(this.state.pos,Rt.AccessorIsGenerator,e),this.next()),this.parsePropertyName(r))}return this.parseObjPropValue(r,s,n,a,i,!1,o,e),r}getGetterSetterExpectedParamCount(e){return"get"===e.kind?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e),s=this.getObjectOrClassMethodParams(e),n=e.start;s.length!==r&&("get"===e.kind?this.raise(n,Rt.BadGetterArity):this.raise(n,Rt.BadSetterArity)),"set"===e.kind&&"RestElement"===(null==(t=s[s.length-1])?void 0:t.type)&&this.raise(n,Rt.BadSetterRestParameter)}parseObjectMethod(e,t,r,s,n){return n?(this.parseMethod(e,t,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(e),e):r||t||this.match(10)?(s&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")):void 0}parseObjectProperty(e,t,r,s,n){return e.shorthand=!1,this.eat(14)?(e.value=s?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(n),this.finishNode(e,"ObjectProperty")):e.computed||"Identifier"!==e.key.type?void 0:(this.checkReservedWord(e.key.name,e.key.start,!0,!1),s?e.value=this.parseMaybeDefault(t,r,es(e.key)):this.match(27)&&n?(-1===n.shorthandAssign&&(n.shorthandAssign=this.state.start),e.value=this.parseMaybeDefault(t,r,es(e.key))):e.value=es(e.key),e.shorthand=!0,this.finishNode(e,"ObjectProperty"))}parseObjPropValue(e,t,r,s,n,i,o,a){const c=this.parseObjectMethod(e,s,n,i,o)||this.parseObjectProperty(e,t,r,i,a);return c||this.unexpected(),c}parsePropertyName(e){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:t,value:r}=this.state;let s;if(or(t))s=this.parseIdentifier(!0);else switch(t){case 124:s=this.parseNumericLiteral(r);break;case 123:s=this.parseStringLiteral(r);break;case 125:s=this.parseBigIntLiteral(r);break;case 126:s=this.parseDecimalLiteral(r);break;case 128:{const e=this.state.start+1;this.raise(e,Rt.UnexpectedPrivateField),s=this.parsePrivateName();break}default:throw this.unexpected()}e.key=s,128!==t&&(e.computed=!1)}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=!!t}parseMethod(e,t,r,s,n,i,o=!1){this.initFunction(e,r),e.generator=!!t;const a=s;return this.scope.enter(18|(o?64:0)|(n?32:0)),this.prodParam.enter(Yr(r,e.generator)),this.parseFunctionParams(e,a),this.parseFunctionBodyAndFinish(e,i,!0),this.prodParam.exit(),this.scope.exit(),e}parseArrayLike(e,t,r,s){r&&this.expectPlugin("recordAndTuple");const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const i=this.startNode();return this.next(),i.elements=this.parseExprList(e,!r,s,i),this.state.inFSharpPipelineDirectBody=n,this.finishNode(i,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,s){this.scope.enter(6);let n=Yr(r,!1);!this.match(0)&&this.prodParam.hasIn&&(n|=8),this.prodParam.enter(n),this.initFunction(e,r);const i=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,s)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=i,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,!1)}parseFunctionBodyAndFinish(e,t,r=!1){this.parseFunctionBody(e,!1,r),this.finishNode(e,t)}parseFunctionBody(e,t,r=!1){const s=t&&!this.match(5);if(this.expressionScope.enter(zr()),s)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{const s=this.state.strict,n=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),e.body=this.parseBlock(!0,!1,(n=>{const i=!this.isSimpleParamList(e.params);if(n&&i){const t="method"!==e.kind&&"constructor"!==e.kind||!e.key?e.start:e.key.end;this.raise(t,Rt.IllegalLanguageModeDirective)}const o=!s&&this.state.strict;this.checkParams(e,!(this.state.strict||t||r||i),t,o),this.state.strict&&e.id&&this.checkLVal(e.id,"function name",65,void 0,void 0,o)})),this.prodParam.exit(),this.state.labels=n}this.expressionScope.exit()}isSimpleParamList(e){for(let t=0,r=e.length;t<r;t++)if("Identifier"!==e[t].type)return!1;return!0}checkParams(e,t,r,s=!0){const n=new Set;for(const r of e.params)this.checkLVal(r,"function parameter list",5,t?null:n,void 0,s)}parseExprList(e,t,r,s){const n=[];let i=!0;for(;!this.eat(e);){if(i)i=!1;else if(this.expect(12),this.match(e)){s&&this.addExtra(s,"trailingComma",this.state.lastTokStart),this.next();break}n.push(this.parseExprListItem(t,r))}return n}parseExprListItem(e,t,r){let s;if(this.match(12))e||this.raise(this.state.pos,Rt.UnexpectedToken,","),s=null;else if(this.match(21)){const e=this.state.start,r=this.state.startLoc;s=this.parseParenItem(this.parseSpread(t),e,r)}else if(this.match(17)){this.expectPlugin("partialApplication"),r||this.raise(this.state.start,Rt.UnexpectedArgumentPlaceholder);const e=this.startNode();this.next(),s=this.finishNode(e,"ArgumentPlaceholder")}else s=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return s}parseIdentifier(e){const t=this.startNode(),r=this.parseIdentifierName(t.start,e);return this.createIdentifier(t,r)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e,t){let r;const{start:s,type:n}=this.state;if(!or(n))throw this.unexpected();r=this.state.value;const i=n<=86;return t?i&&this.replaceToken(122):this.checkReservedWord(r,s,i,!1),this.next(),r}checkReservedWord(e,t,r,s){if(!(e.length>10)&&function(e){return Or.has(e)}(e)){if("yield"===e){if(this.prodParam.hasYield)return void this.raise(t,Rt.YieldBindingIdentifier)}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(t,Rt.AwaitBindingIdentifier);if(this.scope.inStaticBlock)return void this.raise(t,Rt.AwaitBindingIdentifierInStaticBlock);this.expressionScope.recordAsyncArrowParametersError(t,Rt.AwaitBindingIdentifier)}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(t,Rt.ArgumentsInClass);r&&function(e){return Sr.has(e)}(e)?this.raise(t,Rt.UnexpectedKeyword,e):(this.state.strict?s?kr:Ar:Pr)(e,this.inModule)&&this.raise(t,Rt.UnexpectedReservedWord,e)}}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(e,t){const r=this.startNodeAt(e,t);return this.expressionScope.recordParameterInitializerError(r.start,Rt.AwaitExpressionFormalParameter),this.eat(49)&&this.raise(r.start,Rt.ObsoleteAwaitStar),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(r.argument=this.parseMaybeUnary(null,!0)),this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(47)||this.match(10)||this.match(0)||this.match(22)||this.match(127)||this.match(50)||this.hasPlugin("v8intrinsic")&&this.match(48)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,Rt.YieldInParameter),this.next();let t=!1,r=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(49),this.state.type){case 13:case 129:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:r=this.parseMaybeAssign()}return e.delegate=t,e.argument=r,this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){"smart"===this.getPluginOption("pipelineOperator","proposal")&&"SequenceExpression"===e.type&&this.raise(t,Rt.PipelineHeadSequenceExpression)}checkHackPipeBodyEarlyErrors(e){this.topicReferenceWasUsedInCurrentContext()||this.raise(e,Rt.PipeTopicUnused)}parseSmartPipelineBodyInStyle(e,t,r){const s=this.startNodeAt(t,r);return this.isSimpleReference(e)?(s.callee=e,this.finishNode(s,"PipelineBareFunction")):(this.checkSmartPipeTopicBodyEarlyErrors(t),s.expression=e,this.finishNode(s,"PipelineTopicExpression"))}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(this.state.start,Rt.PipelineBodyNoArrow);this.topicReferenceWasUsedInCurrentContext()||this.raise(e,Rt.PipelineTopicUnused)}withTopicBindingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if("smart"!==this.getPluginOption("pipelineOperator","proposal"))return e();{const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();if(8&~t){this.prodParam.enter(8|t);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();if(8&t){this.prodParam.enter(-9&t);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start,r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const n=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,r,e);return this.state.inFSharpPipelineDirectBody=s,n}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next(),this.eat(5);const t=this.initializeScopes(!0);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,8,"module")}finally{t()}return this.eat(8),this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}}const Is={kind:"loop"},Rs={kind:"switch"},Ls=/[\uD800-\uDFFF]/u,Ms=/in(?:stanceof)?/y;class Ds extends Ns{parseTopLevel(e,t){return e.program=this.parseProgram(t),e.comments=this.state.comments,this.options.tokens&&(e.tokens=function(e){for(let t=0;t<e.length;t++){const r=e[t],{type:s}=r;if(128!==s)"number"==typeof s&&(r.type=dr(s));else{const{loc:s,start:n,value:i,end:o}=r,a=n+1,c=new Tt(s.start.line,s.start.column+1);e.splice(t,1,new Ur({type:dr(25),value:"#",start:n,end:a,startLoc:s.start,endLoc:c}),new Ur({type:dr(122),value:i,start:a,end:o,startLoc:c,endLoc:s.end})),t++}}return e}(this.tokens)),this.finishNode(e,"File")}parseProgram(e,t=129,r=this.options.sourceType){if(e.sourceType=r,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,Rt.ModuleExportUndefined,e)}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e;t.type="Directive",t.value=t.expression,delete t.expression;const r=t.value,s=r.value,n=this.input.slice(r.start,r.end),i=r.value=n.slice(1,-1);return this.addExtra(r,"raw",n),this.addExtra(r,"rawValue",i),this.addExtra(r,"expressionValue",s),r.type="DirectiveLiteral",t}parseInterpreterDirective(){if(!this.match(26))return null;const e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(e){return!!this.isContextual(93)&&this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart(),r=this.codePointAtPos(t);if(92===r||91===r)return!0;if(e)return!1;if(123===r)return!0;if(wr(r)){if(Ms.lastIndex=t,Ms.test(this.input)){const e=this.codePointAtPos(Ms.lastIndex);if(!Er(e)&&92!==e)return!1}return!0}return!1}parseStatement(e,t){return this.match(24)&&this.parseDecorators(!0),this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const s=this.startNode();let n;switch(this.isLet(e)&&(r=68,n="let"),r){case 54:return this.parseBreakContinueStatement(s,!0);case 57:return this.parseBreakContinueStatement(s,!1);case 58:return this.parseDebuggerStatement(s);case 84:return this.parseDoStatement(s);case 85:return this.parseForStatement(s);case 62:if(46===this.lookaheadCharCode())break;return e&&(this.state.strict?this.raise(this.state.start,Rt.StrictFunction):"if"!==e&&"label"!==e&&this.raise(this.state.start,Rt.SloppyFunction)),this.parseFunctionStatement(s,!1,!e);case 74:return e&&this.unexpected(),this.parseClass(s,!0);case 63:return this.parseIfStatement(s);case 64:return this.parseReturnStatement(s);case 65:return this.parseSwitchStatement(s);case 66:return this.parseThrowStatement(s);case 67:return this.parseTryStatement(s);case 69:case 68:return n=n||this.state.value,e&&"var"!==n&&this.raise(this.state.start,Rt.UnexpectedLexicalDeclaration),this.parseVarStatement(s,n);case 86:return this.parseWhileStatement(s);case 70:return this.parseWithStatement(s);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(s);case 77:{const e=this.lookaheadCharCode();if(40===e||46===e)break}case 76:{let e;return this.options.allowImportExportEverywhere||t||this.raise(this.state.start,Rt.UnexpectedImportExport),this.next(),77===r?(e=this.parseImport(s),"ImportDeclaration"!==e.type||e.importKind&&"value"!==e.importKind||(this.sawUnambiguousESM=!0)):(e=this.parseExport(s),("ExportNamedDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&("ExportAllDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&"ExportDefaultDeclaration"!==e.type||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(s),e}default:if(this.isAsyncFunction())return e&&this.raise(this.state.start,Rt.AsyncFunctionInSingleStatementContext),this.next(),this.parseFunctionStatement(s,!0,!e)}const i=this.state.value,o=this.parseExpression();return ir(r)&&"Identifier"===o.type&&this.eat(14)?this.parseLabeledStatement(s,i,o,e):this.parseExpressionStatement(s,o)}assertModuleNodeAllowed(e){this.options.allowImportExportEverywhere||this.inModule||this.raise(e.start,Lt.ImportOutsideModule)}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];t.length&&(e.decorators=t,this.resetStartLocationFromNode(e,t[0]),this.state.decoratorStack[this.state.decoratorStack.length-1]=[])}canHaveLeadingDecorator(){return this.match(74)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];for(;this.match(24);){const e=this.parseDecorator();t.push(e)}if(this.match(76))e||this.unexpected(),this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(this.state.start,Rt.DecoratorExportClass);else if(!this.canHaveLeadingDecorator())throw this.raise(this.state.start,Rt.UnexpectedLeadingDecorator)}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();if(this.next(),this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start,r=this.state.startLoc;let s;if(this.eat(10))s=this.parseExpression(),this.expect(11);else for(s=this.parseIdentifier(!1);this.eat(16);){const e=this.startNodeAt(t,r);e.object=s,e.property=this.parseIdentifier(!0),e.computed=!1,s=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(s),this.state.decoratorStack.pop()}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){const t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let r;for(r=0;r<this.state.labels.length;++r){const s=this.state.labels[r];if(null==e.label||s.name===e.label.name){if(null!=s.kind&&(t||"loop"===s.kind))break;if(e.label&&t)break}}r===this.state.labels.length&&this.raise(e.start,Rt.IllegalBreakContinue,t?"break":"continue")}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const e=this.parseExpression();return this.expect(11),e}parseDoStatement(e){return this.next(),this.state.labels.push(Is),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("do"))),this.state.labels.pop(),this.expect(86),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(Is);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual(90)&&(t=this.state.lastTokStart),this.scope.enter(0),this.expect(10),this.match(13))return t>-1&&this.unexpected(t),this.parseFor(e,null);const r=this.isContextual(93),s=r&&this.isLetKeyword();if(this.match(68)||this.match(69)||s){const r=this.startNode(),n=s?"let":this.state.value;return this.next(),this.parseVar(r,!0,n),this.finishNode(r,"VariableDeclaration"),(this.match(52)||this.isContextual(95))&&1===r.declarations.length?this.parseForIn(e,r,t):(t>-1&&this.unexpected(t),this.parseFor(e,r))}const n=this.isContextual(89),i=new Xr,o=this.parseExpression(!0,i),a=this.isContextual(95);if(a&&(r?this.raise(o.start,Rt.ForOfLet):-1===t&&n&&"Identifier"===o.type&&this.raise(o.start,Rt.ForOfAsync)),a||this.match(52)){this.toAssignable(o,!0);const r=a?"for-of statement":"for-in statement";return this.checkLVal(o,r),this.parseForIn(e,o,t)}return this.checkExpressionErrors(i,!0),t>-1&&this.unexpected(t),this.parseFor(e,o)}parseFunctionStatement(e,t,r){return this.next(),this.parseFunction(e,1|(r?0:2),t)}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(60)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(this.state.start,Rt.IllegalReturn),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();const t=e.cases=[];let r,s;for(this.expect(5),this.state.labels.push(Rs),this.scope.enter(0);!this.match(8);)if(this.match(55)||this.match(59)){const e=this.match(55);r&&this.finishNode(r,"SwitchCase"),t.push(r=this.startNode()),r.consequent=[],this.next(),e?r.test=this.parseExpression():(s&&this.raise(this.state.lastTokStart,Rt.MultipleDefaultsInSwitch),s=!0,r.test=null),this.expect(14)}else r?r.consequent.push(this.parseStatement(null)):this.unexpected();return this.scope.exit(),r&&this.finishNode(r,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(this.state.lastTokEnd,Rt.NewlineAfterThrow),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom(),t="Identifier"===e.type;return this.scope.enter(t?8:0),this.checkLVal(e,"catch clause",9),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(56)){const t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(0)),t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseBlock(!1,!1))),this.scope.exit(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(61)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,Rt.NoCatchOrFinally),this.finishNode(e,"TryStatement")}parseVarStatement(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(Is),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("while"))),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(this.state.start,Rt.StrictWith),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("with"))),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,s){for(const e of this.state.labels)e.name===t&&this.raise(r.start,Rt.LabelRedeclaration,t);const n=(i=this.state.type)>=84&&i<=86?"loop":this.match(65)?"switch":null;var i;for(let t=this.state.labels.length-1;t>=0;t--){const r=this.state.labels[t];if(r.statementStart!==e.start)break;r.statementStart=this.state.start,r.kind=n}return this.state.labels.push({name:t,kind:n,statementStart:this.state.start}),e.body=this.parseStatement(s?-1===s.indexOf("label")?s+"label":s:"label"),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(e=!1,t=!0,r){const s=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(0),this.parseBlockBody(s,e,!1,8,r),t&&this.scope.exit(),this.finishNode(s,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,s,n){const i=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?o:void 0,r,s,n)}parseBlockOrModuleBlockBody(e,t,r,s,n){const i=this.state.strict;let o=!1,a=!1;for(;!this.match(s);){const s=this.parseStatement(null,r);if(t&&!a){if(this.isValidDirective(s)){const e=this.stmtToDirective(s);t.push(e),o||"use strict"!==e.value.value||(o=!0,this.setStrict(!0));continue}a=!0,this.state.strictErrors.clear()}e.push(s)}n&&n.call(this,o),i||this.setStrict(!1),this.next()}parseFor(e,t){return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("for"))),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const s=this.match(52);return this.next(),s?r>-1&&this.unexpected(r):e.await=r>-1,"VariableDeclaration"!==t.type||null==t.declarations[0].init||s&&!this.state.strict&&"var"===t.kind&&"Identifier"===t.declarations[0].id.type?"AssignmentPattern"===t.type&&this.raise(t.start,Rt.InvalidLhs,"for-loop"):this.raise(t.start,Rt.ForInOfLoopInitializer,s?"for-in":"for-of"),e.left=t,e.right=s?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("for"))),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,s?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const s=e.declarations=[],n=this.hasPlugin("typescript");for(e.kind=r;;){const e=this.startNode();if(this.parseVarId(e,r),this.eat(27)?e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():("const"!==r||this.match(52)||this.isContextual(95)?"Identifier"===e.id.type||t&&(this.match(52)||this.isContextual(95))||this.raise(this.state.lastTokEnd,Rt.DeclarationMissingInitializer,"Complex binding patterns"):n||this.raise(this.state.lastTokEnd,Rt.DeclarationMissingInitializer,"Const declarations"),e.init=null),s.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,"variable declaration","var"===t?5:9,void 0,"var"!==t)}parseFunction(e,t=0,r=!1){const s=1&t,n=2&t,i=!(!s||4&t);this.initFunction(e,r),this.match(49)&&n&&this.raise(this.state.start,Rt.GeneratorInSingleStatementContext),e.generator=this.eat(49),s&&(e.id=this.parseFunctionId(i));const o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(Yr(r,e.generator)),s||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(e,s?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),s&&!n&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=o,e}parseFunctionId(e){return e||ir(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(new Vr(3)),e.params=this.parseBindingList(11,41,!1,t),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:9:17,e.id.start)}parseClass(e,t,r){this.next(),this.takeDecorators(e);const s=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,r),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,s),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(27)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(e){return!(e.computed||e.static||"constructor"!==e.key.name&&"constructor"!==e.key.value)}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:!1,hadSuperClass:e};let s=[];const n=this.startNode();if(n.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((()=>{for(;!this.match(8);){if(this.eat(13)){if(s.length>0)throw this.raise(this.state.lastTokEnd,Rt.DecoratorSemicolon);continue}if(this.match(24)){s.push(this.parseDecorator());continue}const e=this.startNode();s.length&&(e.decorators=s,this.resetStartLocationFromNode(e,s[0]),s=[]),this.parseClassMember(n,e,r),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(e.start,Rt.DecoratorConstructor)}})),this.state.strict=t,this.next(),s.length)throw this.raise(this.state.start,Rt.TrailingDecorator);return this.classScope.exit(),this.finishNode(n,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(!0);if(this.isClassMethod()){const s=t;return s.kind="method",s.computed=!1,s.key=r,s.static=!1,this.pushClassMethod(e,s,!1,!1,!1,!1),!0}if(this.isClassProperty()){const s=t;return s.computed=!1,s.key=r,s.static=!1,e.body.push(this.parseClassProperty(s)),!0}return this.resetPreviousNodeTrailingComments(r),!1}parseClassMember(e,t,r){const s=this.isContextual(98);if(s){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,r,s)}parseClassMemberWithIsStatic(e,t,r,s){const n=t,i=t,o=t,a=t,c=n,l=n;if(t.static=s,this.parsePropertyNamePrefixOperator(t),this.eat(49)){c.kind="method";const t=this.match(128);return this.parseClassElementName(c),t?void this.pushClassPrivateMethod(e,i,!0,!1):(this.isNonstaticConstructor(n)&&this.raise(n.key.start,Rt.ConstructorIsGenerator),void this.pushClassMethod(e,n,!0,!1,!1,!1))}const h=ir(this.state.type)&&!this.state.containsEsc,u=this.match(128),p=this.parseClassElementName(t),d=this.state.start;if(this.parsePostMemberNameModifiers(l),this.isClassMethod()){if(c.kind="method",u)return void this.pushClassPrivateMethod(e,i,!1,!1);const s=this.isNonstaticConstructor(n);let o=!1;s&&(n.kind="constructor",r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(p.start,Rt.DuplicateConstructor),s&&this.hasPlugin("typescript")&&t.override&&this.raise(p.start,Rt.OverrideOnConstructor),r.hadConstructor=!0,o=r.hadSuperClass),this.pushClassMethod(e,n,!1,!1,s,o)}else if(this.isClassProperty())u?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o);else if(h&&"async"===p.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(p);const t=this.eat(49);l.optional&&this.unexpected(d),c.kind="method";const r=this.match(128);this.parseClassElementName(c),this.parsePostMemberNameModifiers(l),r?this.pushClassPrivateMethod(e,i,t,!0):(this.isNonstaticConstructor(n)&&this.raise(n.key.start,Rt.ConstructorIsAsync),this.pushClassMethod(e,n,t,!0,!1,!1))}else if(!h||"get"!==p.name&&"set"!==p.name||this.match(49)&&this.isLineTerminator())this.isLineTerminator()?u?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o):this.unexpected();else{this.resetPreviousNodeTrailingComments(p),c.kind=p.name;const t=this.match(128);this.parseClassElementName(n),t?this.pushClassPrivateMethod(e,i,!1,!1):(this.isNonstaticConstructor(n)&&this.raise(n.key.start,Rt.ConstructorIsAccessor),this.pushClassMethod(e,n,!1,!1,!1,!1)),this.checkGetterSetterParams(n)}}parseClassElementName(e){const{type:t,value:r,start:s}=this.state;if(122!==t&&123!==t||!e.static||"prototype"!==r||this.raise(s,Rt.StaticPrototype),128===t){"constructor"===r&&this.raise(s,Rt.ConstructorClassPrivateField);const t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var r;this.scope.enter(208);const s=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const n=t.body=[];this.parseBlockOrModuleBlockBody(n,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=s,e.body.push(this.finishNode(t,"StaticBlock")),null!=(r=t.decorators)&&r.length&&this.raise(t.start,Rt.DecoratorStaticBlock)}pushClassProperty(e,t){t.computed||"constructor"!==t.key.name&&"constructor"!==t.key.value||this.raise(t.key.start,Rt.ConstructorClassField),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const r=this.parseClassPrivateProperty(t);e.body.push(r),this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.start)}pushClassMethod(e,t,r,s,n,i){e.body.push(this.parseMethod(t,r,s,n,i,"ClassMethod",!0))}pushClassPrivateMethod(e,t,r,s){const n=this.parseMethod(t,r,s,!1,!1,"ClassPrivateMethod",!0);e.body.push(n);const i="get"===n.kind?n.static?6:2:"set"===n.kind?n.static?5:1:0;this.declareClassPrivateMethodInScope(n,i)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(80),this.expressionScope.enter(zr()),this.prodParam.enter(0),e.value=this.eat(27)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,r,s=139){ir(this.state.type)?(e.id=this.parseIdentifier(),t&&this.checkLVal(e.id,"class name",s)):r||!t?e.id=null:this.unexpected(null,Rt.MissingClassName)}parseClassSuper(e){e.superClass=this.eat(75)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e),r=!t||this.eat(12),s=r&&this.eatExportStar(e),n=s&&this.maybeParseExportNamespaceSpecifier(e),i=r&&(!n||this.eat(12)),o=t||s;if(s&&!n)return t&&this.unexpected(),this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration");const a=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!s&&!a||n&&i&&!a)throw this.unexpected(null,5);let c;if(o||a?(c=!1,this.parseExportFrom(e,o)):c=this.maybeParseExportDeclaration(e),o||a||c)return this.checkExport(e,!0,!1,!!e.source),this.finishNode(e,"ExportNamedDeclaration");if(this.eat(59))return e.declaration=this.parseExportDefaultExpression(),this.checkExport(e,!0,!0),this.finishNode(e,"ExportDefaultDeclaration");throw this.unexpected(null,5)}eatExportStar(e){return this.eat(49)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();return t.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(87)){e.specifiers||(e.specifiers=[]);const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){e.specifiers||(e.specifiers=[]);const t="type"===e.exportKind;return e.specifiers.push(...this.parseExportSpecifiers(t)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),e.declaration=this.parseExportDeclaration(e),!0)}isAsyncFunction(){if(!this.isContextual(89))return!1;const e=this.nextTokenStart();return!vt.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode(),t=this.isAsyncFunction();if(this.match(62)||t)return this.next(),t&&this.next(),this.parseFunction(e,5,t);if(this.match(74))return this.parseClass(e,!0,!0);if(this.match(24))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(this.state.start,Rt.DecoratorBeforeExport),this.parseDecorators(!1),this.parseClass(e,!0,!0);if(this.match(69)||this.match(68)||this.isLet())throw this.raise(this.state.start,Rt.UnsupportedDefaultExport);{const e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){const{type:e}=this.state;if(ir(e)){if(89===e&&!this.state.containsEsc||93===e)return!1;if((120===e||119===e)&&!this.state.containsEsc){const{type:e}=this.lookahead();if(ir(e)&&91!==e||5===e)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(59))return!1;const t=this.nextTokenStart(),r=this.isUnparsedContextual(t,"from");if(44===this.input.charCodeAt(t)||ir(this.state.type)&&r)return!0;if(this.match(59)&&r){const e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return 34===e||39===e}return!1}parseExportFrom(e,t){if(this.eatContextual(91)){e.source=this.parseImportSource(),this.checkExport(e);const t=this.maybeParseImportAssertions();t&&(e.assertions=t)}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){const{type:e}=this.state;if(24===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(!this.getPluginOption("decorators","decoratorsBeforeExport"))return!0;this.unexpected(this.state.start,Rt.DecoratorBeforeExport)}return 68===e||69===e||62===e||74===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,s){if(t)if(r){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var n;const t=e.declaration;"Identifier"!==t.type||"from"!==t.name||t.end-t.start!=4||null!=(n=t.extra)&&n.parenthesized||this.raise(t.start,Rt.ExportDefaultFromAsIdentifier)}}else if(e.specifiers&&e.specifiers.length)for(const t of e.specifiers){const{exported:e}=t,r="Identifier"===e.type?e.name:e.value;if(this.checkDuplicateExports(t,r),!s&&t.local){const{local:e}=t;"Identifier"!==e.type?this.raise(t.start,Rt.ExportBindingIsString,e.value,r):(this.checkReservedWord(e.name,e.start,!0,!1),this.scope.checkLocalExport(e))}}else if(e.declaration)if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if("VariableDeclaration"===e.declaration.type)for(const t of e.declaration.declarations)this.checkDeclaration(t.id);if(this.state.decoratorStack[this.state.decoratorStack.length-1].length)throw this.raise(e.start,Rt.UnsupportedDecoratorExport)}checkDeclaration(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type)for(const t of e.properties)this.checkDeclaration(t);else if("ArrayPattern"===e.type)for(const t of e.elements)t&&this.checkDeclaration(t);else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"AssignmentPattern"===e.type&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.exportedIdentifiers.has(t)&&this.raise(e.start,"default"===t?Rt.DuplicateDefaultExport:Rt.DuplicateExport,t),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){const t=[];let r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else if(this.expect(12),this.eat(8))break;const s=this.isContextual(120),n=this.match(123),i=this.startNode();i.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(i,n,e,s))}return t}parseExportSpecifier(e,t,r,s){return this.eatContextual(87)?e.exported=this.parseModuleExportName():t?e.exported=function(e){const{type:t,start:r,end:s,loc:n,range:i,extra:o}=e;if("Placeholder"===t)return function(e){return es(e)}(e);const a=Object.create(Zr);return a.type="StringLiteral",a.start=r,a.end=s,a.loc=n,a.range=i,a.extra=o,a.value=e.value,a}(e.local):e.exported||(e.exported=es(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(123)){const e=this.parseStringLiteral(this.state.value),t=e.value.match(Ls);return t&&this.raise(e.start,Rt.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16)),e}return this.parseIdentifier(!0)}parseImport(e){if(e.specifiers=[],!this.match(123)){const t=!this.maybeParseDefaultImportSpecifier(e)||this.eat(12),r=t&&this.maybeParseStarImportSpecifier(e);t&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(91)}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t)e.assertions=t;else{const t=this.maybeParseModuleAttributes();t&&(e.attributes=t)}return this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(123)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return ir(this.state.type)}parseImportSpecifierLocal(e,t,r,s){t.local=this.parseIdentifier(),this.checkLVal(t.local,s,9),e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[],t=new Set;do{if(this.match(8))break;const r=this.startNode(),s=this.state.value;if(t.has(s)&&this.raise(this.state.start,Rt.ModuleAttributesWithDuplicateKeys,s),t.add(s),this.match(123)?r.key=this.parseStringLiteral(s):r.key=this.parseIdentifier(!0),this.expect(14),!this.match(123))throw this.unexpected(this.state.start,Rt.ModuleAttributeInvalidValue);r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),e.push(r)}while(this.eat(12));return e}maybeParseModuleAttributes(){if(!this.match(70)||this.hasPrecedingLineBreak())return this.hasPlugin("moduleAttributes")?[]:null;this.expectPlugin("moduleAttributes"),this.next();const e=[],t=new Set;do{const r=this.startNode();if(r.key=this.parseIdentifier(!0),"type"!==r.key.name&&this.raise(r.key.start,Rt.ModuleAttributeDifferentFromType,r.key.name),t.has(r.key.name)&&this.raise(r.key.start,Rt.ModuleAttributesWithDuplicateKeys,r.key.name),t.add(r.key.name),this.expect(14),!this.match(123))throw this.unexpected(this.state.start,Rt.ModuleAttributeInvalidValue);r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),e.push(r)}while(this.eat(12));return e}maybeParseImportAssertions(){if(!this.isContextual(88)||this.hasPrecedingLineBreak())return this.hasPlugin("importAssertions")?[]:null;this.expectPlugin("importAssertions"),this.next(),this.eat(5);const e=this.parseAssertEntries();return this.eat(8),e}maybeParseDefaultImportSpecifier(e){return!!this.shouldParseDefaultImport(e)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier"),!0)}maybeParseStarImportSpecifier(e){if(this.match(49)){const t=this.startNode();return this.next(),this.expectContextual(87),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier"),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(this.state.start,Rt.DestructureNamedImport);if(this.expect(12),this.eat(8))break}const r=this.startNode(),s=this.match(123),n=this.isContextual(120);r.imported=this.parseModuleExportName();const i=this.parseImportSpecifier(r,s,"type"===e.importKind||"typeof"===e.importKind,n);e.specifiers.push(i)}}parseImportSpecifier(e,t,r,s){if(this.eatContextual(87))e.local=this.parseIdentifier();else{const{imported:r}=e;if(t)throw this.raise(e.start,Rt.ImportBindingIsString,r.value);this.checkReservedWord(r.name,e.start,!0,!0),e.local||(e.local=es(r))}return this.checkLVal(e.local,"import specifier",9),this.finishNode(e,"ImportSpecifier")}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}}let js=class extends Ds{constructor(e,t){super(e=function(e){const t={};for(const r of Object.keys(As))t[r]=e&&null!=e[r]?e[r]:As[r];return t}(e),t),this.options=e,this.initializeScopes(),this.plugins=function(e){const t=new Map;for(const r of e){const[e,s]=Array.isArray(r)?r:[r,{}];t.has(e)||t.set(e,s||{})}return t}(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return Ir}parse(){this.enterInitialScopes();const e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e}};const Fs=function(e){const t={};for(const r of Object.keys(e))t[r]=dr(e[r]);return t}(nr);function Bs(e,t){let r=js;return null!=e&&e.plugins&&(function(e){if(xs(e,"decorators")){if(xs(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const t=ws(e,"decorators","decoratorsBeforeExport");if(null==t)throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.");if("boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean.")}if(xs(e,"flow")&&xs(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(xs(e,"placeholders")&&xs(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(xs(e,"pipelineOperator")){const t=ws(e,"pipelineOperator","proposal");if(!Es.includes(t)){const e=Es.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const r=xs(e,"recordAndTuple")&&"hash"===ws(e,"recordAndTuple","syntaxType");if("hack"===t){if(xs(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(xs(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const t=ws(e,"pipelineOperator","topicToken");if(!Ss.includes(t)){const e=Ss.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if("#"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if("smart"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(xs(e,"moduleAttributes")){if(xs(e,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if("may-2020"!==ws(e,"moduleAttributes","version"))throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(xs(e,"recordAndTuple")&&!_s.includes(ws(e,"recordAndTuple","syntaxType")))throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+_s.map((e=>`'${e}'`)).join(", "));if(xs(e,"asyncDoExpressions")&&!xs(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}}(e.plugins),r=function(e){const t=Ps.filter((t=>xs(e,t))),r=t.join("/");let s=Us[r];if(!s){s=js;for(const e of t)s=Ts[e](s);Us[r]=s}return s}(e.plugins)),new r(e,t)}const Us={};var qs=bt.parse=function(e,t){var r;if("unambiguous"!==(null==(r=t)?void 0:r.sourceType))return Bs(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";const r=Bs(t,e),s=r.parse();if(r.sawUnambiguousESM)return s;if(r.ambiguousScriptDifferentAst)try{return t.sourceType="script",Bs(t,e).parse()}catch(e){}else s.program.sourceType="script";return s}catch(r){try{return t.sourceType="script",Bs(t,e).parse()}catch(e){}throw r}},$s=bt.parseExpression=function(e,t){const r=Bs(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()};bt.tokTypes=Fs;const Hs=e=>4===e.type&&e.isStatic,Vs=(e,t)=>e===t||e===ae(t);function Ws(e){return Vs(e,"Teleport")?ye:Vs(e,"Suspense")?be:Vs(e,"KeepAlive")?ve:Vs(e,"BaseTransition")?xe:void 0}const Gs=/^\d|[^\$\w]/,zs=e=>!Gs.test(e),Ks=/[A-Za-z_$\xA0-\uFFFF]/,Ys=/[\.\?\w$\xA0-\uFFFF]/,Js=/\s+[.[]\s*|\s*[.[]\s+/g,Xs=(e,t)=>{try{let r=$s(e,{plugins:t.expressionPlugins});return"TSAsExpression"!==r.type&&"TSTypeAssertion"!==r.type||(r=r.expression),"MemberExpression"===r.type||"OptionalMemberExpression"===r.type||"Identifier"===r.type}catch(e){return!1}},Qs=Xs;function Zs(e,t,r){const s={source:e.source.slice(t,t+r),start:en(e.start,e.source,t),end:e.end};return null!=r&&(s.end=en(e.start,e.source,t+r)),s}function en(e,t,r=t.length){return tn(H({},e),t,r)}function tn(e,t,r=t.length){let s=0,n=-1;for(let e=0;e<r;e++)10===t.charCodeAt(e)&&(s++,n=e);return e.offset+=r,e.line+=s,e.column=-1===n?e.column+r:r-n,e}function rn(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function sn(e,t,r=!1){for(let s=0;s<e.props.length;s++){const n=e.props[s];if(7===n.type&&(r||n.exp)&&(Y(t)?n.name===t:t.test(n.name)))return n}}function nn(e,t,r=!1,s=!1){for(let n=0;n<e.props.length;n++){const i=e.props[n];if(6===i.type){if(r)continue;if(i.name===t&&(i.value||s))return i}else if("bind"===i.name&&(i.exp||s)&&on(i.arg,t))return i}}function on(e,t){return!(!e||!Hs(e)||e.content!==t)}function an(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function cn(e){return 5===e.type||2===e.type}function ln(e){return 7===e.type&&"slot"===e.name}function hn(e){return 1===e.type&&3===e.tagType}function un(e){return 1===e.type&&2===e.tagType}function pn(e,t){return e||t?_e:Te}function dn(e,t){return e||t?Ee:Se}const fn=new Set([qe,$e]);function mn(e,t=[]){if(e&&!Y(e)&&14===e.type){const r=e.callee;if(!Y(r)&&fn.has(r))return mn(e.arguments[0],t.concat(e))}return[e,t]}function gn(e,t,r){let s,n,i=13===e.type?e.props:e.arguments[2],o=[];if(i&&!Y(i)&&14===i.type){const e=mn(i);i=e[0],o=e[1],n=o[o.length-1]}if(null==i||Y(i))s=at([t]);else if(14===i.type){const e=i.arguments[0];Y(e)||15!==e.type?i.callee===He?s=ut(r.helper(Fe),[at([t]),i]):i.arguments.unshift(at([t])):yn(t,e)||e.properties.unshift(t),!s&&(s=i)}else 15===i.type?(yn(t,i)||i.properties.unshift(t),s=i):(s=ut(r.helper(Fe),[at([t]),i]),n&&n.callee===$e&&(n=o[o.length-2]));13===e.type?n?n.arguments[0]=s:e.props=s:n?n.arguments[0]=s:e.arguments[2]=s}function yn(e,t){let r=!1;if(4===e.key.type){const s=e.key.content;r=t.properties.some((e=>4===e.key.type&&e.key.content===s))}return r}function bn(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,r)=>"-"===t?"_":e.charCodeAt(r).toString()))}`}function vn(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&(vn(s.arg,t)||vn(s.exp,t)))return!0}return e.children.some((e=>vn(e,t)));case 11:return!!vn(e.source,t)||e.children.some((e=>vn(e,t)));case 9:return e.branches.some((e=>vn(e,t)));case 10:return!!vn(e.condition,t)||e.children.some((e=>vn(e,t)));case 4:return!e.isStatic&&zs(e.content)&&!!t[e.content];case 8:return e.children.some((e=>X(e)&&vn(e,t)));case 5:case 12:return vn(e.content,t);default:return!1}}function xn(e){return 14===e.type&&e.callee===Ze?e.arguments[1].returns:e}function wn(e,{helper:t,removeHelper:r,inSSR:s}){e.isBlock||(e.isBlock=!0,r(pn(s,e.isComponent)),t(we),t(dn(s,e.isComponent)))}const En={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function Sn(e,t){const r=t.options?t.options.compatConfig:t.compatConfig,s=r&&r[e];return"MODE"===e?s||3:s}function _n(e,t,r,...s){if("suppress-warning"===Sn(e,t))return;const{message:n,link:i}=En[e],o=`(deprecation ${e}) ${"function"==typeof n?n(...s):n}${i?`\n Details: ${i}`:""}`,a=new SyntaxError(o);a.code=e,r&&(a.loc=r),t.onWarn(a)}const Tn=/&(gt|lt|amp|apos|quot);/g,Pn={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},An={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:U,isPreTag:U,isCustomElement:U,decodeEntities:e=>e.replace(Tn,((e,t)=>Pn[t])),onError:pe,onWarn:de,comments:!0};function Cn(e,t={}){const r=function(e,t){const r=H({},An);let s;for(s in t)r[s]=void 0===t[s]?An[s]:t[s];return{options:r,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:r.onWarn}}(e,t),s=$n(r);return nt(kn(r,0,[]),Hn(r,s))}function kn(e,t,r){const s=Vn(r),n=s?s.ns:0,i=[];for(;!Jn(e,t,r);){const o=e.source;let a;if(0===t||1===t)if(!e.inVPre&&Wn(o,e.options.delimiters[0]))a=Bn(e,t);else if(0===t&&"<"===o[0])if(1===o.length)Yn(e,5,1);else if("!"===o[1])Wn(o,"\x3c!--")?a=In(e):Wn(o,"<!DOCTYPE")?a=Rn(e):Wn(o,"<![CDATA[")?0!==n?a=Nn(e,r):(Yn(e,1),a=Rn(e)):(Yn(e,11),a=Rn(e));else if("/"===o[1])if(2===o.length)Yn(e,5,2);else{if(">"===o[2]){Yn(e,14,2),Gn(e,3);continue}if(/[a-z]/i.test(o[2])){Yn(e,23),Dn(e,1,s);continue}Yn(e,12,2),a=Rn(e)}else/[a-z]/i.test(o[1])?a=Ln(e,r):"?"===o[1]?(Yn(e,21,1),a=Rn(e)):Yn(e,12,1);if(a||(a=Un(e,t)),W(a))for(let e=0;e<a.length;e++)On(i,a[e]);else On(i,a)}let o=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let r=0;r<i.length;r++){const s=i[r];if(2===s.type)if(e.inPre)s.content=s.content.replace(/\r\n/g,"\n");else if(/[^\t\r\n\f ]/.test(s.content))t&&(s.content=s.content.replace(/[\t\r\n\f ]+/g," "));else{const e=i[r-1],n=i[r+1];!e||!n||t&&(3===e.type&&3===n.type||3===e.type&&1===n.type||1===e.type&&3===n.type||1===e.type&&1===n.type&&/[\r\n]/.test(s.content))?(o=!0,i[r]=null):s.content=" "}else 3!==s.type||e.options.comments||(o=!0,i[r]=null)}if(e.inPre&&s&&e.options.isPreTag(s.tag)){const e=i[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return o?i.filter(Boolean):i}function On(e,t){if(2===t.type){const r=Vn(e);if(r&&2===r.type&&r.loc.end.offset===t.loc.start.offset)return r.content+=t.content,r.loc.end=t.loc.end,void(r.loc.source+=t.loc.source)}e.push(t)}function Nn(e,t){Gn(e,9);const r=kn(e,3,t);return 0===e.source.length?Yn(e,6):Gn(e,3),r}function In(e){const t=$n(e);let r;const s=/--(\!)?>/.exec(e.source);if(s){s.index<=3&&Yn(e,0),s[1]&&Yn(e,10),r=e.source.slice(4,s.index);const t=e.source.slice(0,s.index);let n=1,i=0;for(;-1!==(i=t.indexOf("\x3c!--",n));)Gn(e,i-n+1),i+4<t.length&&Yn(e,16),n=i+1;Gn(e,s.index+s[0].length-n+1)}else r=e.source.slice(4),Gn(e,e.source.length),Yn(e,7);return{type:3,content:r,loc:Hn(e,t)}}function Rn(e){const t=$n(e),r="?"===e.source[1]?1:2;let s;const n=e.source.indexOf(">");return-1===n?(s=e.source.slice(r),Gn(e,e.source.length)):(s=e.source.slice(r,n),Gn(e,n+1)),{type:3,content:s,loc:Hn(e,t)}}function Ln(e,t){const r=e.inPre,s=e.inVPre,n=Vn(t),i=Dn(e,0,n),o=e.inPre&&!r,a=e.inVPre&&!s;if(i.isSelfClosing||e.options.isVoidTag(i.tag))return o&&(e.inPre=!1),a&&(e.inVPre=!1),i;t.push(i);const c=e.options.getTextMode(i,n),l=kn(e,c,t);if(t.pop(),i.children=l,Xn(e.source,i.tag))Dn(e,1,n);else if(Yn(e,24,0,i.loc.start),0===e.source.length&&"script"===i.tag.toLowerCase()){const t=l[0];t&&Wn(t.loc.source,"\x3c!--")&&Yn(e,8)}return i.loc=Hn(e,i.loc.start),o&&(e.inPre=!1),a&&(e.inVPre=!1),i}const Mn=y("if,else,else-if,for,slot");function Dn(e,t,r){const s=$n(e),n=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),i=n[1],o=e.options.getNamespace(i,r);Gn(e,n[0].length),zn(e);const a=$n(e),c=e.source;e.options.isPreTag(i)&&(e.inPre=!0);let l=jn(e,t);0===t&&!e.inVPre&&l.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,H(e,a),e.source=c,l=jn(e,t).filter((e=>"v-pre"!==e.name)));let h=!1;if(0===e.source.length?Yn(e,9):(h=Wn(e.source,"/>"),1===t&&h&&Yn(e,4),Gn(e,h?2:1)),1===t)return;let u=0;return e.inVPre||("slot"===i?u=2:"template"===i?l.some((e=>7===e.type&&Mn(e.name)))&&(u=3):function(e,t,r){const s=r.options;if(s.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||Ws(e)||s.isBuiltInComponent&&s.isBuiltInComponent(e)||s.isNativeTag&&!s.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){const r=t[e];if(6===r.type){if("is"===r.name&&r.value&&r.value.content.startsWith("vue:"))return!0}else{if("is"===r.name)return!0;"bind"===r.name&&on(r.arg,"is")}}}(i,l,e)&&(u=1)),{type:1,ns:o,tag:i,tagType:u,props:l,isSelfClosing:h,children:[],loc:Hn(e,s),codegenNode:void 0}}function jn(e,t){const r=[],s=new Set;for(;e.source.length>0&&!Wn(e.source,">")&&!Wn(e.source,"/>");){if(Wn(e.source,"/")){Yn(e,22),Gn(e,1),zn(e);continue}1===t&&Yn(e,3);const n=Fn(e,s);6===n.type&&n.value&&"class"===n.name&&(n.value.content=n.value.content.replace(/\s+/g," ").trim()),0===t&&r.push(n),/^[^\t\r\n\f />]/.test(e.source)&&Yn(e,15),zn(e)}return r}function Fn(e,t){const r=$n(e),s=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(s)&&Yn(e,2),t.add(s),"="===s[0]&&Yn(e,19);{const t=/["'<]/g;let r;for(;r=t.exec(s);)Yn(e,17,r.index)}let n;Gn(e,s.length),/^[\t\r\n\f ]*=/.test(e.source)&&(zn(e),Gn(e,1),zn(e),n=function(e){const t=$n(e);let r;const s=e.source[0],n='"'===s||"'"===s;if(n){Gn(e,1);const t=e.source.indexOf(s);-1===t?r=qn(e,e.source.length,4):(r=qn(e,t,4),Gn(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const s=/["'<=`]/g;let n;for(;n=s.exec(t[0]);)Yn(e,18,n.index);r=qn(e,t[0].length,4)}return{content:r,isQuoted:n,loc:Hn(e,t)}}(e),n||Yn(e,13));const i=Hn(e,r);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(s)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(s);let o,a=Wn(s,"."),c=t[1]||(a||Wn(s,":")?"bind":Wn(s,"@")?"on":"slot");if(t[2]){const n="slot"===c,i=s.lastIndexOf(t[2]),a=Hn(e,Kn(e,r,i),Kn(e,r,i+t[2].length+(n&&t[3]||"").length));let l=t[2],h=!0;l.startsWith("[")?(h=!1,l.endsWith("]")?l=l.slice(1,l.length-1):(Yn(e,27),l=l.slice(1))):n&&(l+=t[3]||""),o={type:4,content:l,isStatic:h,constType:h?3:0,loc:a}}if(n&&n.isQuoted){const e=n.loc;e.start.offset++,e.start.column++,e.end=en(e.start,n.content),e.source=e.source.slice(1,-1)}const l=t[3]?t[3].slice(1).split("."):[];return a&&l.push("prop"),{type:7,name:c,exp:n&&{type:4,content:n.content,isStatic:!1,constType:0,loc:n.loc},arg:o,modifiers:l,loc:i}}return!e.inVPre&&Wn(s,"v-")&&Yn(e,26),{type:6,name:s,value:n&&{type:2,content:n.content,loc:n.loc},loc:i}}function Bn(e,t){const[r,s]=e.options.delimiters,n=e.source.indexOf(s,r.length);if(-1===n)return void Yn(e,25);const i=$n(e);Gn(e,r.length);const o=$n(e),a=$n(e),c=n-r.length,l=e.source.slice(0,c),h=qn(e,c,t),u=h.trim(),p=h.indexOf(u);return p>0&&tn(o,l,p),tn(a,l,c-(h.length-u.length-p)),Gn(e,s.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Hn(e,o,a)},loc:Hn(e,i)}}function Un(e,t){const r=3===t?["]]>"]:["<",e.options.delimiters[0]];let s=e.source.length;for(let t=0;t<r.length;t++){const n=e.source.indexOf(r[t],1);-1!==n&&s>n&&(s=n)}const n=$n(e);return{type:2,content:qn(e,s,t),loc:Hn(e,n)}}function qn(e,t,r){const s=e.source.slice(0,t);return Gn(e,t),2!==r&&3!==r&&s.includes("&")?e.options.decodeEntities(s,4===r):s}function $n(e){const{column:t,line:r,offset:s}=e;return{column:t,line:r,offset:s}}function Hn(e,t,r){return{start:t,end:r=r||$n(e),source:e.originalSource.slice(t.offset,r.offset)}}function Vn(e){return e[e.length-1]}function Wn(e,t){return e.startsWith(t)}function Gn(e,t){const{source:r}=e;tn(e,r,t),e.source=r.slice(t)}function zn(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Gn(e,t[0].length)}function Kn(e,t,r){return en(t,e.originalSource.slice(t.offset,r),r)}function Yn(e,t,r,s=$n(e)){r&&(s.offset+=r,s.column+=r),e.options.onError(fe(t,{start:s,end:s,source:""}))}function Jn(e,t,r){const s=e.source;switch(t){case 0:if(Wn(s,"</"))for(let e=r.length-1;e>=0;--e)if(Xn(s,r[e].tag))return!0;break;case 1:case 2:{const e=Vn(r);if(e&&Xn(s,e.tag))return!0;break}case 3:if(Wn(s,"]]>"))return!0}return!s}function Xn(e,t){return Wn(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Qn(e,t){ei(e,t,Zn(e,e.children[0]))}function Zn(e,t){const{children:r}=e;return 1===r.length&&1===t.type&&!un(t)}function ei(e,t,r=!1){const{children:s}=e,n=s.length;let i=0;for(let e=0;e<s.length;e++){const n=s[e];if(1===n.type&&0===n.tagType){const e=r?0:ti(n,t);if(e>0){if(e>=2){n.codegenNode.patchFlag="-1 /* HOISTED */",n.codegenNode=t.hoist(n.codegenNode),i++;continue}}else{const e=n.codegenNode;if(13===e.type){const r=oi(e);if((!r||512===r||1===r)&&ni(n,t)>=2){const r=ii(n);r&&(e.props=t.hoist(r))}e.dynamicProps&&(e.dynamicProps=t.hoist(e.dynamicProps))}}}if(1===n.type){const e=1===n.tagType;e&&t.scopes.vSlot++,ei(n,t),e&&t.scopes.vSlot--}else if(11===n.type)ei(n,t,1===n.children.length);else if(9===n.type)for(let e=0;e<n.branches.length;e++)ei(n.branches[e],t,1===n.branches[e].children.length)}i&&t.transformHoist&&t.transformHoist(s,t,e),i&&i===n&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&W(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(ot(e.codegenNode.children)))}function ti(e,t){const{constantCache:r}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const s=r.get(e);if(void 0!==s)return s;const n=e.codegenNode;if(13!==n.type)return 0;if(n.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if(oi(n))return r.set(e,0),0;{let s=3;const i=ni(e,t);if(0===i)return r.set(e,0),0;i<s&&(s=i);for(let n=0;n<e.children.length;n++){const i=ti(e.children[n],t);if(0===i)return r.set(e,0),0;i<s&&(s=i)}if(s>1)for(let n=0;n<e.props.length;n++){const i=e.props[n];if(7===i.type&&"bind"===i.name&&i.exp){const n=ti(i.exp,t);if(0===n)return r.set(e,0),0;n<s&&(s=n)}}if(n.isBlock){for(let t=0;t<e.props.length;t++)if(7===e.props[t].type)return r.set(e,0),0;t.removeHelper(we),t.removeHelper(dn(t.inSSR,n.isComponent)),n.isBlock=!1,t.helper(pn(t.inSSR,n.isComponent))}return r.set(e,s),s}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return ti(e.content,t);case 4:return e.constType;case 8:let i=3;for(let r=0;r<e.children.length;r++){const s=e.children[r];if(Y(s)||J(s))continue;const n=ti(s,t);if(0===n)return 0;n<i&&(i=n)}return i}}const ri=new Set([Be,Ue,qe,$e]);function si(e,t){if(14===e.type&&!Y(e.callee)&&ri.has(e.callee)){const r=e.arguments[0];if(4===r.type)return ti(r,t);if(14===r.type)return si(r,t)}return 0}function ni(e,t){let r=3;const s=ii(e);if(s&&15===s.type){const{properties:e}=s;for(let s=0;s<e.length;s++){const{key:n,value:i}=e[s],o=ti(n,t);if(0===o)return o;let a;if(o<r&&(r=o),a=4===i.type?ti(i,t):14===i.type?si(i,t):0,0===a)return a;a<r&&(r=a)}}return r}function ii(e){const t=e.codegenNode;if(13===t.type)return t.props}function oi(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function ai(e,{filename:t="",prefixIdentifiers:r=!1,hoistStatic:s=!1,cacheHandlers:n=!1,nodeTransforms:i=[],directiveTransforms:o={},transformHoist:a=null,isBuiltInComponent:c=B,isCustomElement:l=B,expressionPlugins:h=[],scopeId:u=null,slotted:p=!0,ssr:d=!1,inSSR:f=!1,ssrCssVars:m="",bindingMetadata:g=F,inline:y=!1,isTS:b=!1,onError:v=pe,onWarn:x=de,compatConfig:w}){const E=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),S={selfName:E&&ce(ie(E[1])),prefixIdentifiers:r,hoistStatic:s,cacheHandlers:n,nodeTransforms:i,directiveTransforms:o,transformHoist:a,isBuiltInComponent:c,isCustomElement:l,expressionPlugins:h,scopeId:u,slotted:p,ssr:d,inSSR:f,ssrCssVars:m,bindingMetadata:g,inline:y,isTS:b,onError:v,onWarn:x,compatConfig:w,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=S.helpers.get(e)||0;return S.helpers.set(e,t+1),e},removeHelper(e){const t=S.helpers.get(e);if(t){const r=t-1;r?S.helpers.set(e,r):S.helpers.delete(e)}},helperString:e=>`_${tt[S.helper(e)]}`,replaceNode(e){if(!S.currentNode)throw new Error("Node being replaced is already removed.");if(!S.parent)throw new Error("Cannot replace root node.");S.parent.children[S.childIndex]=S.currentNode=e},removeNode(e){if(!S.parent)throw new Error("Cannot remove root node.");const t=S.parent.children,r=e?t.indexOf(e):S.currentNode?S.childIndex:-1;if(r<0)throw new Error("node being removed is not a child of current parent");e&&e!==S.currentNode?S.childIndex>r&&(S.childIndex--,S.onNodeRemoved()):(S.currentNode=null,S.onNodeRemoved()),S.parent.children.splice(r,1)},onNodeRemoved:()=>{},addIdentifiers(e){Y(e)?_(e):e.identifiers?e.identifiers.forEach(_):4===e.type&&_(e.content)},removeIdentifiers(e){Y(e)?T(e):e.identifiers?e.identifiers.forEach(T):4===e.type&&T(e.content)},hoist(e){Y(e)&&(e=lt(e)),S.hoists.push(e);const t=lt(`_hoisted_${S.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>ft(S.cached++,e,t)};function _(e){const{identifiers:t}=S;void 0===t[e]&&(t[e]=0),t[e]++}function T(e){S.identifiers[e]--}return S}function ci(e,t){const r=ai(e,t);li(e,r),t.hoistStatic&&Qn(e,r),t.ssr||function(e,t){const{helper:r}=t,{children:s}=e;if(1===s.length){const r=s[0];if(Zn(e,r)&&r.codegenNode){const s=r.codegenNode;13===s.type&&wn(s,t),e.codegenNode=s}else e.codegenNode=r}else if(s.length>1){let n=64,i=b[64];1===s.filter((e=>3!==e.type)).length&&(n|=2048,i+=`, ${b[2048]}`),e.codegenNode=it(t,r(ge),void 0,e.children,n+` /* ${i} */`,void 0,void 0,!0,void 0,!1)}}(e,r),e.helpers=new Set([...r.helpers.keys()]),e.components=[...r.components],e.directives=[...r.directives],e.imports=r.imports,e.hoists=r.hoists,e.temps=r.temps,e.cached=r.cached}function li(e,t){t.currentNode=e;const{nodeTransforms:r}=t,s=[];for(let n=0;n<r.length;n++){const i=r[n](e,t);if(i&&(W(i)?s.push(...i):s.push(i)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(Pe);break;case 5:t.ssr||t.helper(je);break;case 9:for(let r=0;r<e.branches.length;r++)li(e.branches[r],t);break;case 10:case 11:case 1:case 0:!function(e,t){let r=0;const s=()=>{r--};for(;r<e.children.length;r++){const n=e.children[r];Y(n)||(t.parent=e,t.childIndex=r,t.onNodeRemoved=s,li(n,t))}}(e,t)}t.currentNode=e;let n=s.length;for(;n--;)s[n]()}function hi(e,t){const r=Y(e)?t=>t===e:t=>e.test(t);return(e,s)=>{if(1===e.type){const{props:n}=e;if(3===e.tagType&&n.some(ln))return;const i=[];for(let o=0;o<n.length;o++){const a=n[o];if(7===a.type&&r(a.name)){n.splice(o,1),o--;const r=t(e,a,s);r&&i.push(r)}}return i}}}var ui={},pi={},di={},fi={},mi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");fi.encode=function(e){if(0<=e&&e<mi.length)return mi[e];throw new TypeError("Must be between 0 and 63: "+e)},fi.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1};var gi=fi;di.encode=function(e){var t,r="",s=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&s,(s>>>=5)>0&&(t|=32),r+=gi.encode(t)}while(s>0);return r},di.decode=function(e,t,r){var s,n,i,o,a=e.length,c=0,l=0;do{if(t>=a)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(n=gi.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));s=!!(32&n),c+=(n&=31)<<l,l+=5}while(s);r.value=(o=(i=c)>>1,1==(1&i)?-o:o),r.rest=t};var yi={};!function(e){e.getArg=function(e,t,r){if(t in e)return e[t];if(3===arguments.length)return r;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function s(e){var r=e.match(t);return r?{scheme:r[1],auth:r[2],host:r[3],port:r[4],path:r[5]}:null}function n(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function i(t){var r=t,i=s(t);if(i){if(!i.path)return t;r=i.path}for(var o,a=e.isAbsolute(r),c=r.split(/\/+/),l=0,h=c.length-1;h>=0;h--)"."===(o=c[h])?c.splice(h,1):".."===o?l++:l>0&&(""===o?(c.splice(h+1,l),l=0):(c.splice(h,2),l--));return""===(r=c.join("/"))&&(r=a?"/":"."),i?(i.path=r,n(i)):r}function o(e,t){""===e&&(e="."),""===t&&(t=".");var o=s(t),a=s(e);if(a&&(e=a.path||"/"),o&&!o.scheme)return a&&(o.scheme=a.scheme),n(o);if(o||t.match(r))return t;if(a&&!a.host&&!a.path)return a.host=t,n(a);var c="/"===t.charAt(0)?t:i(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=c,n(a)):c}e.urlParse=s,e.urlGenerate=n,e.normalize=i,e.join=o,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==t.indexOf(e+"/");){var s=e.lastIndexOf("/");if(s<0)return t;if((e=e.slice(0,s)).match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)};var a=!("__proto__"in Object.create(null));function c(e){return e}function l(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var r=t-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function h(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=a?c:function(e){return l(e)?"$"+e:e},e.fromSetString=a?c:function(e){return l(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,r){var s=h(e.source,t.source);return 0!==s||0!=(s=e.originalLine-t.originalLine)||0!=(s=e.originalColumn-t.originalColumn)||r||0!=(s=e.generatedColumn-t.generatedColumn)||0!=(s=e.generatedLine-t.generatedLine)?s:h(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,r){var s=e.generatedLine-t.generatedLine;return 0!==s||0!=(s=e.generatedColumn-t.generatedColumn)||r||0!==(s=h(e.source,t.source))||0!=(s=e.originalLine-t.originalLine)||0!=(s=e.originalColumn-t.originalColumn)?s:h(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r||0!=(r=e.generatedColumn-t.generatedColumn)||0!==(r=h(e.source,t.source))||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)?r:h(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,r){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),r){var a=s(r);if(!a)throw new Error("sourceMapURL could not be parsed");if(a.path){var c=a.path.lastIndexOf("/");c>=0&&(a.path=a.path.substring(0,c+1))}t=o(n(a),t)}return i(t)}}(yi);var bi={},vi=yi,xi=Object.prototype.hasOwnProperty,wi="undefined"!=typeof Map;function Ei(){this._array=[],this._set=wi?new Map:Object.create(null)}Ei.fromArray=function(e,t){for(var r=new Ei,s=0,n=e.length;s<n;s++)r.add(e[s],t);return r},Ei.prototype.size=function(){return wi?this._set.size:Object.getOwnPropertyNames(this._set).length},Ei.prototype.add=function(e,t){var r=wi?e:vi.toSetString(e),s=wi?this.has(e):xi.call(this._set,r),n=this._array.length;s&&!t||this._array.push(e),s||(wi?this._set.set(e,n):this._set[r]=n)},Ei.prototype.has=function(e){if(wi)return this._set.has(e);var t=vi.toSetString(e);return xi.call(this._set,t)},Ei.prototype.indexOf=function(e){if(wi){var t=this._set.get(e);if(t>=0)return t}else{var r=vi.toSetString(e);if(xi.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},Ei.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},Ei.prototype.toArray=function(){return this._array.slice()},bi.ArraySet=Ei;var Si={},_i=yi;function Ti(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Ti.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},Ti.prototype.add=function(e){var t,r,s,n,i,o;r=e,s=(t=this._last).generatedLine,n=r.generatedLine,i=t.generatedColumn,o=r.generatedColumn,n>s||n==s&&o>=i||_i.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},Ti.prototype.toArray=function(){return this._sorted||(this._array.sort(_i.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Si.MappingList=Ti;var Pi=di,Ai=yi,Ci=bi.ArraySet,ki=Si.MappingList;function Oi(e){e||(e={}),this._file=Ai.getArg(e,"file",null),this._sourceRoot=Ai.getArg(e,"sourceRoot",null),this._skipValidation=Ai.getArg(e,"skipValidation",!1),this._sources=new Ci,this._names=new Ci,this._mappings=new ki,this._sourcesContents=null}Oi.prototype._version=3,Oi.fromSourceMap=function(e){var t=e.sourceRoot,r=new Oi({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var s={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(s.source=e.source,null!=t&&(s.source=Ai.relative(t,s.source)),s.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(s.name=e.name)),r.addMapping(s)})),e.sources.forEach((function(s){var n=s;null!==t&&(n=Ai.relative(t,s)),r._sources.has(n)||r._sources.add(n);var i=e.sourceContentFor(s);null!=i&&r.setSourceContent(s,i)})),r},Oi.prototype.addMapping=function(e){var t=Ai.getArg(e,"generated"),r=Ai.getArg(e,"original",null),s=Ai.getArg(e,"source",null),n=Ai.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,s,n),null!=s&&(s=String(s),this._sources.has(s)||this._sources.add(s)),null!=n&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:s,name:n})},Oi.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=Ai.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Ai.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[Ai.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},Oi.prototype.applySourceMap=function(e,t,r){var s=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');s=e.file}var n=this._sourceRoot;null!=n&&(s=Ai.relative(n,s));var i=new Ci,o=new Ci;this._mappings.unsortedForEach((function(t){if(t.source===s&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=r&&(t.source=Ai.join(r,t.source)),null!=n&&(t.source=Ai.relative(n,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var c=t.source;null==c||i.has(c)||i.add(c);var l=t.name;null==l||o.has(l)||o.add(l)}),this),this._sources=i,this._names=o,e.sources.forEach((function(t){var s=e.sourceContentFor(t);null!=s&&(null!=r&&(t=Ai.join(r,t)),null!=n&&(t=Ai.relative(n,t)),this.setSourceContent(t,s))}),this)},Oi.prototype._validateMapping=function(e,t,r,s){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||r||s)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:s}))},Oi.prototype._serializeMappings=function(){for(var e,t,r,s,n=0,i=1,o=0,a=0,c=0,l=0,h="",u=this._mappings.toArray(),p=0,d=u.length;p<d;p++){if(e="",(t=u[p]).generatedLine!==i)for(n=0;t.generatedLine!==i;)e+=";",i++;else if(p>0){if(!Ai.compareByGeneratedPositionsInflated(t,u[p-1]))continue;e+=","}e+=Pi.encode(t.generatedColumn-n),n=t.generatedColumn,null!=t.source&&(s=this._sources.indexOf(t.source),e+=Pi.encode(s-l),l=s,e+=Pi.encode(t.originalLine-1-a),a=t.originalLine-1,e+=Pi.encode(t.originalColumn-o),o=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=Pi.encode(r-c),c=r)),h+=e}return h},Oi.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=Ai.relative(t,e));var r=Ai.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},Oi.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},Oi.prototype.toString=function(){return JSON.stringify(this.toJSON())},pi.SourceMapGenerator=Oi;var Ni={},Ii={};!function(e){function t(r,s,n,i,o,a){var c=Math.floor((s-r)/2)+r,l=o(n,i[c],!0);return 0===l?c:l>0?s-c>1?t(c,s,n,i,o,a):a==e.LEAST_UPPER_BOUND?s<i.length?s:-1:c:c-r>1?t(r,c,n,i,o,a):a==e.LEAST_UPPER_BOUND?c:r<0?-1:r}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(r,s,n,i){if(0===s.length)return-1;var o=t(-1,s.length,r,s,n,i||e.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===n(s[o],s[o-1],!0);)--o;return o}}(Ii);var Ri={};function Li(e,t,r){var s=e[t];e[t]=e[r],e[r]=s}function Mi(e,t,r,s){if(r<s){var n=r-1;Li(e,(c=r,l=s,Math.round(c+Math.random()*(l-c))),s);for(var i=e[s],o=r;o<s;o++)t(e[o],i)<=0&&Li(e,n+=1,o);Li(e,n+1,o);var a=n+1;Mi(e,t,r,a-1),Mi(e,t,a+1,s)}var c,l}Ri.quickSort=function(e,t){Mi(e,t,0,e.length-1)};var Di=yi,ji=Ii,Fi=bi.ArraySet,Bi=di,Ui=Ri.quickSort;function qi(e,t){var r=e;return"string"==typeof e&&(r=Di.parseSourceMapInput(e)),null!=r.sections?new Vi(r,t):new $i(r,t)}function $i(e,t){var r=e;"string"==typeof e&&(r=Di.parseSourceMapInput(e));var s=Di.getArg(r,"version"),n=Di.getArg(r,"sources"),i=Di.getArg(r,"names",[]),o=Di.getArg(r,"sourceRoot",null),a=Di.getArg(r,"sourcesContent",null),c=Di.getArg(r,"mappings"),l=Di.getArg(r,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);o&&(o=Di.normalize(o)),n=n.map(String).map(Di.normalize).map((function(e){return o&&Di.isAbsolute(o)&&Di.isAbsolute(e)?Di.relative(o,e):e})),this._names=Fi.fromArray(i.map(String),!0),this._sources=Fi.fromArray(n,!0),this._absoluteSources=this._sources.toArray().map((function(e){return Di.computeSourceURL(o,e,t)})),this.sourceRoot=o,this.sourcesContent=a,this._mappings=c,this._sourceMapURL=t,this.file=l}function Hi(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function Vi(e,t){var r=e;"string"==typeof e&&(r=Di.parseSourceMapInput(e));var s=Di.getArg(r,"version"),n=Di.getArg(r,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new Fi,this._names=new Fi;var i={line:-1,column:0};this._sections=n.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var r=Di.getArg(e,"offset"),s=Di.getArg(r,"line"),n=Di.getArg(r,"column");if(s<i.line||s===i.line&&n<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=r,{generatedOffset:{generatedLine:s+1,generatedColumn:n+1},consumer:new qi(Di.getArg(e,"map"),t)}}))}qi.fromSourceMap=function(e,t){return $i.fromSourceMap(e,t)},qi.prototype._version=3,qi.prototype.__generatedMappings=null,Object.defineProperty(qi.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),qi.prototype.__originalMappings=null,Object.defineProperty(qi.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),qi.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return";"===r||","===r},qi.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},qi.GENERATED_ORDER=1,qi.ORIGINAL_ORDER=2,qi.GREATEST_LOWER_BOUND=1,qi.LEAST_UPPER_BOUND=2,qi.prototype.eachMapping=function(e,t,r){var s,n=t||null;switch(r||qi.GENERATED_ORDER){case qi.GENERATED_ORDER:s=this._generatedMappings;break;case qi.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var i=this.sourceRoot;s.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:t=Di.computeSourceURL(i,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,n)},qi.prototype.allGeneratedPositionsFor=function(e){var t=Di.getArg(e,"line"),r={source:Di.getArg(e,"source"),originalLine:t,originalColumn:Di.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var s=[],n=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",Di.compareByOriginalPositions,ji.LEAST_UPPER_BOUND);if(n>=0){var i=this._originalMappings[n];if(void 0===e.column)for(var o=i.originalLine;i&&i.originalLine===o;)s.push({line:Di.getArg(i,"generatedLine",null),column:Di.getArg(i,"generatedColumn",null),lastColumn:Di.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n];else for(var a=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==a;)s.push({line:Di.getArg(i,"generatedLine",null),column:Di.getArg(i,"generatedColumn",null),lastColumn:Di.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n]}return s},Ni.SourceMapConsumer=qi,$i.prototype=Object.create(qi.prototype),$i.prototype.consumer=qi,$i.prototype._findSourceIndex=function(e){var t,r=e;if(null!=this.sourceRoot&&(r=Di.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},$i.fromSourceMap=function(e,t){var r=Object.create($i.prototype),s=r._names=Fi.fromArray(e._names.toArray(),!0),n=r._sources=Fi.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=t,r._absoluteSources=r._sources.toArray().map((function(e){return Di.computeSourceURL(r.sourceRoot,e,t)}));for(var i=e._mappings.toArray().slice(),o=r.__generatedMappings=[],a=r.__originalMappings=[],c=0,l=i.length;c<l;c++){var h=i[c],u=new Hi;u.generatedLine=h.generatedLine,u.generatedColumn=h.generatedColumn,h.source&&(u.source=n.indexOf(h.source),u.originalLine=h.originalLine,u.originalColumn=h.originalColumn,h.name&&(u.name=s.indexOf(h.name)),a.push(u)),o.push(u)}return Ui(r.__originalMappings,Di.compareByOriginalPositions),r},$i.prototype._version=3,Object.defineProperty($i.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),$i.prototype._parseMappings=function(e,t){for(var r,s,n,i,o,a=1,c=0,l=0,h=0,u=0,p=0,d=e.length,f=0,m={},g={},y=[],b=[];f<d;)if(";"===e.charAt(f))a++,f++,c=0;else if(","===e.charAt(f))f++;else{for((r=new Hi).generatedLine=a,i=f;i<d&&!this._charIsMappingSeparator(e,i);i++);if(n=m[s=e.slice(f,i)])f+=s.length;else{for(n=[];f<i;)Bi.decode(e,f,g),o=g.value,f=g.rest,n.push(o);if(2===n.length)throw new Error("Found a source, but no line and column");if(3===n.length)throw new Error("Found a source and line, but no column");m[s]=n}r.generatedColumn=c+n[0],c=r.generatedColumn,n.length>1&&(r.source=u+n[1],u+=n[1],r.originalLine=l+n[2],l=r.originalLine,r.originalLine+=1,r.originalColumn=h+n[3],h=r.originalColumn,n.length>4&&(r.name=p+n[4],p+=n[4])),b.push(r),"number"==typeof r.originalLine&&y.push(r)}Ui(b,Di.compareByGeneratedPositionsDeflated),this.__generatedMappings=b,Ui(y,Di.compareByOriginalPositions),this.__originalMappings=y},$i.prototype._findMapping=function(e,t,r,s,n,i){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return ji.search(e,t,n,i)},$i.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},$i.prototype.originalPositionFor=function(e){var t={generatedLine:Di.getArg(e,"line"),generatedColumn:Di.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",Di.compareByGeneratedPositionsDeflated,Di.getArg(e,"bias",qi.GREATEST_LOWER_BOUND));if(r>=0){var s=this._generatedMappings[r];if(s.generatedLine===t.generatedLine){var n=Di.getArg(s,"source",null);null!==n&&(n=this._sources.at(n),n=Di.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var i=Di.getArg(s,"name",null);return null!==i&&(i=this._names.at(i)),{source:n,line:Di.getArg(s,"originalLine",null),column:Di.getArg(s,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},$i.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e}))},$i.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var s,n=e;if(null!=this.sourceRoot&&(n=Di.relative(this.sourceRoot,n)),null!=this.sourceRoot&&(s=Di.urlParse(this.sourceRoot))){var i=n.replace(/^file:\/\//,"");if("file"==s.scheme&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!s.path||"/"==s.path)&&this._sources.has("/"+n))return this.sourcesContent[this._sources.indexOf("/"+n)]}if(t)return null;throw new Error('"'+n+'" is not in the SourceMap.')},$i.prototype.generatedPositionFor=function(e){var t=Di.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:Di.getArg(e,"line"),originalColumn:Di.getArg(e,"column")},s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",Di.compareByOriginalPositions,Di.getArg(e,"bias",qi.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===r.source)return{line:Di.getArg(n,"generatedLine",null),column:Di.getArg(n,"generatedColumn",null),lastColumn:Di.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Ni.BasicSourceMapConsumer=$i,Vi.prototype=Object.create(qi.prototype),Vi.prototype.constructor=qi,Vi.prototype._version=3,Object.defineProperty(Vi.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var r=0;r<this._sections[t].consumer.sources.length;r++)e.push(this._sections[t].consumer.sources[r]);return e}}),Vi.prototype.originalPositionFor=function(e){var t={generatedLine:Di.getArg(e,"line"),generatedColumn:Di.getArg(e,"column")},r=ji.search(t,this._sections,(function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn})),s=this._sections[r];return s?s.consumer.originalPositionFor({line:t.generatedLine-(s.generatedOffset.generatedLine-1),column:t.generatedColumn-(s.generatedOffset.generatedLine===t.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},Vi.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},Vi.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var s=this._sections[r].consumer.sourceContentFor(e,!0);if(s)return s}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},Vi.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(-1!==r.consumer._findSourceIndex(Di.getArg(e,"source"))){var s=r.consumer.generatedPositionFor(e);if(s)return{line:s.line+(r.generatedOffset.generatedLine-1),column:s.column+(r.generatedOffset.generatedLine===s.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},Vi.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var s=this._sections[r],n=s.consumer._generatedMappings,i=0;i<n.length;i++){var o=n[i],a=s.consumer._sources.at(o.source);a=Di.computeSourceURL(s.consumer.sourceRoot,a,this._sourceMapURL),this._sources.add(a),a=this._sources.indexOf(a);var c=null;o.name&&(c=s.consumer._names.at(o.name),this._names.add(c),c=this._names.indexOf(c));var l={source:a,generatedLine:o.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(s.generatedOffset.generatedLine===o.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:c};this.__generatedMappings.push(l),"number"==typeof l.originalLine&&this.__originalMappings.push(l)}Ui(this.__generatedMappings,Di.compareByGeneratedPositionsDeflated),Ui(this.__originalMappings,Di.compareByOriginalPositions)},Ni.IndexedSourceMapConsumer=Vi;var Wi={},Gi=pi.SourceMapGenerator,zi=yi,Ki=/(\r?\n)/,Yi="$$$isSourceNode$$$";function Ji(e,t,r,s,n){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==r?null:r,this.name=null==n?null:n,this[Yi]=!0,null!=s&&this.add(s)}Ji.fromStringWithSourceMap=function(e,t,r){var s=new Ji,n=e.split(Ki),i=0,o=function(){return e()+(e()||"");function e(){return i<n.length?n[i++]:void 0}},a=1,c=0,l=null;return t.eachMapping((function(e){if(null!==l){if(!(a<e.generatedLine)){var t=(r=n[i]||"").substr(0,e.generatedColumn-c);return n[i]=r.substr(e.generatedColumn-c),c=e.generatedColumn,h(l,t),void(l=e)}h(l,o()),a++,c=0}for(;a<e.generatedLine;)s.add(o()),a++;if(c<e.generatedColumn){var r=n[i]||"";s.add(r.substr(0,e.generatedColumn)),n[i]=r.substr(e.generatedColumn),c=e.generatedColumn}l=e}),this),i<n.length&&(l&&h(l,o()),s.add(n.splice(i).join(""))),t.sources.forEach((function(e){var n=t.sourceContentFor(e);null!=n&&(null!=r&&(e=zi.join(r,e)),s.setSourceContent(e,n))})),s;function h(e,t){if(null===e||void 0===e.source)s.add(t);else{var n=r?zi.join(r,e.source):e.source;s.add(new Ji(e.originalLine,e.originalColumn,n,t,e.name))}}},Ji.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[Yi]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},Ji.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[Yi]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},Ji.prototype.walk=function(e){for(var t,r=0,s=this.children.length;r<s;r++)(t=this.children[r])[Yi]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},Ji.prototype.join=function(e){var t,r,s=this.children.length;if(s>0){for(t=[],r=0;r<s-1;r++)t.push(this.children[r]),t.push(e);t.push(this.children[r]),this.children=t}return this},Ji.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[Yi]?r.replaceRight(e,t):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this},Ji.prototype.setSourceContent=function(e,t){this.sourceContents[zi.toSetString(e)]=t},Ji.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][Yi]&&this.children[t].walkSourceContents(e);var s=Object.keys(this.sourceContents);for(t=0,r=s.length;t<r;t++)e(zi.fromSetString(s[t]),this.sourceContents[s[t]])},Ji.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},Ji.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new Gi(e),s=!1,n=null,i=null,o=null,a=null;return this.walk((function(e,c){t.code+=e,null!==c.source&&null!==c.line&&null!==c.column?(n===c.source&&i===c.line&&o===c.column&&a===c.name||r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name}),n=c.source,i=c.line,o=c.column,a=c.name,s=!0):s&&(r.addMapping({generated:{line:t.line,column:t.column}}),n=null,s=!1);for(var l=0,h=e.length;l<h;l++)10===e.charCodeAt(l)?(t.line++,t.column=0,l+1===h?(n=null,s=!1):s&&r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name})):t.column++})),this.walkSourceContents((function(e,t){r.setSourceContent(e,t)})),{code:t.code,map:r}},Wi.SourceNode=Ji;var Xi=ui.SourceMapGenerator=pi.SourceMapGenerator;ui.SourceMapConsumer=Ni.SourceMapConsumer,ui.SourceNode=Wi.SourceNode;const Qi="/*#__PURE__*/",Zi=e=>`${tt[e]}: _${tt[e]}`;function eo(e,{mode:t="function",prefixIdentifiers:r="module"===t,sourceMap:s=!1,filename:n="template.vue.html",scopeId:i=null,optimizeImports:o=!1,runtimeGlobalName:a="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:l="vue/server-renderer",ssr:h=!1,isTS:u=!1,inSSR:p=!1}){const d={mode:t,prefixIdentifiers:r,sourceMap:s,filename:n,scopeId:i,optimizeImports:o,runtimeGlobalName:a,runtimeModuleName:c,ssrRuntimeModuleName:l,ssr:h,isTS:u,inSSR:p,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${tt[e]}`,push(e,t){if(d.code+=e,d.map){if(t){let e;if(4===t.type&&!t.isStatic){const r=t.content.replace(/^_ctx\./,"");r!==t.content&&zs(r)&&(e=r)}m(t.loc.start,e)}tn(d,e),t&&t.loc!==st&&m(t.loc.end)}},indent(){f(++d.indentLevel)},deindent(e=!1){e?--d.indentLevel:f(--d.indentLevel)},newline(){f(d.indentLevel)}};function f(e){d.push("\n"+" ".repeat(e))}function m(e,t){d.map.addMapping({name:t,source:d.filename,original:{line:e.line,column:e.column-1},generated:{line:d.line,column:d.column-1}})}return s&&(d.map=new Xi,d.map.setSourceContent(n,d.source)),d}function to(e,t={}){const r=eo(e,t);t.onContextCreated&&t.onContextCreated(r);const{mode:s,push:n,prefixIdentifiers:i,indent:o,deindent:a,newline:c,scopeId:l,ssr:h}=r,u=Array.from(e.helpers),p=u.length>0,d=!i&&"module"!==s,f=null!=l&&"module"===s,m=!!t.inline,g=m?eo(e,t):r;"module"===s?function(e,t,r,s){const{push:n,newline:i,optimizeImports:o,runtimeModuleName:a,ssrRuntimeModuleName:c}=t;if(r&&e.hoists.length&&(e.helpers.add(Ke),e.helpers.add(Ye)),e.helpers.size){const t=Array.from(e.helpers);o?(n(`import { ${t.map((e=>tt[e])).join(", ")} } from ${JSON.stringify(a)}\n`),n(`\n// Binding optimization for webpack code-split\nconst ${t.map((e=>`_${tt[e]} = ${tt[e]}`)).join(", ")}\n`)):n(`import { ${t.map((e=>`${tt[e]} as _${tt[e]}`)).join(", ")} } from ${JSON.stringify(a)}\n`)}e.ssrHelpers&&e.ssrHelpers.length&&n(`import { ${e.ssrHelpers.map((e=>`${tt[e]} as _${tt[e]}`)).join(", ")} } from "${c}"\n`),e.imports.length&&(function(e,t){e.length&&e.forEach((e=>{t.push("import "),oo(e.exp,t),t.push(` from '${e.path}'`),t.newline()}))}(e.imports,t),i()),so(e.hoists,t),i(),s||n("export ")}(e,g,f,m):function(e,t){const{ssr:r,prefixIdentifiers:s,push:n,newline:i,runtimeModuleName:o,runtimeGlobalName:a,ssrRuntimeModuleName:c}=t,l=r?`require(${JSON.stringify(o)})`:a,h=Array.from(e.helpers);h.length>0&&(s?n(`const { ${h.map(Zi).join(", ")} } = ${l}\n`):(n(`const _Vue = ${l}\n`),e.hoists.length&&n(`const { ${[_e,Te,Pe,Ae,Ce].filter((e=>h.includes(e))).map(Zi).join(", ")} } = _Vue\n`))),e.ssrHelpers&&e.ssrHelpers.length&&n(`const { ${e.ssrHelpers.map(Zi).join(", ")} } = require("${c}")\n`),so(e.hoists,t),i(),n("return ")}(e,g);const y=h?"ssrRender":"render",b=h?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"];t.bindingMetadata&&!t.inline&&b.push("$props","$setup","$data","$options");const v=t.isTS?b.map((e=>`${e}: any`)).join(","):b.join(", ");if(n(m?`(${v}) => {`:`function ${y}(${v}) {`),o(),d&&(n("with (_ctx) {"),o(),p&&(n(`const { ${u.map(Zi).join(", ")} } = _Vue`),n("\n"),c())),e.components.length&&(ro(e.components,"component",r),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(ro(e.directives,"directive",r),e.temps>0&&c()),e.temps>0){n("let ");for(let t=0;t<e.temps;t++)n(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(n("\n"),c()),h||n("return "),e.codegenNode?oo(e.codegenNode,r):n("null"),d&&(a(),n("}")),a(),n("}"),{ast:e,code:r.code,preamble:m?g.code:"",map:r.map?r.map.toJSON():void 0}}function ro(e,t,{helper:r,push:s,newline:n,isTS:i}){const o=r("component"===t?ke:Ne);for(let r=0;r<e.length;r++){let a=e[r];const c=a.endsWith("__self");c&&(a=a.slice(0,-6)),s(`const ${bn(a,t)} = ${o}(${JSON.stringify(a)}${c?", true":""})${i?"!":""}`),r<e.length-1&&n()}}function so(e,t){if(!e.length)return;t.pure=!0;const{push:r,newline:s,helper:n,scopeId:i,mode:o}=t,a=null!=i&&"function"!==o;s(),a&&(r(`const _withScopeId = n => (${n(Ke)}("${i}"),n=n(),${n(Ye)}(),n)`),s());for(let n=0;n<e.length;n++){const i=e[n];if(i){const e=a&&13===i.type;r(`const _hoisted_${n+1} = ${e?`${Qi} _withScopeId(() => `:""}`),oo(i,t),e&&r(")"),s()}}t.pure=!1}function no(e,t){const r=e.length>3||e.some((e=>W(e)||!function(e){return Y(e)||4===e.type||2===e.type||5===e.type||8===e.type}(e)));t.push("["),r&&t.indent(),io(e,t,r),r&&t.deindent(),t.push("]")}function io(e,t,r=!1,s=!0){const{push:n,newline:i}=t;for(let o=0;o<e.length;o++){const a=e[o];Y(a)?n(a):W(a)?no(a,t):oo(a,t),o<e.length-1&&(r?(s&&n(","),i()):s&&n(", "))}}function oo(e,t){if(Y(e))t.push(e);else if(J(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:rn(null!=e.codegenNode,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),oo(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:ao(e,t);break;case 5:!function(e,t){const{push:r,helper:s,pure:n}=t;n&&r(Qi),r(`${s(je)}(`),oo(e.content,t),r(")")}(e,t);break;case 12:oo(e.codegenNode,t);break;case 8:co(e,t);break;case 3:!function(e,t){const{push:r,helper:s,pure:n}=t;n&&r(Qi),r(`${s(Pe)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:r,helper:s,pure:n}=t,{tag:i,props:o,children:a,patchFlag:c,dynamicProps:l,directives:h,isBlock:u,disableTracking:p,isComponent:d}=e;h&&r(s(Re)+"("),u&&r(`(${s(we)}(${p?"true":""}), `),n&&r(Qi);r(s(u?dn(t.inSSR,d):pn(t.inSSR,d))+"(",e),io(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([i,o,a,c,l]),t),r(")"),u&&r(")"),h&&(r(", "),oo(h,t),r(")"))}(e,t);break;case 14:!function(e,t){const{push:r,helper:s,pure:n}=t,i=Y(e.callee)?e.callee:s(e.callee);n&&r(Qi),r(i+"(",e),io(e.arguments,t),r(")")}(e,t);break;case 15:!function(e,t){const{push:r,indent:s,deindent:n,newline:i}=t,{properties:o}=e;if(!o.length)return void r("{}",e);const a=o.length>1||o.some((e=>4!==e.value.type));r(a?"{":"{ "),a&&s();for(let e=0;e<o.length;e++){const{key:s,value:n}=o[e];lo(s,t),r(": "),oo(n,t),e<o.length-1&&(r(","),i())}a&&n(),r(a?"}":" }")}(e,t);break;case 17:!function(e,t){no(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:r,indent:s,deindent:n}=t,{params:i,returns:o,body:a,newline:c,isSlot:l}=e;l&&r(`_${tt[Je]}(`),r("(",e),W(i)?io(i,t):i&&oo(i,t),r(") => "),(c||a)&&(r("{"),s()),o?(c&&r("return "),W(o)?no(o,t):oo(o,t)):a&&oo(a,t),(c||a)&&(n(),r("}")),l&&r(")")}(e,t);break;case 19:!function(e,t){const{test:r,consequent:s,alternate:n,newline:i}=e,{push:o,indent:a,deindent:c,newline:l}=t;if(4===r.type){const e=!zs(r.content);e&&o("("),ao(r,t),e&&o(")")}else o("("),oo(r,t),o(")");i&&a(),t.indentLevel++,i||o(" "),o("? "),oo(s,t),t.indentLevel--,i&&l(),i||o(" "),o(": ");const h=19===n.type;h||t.indentLevel++,oo(n,t),h||t.indentLevel--,i&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:r,helper:s,indent:n,deindent:i,newline:o}=t;r(`_cache[${e.index}] || (`),e.isVNode&&(n(),r(`${s(ze)}(-1),`),o()),r(`_cache[${e.index}] = `),oo(e.value,t),e.isVNode&&(r(","),o(),r(`${s(ze)}(1),`),o(),r(`_cache[${e.index}]`),i()),r(")")}(e,t);break;case 21:io(e.body,t,!0,!1);break;case 22:!function(e,t){const{push:r,indent:s,deindent:n}=t;r("`");const i=e.elements.length,o=i>3;for(let a=0;a<i;a++){const i=e.elements[a];Y(i)?r(i.replace(/(`|\$|\\)/g,"\\$1")):(r("${"),o&&s(),oo(i,t),o&&n(),r("}"))}r("`")}(e,t);break;case 23:ho(e,t);break;case 24:!function(e,t){oo(e.left,t),t.push(" = "),oo(e.right,t)}(e,t);break;case 25:!function(e,t){t.push("("),io(e.expressions,t),t.push(")")}(e,t);break;case 26:!function({returns:e},t){t.push("return "),W(e)?no(e,t):oo(e,t)}(e,t);break;case 10:break;default:return rn(!1,`unhandled codegen node type: ${e.type}`),e}}function ao(e,t){const{content:r,isStatic:s}=e;t.push(s?JSON.stringify(r):r,e)}function co(e,t){for(let r=0;r<e.children.length;r++){const s=e.children[r];Y(s)?t.push(s):oo(s,t)}}function lo(e,t){const{push:r}=t;8===e.type?(r("["),co(e,t),r("]")):e.isStatic?r(zs(e.content)?e.content:JSON.stringify(e.content),e):r(`[${e.content}]`,e)}function ho(e,t){const{push:r,indent:s,deindent:n}=t,{test:i,consequent:o,alternate:a}=e;r("if ("),oo(i,t),r(") {"),s(),oo(o,t),n(),r("}"),a&&(r(" else "),23===a.type?ho(a,t):(r("{"),s(),oo(a,t),n(),r("}")))}class uo{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e}}replace(e,t,r,s){e&&(null!==r?e[t][r]=s:e[t]=s)}remove(e,t,r){e&&(null!==r?e[t].splice(r,1):delete e[t])}}class po extends uo{constructor(e,t){super(),this.enter=e,this.leave=t}visit(e,t,r,s){if(e){if(this.enter){const n=this.should_skip,i=this.should_remove,o=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,t,r,s),this.replacement&&(e=this.replacement,this.replace(t,r,s,e)),this.should_remove&&this.remove(t,r,s);const a=this.should_skip,c=this.should_remove;if(this.should_skip=n,this.should_remove=i,this.replacement=o,a)return e;if(c)return null}for(const t in e){const r=e[t];if("object"==typeof r)if(Array.isArray(r))for(let s=0;s<r.length;s+=1)null!==r[s]&&"string"==typeof r[s].type&&(this.visit(r[s],e,t,s)||s--);else null!==r&&"string"==typeof r.type&&this.visit(r,e,t,null)}if(this.leave){const n=this.replacement,i=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,t,r,s),this.replacement&&(e=this.replacement,this.replace(t,r,s,e)),this.should_remove&&this.remove(t,r,s);const o=this.should_remove;if(this.replacement=n,this.should_remove=i,o)return null}}return e}}function fo(e,t,r=!1,s=[],n=Object.create(null)){const i="Program"===e.type&&"ExpressionStatement"===e.body[0].type&&e.body[0].expression;!function(e,{enter:t,leave:r}){new po(t,r).visit(e,null)}(e,{enter(e,i){if(i&&s.push(i),i&&i.type.startsWith("TS")&&"TSAsExpression"!==i.type&&"TSNonNullExpression"!==i.type&&"TSTypeAssertion"!==i.type)return this.skip();if("Identifier"===e.type){const o=!!n[e.name],a=mo(e,i,s);(r||a&&!o)&&t(e,i,s,a,o)}else"ObjectProperty"===e.type&&"ObjectPattern"===i.type?e.inPattern=!0:wo(e)?yo(e,(t=>xo(e,t,n))):"BlockStatement"===e.type&&bo(e,(t=>xo(e,t,n)))},leave(e,t){if(t&&s.pop(),e!==i&&e.scopeIds)for(const t of e.scopeIds)n[t]--,0===n[t]&&delete n[t]}})}function mo(e,t,r){if(!t)return!0;if("arguments"===e.name)return!1;if(function(e,t,r){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":case"LabeledStatement":case"CatchClause":case"RestElement":case"BreakStatement":case"ContinueStatement":case"FunctionDeclaration":case"FunctionExpression":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportAttribute":case"JSXAttribute":case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===e&&!!t.computed;case"ObjectProperty":case"ClassProperty":case"TSPropertySignature":return t.key!==e||!!t.computed;case"ClassPrivateProperty":case"ObjectTypeProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return t.right===e;case"ExportSpecifier":return t.local===e;case"TSEnumMember":return t.id!==e}return!0}(e,t))return!0;switch(t.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectPattern":case"ArrayPattern":return go(t,r)}return!1}function go(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const r=t[e];if("AssignmentExpression"===r.type)return!0;if("ObjectProperty"!==r.type&&!r.type.endsWith("Pattern"))break}}return!1}function yo(e,t){for(const r of e.params)for(const e of vo(r))t(e)}function bo(e,t){for(const r of e.body)if("VariableDeclaration"===r.type){if(r.declare)continue;for(const e of r.declarations)for(const r of vo(e.id))t(r)}else if("FunctionDeclaration"===r.type||"ClassDeclaration"===r.type){if(r.declare||!r.id)continue;t(r.id)}}function vo(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let r=e;for(;"MemberExpression"===r.type;)r=r.object;t.push(r);break;case"ObjectPattern":for(const r of e.properties)"RestElement"===r.type?vo(r.argument,t):vo(r.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&vo(e,t)}));break;case"RestElement":vo(e.argument,t);break;case"AssignmentPattern":vo(e.left,t)}return t}function xo(e,t,r){const{name:s}=t;e.scopeIds&&e.scopeIds.has(s)||(s in r?r[s]++:r[s]=1,(e.scopeIds||(e.scopeIds=new Set)).add(s))}const wo=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Eo=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,So=(e,t)=>Eo(t)&&t.key===e,_o=y("true,false,null,this"),To=(e,t)=>{if(5===e.type)e.content=Po(e.content,t);else if(1===e.type)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"for"!==s.name){const e=s.exp,r=s.arg;!e||4!==e.type||"on"===s.name&&r||(s.exp=Po(e,t,"slot"===s.name)),r&&4===r.type&&!r.isStatic&&(s.arg=Po(r,t))}}};function Po(e,t,r=!1,s=!1,n=Object.create(t.identifiers)){if(!t.prefixIdentifiers||!e.content.trim())return e;const{inline:i,bindingMetadata:o}=t,a=(e,r,s)=>{const a=(l=o,h=e,V.call(l,h)&&o[e]);var l,h;if(i){const i=r&&"AssignmentExpression"===r.type&&r.left===s,l=r&&"UpdateExpression"===r.type&&r.argument===s,h=r&&go(r,d);if("setup-const"===a||"setup-reactive-const"===a||n[e])return e;if("setup-ref"===a)return`${e}.value`;if("setup-maybe-ref"===a)return i||l||h?`${e}.value`:`${t.helperString(Xe)}(${e})`;if("setup-let"===a){if(i){const{right:s,operator:n}=r,i=Ao(Po(lt(c.slice(s.start-1,s.end-1),!1),t,!1,!1,f));return`${t.helperString(Qe)}(${e})${t.isTS?" //@ts-ignore\n":""} ? ${e}.value ${n} ${i} : ${e}`}if(l){s.start=r.start,s.end=r.end;const{prefix:n,operator:i}=r,o=n?i:"",a=n?"":i;return`${t.helperString(Qe)}(${e})${t.isTS?" //@ts-ignore\n":""} ? ${o}${e}.value${a} : ${o}${e}${a}`}return h?e:`${t.helperString(Xe)}(${e})`}if("props"===a)return ue(e);if("props-aliased"===a)return ue(o.__propsAliases[e])}else{if(a&&a.startsWith("setup"))return`$setup.${e}`;if("props-aliased"===a)return`$props['${o.__propsAliases[e]}']`;if(a)return`$${a}.${e}`}return`_ctx.${e}`},c=e.content,l=c.indexOf("(")>-1||c.indexOf(".")>0;if(zs(c)){const s=t.identifiers[c],n=x(c),i=_o(c);return r||s||n||i?s||(e.constType=i?3:2):("setup-const"===o[e.content]&&(e.constType=1),e.content=a(c)),e}let h;const u=s?` ${c} `:`(${c})${r?"=>{}":""}`;try{h=qs(u,{plugins:t.expressionPlugins}).program}catch(r){return t.onError(fe(45,e.loc,void 0,r.message)),e}const p=[],d=[],f=Object.create(t.identifiers);fo(h,((e,t,r,s,n)=>{if(So(e,t))return;const i=s&&(!x((o=e).name)&&"require"!==o.name);var o;i&&!n?(Eo(t)&&t.shorthand&&(e.prefix=`${e.name}: `),e.name=a(e.name,t,e),p.push(e)):(i&&n||l||(e.isConstant=!0),p.push(e))}),!0,d,f);const m=[];let g;return p.sort(((e,t)=>e.start-t.start)),p.forEach(((t,r)=>{const s=t.start-1,n=t.end-1,i=p[r-1],o=c.slice(i?i.end-1:0,s);(o.length||t.prefix)&&m.push(o+(t.prefix||""));const a=c.slice(s,n);m.push(lt(t.name,!1,{source:a,start:en(e.loc.start,a,s),end:en(e.loc.start,a,n)},t.isConstant?3:0)),r===p.length-1&&n<c.length&&m.push(c.slice(n))})),m.length?g=ht(m,e.loc):(g=e,g.constType=l?0:3),g.identifiers=Object.keys(f),g}function Ao(e){return Y(e)?e:4===e.type?e.content:e.children.map(Ao).join("")}const Co=hi(/^(if|else|else-if)$/,((e,t,r)=>ko(e,t,r,((e,t,s)=>{const n=r.parent.children;let i=n.indexOf(e),o=0;for(;i-- >=0;){const e=n[i];e&&9===e.type&&(o+=e.branches.length)}return()=>{if(s)e.codegenNode=No(t,o,r);else{const s=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);s.alternate=No(t,o+e.branches.length-1,r)}}}))));function ko(e,t,r,s){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const s=t.exp?t.exp.loc:e.loc;r.onError(fe(28,t.loc)),t.exp=lt("true",!1,s)}if(r.prefixIdentifiers&&t.exp&&(t.exp=Po(t.exp,r)),"if"===t.name){const n=Oo(e,t),i={type:9,loc:e.loc,branches:[n]};if(r.replaceNode(i),s)return s(i,n,!0)}else{const n=r.parent.children,i=[];let o=n.indexOf(e);for(;o-- >=-1;){const a=n[o];if(a&&3===a.type)r.removeNode(a),i.unshift(a);else{if(!a||2!==a.type||a.content.trim().length){if(a&&9===a.type){"else-if"===t.name&&void 0===a.branches[a.branches.length-1].condition&&r.onError(fe(30,e.loc)),r.removeNode();const n=Oo(e,t);!i.length||r.parent&&1===r.parent.type&&Vs(r.parent.tag,"transition")||(n.children=[...i,...n.children]);{const e=n.userKey;e&&a.branches.forEach((({userKey:t})=>{Ro(t,e)&&r.onError(fe(29,n.userKey.loc))}))}a.branches.push(n);const o=s&&s(a,n,!1);li(n,r),o&&o(),r.currentNode=null}else r.onError(fe(30,e.loc));break}r.removeNode(a)}}}}function Oo(e,t){const r=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:r&&!sn(e,"for")?e.children:[e],userKey:nn(e,"key"),isTemplateIf:r}}function No(e,t,r){return e.condition?dt(e.condition,Io(e,t,r),ut(r.helper(Pe),['"v-if"',"true"])):Io(e,t,r)}function Io(e,t,r){const{helper:s}=r,n=ct("key",lt(`${t}`,!1,st,2)),{children:i}=e,o=i[0];if(1!==i.length||1!==o.type){if(1===i.length&&11===o.type){const e=o.codegenNode;return gn(e,n,r),e}{let t=64,o=b[64];return e.isTemplateIf||1!==i.filter((e=>3!==e.type)).length||(t|=2048,o+=`, ${b[2048]}`),it(r,s(ge),at([n]),i,t+` /* ${o} */`,void 0,void 0,!0,!1,!1,e.loc)}}{const e=o.codegenNode,t=xn(e);return 13===t.type&&wn(t,r),gn(t,n,r),e}}function Ro(e,t){if(!e||e.type!==t.type)return!1;if(6===e.type){if(e.value.content!==t.value.content)return!1}else{const r=e.exp,s=t.exp;if(r.type!==s.type)return!1;if(4!==r.type||r.isStatic!==s.isStatic||r.content!==s.content)return!1}return!0}const Lo=hi("for",((e,t,r)=>{const{helper:s,removeHelper:n}=r;return Mo(e,t,r,(t=>{const i=ut(s(Le),[t.source]),o=hn(e),a=sn(e,"memo"),c=nn(e,"key"),l=c&&(6===c.type?lt(c.value.content,!0):c.exp),h=c?ct("key",l):null;o&&(a&&(a.exp=Po(a.exp,r)),h&&6!==c.type&&(h.value=Po(h.value,r)));const u=4===t.source.type&&t.source.constType>0,p=u?64:c?128:256;return t.codegenNode=it(r,s(ge),void 0,i,p+` /* ${b[p]} */`,void 0,void 0,!0,!u,!1,e.loc),()=>{let c;const{children:p}=t;o&&e.children.some((e=>{if(1===e.type){const t=nn(e,"key");if(t)return r.onError(fe(33,t.loc)),!0}}));const d=1!==p.length||1!==p[0].type,f=un(e)?e:o&&1===e.children.length&&un(e.children[0])?e.children[0]:null;if(f?(c=f.codegenNode,o&&h&&gn(c,h,r)):d?c=it(r,s(ge),h?at([h]):void 0,e.children,`64 /* ${b[64]} */`,void 0,void 0,!0,void 0,!1):(c=p[0].codegenNode,o&&h&&gn(c,h,r),c.isBlock!==!u&&(c.isBlock?(n(we),n(dn(r.inSSR,c.isComponent))):n(pn(r.inSSR,c.isComponent))),c.isBlock=!u,c.isBlock?(s(we),s(dn(r.inSSR,c.isComponent))):s(pn(r.inSSR,c.isComponent))),a){const e=pt(qo(t.parseResult,[lt("_cached")]));e.body=mt([ht(["const _memo = (",a.exp,")"]),ht(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${r.helperString(et)}(_cached, _memo)) return _cached`]),ht(["const _item = ",c]),lt("_item.memo = _memo"),lt("return _item")]),i.arguments.push(e,lt("_cache"),lt(String(r.cached++)))}else i.arguments.push(pt(qo(t.parseResult),c,!0))}}))}));function Mo(e,t,r,s){if(!t.exp)return void r.onError(fe(31,t.loc));const n=Bo(t.exp,r);if(!n)return void r.onError(fe(32,t.loc));const{addIdentifiers:i,removeIdentifiers:o,scopes:a}=r,{source:c,value:l,key:h,index:u}=n,p={type:11,loc:t.loc,source:c,valueAlias:l,keyAlias:h,objectIndexAlias:u,parseResult:n,children:hn(e)?e.children:[e]};r.replaceNode(p),a.vFor++,r.prefixIdentifiers&&(l&&i(l),h&&i(h),u&&i(u));const d=s&&s(p);return()=>{a.vFor--,r.prefixIdentifiers&&(l&&o(l),h&&o(h),u&&o(u)),d&&d()}}const Do=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,jo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Fo=/^\(|\)$/g;function Bo(e,t){const r=e.loc,s=e.content,n=s.match(Do);if(!n)return;const[,i,o]=n,a={source:Uo(r,o.trim(),s.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0};t.prefixIdentifiers&&(a.source=Po(a.source,t));let c=i.trim().replace(Fo,"").trim();const l=i.indexOf(c),h=c.match(jo);if(h){c=c.replace(jo,"").trim();const e=h[1].trim();let n;if(e&&(n=s.indexOf(e,l+c.length),a.key=Uo(r,e,n),t.prefixIdentifiers&&(a.key=Po(a.key,t,!0))),h[2]){const i=h[2].trim();i&&(a.index=Uo(r,i,s.indexOf(i,a.key?n+e.length:l+c.length)),t.prefixIdentifiers&&(a.index=Po(a.index,t,!0)))}}return c&&(a.value=Uo(r,c,l),t.prefixIdentifiers&&(a.value=Po(a.value,t,!0))),a}function Uo(e,t,r){return lt(t,!1,Zs(e,r,t.length))}function qo({value:e,key:t,index:r},s=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||lt("_".repeat(t+1),!1)))}([e,t,r,...s])}const $o=lt("undefined",!1),Ho=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const r=sn(e,"slot");if(r){const e=r.exp;return t.prefixIdentifiers&&e&&t.addIdentifiers(e),t.scopes.vSlot++,()=>{t.prefixIdentifiers&&e&&t.removeIdentifiers(e),t.scopes.vSlot--}}}},Vo=(e,t)=>{let r;if(hn(e)&&e.props.some(ln)&&(r=sn(e,"for"))){const e=r.parseResult=Bo(r.exp,t);if(e){const{value:r,key:s,index:n}=e,{addIdentifiers:i,removeIdentifiers:o}=t;return r&&i(r),s&&i(s),n&&i(n),()=>{r&&o(r),s&&o(s),n&&o(n)}}}},Wo=(e,t,r)=>pt(e,t,!1,!0,t.length?t[0].loc:r);function Go(e,t,r=Wo){t.helper(Je);const{children:s,loc:n}=e,i=[],o=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;!t.ssr&&t.prefixIdentifiers&&(a=vn(e,t.identifiers));const c=sn(e,"slot",!0);if(c){const{arg:e,exp:t}=c;e&&!Hs(e)&&(a=!0),i.push(ct(e||lt("default",!0),r(t,s,n)))}let l=!1,h=!1;const u=[],p=new Set;let d=0;for(let e=0;e<s.length;e++){const n=s[e];let f;if(!hn(n)||!(f=sn(n,"slot",!0))){3!==n.type&&u.push(n);continue}if(c){t.onError(fe(37,f.loc));break}l=!0;const{children:m,loc:g}=n,{arg:y=lt("default",!0),exp:b,loc:v}=f;let x;Hs(y)?x=y?y.content:"default":a=!0;const w=r(b,m,g);let E,S,_;if(E=sn(n,"if"))a=!0,o.push(dt(E.exp,zo(y,w,d++),$o));else if(S=sn(n,/^else(-if)?$/,!0)){let r,n=e;for(;n--&&(r=s[n],3===r.type););if(r&&hn(r)&&sn(r,"if")){s.splice(e,1),e--;let t=o[o.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=S.exp?dt(S.exp,zo(y,w,d++),$o):zo(y,w,d++)}else t.onError(fe(30,S.loc))}else if(_=sn(n,"for")){a=!0;const e=_.parseResult||Bo(_.exp,t);e?o.push(ut(t.helper(Le),[e.source,pt(qo(e),zo(y,w),!0)])):t.onError(fe(32,_.loc))}else{if(x){if(p.has(x)){t.onError(fe(38,v));continue}p.add(x),"default"===x&&(h=!0)}i.push(ct(y,w))}}if(!c){const e=(e,t)=>ct("default",r(e,t,n));l?u.length&&u.some((e=>Yo(e)))&&(h?t.onError(fe(39,u[0].loc)):i.push(e(void 0,u))):i.push(e(void 0,s))}const f=a?2:Ko(e.children)?3:1;let m=at(i.concat(ct("_",lt(f+` /* ${v[f]} */`,!1))),n);return o.length&&(m=ut(t.helper(De),[m,ot(o)])),{slots:m,hasDynamicSlots:a}}function zo(e,t,r){const s=[ct("name",e),ct("fn",t)];return null!=r&&s.push(ct("key",lt(String(r),!0))),at(s)}function Ko(e){for(let t=0;t<e.length;t++){const r=e[t];switch(r.type){case 1:if(2===r.tagType||Ko(r.children))return!0;break;case 9:if(Ko(r.branches))return!0;break;case 10:case 11:if(Ko(r.children))return!0}}return!1}function Yo(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Yo(e.content))}const Jo=new WeakMap,Xo=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:r,props:s}=e,n=1===e.tagType;let i=n?Qo(e,t):`"${r}"`;const o=X(i)&&i.callee===Oe;let a,c,l,h,u,p,d=0,f=o||i===ye||i===be||!n&&("svg"===r||"foreignObject"===r);if(s.length>0){const r=ea(e,t,void 0,n,o);a=r.props,d=r.patchFlag,u=r.dynamicPropNames;const s=r.directives;p=s&&s.length?ot(s.map((e=>sa(e,t)))):void 0,r.shouldUseBlock&&(f=!0)}if(e.children.length>0)if(i===ve&&(f=!0,d|=1024,e.children.length>1&&t.onError(fe(46,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}))),n&&i!==ye&&i!==ve){const{slots:r,hasDynamicSlots:s}=Go(e,t);c=r,s&&(d|=1024)}else if(1===e.children.length&&i!==ye){const r=e.children[0],s=r.type,n=5===s||8===s;n&&0===ti(r,t)&&(d|=1),c=n||2===s?r:e.children}else c=e.children;if(0!==d){if(d<0)l=d+` /* ${b[d]} */`;else{const e=Object.keys(b).map(Number).filter((e=>e>0&&d&e)).map((e=>b[e])).join(", ");l=d+` /* ${e} */`}u&&u.length&&(h=function(e){let t="[";for(let r=0,s=e.length;r<s;r++)t+=JSON.stringify(e[r]),r<s-1&&(t+=", ");return t+"]"}(u))}e.codegenNode=it(t,i,a,c,l,h,p,!!f,!1,n,e.loc)};function Qo(e,t,r=!1){let{tag:s}=e;const n=na(s),i=nn(e,"is");if(i)if(n){const e=6===i.type?i.value&<(i.value.content,!0):i.exp;if(e)return ut(t.helper(Oe),[e])}else 6===i.type&&i.value.content.startsWith("vue:")&&(s=i.value.content.slice(4));const o=!n&&sn(e,"is");if(o&&o.exp)return ut(t.helper(Oe),[o.exp]);const a=Ws(s)||t.isBuiltInComponent(s);if(a)return r||t.helper(a),a;{const e=Zo(s,t);if(e)return e;const r=s.indexOf(".");if(r>0){const e=Zo(s.slice(0,r),t);if(e)return e+s.slice(r)}}return t.selfName&&ce(ie(s))===t.selfName?(t.helper(ke),t.components.add(s+"__self"),bn(s,"component")):(t.helper(ke),t.components.add(s),bn(s,"component"))}function Zo(e,t){const r=t.bindingMetadata;if(!r||!1===r.__isScriptSetup)return;const s=ie(e),n=ce(s),i=t=>r[e]===t?e:r[s]===t?s:r[n]===t?n:void 0,o=i("setup-const")||i("setup-reactive-const");if(o)return t.inline?o:`$setup[${JSON.stringify(o)}]`;const a=i("setup-let")||i("setup-ref")||i("setup-maybe-ref");return a?t.inline?`${t.helperString(Xe)}(${a})`:`$setup[${JSON.stringify(a)}]`:void 0}function ea(e,t,r=e.props,s,n,i=!1){const{tag:o,loc:a,children:c}=e;let l=[];const h=[],u=[],p=c.length>0;let d=!1,f=0,m=!1,g=!1,y=!1,b=!1,v=!1,x=!1;const w=[],E=e=>{l.length&&(h.push(at(ta(l),a)),l=[]),e&&h.push(e)},S=({key:e,value:r})=>{if(Hs(e)){const i=e.content,o=$(i);if(!o||s&&!n||"onclick"===i.toLowerCase()||"onUpdate:modelValue"===i||te(i)||(b=!0),o&&te(i)&&(x=!0),20===r.type||(4===r.type||8===r.type)&&ti(r,t)>0)return;"ref"===i?m=!0:"class"===i?g=!0:"style"===i?y=!0:"key"===i||w.includes(i)||w.push(i),!s||"class"!==i&&"style"!==i||w.includes(i)||w.push(i)}else v=!0};for(let n=0;n<r.length;n++){const c=r[n];if(6===c.type){const{loc:e,name:r,value:s}=c;let n=!0;if("ref"===r&&(m=!0,t.scopes.vFor>0&&l.push(ct(lt("ref_for",!0),lt("true"))),s&&t.inline)){const e=t.bindingMetadata[s.content];"setup-let"!==e&&"setup-ref"!==e&&"setup-maybe-ref"!==e||(n=!1,l.push(ct(lt("ref_key",!0),lt(s.content,!0,s.loc))))}if("is"===r&&(na(o)||s&&s.content.startsWith("vue:")))continue;l.push(ct(lt(r,!0,Zs(e,0,r.length)),lt(s?s.content:"",n,s?s.loc:e)))}else{const{name:r,arg:n,exp:f,loc:m}=c,g="bind"===r,y="on"===r;if("slot"===r){s||t.onError(fe(40,m));continue}if("once"===r||"memo"===r)continue;if("is"===r||g&&on(n,"is")&&na(o))continue;if(y&&i)continue;if((g&&on(n,"key")||y&&p&&on(n,"vue:before-update"))&&(d=!0),g&&on(n,"ref")&&t.scopes.vFor>0&&l.push(ct(lt("ref_for",!0),lt("true"))),!n&&(g||y)){v=!0,f?g?(E(),h.push(f)):E({type:14,loc:m,callee:t.helper(He),arguments:s?[f]:[f,"true"]}):t.onError(fe(g?34:35,m));continue}const b=t.directiveTransforms[r];if(b){const{props:r,needRuntime:s}=b(c,e,t);!i&&r.forEach(S),y&&n&&!Hs(n)?E(at(r,a)):l.push(...r),s&&(u.push(c),J(s)&&Jo.set(c,s))}else re(r)||(u.push(c),p&&(d=!0))}}let _;if(h.length?(E(),_=h.length>1?ut(t.helper(Fe),h,a):h[0]):l.length&&(_=at(ta(l),a)),v?f|=16:(g&&!s&&(f|=2),y&&!s&&(f|=4),w.length&&(f|=8),b&&(f|=32)),d||0!==f&&32!==f||!(m||x||u.length>0)||(f|=512),!t.inSSR&&_)switch(_.type){case 15:let e=-1,r=-1,s=!1;for(let t=0;t<_.properties.length;t++){const n=_.properties[t].key;Hs(n)?"class"===n.content?e=t:"style"===n.content&&(r=t):n.isHandlerKey||(s=!0)}const n=_.properties[e],i=_.properties[r];s?_=ut(t.helper(qe),[_]):(n&&!Hs(n.value)&&(n.value=ut(t.helper(Be),[n.value])),i&&(y||4===i.value.type&&"["===i.value.content.trim()[0]||17===i.value.type)&&(i.value=ut(t.helper(Ue),[i.value])));break;case 14:break;default:_=ut(t.helper(qe),[ut(t.helper($e),[_])])}return{props:_,directives:u,patchFlag:f,dynamicPropNames:w,shouldUseBlock:d}}function ta(e){const t=new Map,r=[];for(let s=0;s<e.length;s++){const n=e[s];if(8===n.key.type||!n.key.isStatic){r.push(n);continue}const i=n.key.content,o=t.get(i);o?("style"===i||"class"===i||$(i))&&ra(o,n):(t.set(i,n),r.push(n))}return r}function ra(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=ot([e.value,t.value],e.loc)}function sa(e,t){const r=[],s=Jo.get(e);if(s)r.push(t.helperString(s));else{const s=Zo("v-"+e.name,t);s?r.push(s):(t.helper(Ne),t.directives.add(e.name),r.push(bn(e.name,"directive")))}const{loc:n}=e;if(e.exp&&r.push(e.exp),e.arg&&(e.exp||r.push("void 0"),r.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||r.push("void 0"),r.push("void 0"));const t=lt("true",!1,n);r.push(at(e.modifiers.map((e=>ct(e,t))),n))}return ot(r,e.loc)}function na(e){return"component"===e||"Component"===e}const ia=(e,t)=>{if(un(e)){const{children:r,loc:s}=e,{slotName:n,slotProps:i}=oa(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",n,"{}","undefined","true"];let a=2;i&&(o[2]=i,a=3),r.length&&(o[3]=pt([],r,!1,!1,s),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=ut(t.helper(Me),o,s)}};function oa(e,t){let r,s='"default"';const n=[];for(let t=0;t<e.props.length;t++){const r=e.props[t];6===r.type?r.value&&("name"===r.name?s=JSON.stringify(r.value.content):(r.name=ie(r.name),n.push(r))):"bind"===r.name&&on(r.arg,"name")?r.exp&&(s=r.exp):("bind"===r.name&&r.arg&&Hs(r.arg)&&(r.arg.content=ie(r.arg.content)),n.push(r))}if(n.length>0){const{props:s,directives:i}=ea(e,t,n,!1,!1);r=s,i.length&&t.onError(fe(36,i[0].loc))}return{slotName:s,slotProps:r}}const aa=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,ca=(e,t,r,s)=>{const{loc:n,modifiers:i,arg:o}=e;let a;if(e.exp||i.length||r.onError(fe(35,n)),4===o.type)if(o.isStatic){let e=o.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),a=lt(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?le(ie(e)):`on:${e}`,!0,o.loc)}else a=ht([`${r.helperString(Ge)}(`,o,")"]);else a=o,a.children.unshift(`${r.helperString(Ge)}(`),a.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let l=r.cacheHandlers&&!c&&!r.inVOnce;if(c){const s=Qs(c.content,r),n=!(s||aa.test(c.content)),i=c.content.includes(";");r.prefixIdentifiers&&(n&&r.addIdentifiers("$event"),c=e.exp=Po(c,r,!1,i),n&&r.removeIdentifiers("$event"),l=r.cacheHandlers&&!r.inVOnce&&!(4===c.type&&c.constType>0)&&!(s&&1===t.tagType)&&!vn(c,r.identifiers),l&&s&&(4===c.type?c.content=`${c.content} && ${c.content}(...args)`:c.children=[...c.children," && ",...c.children,"(...args)"])),(n||l&&s)&&(c=ht([`${n?r.isTS?"($event: any)":"$event":(r.isTS?"\n//@ts-ignore\n":"")+"(...args)"} => ${i?"{":"("}`,c,i?"}":")"]))}let h={props:[ct(a,c||lt("() => {}",!1,n))]};return s&&(h=s(h)),l&&(h.props[0].value=r.cache(h.props[0].value)),h.props.forEach((e=>e.key.isHandlerKey=!0)),h},la=(e,t,r)=>{const{exp:s,modifiers:n,loc:i}=e,o=e.arg;return 4!==o.type?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),n.includes("camel")&&(4===o.type?o.isStatic?o.content=ie(o.content):o.content=`${r.helperString(Ve)}(${o.content})`:(o.children.unshift(`${r.helperString(Ve)}(`),o.children.push(")"))),r.inSSR||(n.includes("prop")&&ha(o,"."),n.includes("attr")&&ha(o,"^")),!s||4===s.type&&!s.content.trim()?(r.onError(fe(34,i)),{props:[ct(o,lt("",!0,i))]}):{props:[ct(o,s)]}},ha=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},ua=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const r=e.children;let s,n=!1;for(let e=0;e<r.length;e++){const t=r[e];if(cn(t)){n=!0;for(let n=e+1;n<r.length;n++){const i=r[n];if(!cn(i)){s=void 0;break}s||(s=r[e]=ht([t],t.loc)),s.children.push(" + ",i),r.splice(n,1),n--}}}if(n&&(1!==r.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name])))))for(let e=0;e<r.length;e++){const s=r[e];if(cn(s)||8===s.type){const n=[];2===s.type&&" "===s.content||n.push(s),t.ssr||0!==ti(s,t)||n.push(`1 /* ${b[1]} */`),r[e]={type:12,content:s,loc:s.loc,codegenNode:ut(t.helper(Ae),n)}}}}},pa=new WeakSet,da=(e,t)=>{if(1===e.type&&sn(e,"once",!0)){if(pa.has(e)||t.inVOnce)return;return pa.add(e),t.inVOnce=!0,t.helper(ze),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},fa=(e,t,r)=>{const{exp:s,arg:n}=e;if(!s)return r.onError(fe(41,e.loc)),ma();const i=s.loc.source,o=4===s.type?s.content:i,a=r.bindingMetadata[i];if("props"===a||"props-aliased"===a)return r.onError(fe(44,s.loc)),ma();const c=r.inline&&("setup-let"===a||"setup-ref"===a||"setup-maybe-ref"===a);if(!o.trim()||!Qs(o,r)&&!c)return r.onError(fe(42,s.loc)),ma();if(r.prefixIdentifiers&&zs(o)&&r.identifiers[o])return r.onError(fe(43,s.loc)),ma();const l=n||lt("modelValue",!0),h=n?Hs(n)?`onUpdate:${ie(n.content)}`:ht(['"onUpdate:" + ',n]):"onUpdate:modelValue";let u;const p=r.isTS?"($event: any)":"$event";if(c)if("setup-ref"===a)u=ht([`${p} => ((`,lt(i,!1,s.loc),").value = $event)"]);else{const e="setup-let"===a?`${i} = $event`:"null";u=ht([`${p} => (${r.helperString(Qe)}(${i}) ? (`,lt(i,!1,s.loc),`).value = $event : ${e})`])}else u=ht([`${p} => ((`,s,") = $event)"]);const d=[ct(l,e.exp),ct(h,u)];if(r.prefixIdentifiers&&!r.inVOnce&&r.cacheHandlers&&!vn(s,r.identifiers)&&(d[1].value=r.cache(d[1].value)),e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(zs(e)?e:JSON.stringify(e))+": true")).join(", "),r=n?Hs(n)?`${n.content}Modifiers`:ht([n,' + "Modifiers"']):"modelModifiers";d.push(ct(r,lt(`{ ${t} }`,!1,e.loc,2)))}return ma(d)};function ma(e=[]){return{props:e}}const ga=new WeakSet,ya=(e,t)=>{if(1===e.type){const r=sn(e,"memo");if(!r||ga.has(e))return;return ga.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&13===s.type&&(1!==e.tagType&&wn(s,t),e.codegenNode=ut(t.helper(Ze),[r.exp,pt(void 0,s),"_cache",String(t.cached++)]))}}};function ba(e){return[[da,Co,ya,Lo,...e?[Vo,To]:[],ia,Xo,Ho,ua],{on:ca,bind:la,model:fa}]}function va(e,t={}){const r=t.onError||pe,s="module"===t.mode,n=!0===t.prefixIdentifiers||s;!n&&t.cacheHandlers&&r(fe(49)),t.scopeId&&!s&&r(fe(50));const i=Y(e)?Cn(e,t):e,[o,a]=ba(n);if(t.isTS){const{expressionPlugins:e}=t;e&&e.includes("typescript")||(t.expressionPlugins=[...e||[],"typescript"])}return ci(i,H({},t,{prefixIdentifiers:n,nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:H({},a,t.directiveTransforms||{})})),to(i,H({},t,{prefixIdentifiers:n}))}const xa=()=>({props:[]}),wa=Symbol("vModelRadio"),Ea=Symbol("vModelCheckbox"),Sa=Symbol("vModelText"),_a=Symbol("vModelSelect"),Ta=Symbol("vModelDynamic"),Pa=Symbol("vOnModifiersGuard"),Aa=Symbol("vOnKeysGuard"),Ca=Symbol("vShow"),ka=Symbol("Transition"),Oa=Symbol("TransitionGroup");rt({[wa]:"vModelRadio",[Ea]:"vModelCheckbox",[Sa]:"vModelText",[_a]:"vModelSelect",[Ta]:"vModelDynamic",[Pa]:"withModifiers",[Aa]:"withKeys",[Ca]:"vShow",[ka]:"Transition",[Oa]:"TransitionGroup"});var Na={GT:">",gt:">",LT:"<",lt:"<","ac;":"∾","af;":"",AMP:"&",amp:"&","ap;":"≈","DD;":"ⅅ","dd;":"ⅆ",deg:"°","ee;":"ⅇ","eg;":"⪚","el;":"⪙",ETH:"Ð",eth:"ð","gE;":"≧","ge;":"≥","Gg;":"⋙","gg;":"≫","gl;":"≷","GT;":">","Gt;":"≫","gt;":">","ic;":"","ii;":"ⅈ","Im;":"ℑ","in;":"∈","it;":"","lE;":"≦","le;":"≤","lg;":"≶","Ll;":"⋘","ll;":"≪","LT;":"<","Lt;":"≪","lt;":"<","mp;":"∓","Mu;":"Μ","mu;":"μ","ne;":"≠","ni;":"∋",not:"¬","Nu;":"Ν","nu;":"ν","Or;":"⩔","or;":"∨","oS;":"Ⓢ","Pi;":"Π","pi;":"π","pm;":"±","Pr;":"⪻","pr;":"≺","Re;":"ℜ",REG:"®",reg:"®","rx;":"℞","Sc;":"⪼","sc;":"≻",shy:"",uml:"¨","wp;":"℘","wr;":"≀","Xi;":"Ξ","xi;":"ξ",yen:"¥","acd;":"∿","acE;":"∾̳","Acy;":"А","acy;":"а","Afr;":"𝔄","afr;":"𝔞","AMP;":"&","amp;":"&","And;":"⩓","and;":"∧","ang;":"∠","apE;":"⩰","ape;":"≊","ast;":"*",Auml:"Ä",auml:"ä","Bcy;":"Б","bcy;":"б","Bfr;":"𝔅","bfr;":"𝔟","bne;":"=⃥","bot;":"⊥","Cap;":"⋒","cap;":"∩",cent:"¢","Cfr;":"ℭ","cfr;":"𝔠","Chi;":"Χ","chi;":"χ","cir;":"○",COPY:"©",copy:"©","Cup;":"⋓","cup;":"∪","Dcy;":"Д","dcy;":"д","deg;":"°","Del;":"∇","Dfr;":"𝔇","dfr;":"𝔡","die;":"¨","div;":"÷","Dot;":"¨","dot;":"˙","Ecy;":"Э","ecy;":"э","Efr;":"𝔈","efr;":"𝔢","egs;":"⪖","ell;":"ℓ","els;":"⪕","ENG;":"Ŋ","eng;":"ŋ","Eta;":"Η","eta;":"η","ETH;":"Ð","eth;":"ð",Euml:"Ë",euml:"ë","Fcy;":"Ф","fcy;":"ф","Ffr;":"𝔉","ffr;":"𝔣","gap;":"⪆","Gcy;":"Г","gcy;":"г","gEl;":"⪌","gel;":"⋛","geq;":"≥","ges;":"⩾","Gfr;":"𝔊","gfr;":"𝔤","ggg;":"⋙","gla;":"⪥","glE;":"⪒","glj;":"⪤","gnE;":"≩","gne;":"⪈","Hat;":"^","Hfr;":"ℌ","hfr;":"𝔥","Icy;":"И","icy;":"и","iff;":"⇔","Ifr;":"ℑ","ifr;":"𝔦","Int;":"∬","int;":"∫",Iuml:"Ï",iuml:"ï","Jcy;":"Й","jcy;":"й","Jfr;":"𝔍","jfr;":"𝔧","Kcy;":"К","kcy;":"к","Kfr;":"𝔎","kfr;":"𝔨","lap;":"⪅","lat;":"⪫","Lcy;":"Л","lcy;":"л","lEg;":"⪋","leg;":"⋚","leq;":"≤","les;":"⩽","Lfr;":"𝔏","lfr;":"𝔩","lgE;":"⪑","lnE;":"≨","lne;":"⪇","loz;":"◊","lrm;":"","Lsh;":"↰","lsh;":"↰",macr:"¯","Map;":"⤅","map;":"↦","Mcy;":"М","mcy;":"м","Mfr;":"𝔐","mfr;":"𝔪","mho;":"℧","mid;":"∣","nap;":"≉",nbsp:" ","Ncy;":"Н","ncy;":"н","Nfr;":"𝔑","nfr;":"𝔫","ngE;":"≧̸","nge;":"≱","nGg;":"⋙̸","nGt;":"≫⃒","ngt;":"≯","nis;":"⋼","niv;":"∋","nlE;":"≦̸","nle;":"≰","nLl;":"⋘̸","nLt;":"≪⃒","nlt;":"≮","Not;":"⫬","not;":"¬","npr;":"⊀","nsc;":"⊁","num;":"#","Ocy;":"О","ocy;":"о","Ofr;":"𝔒","ofr;":"𝔬","ogt;":"⧁","ohm;":"Ω","olt;":"⧀","ord;":"⩝",ordf:"ª",ordm:"º","orv;":"⩛",Ouml:"Ö",ouml:"ö","par;":"∥",para:"¶","Pcy;":"П","pcy;":"п","Pfr;":"𝔓","pfr;":"𝔭","Phi;":"Φ","phi;":"φ","piv;":"ϖ","prE;":"⪳","pre;":"⪯","Psi;":"Ψ","psi;":"ψ","Qfr;":"𝔔","qfr;":"𝔮",QUOT:'"',quot:'"',"Rcy;":"Р","rcy;":"р","REG;":"®","reg;":"®","Rfr;":"ℜ","rfr;":"𝔯","Rho;":"Ρ","rho;":"ρ","rlm;":"","Rsh;":"↱","rsh;":"↱","scE;":"⪴","sce;":"⪰","Scy;":"С","scy;":"с",sect:"§","Sfr;":"𝔖","sfr;":"𝔰","shy;":"","sim;":"∼","smt;":"⪪","sol;":"/","squ;":"□","Sub;":"⋐","sub;":"⊂","Sum;":"∑","sum;":"∑","Sup;":"⋑","sup;":"⊃",sup1:"¹",sup2:"²",sup3:"³","Tab;":"\t","Tau;":"Τ","tau;":"τ","Tcy;":"Т","tcy;":"т","Tfr;":"𝔗","tfr;":"𝔱","top;":"⊤","Ucy;":"У","ucy;":"у","Ufr;":"𝔘","ufr;":"𝔲","uml;":"¨",Uuml:"Ü",uuml:"ü","Vcy;":"В","vcy;":"в","Vee;":"⋁","vee;":"∨","Vfr;":"𝔙","vfr;":"𝔳","Wfr;":"𝔚","wfr;":"𝔴","Xfr;":"𝔛","xfr;":"𝔵","Ycy;":"Ы","ycy;":"ы","yen;":"¥","Yfr;":"𝔜","yfr;":"𝔶",yuml:"ÿ","Zcy;":"З","zcy;":"з","Zfr;":"ℨ","zfr;":"𝔷","zwj;":"",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ","andd;":"⩜","andv;":"⩚","ange;":"⦤","Aopf;":"𝔸","aopf;":"𝕒","apid;":"≋","apos;":"'",Aring:"Å",aring:"å","Ascr;":"𝒜","ascr;":"𝒶","Auml;":"Ä","auml;":"ä","Barv;":"⫧","bbrk;":"⎵","Beta;":"Β","beta;":"β","beth;":"ℶ","bNot;":"⫭","bnot;":"⌐","Bopf;":"𝔹","bopf;":"𝕓","boxH;":"═","boxh;":"─","boxV;":"║","boxv;":"│","Bscr;":"ℬ","bscr;":"𝒷","bsim;":"∽","bsol;":"\\","bull;":"•","bump;":"≎","caps;":"∩︀","Cdot;":"Ċ","cdot;":"ċ",cedil:"¸","cent;":"¢","CHcy;":"Ч","chcy;":"ч","circ;":"ˆ","cirE;":"⧃","cire;":"≗","comp;":"∁","cong;":"≅","Copf;":"ℂ","copf;":"𝕔","COPY;":"©","copy;":"©","Cscr;":"𝒞","cscr;":"𝒸","csub;":"⫏","csup;":"⫐","cups;":"∪︀","Darr;":"↡","dArr;":"⇓","darr;":"↓","dash;":"‐","dHar;":"⥥","diam;":"⋄","DJcy;":"Ђ","djcy;":"ђ","Dopf;":"𝔻","dopf;":"𝕕","Dscr;":"𝒟","dscr;":"𝒹","DScy;":"Ѕ","dscy;":"ѕ","dsol;":"⧶","dtri;":"▿","DZcy;":"Џ","dzcy;":"џ","ecir;":"≖",Ecirc:"Ê",ecirc:"ê","Edot;":"Ė","eDot;":"≑","edot;":"ė","emsp;":" ","ensp;":" ","Eopf;":"𝔼","eopf;":"𝕖","epar;":"⋕","epsi;":"ε","Escr;":"ℰ","escr;":"ℯ","Esim;":"⩳","esim;":"≂","Euml;":"Ë","euml;":"ë","euro;":"€","excl;":"!","flat;":"♭","fnof;":"ƒ","Fopf;":"𝔽","fopf;":"𝕗","fork;":"⋔","Fscr;":"ℱ","fscr;":"𝒻","Gdot;":"Ġ","gdot;":"ġ","geqq;":"≧","gesl;":"⋛︀","GJcy;":"Ѓ","gjcy;":"ѓ","gnap;":"⪊","gneq;":"⪈","Gopf;":"𝔾","gopf;":"𝕘","Gscr;":"𝒢","gscr;":"ℊ","gsim;":"≳","gtcc;":"⪧","gvnE;":"≩︀","half;":"½","hArr;":"⇔","harr;":"↔","hbar;":"ℏ","Hopf;":"ℍ","hopf;":"𝕙","Hscr;":"ℋ","hscr;":"𝒽",Icirc:"Î",icirc:"î","Idot;":"İ","IEcy;":"Е","iecy;":"е",iexcl:"¡","imof;":"⊷","IOcy;":"Ё","iocy;":"ё","Iopf;":"𝕀","iopf;":"𝕚","Iota;":"Ι","iota;":"ι","Iscr;":"ℐ","iscr;":"𝒾","isin;":"∈","Iuml;":"Ï","iuml;":"ï","Jopf;":"𝕁","jopf;":"𝕛","Jscr;":"𝒥","jscr;":"𝒿","KHcy;":"Х","khcy;":"х","KJcy;":"Ќ","kjcy;":"ќ","Kopf;":"𝕂","kopf;":"𝕜","Kscr;":"𝒦","kscr;":"𝓀","Lang;":"⟪","lang;":"⟨",laquo:"«","Larr;":"↞","lArr;":"⇐","larr;":"←","late;":"⪭","lcub;":"{","ldca;":"⤶","ldsh;":"↲","leqq;":"≦","lesg;":"⋚︀","lHar;":"⥢","LJcy;":"Љ","ljcy;":"љ","lnap;":"⪉","lneq;":"⪇","Lopf;":"𝕃","lopf;":"𝕝","lozf;":"⧫","lpar;":"(","Lscr;":"ℒ","lscr;":"𝓁","lsim;":"≲","lsqb;":"[","ltcc;":"⪦","ltri;":"◃","lvnE;":"≨︀","macr;":"¯","male;":"♂","malt;":"✠",micro:"µ","mlcp;":"⫛","mldr;":"…","Mopf;":"𝕄","mopf;":"𝕞","Mscr;":"ℳ","mscr;":"𝓂","nang;":"∠⃒","napE;":"⩰̸","nbsp;":" ","ncap;":"⩃","ncup;":"⩂","ngeq;":"≱","nges;":"⩾̸","ngtr;":"≯","nGtv;":"≫̸","nisd;":"⋺","NJcy;":"Њ","njcy;":"њ","nldr;":"‥","nleq;":"≰","nles;":"⩽̸","nLtv;":"≪̸","nmid;":"∤","Nopf;":"ℕ","nopf;":"𝕟","npar;":"∦","npre;":"⪯̸","nsce;":"⪰̸","Nscr;":"𝒩","nscr;":"𝓃","nsim;":"≁","nsub;":"⊄","nsup;":"⊅","ntgl;":"≹","ntlg;":"≸","nvap;":"≍⃒","nvge;":"≥⃒","nvgt;":">⃒","nvle;":"≤⃒","nvlt;":"<⃒","oast;":"⊛","ocir;":"⊚",Ocirc:"Ô",ocirc:"ô","odiv;":"⨸","odot;":"⊙","ogon;":"˛","oint;":"∮","omid;":"⦶","Oopf;":"𝕆","oopf;":"𝕠","opar;":"⦷","ordf;":"ª","ordm;":"º","oror;":"⩖","Oscr;":"𝒪","oscr;":"ℴ","osol;":"⊘","Ouml;":"Ö","ouml;":"ö","para;":"¶","part;":"∂","perp;":"⊥","phiv;":"ϕ","plus;":"+","Popf;":"ℙ","popf;":"𝕡",pound:"£","prap;":"⪷","prec;":"≺","prnE;":"⪵","prod;":"∏","prop;":"∝","Pscr;":"𝒫","pscr;":"𝓅","qint;":"⨌","Qopf;":"ℚ","qopf;":"𝕢","Qscr;":"𝒬","qscr;":"𝓆","QUOT;":'"',"quot;":'"',"race;":"∽̱","Rang;":"⟫","rang;":"⟩",raquo:"»","Rarr;":"↠","rArr;":"⇒","rarr;":"→","rcub;":"}","rdca;":"⤷","rdsh;":"↳","real;":"ℜ","rect;":"▭","rHar;":"⥤","rhov;":"ϱ","ring;":"˚","Ropf;":"ℝ","ropf;":"𝕣","rpar;":")","Rscr;":"ℛ","rscr;":"𝓇","rsqb;":"]","rtri;":"▹","scap;":"⪸","scnE;":"⪶","sdot;":"⋅","sect;":"§","semi;":";","sext;":"✶","SHcy;":"Ш","shcy;":"ш","sime;":"≃","simg;":"⪞","siml;":"⪝","smid;":"∣","smte;":"⪬","solb;":"⧄","Sopf;":"𝕊","sopf;":"𝕤","spar;":"∥","Sqrt;":"√","squf;":"▪","Sscr;":"𝒮","sscr;":"𝓈","Star;":"⋆","star;":"☆","subE;":"⫅","sube;":"⊆","succ;":"≻","sung;":"♪","sup1;":"¹","sup2;":"²","sup3;":"³","supE;":"⫆","supe;":"⊇",szlig:"ß","tbrk;":"⎴","tdot;":"⃛",THORN:"Þ",thorn:"þ",times:"×","tint;":"∭","toea;":"⤨","Topf;":"𝕋","topf;":"𝕥","tosa;":"⤩","trie;":"≜","Tscr;":"𝒯","tscr;":"𝓉","TScy;":"Ц","tscy;":"ц","Uarr;":"↟","uArr;":"⇑","uarr;":"↑",Ucirc:"Û",ucirc:"û","uHar;":"⥣","Uopf;":"𝕌","uopf;":"𝕦","Upsi;":"ϒ","upsi;":"υ","Uscr;":"𝒰","uscr;":"𝓊","utri;":"▵","Uuml;":"Ü","uuml;":"ü","vArr;":"⇕","varr;":"↕","Vbar;":"⫫","vBar;":"⫨","Vert;":"‖","vert;":"|","Vopf;":"𝕍","vopf;":"𝕧","Vscr;":"𝒱","vscr;":"𝓋","Wopf;":"𝕎","wopf;":"𝕨","Wscr;":"𝒲","wscr;":"𝓌","xcap;":"⋂","xcup;":"⋃","xmap;":"⟼","xnis;":"⋻","Xopf;":"𝕏","xopf;":"𝕩","Xscr;":"𝒳","xscr;":"𝓍","xvee;":"⋁","YAcy;":"Я","yacy;":"я","YIcy;":"Ї","yicy;":"ї","Yopf;":"𝕐","yopf;":"𝕪","Yscr;":"𝒴","yscr;":"𝓎","YUcy;":"Ю","yucy;":"ю","Yuml;":"Ÿ","yuml;":"ÿ","Zdot;":"Ż","zdot;":"ż","Zeta;":"Ζ","zeta;":"ζ","ZHcy;":"Ж","zhcy;":"ж","Zopf;":"ℤ","zopf;":"𝕫","Zscr;":"𝒵","zscr;":"𝓏","zwnj;":"",Aacute:"Á",aacute:"á","Acirc;":"Â","acirc;":"â","acute;":"´","AElig;":"Æ","aelig;":"æ",Agrave:"À",agrave:"à","aleph;":"ℵ","Alpha;":"Α","alpha;":"α","Amacr;":"Ā","amacr;":"ā","amalg;":"⨿","angle;":"∠","angrt;":"∟","angst;":"Å","Aogon;":"Ą","aogon;":"ą","Aring;":"Å","aring;":"å","asymp;":"≈",Atilde:"Ã",atilde:"ã","awint;":"⨑","bcong;":"≌","bdquo;":"„","bepsi;":"϶","blank;":"␣","blk12;":"▒","blk14;":"░","blk34;":"▓","block;":"█","boxDL;":"╗","boxDl;":"╖","boxdL;":"╕","boxdl;":"┐","boxDR;":"╔","boxDr;":"╓","boxdR;":"╒","boxdr;":"┌","boxHD;":"╦","boxHd;":"╤","boxhD;":"╥","boxhd;":"┬","boxHU;":"╩","boxHu;":"╧","boxhU;":"╨","boxhu;":"┴","boxUL;":"╝","boxUl;":"╜","boxuL;":"╛","boxul;":"┘","boxUR;":"╚","boxUr;":"╙","boxuR;":"╘","boxur;":"└","boxVH;":"╬","boxVh;":"╫","boxvH;":"╪","boxvh;":"┼","boxVL;":"╣","boxVl;":"╢","boxvL;":"╡","boxvl;":"┤","boxVR;":"╠","boxVr;":"╟","boxvR;":"╞","boxvr;":"├","Breve;":"˘","breve;":"˘",brvbar:"¦","bsemi;":"⁏","bsime;":"⋍","bsolb;":"⧅","bumpE;":"⪮","bumpe;":"≏","caret;":"⁁","caron;":"ˇ","ccaps;":"⩍",Ccedil:"Ç",ccedil:"ç","Ccirc;":"Ĉ","ccirc;":"ĉ","ccups;":"⩌","cedil;":"¸","check;":"✓","clubs;":"♣","Colon;":"∷","colon;":":","comma;":",","crarr;":"↵","Cross;":"⨯","cross;":"✗","csube;":"⫑","csupe;":"⫒","ctdot;":"⋯","cuepr;":"⋞","cuesc;":"⋟","cupor;":"⩅",curren:"¤","cuvee;":"⋎","cuwed;":"⋏","cwint;":"∱","Dashv;":"⫤","dashv;":"⊣","dblac;":"˝","ddarr;":"⇊","Delta;":"Δ","delta;":"δ","dharl;":"⇃","dharr;":"⇂","diams;":"♦","disin;":"⋲",divide:"÷","doteq;":"≐","dtdot;":"⋱","dtrif;":"▾","duarr;":"⇵","duhar;":"⥯",Eacute:"É",eacute:"é","Ecirc;":"Ê","ecirc;":"ê","eDDot;":"⩷","efDot;":"≒",Egrave:"È",egrave:"è","Emacr;":"Ē","emacr;":"ē","empty;":"∅","Eogon;":"Ę","eogon;":"ę","eplus;":"⩱","epsiv;":"ϵ","eqsim;":"≂","Equal;":"⩵","equiv;":"≡","erarr;":"⥱","erDot;":"≓","esdot;":"≐","exist;":"∃","fflig;":"ff","filig;":"fi","fjlig;":"fj","fllig;":"fl","fltns;":"▱","forkv;":"⫙",frac12:"½",frac14:"¼",frac34:"¾","frasl;":"⁄","frown;":"⌢","Gamma;":"Γ","gamma;":"γ","Gcirc;":"Ĝ","gcirc;":"ĝ","gescc;":"⪩","gimel;":"ℷ","gneqq;":"≩","gnsim;":"⋧","grave;":"`","gsime;":"⪎","gsiml;":"⪐","gtcir;":"⩺","gtdot;":"⋗","Hacek;":"ˇ","harrw;":"↭","Hcirc;":"Ĥ","hcirc;":"ĥ","hoarr;":"⇿",Iacute:"Í",iacute:"í","Icirc;":"Î","icirc;":"î","iexcl;":"¡",Igrave:"Ì",igrave:"ì","iiint;":"∭","iiota;":"℩","IJlig;":"IJ","ijlig;":"ij","Imacr;":"Ī","imacr;":"ī","image;":"ℑ","imath;":"ı","imped;":"Ƶ","infin;":"∞","Iogon;":"Į","iogon;":"į","iprod;":"⨼",iquest:"¿","isinE;":"⋹","isins;":"⋴","isinv;":"∈","Iukcy;":"І","iukcy;":"і","Jcirc;":"Ĵ","jcirc;":"ĵ","jmath;":"ȷ","Jukcy;":"Є","jukcy;":"є","Kappa;":"Κ","kappa;":"κ","lAarr;":"⇚","langd;":"⦑","laquo;":"«","larrb;":"⇤","lates;":"⪭︀","lBarr;":"⤎","lbarr;":"⤌","lbbrk;":"❲","lbrke;":"⦋","lceil;":"⌈","ldquo;":"“","lescc;":"⪨","lhard;":"↽","lharu;":"↼","lhblk;":"▄","llarr;":"⇇","lltri;":"◺","lneqq;":"≨","lnsim;":"⋦","loang;":"⟬","loarr;":"⇽","lobrk;":"⟦","lopar;":"⦅","lrarr;":"⇆","lrhar;":"⇋","lrtri;":"⊿","lsime;":"⪍","lsimg;":"⪏","lsquo;":"‘","ltcir;":"⩹","ltdot;":"⋖","ltrie;":"⊴","ltrif;":"◂","mdash;":"—","mDDot;":"∺","micro;":"µ",middot:"·","minus;":"−","mumap;":"⊸","nabla;":"∇","napid;":"≋̸","napos;":"ʼn","natur;":"♮","nbump;":"≎̸","ncong;":"≇","ndash;":"–","neArr;":"⇗","nearr;":"↗","nedot;":"≐̸","nesim;":"≂̸","ngeqq;":"≧̸","ngsim;":"≵","nhArr;":"⇎","nharr;":"↮","nhpar;":"⫲","nlArr;":"⇍","nlarr;":"↚","nleqq;":"≦̸","nless;":"≮","nlsim;":"≴","nltri;":"⋪","notin;":"∉","notni;":"∌","npart;":"∂̸","nprec;":"⊀","nrArr;":"⇏","nrarr;":"↛","nrtri;":"⋫","nsime;":"≄","nsmid;":"∤","nspar;":"∦","nsubE;":"⫅̸","nsube;":"⊈","nsucc;":"⊁","nsupE;":"⫆̸","nsupe;":"⊉",Ntilde:"Ñ",ntilde:"ñ","numsp;":" ","nvsim;":"∼⃒","nwArr;":"⇖","nwarr;":"↖",Oacute:"Ó",oacute:"ó","Ocirc;":"Ô","ocirc;":"ô","odash;":"⊝","OElig;":"Œ","oelig;":"œ","ofcir;":"⦿",Ograve:"Ò",ograve:"ò","ohbar;":"⦵","olarr;":"↺","olcir;":"⦾","oline;":"‾","Omacr;":"Ō","omacr;":"ō","Omega;":"Ω","omega;":"ω","operp;":"⦹","oplus;":"⊕","orarr;":"↻","order;":"ℴ",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ","ovbar;":"⌽","parsl;":"⫽","phone;":"☎","plusb;":"⊞","pluse;":"⩲",plusmn:"±","pound;":"£","prcue;":"≼","Prime;":"″","prime;":"′","prnap;":"⪹","prsim;":"≾","quest;":"?","rAarr;":"⇛","radic;":"√","rangd;":"⦒","range;":"⦥","raquo;":"»","rarrb;":"⇥","rarrc;":"⤳","rarrw;":"↝","ratio;":"∶","RBarr;":"⤐","rBarr;":"⤏","rbarr;":"⤍","rbbrk;":"❳","rbrke;":"⦌","rceil;":"⌉","rdquo;":"”","reals;":"ℝ","rhard;":"⇁","rharu;":"⇀","rlarr;":"⇄","rlhar;":"⇌","rnmid;":"⫮","roang;":"⟭","roarr;":"⇾","robrk;":"⟧","ropar;":"⦆","rrarr;":"⇉","rsquo;":"’","rtrie;":"⊵","rtrif;":"▸","sbquo;":"‚","sccue;":"≽","Scirc;":"Ŝ","scirc;":"ŝ","scnap;":"⪺","scsim;":"≿","sdotb;":"⊡","sdote;":"⩦","seArr;":"⇘","searr;":"↘","setmn;":"∖","sharp;":"♯","Sigma;":"Σ","sigma;":"σ","simeq;":"≃","simgE;":"⪠","simlE;":"⪟","simne;":"≆","slarr;":"←","smile;":"⌣","smtes;":"⪬︀","sqcap;":"⊓","sqcup;":"⊔","sqsub;":"⊏","sqsup;":"⊐","srarr;":"→","starf;":"★","strns;":"¯","subnE;":"⫋","subne;":"⊊","supnE;":"⫌","supne;":"⊋","swArr;":"⇙","swarr;":"↙","szlig;":"ß","Theta;":"Θ","theta;":"θ","thkap;":"≈","THORN;":"Þ","thorn;":"þ","Tilde;":"∼","tilde;":"˜","times;":"×","TRADE;":"™","trade;":"™","trisb;":"⧍","TSHcy;":"Ћ","tshcy;":"ћ","twixt;":"≬",Uacute:"Ú",uacute:"ú","Ubrcy;":"Ў","ubrcy;":"ў","Ucirc;":"Û","ucirc;":"û","udarr;":"⇅","udhar;":"⥮",Ugrave:"Ù",ugrave:"ù","uharl;":"↿","uharr;":"↾","uhblk;":"▀","ultri;":"◸","Umacr;":"Ū","umacr;":"ū","Union;":"⋃","Uogon;":"Ų","uogon;":"ų","uplus;":"⊎","upsih;":"ϒ","UpTee;":"⊥","Uring;":"Ů","uring;":"ů","urtri;":"◹","utdot;":"⋰","utrif;":"▴","uuarr;":"⇈","varpi;":"ϖ","vBarv;":"⫩","VDash;":"⊫","Vdash;":"⊩","vDash;":"⊨","vdash;":"⊢","veeeq;":"≚","vltri;":"⊲","vnsub;":"⊂⃒","vnsup;":"⊃⃒","vprop;":"∝","vrtri;":"⊳","Wcirc;":"Ŵ","wcirc;":"ŵ","Wedge;":"⋀","wedge;":"∧","xcirc;":"◯","xdtri;":"▽","xhArr;":"⟺","xharr;":"⟷","xlArr;":"⟸","xlarr;":"⟵","xodot;":"⨀","xrArr;":"⟹","xrarr;":"⟶","xutri;":"△",Yacute:"Ý",yacute:"ý","Ycirc;":"Ŷ","ycirc;":"ŷ","Aacute;":"Á","aacute;":"á","Abreve;":"Ă","abreve;":"ă","Agrave;":"À","agrave;":"à","andand;":"⩕","angmsd;":"∡","angsph;":"∢","apacir;":"⩯","approx;":"≈","Assign;":"≔","Atilde;":"Ã","atilde;":"ã","barvee;":"⊽","Barwed;":"⌆","barwed;":"⌅","becaus;":"∵","bernou;":"ℬ","bigcap;":"⋂","bigcup;":"⋃","bigvee;":"⋁","bkarow;":"⤍","bottom;":"⊥","bowtie;":"⋈","boxbox;":"⧉","bprime;":"‵","brvbar;":"¦","bullet;":"•","Bumpeq;":"≎","bumpeq;":"≏","Cacute;":"Ć","cacute;":"ć","capand;":"⩄","capcap;":"⩋","capcup;":"⩇","capdot;":"⩀","Ccaron;":"Č","ccaron;":"č","Ccedil;":"Ç","ccedil;":"ç","circeq;":"≗","cirmid;":"⫯","Colone;":"⩴","colone;":"≔","commat;":"@","compfn;":"∘","Conint;":"∯","conint;":"∮","coprod;":"∐","copysr;":"℗","cularr;":"↶","CupCap;":"≍","cupcap;":"⩆","cupcup;":"⩊","cupdot;":"⊍","curarr;":"↷","curren;":"¤","cylcty;":"⌭","Dagger;":"‡","dagger;":"†","daleth;":"ℸ","Dcaron;":"Ď","dcaron;":"ď","dfisht;":"⥿","divide;":"÷","divonx;":"⋇","dlcorn;":"⌞","dlcrop;":"⌍","dollar;":"$","DotDot;":"⃜","drcorn;":"⌟","drcrop;":"⌌","Dstrok;":"Đ","dstrok;":"đ","Eacute;":"É","eacute;":"é","easter;":"⩮","Ecaron;":"Ě","ecaron;":"ě","ecolon;":"≕","Egrave;":"È","egrave;":"è","egsdot;":"⪘","elsdot;":"⪗","emptyv;":"∅","emsp13;":" ","emsp14;":" ","eparsl;":"⧣","eqcirc;":"≖","equals;":"=","equest;":"≟","Exists;":"∃","female;":"♀","ffilig;":"ffi","ffllig;":"ffl","ForAll;":"∀","forall;":"∀","frac12;":"½","frac13;":"⅓","frac14;":"¼","frac15;":"⅕","frac16;":"⅙","frac18;":"⅛","frac23;":"⅔","frac25;":"⅖","frac34;":"¾","frac35;":"⅗","frac38;":"⅜","frac45;":"⅘","frac56;":"⅚","frac58;":"⅝","frac78;":"⅞","gacute;":"ǵ","Gammad;":"Ϝ","gammad;":"ϝ","Gbreve;":"Ğ","gbreve;":"ğ","Gcedil;":"Ģ","gesdot;":"⪀","gesles;":"⪔","gtlPar;":"⦕","gtrarr;":"⥸","gtrdot;":"⋗","gtrsim;":"≳","hairsp;":" ","hamilt;":"ℋ","HARDcy;":"Ъ","hardcy;":"ъ","hearts;":"♥","hellip;":"…","hercon;":"⊹","homtht;":"∻","horbar;":"―","hslash;":"ℏ","Hstrok;":"Ħ","hstrok;":"ħ","hybull;":"⁃","hyphen;":"‐","Iacute;":"Í","iacute;":"í","Igrave;":"Ì","igrave;":"ì","iiiint;":"⨌","iinfin;":"⧜","incare;":"℅","inodot;":"ı","intcal;":"⊺","iquest;":"¿","isinsv;":"⋳","Itilde;":"Ĩ","itilde;":"ĩ","Jsercy;":"Ј","jsercy;":"ј","kappav;":"ϰ","Kcedil;":"Ķ","kcedil;":"ķ","kgreen;":"ĸ","Lacute;":"Ĺ","lacute;":"ĺ","lagran;":"ℒ","Lambda;":"Λ","lambda;":"λ","langle;":"⟨","larrfs;":"⤝","larrhk;":"↩","larrlp;":"↫","larrpl;":"⤹","larrtl;":"↢","lAtail;":"⤛","latail;":"⤙","lbrace;":"{","lbrack;":"[","Lcaron;":"Ľ","lcaron;":"ľ","Lcedil;":"Ļ","lcedil;":"ļ","ldquor;":"„","lesdot;":"⩿","lesges;":"⪓","lfisht;":"⥼","lfloor;":"⌊","lharul;":"⥪","llhard;":"⥫","Lmidot;":"Ŀ","lmidot;":"ŀ","lmoust;":"⎰","loplus;":"⨭","lowast;":"∗","lowbar;":"_","lparlt;":"⦓","lrhard;":"⥭","lsaquo;":"‹","lsquor;":"‚","Lstrok;":"Ł","lstrok;":"ł","lthree;":"⋋","ltimes;":"⋉","ltlarr;":"⥶","ltrPar;":"⦖","mapsto;":"↦","marker;":"▮","mcomma;":"⨩","midast;":"*","midcir;":"⫰","middot;":"·","minusb;":"⊟","minusd;":"∸","mnplus;":"∓","models;":"⊧","mstpos;":"∾","Nacute;":"Ń","nacute;":"ń","nbumpe;":"≏̸","Ncaron;":"Ň","ncaron;":"ň","Ncedil;":"Ņ","ncedil;":"ņ","nearhk;":"⤤","nequiv;":"≢","nesear;":"⤨","nexist;":"∄","nltrie;":"⋬","notinE;":"⋹̸","nparsl;":"⫽⃥","nprcue;":"⋠","nrarrc;":"⤳̸","nrarrw;":"↝̸","nrtrie;":"⋭","nsccue;":"⋡","nsimeq;":"≄","Ntilde;":"Ñ","ntilde;":"ñ","numero;":"№","nVDash;":"⊯","nVdash;":"⊮","nvDash;":"⊭","nvdash;":"⊬","nvHarr;":"⤄","nvlArr;":"⤂","nvrArr;":"⤃","nwarhk;":"⤣","nwnear;":"⤧","Oacute;":"Ó","oacute;":"ó","Odblac;":"Ő","odblac;":"ő","odsold;":"⦼","Ograve;":"Ò","ograve;":"ò","ominus;":"⊖","origof;":"⊶","Oslash;":"Ø","oslash;":"ø","Otilde;":"Õ","otilde;":"õ","Otimes;":"⨷","otimes;":"⊗","parsim;":"⫳","percnt;":"%","period;":".","permil;":"‰","phmmat;":"ℳ","planck;":"ℏ","plankv;":"ℏ","plusdo;":"∔","plusdu;":"⨥","plusmn;":"±","preceq;":"⪯","primes;":"ℙ","prnsim;":"⋨","propto;":"∝","prurel;":"⊰","puncsp;":" ","qprime;":"⁗","Racute;":"Ŕ","racute;":"ŕ","rangle;":"⟩","rarrap;":"⥵","rarrfs;":"⤞","rarrhk;":"↪","rarrlp;":"↬","rarrpl;":"⥅","Rarrtl;":"⤖","rarrtl;":"↣","rAtail;":"⤜","ratail;":"⤚","rbrace;":"}","rbrack;":"]","Rcaron;":"Ř","rcaron;":"ř","Rcedil;":"Ŗ","rcedil;":"ŗ","rdquor;":"”","rfisht;":"⥽","rfloor;":"⌋","rharul;":"⥬","rmoust;":"⎱","roplus;":"⨮","rpargt;":"⦔","rsaquo;":"›","rsquor;":"’","rthree;":"⋌","rtimes;":"⋊","Sacute;":"Ś","sacute;":"ś","Scaron;":"Š","scaron;":"š","Scedil;":"Ş","scedil;":"ş","scnsim;":"⋩","searhk;":"⤥","seswar;":"⤩","sfrown;":"⌢","SHCHcy;":"Щ","shchcy;":"щ","sigmaf;":"ς","sigmav;":"ς","simdot;":"⩪","smashp;":"⨳","SOFTcy;":"Ь","softcy;":"ь","solbar;":"⌿","spades;":"♠","sqcaps;":"⊓︀","sqcups;":"⊔︀","sqsube;":"⊑","sqsupe;":"⊒","Square;":"□","square;":"□","squarf;":"▪","ssetmn;":"∖","ssmile;":"⌣","sstarf;":"⋆","subdot;":"⪽","Subset;":"⋐","subset;":"⊂","subsim;":"⫇","subsub;":"⫕","subsup;":"⫓","succeq;":"⪰","supdot;":"⪾","Supset;":"⋑","supset;":"⊃","supsim;":"⫈","supsub;":"⫔","supsup;":"⫖","swarhk;":"⤦","swnwar;":"⤪","target;":"⌖","Tcaron;":"Ť","tcaron;":"ť","Tcedil;":"Ţ","tcedil;":"ţ","telrec;":"⌕","there4;":"∴","thetav;":"ϑ","thinsp;":" ","thksim;":"∼","timesb;":"⊠","timesd;":"⨰","topbot;":"⌶","topcir;":"⫱","tprime;":"‴","tridot;":"◬","Tstrok;":"Ŧ","tstrok;":"ŧ","Uacute;":"Ú","uacute;":"ú","Ubreve;":"Ŭ","ubreve;":"ŭ","Udblac;":"Ű","udblac;":"ű","ufisht;":"⥾","Ugrave;":"Ù","ugrave;":"ù","ulcorn;":"⌜","ulcrop;":"⌏","urcorn;":"⌝","urcrop;":"⌎","Utilde;":"Ũ","utilde;":"ũ","vangrt;":"⦜","varphi;":"ϕ","varrho;":"ϱ","Vdashl;":"⫦","veebar;":"⊻","vellip;":"⋮","Verbar;":"‖","verbar;":"|","vsubnE;":"⫋︀","vsubne;":"⊊︀","vsupnE;":"⫌︀","vsupne;":"⊋︀","Vvdash;":"⊪","wedbar;":"⩟","wedgeq;":"≙","weierp;":"℘","wreath;":"≀","xoplus;":"⨁","xotime;":"⨂","xsqcup;":"⨆","xuplus;":"⨄","xwedge;":"⋀","Yacute;":"Ý","yacute;":"ý","Zacute;":"Ź","zacute;":"ź","Zcaron;":"Ž","zcaron;":"ž","zeetrf;":"ℨ","alefsym;":"ℵ","angrtvb;":"⊾","angzarr;":"⍼","asympeq;":"≍","backsim;":"∽","Because;":"∵","because;":"∵","bemptyv;":"⦰","between;":"≬","bigcirc;":"◯","bigodot;":"⨀","bigstar;":"★","bnequiv;":"≡⃥","boxplus;":"⊞","Cayleys;":"ℭ","Cconint;":"∰","ccupssm;":"⩐","Cedilla;":"¸","cemptyv;":"⦲","cirscir;":"⧂","coloneq;":"≔","congdot;":"⩭","cudarrl;":"⤸","cudarrr;":"⤵","cularrp;":"⤽","curarrm;":"⤼","dbkarow;":"⤏","ddagger;":"‡","ddotseq;":"⩷","demptyv;":"⦱","Diamond;":"⋄","diamond;":"⋄","digamma;":"ϝ","dotplus;":"∔","DownTee;":"⊤","dwangle;":"⦦","Element;":"∈","Epsilon;":"Ε","epsilon;":"ε","eqcolon;":"≕","equivDD;":"⩸","gesdoto;":"⪂","gtquest;":"⩼","gtrless;":"≷","harrcir;":"⥈","Implies;":"⇒","intprod;":"⨼","isindot;":"⋵","larrbfs;":"⤟","larrsim;":"⥳","lbrksld;":"⦏","lbrkslu;":"⦍","ldrdhar;":"⥧","LeftTee;":"⊣","lesdoto;":"⪁","lessdot;":"⋖","lessgtr;":"≶","lesssim;":"≲","lotimes;":"⨴","lozenge;":"◊","ltquest;":"⩻","luruhar;":"⥦","maltese;":"✠","minusdu;":"⨪","napprox;":"≉","natural;":"♮","nearrow;":"↗","NewLine;":"\n","nexists;":"∄","NoBreak;":"","notinva;":"∉","notinvb;":"⋷","notinvc;":"⋶","NotLess;":"≮","notniva;":"∌","notnivb;":"⋾","notnivc;":"⋽","npolint;":"⨔","npreceq;":"⪯̸","nsqsube;":"⋢","nsqsupe;":"⋣","nsubset;":"⊂⃒","nsucceq;":"⪰̸","nsupset;":"⊃⃒","nvinfin;":"⧞","nvltrie;":"⊴⃒","nvrtrie;":"⊵⃒","nwarrow;":"↖","olcross;":"⦻","Omicron;":"Ο","omicron;":"ο","orderof;":"ℴ","orslope;":"⩗","OverBar;":"‾","pertenk;":"‱","planckh;":"ℎ","pluscir;":"⨢","plussim;":"⨦","plustwo;":"⨧","precsim;":"≾","Product;":"∏","quatint;":"⨖","questeq;":"≟","rarrbfs;":"⤠","rarrsim;":"⥴","rbrksld;":"⦎","rbrkslu;":"⦐","rdldhar;":"⥩","realine;":"ℛ","rotimes;":"⨵","ruluhar;":"⥨","searrow;":"↘","simplus;":"⨤","simrarr;":"⥲","subedot;":"⫃","submult;":"⫁","subplus;":"⪿","subrarr;":"⥹","succsim;":"≿","supdsub;":"⫘","supedot;":"⫄","suphsol;":"⟉","suphsub;":"⫗","suplarr;":"⥻","supmult;":"⫂","supplus;":"⫀","swarrow;":"↙","topfork;":"⫚","triplus;":"⨹","tritime;":"⨻","UpArrow;":"↑","Uparrow;":"⇑","uparrow;":"↑","Upsilon;":"Υ","upsilon;":"υ","uwangle;":"⦧","vzigzag;":"⦚","zigrarr;":"⇝","andslope;":"⩘","angmsdaa;":"⦨","angmsdab;":"⦩","angmsdac;":"⦪","angmsdad;":"⦫","angmsdae;":"⦬","angmsdaf;":"⦭","angmsdag;":"⦮","angmsdah;":"⦯","angrtvbd;":"⦝","approxeq;":"≊","awconint;":"∳","backcong;":"≌","barwedge;":"⌅","bbrktbrk;":"⎶","bigoplus;":"⨁","bigsqcup;":"⨆","biguplus;":"⨄","bigwedge;":"⋀","boxminus;":"⊟","boxtimes;":"⊠","bsolhsub;":"⟈","capbrcup;":"⩉","circledR;":"®","circledS;":"Ⓢ","cirfnint;":"⨐","clubsuit;":"♣","cupbrcap;":"⩈","curlyvee;":"⋎","cwconint;":"∲","DDotrahd;":"⤑","doteqdot;":"≑","DotEqual;":"≐","dotminus;":"∸","drbkarow;":"⤐","dzigrarr;":"⟿","elinters;":"⏧","emptyset;":"∅","eqvparsl;":"⧥","fpartint;":"⨍","geqslant;":"⩾","gesdotol;":"⪄","gnapprox;":"⪊","hksearow;":"⤥","hkswarow;":"⤦","imagline;":"ℐ","imagpart;":"ℑ","infintie;":"⧝","integers;":"ℤ","Integral;":"∫","intercal;":"⊺","intlarhk;":"⨗","laemptyv;":"⦴","ldrushar;":"⥋","leqslant;":"⩽","lesdotor;":"⪃","LessLess;":"⪡","llcorner;":"⌞","lnapprox;":"⪉","lrcorner;":"⌟","lurdshar;":"⥊","mapstoup;":"↥","multimap;":"⊸","naturals;":"ℕ","ncongdot;":"⩭̸","NotEqual;":"≠","notindot;":"⋵̸","NotTilde;":"≁","otimesas;":"⨶","parallel;":"∥","PartialD;":"∂","plusacir;":"⨣","pointint;":"⨕","Precedes;":"≺","precneqq;":"⪵","precnsim;":"⋨","profalar;":"⌮","profline;":"⌒","profsurf;":"⌓","raemptyv;":"⦳","realpart;":"ℜ","RightTee;":"⊢","rppolint;":"⨒","rtriltri;":"⧎","scpolint;":"⨓","setminus;":"∖","shortmid;":"∣","smeparsl;":"⧤","sqsubset;":"⊏","sqsupset;":"⊐","subseteq;":"⊆","Succeeds;":"≻","succneqq;":"⪶","succnsim;":"⋩","SuchThat;":"∋","Superset;":"⊃","supseteq;":"⊇","thetasym;":"ϑ","thicksim;":"∼","timesbar;":"⨱","triangle;":"▵","triminus;":"⨺","trpezium;":"⏢","Uarrocir;":"⥉","ulcorner;":"⌜","UnderBar;":"_","urcorner;":"⌝","varkappa;":"ϰ","varsigma;":"ς","vartheta;":"ϑ","backprime;":"‵","backsimeq;":"⋍","Backslash;":"∖","bigotimes;":"⨂","CenterDot;":"·","centerdot;":"·","checkmark;":"✓","CircleDot;":"⊙","complexes;":"ℂ","Congruent;":"≡","Coproduct;":"∐","dotsquare;":"⊡","DoubleDot;":"¨","DownArrow;":"↓","Downarrow;":"⇓","downarrow;":"↓","DownBreve;":"̑","gtrapprox;":"⪆","gtreqless;":"⋛","gvertneqq;":"≩︀","heartsuit;":"♥","HumpEqual;":"≏","LeftArrow;":"←","Leftarrow;":"⇐","leftarrow;":"←","LeftFloor;":"⌊","lesseqgtr;":"⋚","LessTilde;":"≲","lvertneqq;":"≨︀","Mellintrf;":"ℳ","MinusPlus;":"∓","ngeqslant;":"⩾̸","nleqslant;":"⩽̸","NotCupCap;":"≭","NotExists;":"∄","NotSubset;":"⊂⃒","nparallel;":"∦","nshortmid;":"∤","nsubseteq;":"⊈","nsupseteq;":"⊉","OverBrace;":"⏞","pitchfork;":"⋔","PlusMinus;":"±","rationals;":"ℚ","spadesuit;":"♠","subseteqq;":"⫅","subsetneq;":"⊊","supseteqq;":"⫆","supsetneq;":"⊋","Therefore;":"∴","therefore;":"∴","ThinSpace;":" ","triangleq;":"≜","TripleDot;":"⃛","UnionPlus;":"⊎","varpropto;":"∝","Bernoullis;":"ℬ","circledast;":"⊛","CirclePlus;":"⊕","complement;":"∁","curlywedge;":"⋏","eqslantgtr;":"⪖","EqualTilde;":"≂","Fouriertrf;":"ℱ","gtreqqless;":"⪌","ImaginaryI;":"ⅈ","Laplacetrf;":"ℒ","LeftVector;":"↼","lessapprox;":"⪅","lesseqqgtr;":"⪋","Lleftarrow;":"⇚","lmoustache;":"⎰","longmapsto;":"⟼","mapstodown;":"↧","mapstoleft;":"↤","nLeftarrow;":"⇍","nleftarrow;":"↚","NotElement;":"∉","NotGreater;":"≯","nsubseteqq;":"⫅̸","nsupseteqq;":"⫆̸","precapprox;":"⪷","Proportion;":"∷","RightArrow;":"→","Rightarrow;":"⇒","rightarrow;":"→","RightFloor;":"⌋","rmoustache;":"⎱","sqsubseteq;":"⊑","sqsupseteq;":"⊒","subsetneqq;":"⫋","succapprox;":"⪸","supsetneqq;":"⫌","ThickSpace;":" ","TildeEqual;":"≃","TildeTilde;":"≈","UnderBrace;":"⏟","UpArrowBar;":"⤒","UpTeeArrow;":"↥","upuparrows;":"⇈","varepsilon;":"ϵ","varnothing;":"∅","backepsilon;":"϶","blacksquare;":"▪","circledcirc;":"⊚","circleddash;":"⊝","CircleMinus;":"⊖","CircleTimes;":"⊗","curlyeqprec;":"⋞","curlyeqsucc;":"⋟","diamondsuit;":"♦","eqslantless;":"⪕","Equilibrium;":"⇌","expectation;":"ℰ","GreaterLess;":"≷","LeftCeiling;":"⌈","LessGreater;":"≶","MediumSpace;":" ","NotLessLess;":"≪̸","NotPrecedes;":"⊀","NotSucceeds;":"⊁","NotSuperset;":"⊃⃒","nRightarrow;":"⇏","nrightarrow;":"↛","OverBracket;":"⎴","preccurlyeq;":"≼","precnapprox;":"⪹","quaternions;":"ℍ","RightVector;":"⇀","Rrightarrow;":"⇛","RuleDelayed;":"⧴","SmallCircle;":"∘","SquareUnion;":"⊔","straightphi;":"ϕ","SubsetEqual;":"⊆","succcurlyeq;":"≽","succnapprox;":"⪺","thickapprox;":"≈","UpDownArrow;":"↕","Updownarrow;":"⇕","updownarrow;":"↕","VerticalBar;":"∣","blacklozenge;":"⧫","DownArrowBar;":"⤓","DownTeeArrow;":"↧","ExponentialE;":"ⅇ","exponentiale;":"ⅇ","GreaterEqual;":"≥","GreaterTilde;":"≳","HilbertSpace;":"ℋ","HumpDownHump;":"≎","Intersection;":"⋂","LeftArrowBar;":"⇤","LeftTeeArrow;":"↤","LeftTriangle;":"⊲","LeftUpVector;":"↿","NotCongruent;":"≢","NotHumpEqual;":"≏̸","NotLessEqual;":"≰","NotLessTilde;":"≴","Proportional;":"∝","RightCeiling;":"⌉","risingdotseq;":"≓","RoundImplies;":"⥰","ShortUpArrow;":"↑","SquareSubset;":"⊏","triangledown;":"▿","triangleleft;":"◃","UnderBracket;":"⎵","varsubsetneq;":"⊊︀","varsupsetneq;":"⊋︀","VerticalLine;":"|","ApplyFunction;":"","bigtriangleup;":"△","blacktriangle;":"▴","DifferentialD;":"ⅆ","divideontimes;":"⋇","DoubleLeftTee;":"⫤","DoubleUpArrow;":"⇑","fallingdotseq;":"≒","hookleftarrow;":"↩","leftarrowtail;":"↢","leftharpoonup;":"↼","LeftTeeVector;":"⥚","LeftVectorBar;":"⥒","LessFullEqual;":"≦","LongLeftArrow;":"⟵","Longleftarrow;":"⟸","longleftarrow;":"⟵","looparrowleft;":"↫","measuredangle;":"∡","NotEqualTilde;":"≂̸","NotTildeEqual;":"≄","NotTildeTilde;":"≉","ntriangleleft;":"⋪","Poincareplane;":"ℌ","PrecedesEqual;":"⪯","PrecedesTilde;":"≾","RightArrowBar;":"⇥","RightTeeArrow;":"↦","RightTriangle;":"⊳","RightUpVector;":"↾","shortparallel;":"∥","smallsetminus;":"∖","SucceedsEqual;":"⪰","SucceedsTilde;":"≿","SupersetEqual;":"⊇","triangleright;":"▹","UpEquilibrium;":"⥮","upharpoonleft;":"↿","varsubsetneqq;":"⫋︀","varsupsetneqq;":"⫌︀","VerticalTilde;":"≀","VeryThinSpace;":" ","curvearrowleft;":"↶","DiacriticalDot;":"˙","doublebarwedge;":"⌆","DoubleRightTee;":"⊨","downdownarrows;":"⇊","DownLeftVector;":"↽","GreaterGreater;":"⪢","hookrightarrow;":"↪","HorizontalLine;":"─","InvisibleComma;":"","InvisibleTimes;":"","LeftDownVector;":"⇃","leftleftarrows;":"⇇","LeftRightArrow;":"↔","Leftrightarrow;":"⇔","leftrightarrow;":"↔","leftthreetimes;":"⋋","LessSlantEqual;":"⩽","LongRightArrow;":"⟶","Longrightarrow;":"⟹","longrightarrow;":"⟶","looparrowright;":"↬","LowerLeftArrow;":"↙","NestedLessLess;":"≪","NotGreaterLess;":"≹","NotLessGreater;":"≸","NotSubsetEqual;":"⊈","NotVerticalBar;":"∤","nshortparallel;":"∦","ntriangleright;":"⋫","OpenCurlyQuote;":"‘","ReverseElement;":"∋","rightarrowtail;":"↣","rightharpoonup;":"⇀","RightTeeVector;":"⥛","RightVectorBar;":"⥓","ShortDownArrow;":"↓","ShortLeftArrow;":"←","SquareSuperset;":"⊐","TildeFullEqual;":"≅","trianglelefteq;":"⊴","upharpoonright;":"↾","UpperLeftArrow;":"↖","ZeroWidthSpace;":"","bigtriangledown;":"▽","circlearrowleft;":"↺","CloseCurlyQuote;":"’","ContourIntegral;":"∮","curvearrowright;":"↷","DoubleDownArrow;":"⇓","DoubleLeftArrow;":"⇐","downharpoonleft;":"⇃","DownRightVector;":"⇁","leftharpoondown;":"↽","leftrightarrows;":"⇆","LeftRightVector;":"⥎","LeftTriangleBar;":"⧏","LeftUpTeeVector;":"⥠","LeftUpVectorBar;":"⥘","LowerRightArrow;":"↘","nLeftrightarrow;":"⇎","nleftrightarrow;":"↮","NotGreaterEqual;":"≱","NotGreaterTilde;":"≵","NotHumpDownHump;":"≎̸","NotLeftTriangle;":"⋪","NotSquareSubset;":"⊏̸","ntrianglelefteq;":"⋬","OverParenthesis;":"⏜","RightDownVector;":"⇂","rightleftarrows;":"⇄","rightsquigarrow;":"↝","rightthreetimes;":"⋌","ShortRightArrow;":"→","straightepsilon;":"ϵ","trianglerighteq;":"⊵","UpperRightArrow;":"↗","vartriangleleft;":"⊲","circlearrowright;":"↻","DiacriticalAcute;":"´","DiacriticalGrave;":"`","DiacriticalTilde;":"˜","DoubleRightArrow;":"⇒","DownArrowUpArrow;":"⇵","downharpoonright;":"⇂","EmptySmallSquare;":"◻","GreaterEqualLess;":"⋛","GreaterFullEqual;":"≧","LeftAngleBracket;":"⟨","LeftUpDownVector;":"⥑","LessEqualGreater;":"⋚","NonBreakingSpace;":" ","NotPrecedesEqual;":"⪯̸","NotRightTriangle;":"⋫","NotSucceedsEqual;":"⪰̸","NotSucceedsTilde;":"≿̸","NotSupersetEqual;":"⊉","ntrianglerighteq;":"⋭","rightharpoondown;":"⇁","rightrightarrows;":"⇉","RightTriangleBar;":"⧐","RightUpTeeVector;":"⥜","RightUpVectorBar;":"⥔","twoheadleftarrow;":"↞","UnderParenthesis;":"⏝","UpArrowDownArrow;":"⇅","vartriangleright;":"⊳","blacktriangledown;":"▾","blacktriangleleft;":"◂","DoubleUpDownArrow;":"⇕","DoubleVerticalBar;":"∥","DownLeftTeeVector;":"⥞","DownLeftVectorBar;":"⥖","FilledSmallSquare;":"◼","GreaterSlantEqual;":"⩾","LeftDoubleBracket;":"⟦","LeftDownTeeVector;":"⥡","LeftDownVectorBar;":"⥙","leftrightharpoons;":"⇋","LeftTriangleEqual;":"⊴","NegativeThinSpace;":"","NotGreaterGreater;":"≫̸","NotLessSlantEqual;":"⩽̸","NotNestedLessLess;":"⪡̸","NotReverseElement;":"∌","NotSquareSuperset;":"⊐̸","NotTildeFullEqual;":"≇","RightAngleBracket;":"⟩","rightleftharpoons;":"⇌","RightUpDownVector;":"⥏","SquareSubsetEqual;":"⊑","twoheadrightarrow;":"↠","VerticalSeparator;":"❘","blacktriangleright;":"▸","DownRightTeeVector;":"⥟","DownRightVectorBar;":"⥗","LongLeftRightArrow;":"⟷","Longleftrightarrow;":"⟺","longleftrightarrow;":"⟷","NegativeThickSpace;":"","NotLeftTriangleBar;":"⧏̸","PrecedesSlantEqual;":"≼","ReverseEquilibrium;":"⇋","RightDoubleBracket;":"⟧","RightDownTeeVector;":"⥝","RightDownVectorBar;":"⥕","RightTriangleEqual;":"⊵","SquareIntersection;":"⊓","SucceedsSlantEqual;":"≽","DoubleLongLeftArrow;":"⟸","DownLeftRightVector;":"⥐","LeftArrowRightArrow;":"⇆","leftrightsquigarrow;":"↭","NegativeMediumSpace;":"","NotGreaterFullEqual;":"≧̸","NotRightTriangleBar;":"⧐̸","RightArrowLeftArrow;":"⇄","SquareSupersetEqual;":"⊒","CapitalDifferentialD;":"ⅅ","DoubleLeftRightArrow;":"⇔","DoubleLongRightArrow;":"⟹","EmptyVerySmallSquare;":"▫","NestedGreaterGreater;":"≫","NotDoubleVerticalBar;":"∦","NotGreaterSlantEqual;":"⩾̸","NotLeftTriangleEqual;":"⋬","NotSquareSubsetEqual;":"⋢","OpenCurlyDoubleQuote;":"“","ReverseUpEquilibrium;":"⥯","CloseCurlyDoubleQuote;":"”","DoubleContourIntegral;":"∯","FilledVerySmallSquare;":"▪","NegativeVeryThinSpace;":"","NotPrecedesSlantEqual;":"⋠","NotRightTriangleEqual;":"⋭","NotSucceedsSlantEqual;":"⋡","DiacriticalDoubleAcute;":"˝","NotSquareSupersetEqual;":"⋣","NotNestedGreaterGreater;":"⪢̸","ClockwiseContourIntegral;":"∲","DoubleLongLeftRightArrow;":"⟺","CounterClockwiseContourIntegral;":"∳"};let Ia;const Ra={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},La=y("style,iframe,script,noscript",!0),Ma={isVoidTag:O,isNativeTag:e=>C(e)||k(e),isPreTag:e=>"pre"===e,decodeEntities:(e,t)=>{let r=0;const s=e.length;let n="";function i(t){r+=t,e=e.slice(t)}for(;r<s;){const o=/&(?:#x?)?/i.exec(e);if(!o||r+o.index>=s){const t=s-r;n+=e.slice(0,t),i(t);break}if(n+=e.slice(0,o.index),i(o.index),"&"===o[0]){let r,s="";if(/[0-9a-z]/i.test(e[1])){Ia||(Ia=Object.keys(Na).reduce(((e,t)=>Math.max(e,t.length)),0));for(let t=Ia;!r&&t>0;--t)s=e.slice(1,1+t),r=Na[s];if(r){const o=s.endsWith(";");t&&!o&&/[=a-z0-9]/i.test(e[s.length+1]||"")?(n+="&"+s,i(1+s.length)):(n+=r,i(1+s.length))}else n+="&"+s,i(1+s.length)}else n+="&",i(1)}else{const t="&#x"===o[0],r=(t?/^&#x([0-9a-f]+);?/i:/^&#([0-9]+);?/).exec(e);if(r){let e=Number.parseInt(r[1],t?16:10);0===e||e>1114111||e>=55296&&e<=57343?e=65533:e>=64976&&e<=65007||65534==(65534&e)||(e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159)&&(e=Ra[e]||e),n+=String.fromCodePoint(e),i(r[0].length)}else n+=o[0],i(o[0].length)}}return n},isBuiltInComponent:e=>Vs(e,"Transition")?ka:Vs(e,"TransitionGroup")?Oa:void 0,getNamespace(e,t){let r=t?t.ns:0;if(t&&2===r)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(r=0);else t&&1===r&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(r=0));if(0===r){if("svg"===e)return 1;if("math"===e)return 2}return r},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(La(e))return 2}return 0}},Da=e=>{1===e.type&&e.props.forEach(((t,r)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[r]={type:7,name:"bind",arg:lt("style",!0,t.loc),exp:ja(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},ja=(e,t)=>{const r=T(e);return lt(JSON.stringify(r),!1,t,3)};function Fa(e,t){return fe(e,t,Ba)}const Ba={51:"v-html is missing expression.",52:"v-html will override element children.",53:"v-text is missing expression.",54:"v-text will override element children.",55:"v-model can only be used on <input>, <textarea> and <select> elements.",56:"v-model argument is not supported on plain elements.",57:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",58:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",59:"v-show is missing expression.",60:"<Transition> expects exactly one child element or component.",61:"Tags with side effect (<script> and <style>) are ignored in client component templates."},Ua=y("passive,once,capture"),qa=y("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),$a=y("left,right"),Ha=y("onkeyup,onkeydown,onkeypress",!0),Va=(e,t)=>Hs(e)&&"onclick"===e.content.toLowerCase()?lt(t,!0):4!==e.type?ht(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e;function Wa(e){const t=e.children=e.children.filter((e=>3!==e.type&&!(2===e.type&&!e.content.trim()))),r=t[0];return 1!==t.length||11===r.type||9===r.type&&r.branches.some(Wa)}const Ga=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,za=(e,t,r)=>{if(t.scopes.vSlot>0)return;let s=0,n=0;const i=[],o=r=>{if(s>=20||n>=5){const s=ut(t.helper(Ce),[JSON.stringify(i.map((e=>ec(e,t))).join("")).replace(Ga,'" + $1 + "'),String(i.length)]);if(Xa(i[0],s,t),i.length>1){for(let e=1;e<i.length;e++)Xa(i[e],null,t);const s=i.length-1;return e.splice(r-i.length+1,s),s}}return 0};let a=0;for(;a<e.length;a++){const t=e[a];if(Ka(t)){const e=t,r=Za(e);if(r){s+=r[0],n+=r[1],i.push(e);continue}}a-=o(a),s=0,n=0,i.length=0}o(a)},Ka=e=>(1===e.type&&0===e.tagType||12==e.type)&&e.codegenNode&&4===e.codegenNode.type&&e.codegenNode.hoisted,Ya=/^(data|aria)-/,Ja=(e,t)=>(0===t?I(e):1===t&&R(e))||Ya.test(e),Xa=(e,t,r)=>{const s=e.codegenNode.hoisted;r.hoists[r.hoists.indexOf(s)]=t},Qa=y("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function Za(e){if(1===e.type&&Qa(e.tag))return!1;if(12===e.type)return[1,0];let t=1,r=e.props.length>0?1:0,s=!1;const n=()=>(s=!0,!1);return!!function e(i){for(let e=0;e<i.props.length;e++){const t=i.props[e];if(6===t.type&&!Ja(t.name,i.ns))return n();if(7===t.type&&"bind"===t.name){if(t.arg&&(8===t.arg.type||t.arg.isStatic&&!Ja(t.arg.content,i.ns)))return n();if(t.exp&&(8===t.exp.type||t.exp.constType<3))return n()}}for(let n=0;n<i.children.length;n++){t++;const o=i.children[n];if(1===o.type&&(o.props.length>0&&r++,e(o),s))return!1}return!0}(e)&&[t,r]}function ec(e,t){if(Y(e))return e;if(J(e))return"";switch(e.type){case 1:return function(e,t){let r=`<${e.tag}`,s="";for(let t=0;t<e.props.length;t++){const n=e.props[t];if(6===n.type)r+=` ${n.name}`,n.value&&(r+=`="${M(n.value.content)}"`);else if(7===n.type)if("bind"===n.name){const e=n.exp;if("_"===e.content[0]){r+=` ${n.arg.content}="__VUE_EXP_START__${e.content}__VUE_EXP_END__"`;continue}if(N(n.arg.content)&&"false"===e.content)continue;let t=tc(e);if(null!=t){const e=n.arg&&n.arg.content;"class"===e?t=A(t):"style"===e&&(t=P(w(t))),r+=` ${n.arg.content}="${M(t)}"`}}else"html"===n.name?s=tc(n.exp):"text"===n.name&&(s=M(D(tc(n.exp))))}if(t.scopeId&&(r+=` ${t.scopeId}`),r+=">",s)r+=s;else for(let s=0;s<e.children.length;s++)r+=ec(e.children[s],t);return O(e.tag)||(r+=`</${e.tag}>`),r}(e,t);case 2:return M(e.content);case 3:return`\x3c!--${M(e.content)}--\x3e`;case 5:return M(D(tc(e.content)));case 8:return M(tc(e));case 12:return ec(e.content,t);default:return""}}function tc(e){if(4===e.type)return new Function(`return ${e.content}`)();{let t="";return e.children.forEach((e=>{Y(e)||J(e)||(2===e.type?t+=e.content:5===e.type?t+=D(tc(e.content)):t+=tc(e))})),t}}const rc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(Fa(61,e.loc)),t.removeNode())},sc=[Da,(e,t)=>{if(1===e.type&&1===e.tagType&&t.isBuiltInComponent(e.tag)===ka)return()=>{if(!e.children.length)return;Wa(e)&&t.onError(Fa(60,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}));const r=e.children[0];if(1===r.type)for(const t of r.props)7===t.type&&"show"===t.name&&e.props.push({type:6,name:"persisted",value:void 0,loc:e.loc})}}],nc={cloak:xa,html:(e,t,r)=>{const{exp:s,loc:n}=e;return s||r.onError(Fa(51,n)),t.children.length&&(r.onError(Fa(52,n)),t.children.length=0),{props:[ct(lt("innerHTML",!0,n),s||lt("",!0))]}},text:(e,t,r)=>{const{exp:s,loc:n}=e;return s||r.onError(Fa(53,n)),t.children.length&&(r.onError(Fa(54,n)),t.children.length=0),{props:[ct(lt("textContent",!0),s?ti(s,r)>0?s:ut(r.helperString(je),[s],n):lt("",!0))]}},model:(e,t,r)=>{const s=fa(e,t,r);if(!s.props.length||1===t.tagType)return s;function n(){const e=nn(t,"value");e&&r.onError(Fa(58,e.loc))}e.arg&&r.onError(Fa(56,e.arg.loc));const{tag:i}=t,o=r.isCustomElement(i);if("input"===i||"textarea"===i||"select"===i||o){let a=Sa,c=!1;if("input"===i||o){const s=nn(t,"type");if(s){if(7===s.type)a=Ta;else if(s.value)switch(s.value.content){case"radio":a=wa;break;case"checkbox":a=Ea;break;case"file":c=!0,r.onError(Fa(57,e.loc));break;default:n()}}else an(t)?a=Ta:n()}else"select"===i?a=_a:n();c||(s.needRuntime=r.helper(a))}else r.onError(Fa(55,e.loc));return s.props=s.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),s},on:(e,t,r)=>ca(e,t,r,(t=>{const{modifiers:s}=e;if(!s.length)return t;let{key:n,value:i}=t.props[0];const{keyModifiers:o,nonKeyModifiers:a,eventOptionModifiers:c}=((e,t,r,s)=>{const n=[],i=[],o=[];for(let r=0;r<t.length;r++){const s=t[r];Ua(s)?o.push(s):$a(s)?Hs(e)?Ha(e.content)?n.push(s):i.push(s):(n.push(s),i.push(s)):qa(s)?i.push(s):n.push(s)}return{keyModifiers:n,nonKeyModifiers:i,eventOptionModifiers:o}})(n,s,0,e.loc);if(a.includes("right")&&(n=Va(n,"onContextmenu")),a.includes("middle")&&(n=Va(n,"onMouseup")),a.length&&(i=ut(r.helper(Pa),[i,JSON.stringify(a)])),!o.length||Hs(n)&&!Ha(n.content)||(i=ut(r.helper(Aa),[i,JSON.stringify(o)])),c.length){const e=c.map(ce).join("");n=Hs(n)?lt(`${n.content}${e}`,!0):ht(["(",n,`) + "${e}"`])}return{props:[ct(n,i)]}})),show:(e,t,r)=>{const{exp:s,loc:n}=e;return s||r.onError(Fa(59,n)),{props:[],needRuntime:r.helper(Ca)}}};var ic=Object.freeze({__proto__:null,BASE_TRANSITION:xe,CAMELIZE:Ve,CAPITALIZE:We,CREATE_BLOCK:Ee,CREATE_COMMENT:Pe,CREATE_ELEMENT_BLOCK:Se,CREATE_ELEMENT_VNODE:Te,CREATE_SLOTS:De,CREATE_STATIC:Ce,CREATE_TEXT:Ae,CREATE_VNODE:_e,DOMDirectiveTransforms:nc,DOMNodeTransforms:sc,FRAGMENT:ge,GUARD_REACTIVE_PROPS:$e,IS_MEMO_SAME:et,IS_REF:Qe,KEEP_ALIVE:ve,MERGE_PROPS:Fe,NORMALIZE_CLASS:Be,NORMALIZE_PROPS:qe,NORMALIZE_STYLE:Ue,OPEN_BLOCK:we,POP_SCOPE_ID:Ye,PUSH_SCOPE_ID:Ke,RENDER_LIST:Le,RENDER_SLOT:Me,RESOLVE_COMPONENT:ke,RESOLVE_DIRECTIVE:Ne,RESOLVE_DYNAMIC_COMPONENT:Oe,RESOLVE_FILTER:Ie,SET_BLOCK_TRACKING:ze,SUSPENSE:be,TELEPORT:ye,TO_DISPLAY_STRING:je,TO_HANDLERS:He,TO_HANDLER_KEY:Ge,TRANSITION:ka,TRANSITION_GROUP:Oa,UNREF:Xe,V_MODEL_CHECKBOX:Ea,V_MODEL_DYNAMIC:Ta,V_MODEL_RADIO:wa,V_MODEL_SELECT:_a,V_MODEL_TEXT:Sa,V_ON_WITH_KEYS:Aa,V_ON_WITH_MODIFIERS:Pa,V_SHOW:Ca,WITH_CTX:Je,WITH_DIRECTIVES:Re,WITH_MEMO:Ze,advancePositionWithClone:en,advancePositionWithMutation:tn,assert:rn,baseCompile:va,baseParse:Cn,buildDirectiveArgs:sa,buildProps:ea,buildSlots:Go,checkCompatEnabled:function(e,t,r,...s){const n=function(e,t){const r=Sn("MODE",t),s=Sn(e,t);return 3===r?!0===s:!1!==s}(e,t);return n&&_n(e,t,r,...s),n},compile:function(e,t={}){return va(e,H({},Ma,t,{nodeTransforms:[rc,...sc,...t.nodeTransforms||[]],directiveTransforms:H({},nc,t.directiveTransforms||{}),transformHoist:za}))},createArrayExpression:ot,createAssignmentExpression:function(e,t){return{type:24,left:e,right:t,loc:st}},createBlockStatement:mt,createCacheExpression:ft,createCallExpression:ut,createCompilerError:fe,createCompoundExpression:ht,createConditionalExpression:dt,createDOMCompilerError:Fa,createForLoopParams:qo,createFunctionExpression:pt,createIfStatement:function(e,t,r){return{type:23,test:e,consequent:t,alternate:r,loc:st}},createInterpolation:function(e,t){return{type:5,loc:t,content:Y(e)?lt(e,!1,t):e}},createObjectExpression:at,createObjectProperty:ct,createReturnStatement:function(e){return{type:26,returns:e,loc:st}},createRoot:nt,createSequenceExpression:function(e){return{type:25,expressions:e,loc:st}},createSimpleExpression:lt,createStructuralDirectiveTransform:hi,createTemplateLiteral:function(e){return{type:22,elements:e,loc:st}},createTransformContext:ai,createVNodeCall:it,extractIdentifiers:vo,findDir:sn,findProp:nn,generate:to,generateCodeFrame:function(e,t=0,r=e.length){let s=e.split(/(\r?\n)/);const n=s.filter(((e,t)=>t%2==1));s=s.filter(((e,t)=>t%2==0));let i=0;const o=[];for(let e=0;e<s.length;e++)if(i+=s[e].length+(n[e]&&n[e].length||0),i>=t){for(let a=e-2;a<=e+2||r>i;a++){if(a<0||a>=s.length)continue;const c=a+1;o.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${s[a]}`);const l=s[a].length,h=n[a]&&n[a].length||0;if(a===e){const e=t-(i-(l+h)),s=Math.max(1,r>i?l-e:r-t);o.push(" | "+" ".repeat(e)+"^".repeat(s))}else if(a>e){if(r>i){const e=Math.max(Math.min(r-i,l),1);o.push(" | "+"^".repeat(e))}i+=l+h}}break}return o.join("\n")},getBaseTransformPreset:ba,getConstantType:ti,getInnerRange:Zs,getMemoedVNodeCall:xn,getVNodeBlockHelper:dn,getVNodeHelper:pn,hasDynamicKeyVBind:an,hasScopeRef:vn,helperNameMap:tt,injectProp:gn,isBuiltInType:Vs,isCoreComponent:Ws,isFunctionType:wo,isInDestructureAssignment:go,isMemberExpression:Qs,isMemberExpressionBrowser:e=>{e=e.trim().replace(Js,(e=>e.trim()));let t=0,r=[],s=0,n=0,i=null;for(let o=0;o<e.length;o++){const a=e.charAt(o);switch(t){case 0:if("["===a)r.push(t),t=1,s++;else if("("===a)r.push(t),t=2,n++;else if(!(0===o?Ks:Ys).test(a))return!1;break;case 1:"'"===a||'"'===a||"`"===a?(r.push(t),t=3,i=a):"["===a?s++:"]"===a&&(--s||(t=r.pop()));break;case 2:if("'"===a||'"'===a||"`"===a)r.push(t),t=3,i=a;else if("("===a)n++;else if(")"===a){if(o===e.length-1)return!1;--n||(t=r.pop())}break;case 3:a===i&&(t=r.pop(),i=null)}}return!s&&!n},isMemberExpressionNode:Xs,isReferencedIdentifier:mo,isSimpleIdentifier:zs,isSlotOutlet:un,isStaticArgOf:on,isStaticExp:Hs,isStaticProperty:Eo,isStaticPropertyKey:So,isTemplateNode:hn,isText:cn,isVSlot:ln,locStub:st,makeBlock:wn,noopDirectiveTransform:xa,parse:function(e,t={}){return Cn(e,H({},Ma,t))},parserOptions:Ma,processExpression:Po,processFor:Mo,processIf:ko,processSlotOutlet:oa,registerRuntimeHelpers:rt,resolveComponentType:Qo,stringifyExpression:Ao,toValidAssetId:bn,trackSlotScopes:Ho,trackVForSlotScopes:Vo,transform:ci,transformBind:la,transformElement:Xo,transformExpression:To,transformModel:fa,transformOn:ca,transformStyle:Da,traverseNode:li,walkBlockDeclarations:bo,walkFunctionParams:yo,walkIdentifiers:fo,warnDeprecation:_n});function oc(e){return"'"===(e=e.trim())[0]&&"'"===e[e.length-1]||'"'===e[0]&&'"'===e[e.length-1]?e.slice(1,-1):e}const ac=/v-bind\s*\(/g;function cc(e,t){let r=0,s=0;for(let n=t;n<e.length;n++){const t=e.charAt(n);switch(r){case 0:if("'"===t)r=1;else if('"'===t)r=2;else if("("===t)s++;else if(")"===t){if(!(s>0))return n;s--}break;case 1:"'"===t&&(r=0);break;case 2:'"'===t&&(r=0)}}return null}function lc(e=500){return new Map}var hc="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},uc=[],pc=[],dc="undefined"!=typeof Uint8Array?Uint8Array:Array,fc=!1;function mc(){fc=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,r=e.length;t<r;++t)uc[t]=e[t],pc[e.charCodeAt(t)]=t;pc["-".charCodeAt(0)]=62,pc["_".charCodeAt(0)]=63}function gc(e,t,r){for(var s,n,i=[],o=t;o<r;o+=3)s=(e[o]<<16)+(e[o+1]<<8)+e[o+2],i.push(uc[(n=s)>>18&63]+uc[n>>12&63]+uc[n>>6&63]+uc[63&n]);return i.join("")}function yc(e){var t;fc||mc();for(var r=e.length,s=r%3,n="",i=[],o=16383,a=0,c=r-s;a<c;a+=o)i.push(gc(e,a,a+o>c?c:a+o));return 1===s?(t=e[r-1],n+=uc[t>>2],n+=uc[t<<4&63],n+="=="):2===s&&(t=(e[r-2]<<8)+e[r-1],n+=uc[t>>10],n+=uc[t>>4&63],n+=uc[t<<2&63],n+="="),i.push(n),i.join("")}function bc(e,t,r,s,n){var i,o,a=8*n-s-1,c=(1<<a)-1,l=c>>1,h=-7,u=r?n-1:0,p=r?-1:1,d=e[t+u];for(u+=p,i=d&(1<<-h)-1,d>>=-h,h+=a;h>0;i=256*i+e[t+u],u+=p,h-=8);for(o=i&(1<<-h)-1,i>>=-h,h+=s;h>0;o=256*o+e[t+u],u+=p,h-=8);if(0===i)i=1-l;else{if(i===c)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,s),i-=l}return(d?-1:1)*o*Math.pow(2,i-s)}function vc(e,t,r,s,n,i){var o,a,c,l=8*i-n-1,h=(1<<l)-1,u=h>>1,p=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,d=s?0:i-1,f=s?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=h):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+u>=1?p/c:p*Math.pow(2,1-u))*c>=2&&(o++,c/=2),o+u>=h?(a=0,o=h):o+u>=1?(a=(t*c-1)*Math.pow(2,n),o+=u):(a=t*Math.pow(2,u-1)*Math.pow(2,n),o=0));n>=8;e[r+d]=255&a,d+=f,a/=256,n-=8);for(o=o<<n|a,l+=n;l>0;e[r+d]=255&o,d+=f,o/=256,l-=8);e[r+d-f]|=128*m}var xc={}.toString,wc=Array.isArray||function(e){return"[object Array]"==xc.call(e)};function Ec(){return _c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Sc(e,t){if(Ec()<t)throw new RangeError("Invalid typed array length");return _c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=_c.prototype:(null===e&&(e=new _c(t)),e.length=t),e}function _c(e,t,r){if(!(_c.TYPED_ARRAY_SUPPORT||this instanceof _c))return new _c(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return Ac(this,e)}return Tc(this,e,t,r)}function Tc(e,t,r,s){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,s){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(s||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===s?new Uint8Array(t):void 0===s?new Uint8Array(t,r):new Uint8Array(t,r,s),_c.TYPED_ARRAY_SUPPORT?(e=t).__proto__=_c.prototype:e=Cc(e,t),e}(e,t,r,s):"string"==typeof t?function(e,t,r){if("string"==typeof r&&""!==r||(r="utf8"),!_c.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var s=0|Nc(t,r),n=(e=Sc(e,s)).write(t,r);return n!==s&&(e=e.slice(0,n)),e}(e,t,r):function(e,t){if(Oc(t)){var r=0|kc(t.length);return 0===(e=Sc(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(s=t.length)!=s?Sc(e,0):Cc(e,t);if("Buffer"===t.type&&wc(t.data))return Cc(e,t.data)}var s;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function Pc(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function Ac(e,t){if(Pc(t),e=Sc(e,t<0?0:0|kc(t)),!_c.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function Cc(e,t){var r=t.length<0?0:0|kc(t.length);e=Sc(e,r);for(var s=0;s<r;s+=1)e[s]=255&t[s];return e}function kc(e){if(e>=Ec())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ec().toString(16)+" bytes");return 0|e}function Oc(e){return!(null==e||!e._isBuffer)}function Nc(e,t){if(Oc(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var s=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return nl(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return il(e).length;default:if(s)return nl(e).length;t=(""+t).toLowerCase(),s=!0}}function Ic(e,t,r){var s=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return zc(this,t,r);case"utf8":case"utf-8":return Hc(this,t,r);case"ascii":return Wc(this,t,r);case"latin1":case"binary":return Gc(this,t,r);case"base64":return $c(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kc(this,t,r);default:if(s)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function Rc(e,t,r){var s=e[t];e[t]=e[r],e[r]=s}function Lc(e,t,r,s,n){if(0===e.length)return-1;if("string"==typeof r?(s=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof t&&(t=_c.from(t,s)),Oc(t))return 0===t.length?-1:Mc(e,t,r,s,n);if("number"==typeof t)return t&=255,_c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Mc(e,[t],r,s,n);throw new TypeError("val must be string, number or Buffer")}function Mc(e,t,r,s,n){var i,o=1,a=e.length,c=t.length;if(void 0!==s&&("ucs2"===(s=String(s).toLowerCase())||"ucs-2"===s||"utf16le"===s||"utf-16le"===s)){if(e.length<2||t.length<2)return-1;o=2,a/=2,c/=2,r/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(n){var h=-1;for(i=r;i<a;i++)if(l(e,i)===l(t,-1===h?0:i-h)){if(-1===h&&(h=i),i-h+1===c)return h*o}else-1!==h&&(i-=i-h),h=-1}else for(r+c>a&&(r=a-c),i=r;i>=0;i--){for(var u=!0,p=0;p<c;p++)if(l(e,i+p)!==l(t,p)){u=!1;break}if(u)return i}return-1}function Dc(e,t,r,s){r=Number(r)||0;var n=e.length-r;s?(s=Number(s))>n&&(s=n):s=n;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");s>i/2&&(s=i/2);for(var o=0;o<s;++o){var a=parseInt(t.substr(2*o,2),16);if(isNaN(a))return o;e[r+o]=a}return o}function jc(e,t,r,s){return ol(nl(t,e.length-r),e,r,s)}function Fc(e,t,r,s){return ol(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,s)}function Bc(e,t,r,s){return Fc(e,t,r,s)}function Uc(e,t,r,s){return ol(il(t),e,r,s)}function qc(e,t,r,s){return ol(function(e,t){for(var r,s,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)s=(r=e.charCodeAt(o))>>8,n=r%256,i.push(n),i.push(s);return i}(t,e.length-r),e,r,s)}function $c(e,t,r){return 0===t&&r===e.length?yc(e):yc(e.slice(t,r))}function Hc(e,t,r){r=Math.min(e.length,r);for(var s=[],n=t;n<r;){var i,o,a,c,l=e[n],h=null,u=l>239?4:l>223?3:l>191?2:1;if(n+u<=r)switch(u){case 1:l<128&&(h=l);break;case 2:128==(192&(i=e[n+1]))&&(c=(31&l)<<6|63&i)>127&&(h=c);break;case 3:i=e[n+1],o=e[n+2],128==(192&i)&&128==(192&o)&&(c=(15&l)<<12|(63&i)<<6|63&o)>2047&&(c<55296||c>57343)&&(h=c);break;case 4:i=e[n+1],o=e[n+2],a=e[n+3],128==(192&i)&&128==(192&o)&&128==(192&a)&&(c=(15&l)<<18|(63&i)<<12|(63&o)<<6|63&a)>65535&&c<1114112&&(h=c)}null===h?(h=65533,u=1):h>65535&&(h-=65536,s.push(h>>>10&1023|55296),h=56320|1023&h),s.push(h),n+=u}return function(e){var t=e.length;if(t<=Vc)return String.fromCharCode.apply(String,e);for(var r="",s=0;s<t;)r+=String.fromCharCode.apply(String,e.slice(s,s+=Vc));return r}(s)}_c.TYPED_ARRAY_SUPPORT=void 0===hc.TYPED_ARRAY_SUPPORT||hc.TYPED_ARRAY_SUPPORT,Ec(),_c.poolSize=8192,_c._augment=function(e){return e.__proto__=_c.prototype,e},_c.from=function(e,t,r){return Tc(null,e,t,r)},_c.TYPED_ARRAY_SUPPORT&&(_c.prototype.__proto__=Uint8Array.prototype,_c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&_c[Symbol.species]),_c.alloc=function(e,t,r){return function(e,t,r,s){return Pc(t),t<=0?Sc(e,t):void 0!==r?"string"==typeof s?Sc(e,t).fill(r,s):Sc(e,t).fill(r):Sc(e,t)}(null,e,t,r)},_c.allocUnsafe=function(e){return Ac(null,e)},_c.allocUnsafeSlow=function(e){return Ac(null,e)},_c.isBuffer=function(e){return null!=e&&(!!e._isBuffer||al(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&al(e.slice(0,0))}(e))},_c.compare=function(e,t){if(!Oc(e)||!Oc(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,s=t.length,n=0,i=Math.min(r,s);n<i;++n)if(e[n]!==t[n]){r=e[n],s=t[n];break}return r<s?-1:s<r?1:0},_c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},_c.concat=function(e,t){if(!wc(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return _c.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var s=_c.allocUnsafe(t),n=0;for(r=0;r<e.length;++r){var i=e[r];if(!Oc(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(s,n),n+=i.length}return s},_c.byteLength=Nc,_c.prototype._isBuffer=!0,_c.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Rc(this,t,t+1);return this},_c.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Rc(this,t,t+3),Rc(this,t+1,t+2);return this},_c.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Rc(this,t,t+7),Rc(this,t+1,t+6),Rc(this,t+2,t+5),Rc(this,t+3,t+4);return this},_c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?Hc(this,0,e):Ic.apply(this,arguments)},_c.prototype.equals=function(e){if(!Oc(e))throw new TypeError("Argument must be a Buffer");return this===e||0===_c.compare(this,e)},_c.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},_c.prototype.compare=function(e,t,r,s,n){if(!Oc(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===s&&(s=0),void 0===n&&(n=this.length),t<0||r>e.length||s<0||n>this.length)throw new RangeError("out of range index");if(s>=n&&t>=r)return 0;if(s>=n)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(n>>>=0)-(s>>>=0),o=(r>>>=0)-(t>>>=0),a=Math.min(i,o),c=this.slice(s,n),l=e.slice(t,r),h=0;h<a;++h)if(c[h]!==l[h]){i=c[h],o=l[h];break}return i<o?-1:o<i?1:0},_c.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},_c.prototype.indexOf=function(e,t,r){return Lc(this,e,t,r,!0)},_c.prototype.lastIndexOf=function(e,t,r){return Lc(this,e,t,r,!1)},_c.prototype.write=function(e,t,r,s){if(void 0===t)s="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)s=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===s&&(s="utf8")):(s=r,r=void 0)}var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");s||(s="utf8");for(var i=!1;;)switch(s){case"hex":return Dc(this,e,t,r);case"utf8":case"utf-8":return jc(this,e,t,r);case"ascii":return Fc(this,e,t,r);case"latin1":case"binary":return Bc(this,e,t,r);case"base64":return Uc(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return qc(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+s);s=(""+s).toLowerCase(),i=!0}},_c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Vc=4096;function Wc(e,t,r){var s="";r=Math.min(e.length,r);for(var n=t;n<r;++n)s+=String.fromCharCode(127&e[n]);return s}function Gc(e,t,r){var s="";r=Math.min(e.length,r);for(var n=t;n<r;++n)s+=String.fromCharCode(e[n]);return s}function zc(e,t,r){var s=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>s)&&(r=s);for(var n="",i=t;i<r;++i)n+=sl(e[i]);return n}function Kc(e,t,r){for(var s=e.slice(t,r),n="",i=0;i<s.length;i+=2)n+=String.fromCharCode(s[i]+256*s[i+1]);return n}function Yc(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function Jc(e,t,r,s,n,i){if(!Oc(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<i)throw new RangeError('"value" argument is out of bounds');if(r+s>e.length)throw new RangeError("Index out of range")}function Xc(e,t,r,s){t<0&&(t=65535+t+1);for(var n=0,i=Math.min(e.length-r,2);n<i;++n)e[r+n]=(t&255<<8*(s?n:1-n))>>>8*(s?n:1-n)}function Qc(e,t,r,s){t<0&&(t=4294967295+t+1);for(var n=0,i=Math.min(e.length-r,4);n<i;++n)e[r+n]=t>>>8*(s?n:3-n)&255}function Zc(e,t,r,s,n,i){if(r+s>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function el(e,t,r,s,n){return n||Zc(e,0,r,4),vc(e,t,r,s,23,4),r+4}function tl(e,t,r,s,n){return n||Zc(e,0,r,8),vc(e,t,r,s,52,8),r+8}_c.prototype.slice=function(e,t){var r,s=this.length;if((e=~~e)<0?(e+=s)<0&&(e=0):e>s&&(e=s),(t=void 0===t?s:~~t)<0?(t+=s)<0&&(t=0):t>s&&(t=s),t<e&&(t=e),_c.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=_c.prototype;else{var n=t-e;r=new _c(n,void 0);for(var i=0;i<n;++i)r[i]=this[i+e]}return r},_c.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||Yc(e,t,this.length);for(var s=this[e],n=1,i=0;++i<t&&(n*=256);)s+=this[e+i]*n;return s},_c.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||Yc(e,t,this.length);for(var s=this[e+--t],n=1;t>0&&(n*=256);)s+=this[e+--t]*n;return s},_c.prototype.readUInt8=function(e,t){return t||Yc(e,1,this.length),this[e]},_c.prototype.readUInt16LE=function(e,t){return t||Yc(e,2,this.length),this[e]|this[e+1]<<8},_c.prototype.readUInt16BE=function(e,t){return t||Yc(e,2,this.length),this[e]<<8|this[e+1]},_c.prototype.readUInt32LE=function(e,t){return t||Yc(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},_c.prototype.readUInt32BE=function(e,t){return t||Yc(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},_c.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||Yc(e,t,this.length);for(var s=this[e],n=1,i=0;++i<t&&(n*=256);)s+=this[e+i]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*t)),s},_c.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||Yc(e,t,this.length);for(var s=t,n=1,i=this[e+--s];s>0&&(n*=256);)i+=this[e+--s]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*t)),i},_c.prototype.readInt8=function(e,t){return t||Yc(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},_c.prototype.readInt16LE=function(e,t){t||Yc(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},_c.prototype.readInt16BE=function(e,t){t||Yc(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},_c.prototype.readInt32LE=function(e,t){return t||Yc(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},_c.prototype.readInt32BE=function(e,t){return t||Yc(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},_c.prototype.readFloatLE=function(e,t){return t||Yc(e,4,this.length),bc(this,e,!0,23,4)},_c.prototype.readFloatBE=function(e,t){return t||Yc(e,4,this.length),bc(this,e,!1,23,4)},_c.prototype.readDoubleLE=function(e,t){return t||Yc(e,8,this.length),bc(this,e,!0,52,8)},_c.prototype.readDoubleBE=function(e,t){return t||Yc(e,8,this.length),bc(this,e,!1,52,8)},_c.prototype.writeUIntLE=function(e,t,r,s){e=+e,t|=0,r|=0,s||Jc(this,e,t,r,Math.pow(2,8*r)-1,0);var n=1,i=0;for(this[t]=255&e;++i<r&&(n*=256);)this[t+i]=e/n&255;return t+r},_c.prototype.writeUIntBE=function(e,t,r,s){e=+e,t|=0,r|=0,s||Jc(this,e,t,r,Math.pow(2,8*r)-1,0);var n=r-1,i=1;for(this[t+n]=255&e;--n>=0&&(i*=256);)this[t+n]=e/i&255;return t+r},_c.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||Jc(this,e,t,1,255,0),_c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},_c.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||Jc(this,e,t,2,65535,0),_c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Xc(this,e,t,!0),t+2},_c.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||Jc(this,e,t,2,65535,0),_c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Xc(this,e,t,!1),t+2},_c.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||Jc(this,e,t,4,4294967295,0),_c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Qc(this,e,t,!0),t+4},_c.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||Jc(this,e,t,4,4294967295,0),_c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Qc(this,e,t,!1),t+4},_c.prototype.writeIntLE=function(e,t,r,s){if(e=+e,t|=0,!s){var n=Math.pow(2,8*r-1);Jc(this,e,t,r,n-1,-n)}var i=0,o=1,a=0;for(this[t]=255&e;++i<r&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+r},_c.prototype.writeIntBE=function(e,t,r,s){if(e=+e,t|=0,!s){var n=Math.pow(2,8*r-1);Jc(this,e,t,r,n-1,-n)}var i=r-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+r},_c.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||Jc(this,e,t,1,127,-128),_c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},_c.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||Jc(this,e,t,2,32767,-32768),_c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Xc(this,e,t,!0),t+2},_c.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||Jc(this,e,t,2,32767,-32768),_c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Xc(this,e,t,!1),t+2},_c.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||Jc(this,e,t,4,2147483647,-2147483648),_c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Qc(this,e,t,!0),t+4},_c.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||Jc(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),_c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Qc(this,e,t,!1),t+4},_c.prototype.writeFloatLE=function(e,t,r){return el(this,e,t,!0,r)},_c.prototype.writeFloatBE=function(e,t,r){return el(this,e,t,!1,r)},_c.prototype.writeDoubleLE=function(e,t,r){return tl(this,e,t,!0,r)},_c.prototype.writeDoubleBE=function(e,t,r){return tl(this,e,t,!1,r)},_c.prototype.copy=function(e,t,r,s){if(r||(r=0),s||0===s||(s=this.length),t>=e.length&&(t=e.length),t||(t=0),s>0&&s<r&&(s=r),s===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(s<0)throw new RangeError("sourceEnd out of bounds");s>this.length&&(s=this.length),e.length-t<s-r&&(s=e.length-t+r);var n,i=s-r;if(this===e&&r<t&&t<s)for(n=i-1;n>=0;--n)e[n+t]=this[n+r];else if(i<1e3||!_c.TYPED_ARRAY_SUPPORT)for(n=0;n<i;++n)e[n+t]=this[n+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},_c.prototype.fill=function(e,t,r,s){if("string"==typeof e){if("string"==typeof t?(s=t,t=0,r=this.length):"string"==typeof r&&(s=r,r=this.length),1===e.length){var n=e.charCodeAt(0);n<256&&(e=n)}if(void 0!==s&&"string"!=typeof s)throw new TypeError("encoding must be a string");if("string"==typeof s&&!_c.isEncoding(s))throw new TypeError("Unknown encoding: "+s)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var o=Oc(e)?e:nl(new _c(e,s).toString()),a=o.length;for(i=0;i<r-t;++i)this[i+t]=o[i%a]}return this};var rl=/[^+\/0-9A-Za-z-_]/g;function sl(e){return e<16?"0"+e.toString(16):e.toString(16)}function nl(e,t){var r;t=t||1/0;for(var s=e.length,n=null,i=[],o=0;o<s;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===s){(t-=3)>-1&&i.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&i.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function il(e){return function(e){var t,r,s,n,i,o;fc||mc();var a=e.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[a-2]?2:"="===e[a-1]?1:0,o=new dc(3*a/4-i),s=i>0?a-4:a;var c=0;for(t=0,r=0;t<s;t+=4,r+=3)n=pc[e.charCodeAt(t)]<<18|pc[e.charCodeAt(t+1)]<<12|pc[e.charCodeAt(t+2)]<<6|pc[e.charCodeAt(t+3)],o[c++]=n>>16&255,o[c++]=n>>8&255,o[c++]=255&n;return 2===i?(n=pc[e.charCodeAt(t)]<<2|pc[e.charCodeAt(t+1)]>>4,o[c++]=255&n):1===i&&(n=pc[e.charCodeAt(t)]<<10|pc[e.charCodeAt(t+1)]<<4|pc[e.charCodeAt(t+2)]>>2,o[c++]=n>>8&255,o[c++]=255&n),o}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(rl,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function ol(e,t,r,s){for(var n=0;n<s&&!(n+r>=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function al(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function cl(e){var t="";e=e<0?-e<<1|1:e<<1;do{var r=31&e;(e>>>=5)>0&&(r|=32),t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[r]}while(e>0);return t}var ll=function e(t){this.bits=t instanceof e?t.bits.slice():[]};ll.prototype.add=function(e){this.bits[e>>5]|=1<<(31&e)},ll.prototype.has=function(e){return!!(this.bits[e>>5]&1<<(31&e))};var hl=function(e,t,r){this.start=e,this.end=t,this.original=r,this.intro="",this.outro="",this.content=r,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})};hl.prototype.appendLeft=function(e){this.outro+=e},hl.prototype.appendRight=function(e){this.intro=this.intro+e},hl.prototype.clone=function(){var e=new hl(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e},hl.prototype.contains=function(e){return this.start<e&&e<this.end},hl.prototype.eachNext=function(e){for(var t=this;t;)e(t),t=t.next},hl.prototype.eachPrevious=function(e){for(var t=this;t;)e(t),t=t.previous},hl.prototype.edit=function(e,t,r){return this.content=e,r||(this.intro="",this.outro=""),this.storeName=t,this.edited=!0,this},hl.prototype.prependLeft=function(e){this.outro=e+this.outro},hl.prototype.prependRight=function(e){this.intro=e+this.intro},hl.prototype.split=function(e){var t=e-this.start,r=this.original.slice(0,t),s=this.original.slice(t);this.original=r;var n=new hl(e,this.end,s);return n.outro=this.outro,this.outro="",this.end=e,this.edited?(n.edit("",!1),this.content=""):this.content=r,n.next=this.next,n.next&&(n.next.previous=n),n.previous=this,this.next=n,n},hl.prototype.toString=function(){return this.intro+this.content+this.outro},hl.prototype.trimEnd=function(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;var t=this.content.replace(e,"");return t.length?(t!==this.content&&this.split(this.start+t.length).edit("",void 0,!0),!0):(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),!!this.intro.length||void 0)},hl.prototype.trimStart=function(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;var t=this.content.replace(e,"");return t.length?(t!==this.content&&(this.split(this.end-t.length),this.edit("",void 0,!0)),!0):(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),!!this.outro.length||void 0)};var ul=function(){throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")};ul="undefined"!=typeof window&&"function"==typeof window.btoa?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:function(e){return _c.from(e,"utf-8").toString("base64")};var pl=function(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=function(e){for(var t=0,r=0,s=0,n=0,i="",o=0;o<e.length;o++){var a=e[o];if(o>0&&(i+=";"),0!==a.length){for(var c=0,l=[],h=0,u=a;h<u.length;h++){var p=u[h],d=cl(p[0]-c);c=p[0],p.length>1&&(d+=cl(p[1]-t)+cl(p[2]-r)+cl(p[3]-s),t=p[1],r=p[2],s=p[3]),5===p.length&&(d+=cl(p[4]-n),n=p[4]),l.push(d)}i+=l.join(",")}}return i}(e.mappings)};function dl(e){var t=e.split("\n"),r=t.filter((function(e){return/^\t+/.test(e)})),s=t.filter((function(e){return/^ {2,}/.test(e)}));if(0===r.length&&0===s.length)return null;if(r.length>=s.length)return"\t";var n=s.reduce((function(e,t){var r=/^ +/.exec(t)[0].length;return Math.min(r,e)}),1/0);return new Array(n+1).join(" ")}function fl(e,t){var r=e.split(/[/\\]/),s=t.split(/[/\\]/);for(r.pop();r[0]===s[0];)r.shift(),s.shift();if(r.length)for(var n=r.length;n--;)r[n]="..";return r.concat(s).join("/")}pl.prototype.toString=function(){return JSON.stringify(this)},pl.prototype.toUrl=function(){return"data:application/json;charset=utf-8;base64,"+ul(this.toString())};var ml=Object.prototype.toString;function gl(e){for(var t=e.split("\n"),r=[],s=0,n=0;s<t.length;s++)r.push(n),n+=t[s].length+1;return function(e){for(var t=0,s=r.length;t<s;){var n=t+s>>1;e<r[n]?s=n:t=n+1}var i=t-1;return{line:i,column:e-r[i]}}}var yl=function(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null};yl.prototype.addEdit=function(e,t,r,s){if(t.length){var n=[this.generatedCodeColumn,e,r.line,r.column];s>=0&&n.push(s),this.rawSegments.push(n)}else this.pending&&this.rawSegments.push(this.pending);this.advance(t),this.pending=null},yl.prototype.addUneditedChunk=function(e,t,r,s,n){for(var i=t.start,o=!0;i<t.end;)(this.hires||o||n.has(i))&&this.rawSegments.push([this.generatedCodeColumn,e,s.line,s.column]),"\n"===r[i]?(s.line+=1,s.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=!0):(s.column+=1,this.generatedCodeColumn+=1,o=!1),i+=1;this.pending=null},yl.prototype.advance=function(e){if(e){var t=e.split("\n");if(t.length>1){for(var r=0;r<t.length-1;r++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=t[t.length-1].length}};var bl="\n",vl={insertLeft:!1,insertRight:!1,storeName:!1},xl=function(e,t){void 0===t&&(t={});var r=new hl(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:r},lastChunk:{writable:!0,value:r},lastSearchedChunk:{writable:!0,value:r},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:t.filename},indentExclusionRanges:{writable:!0,value:t.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new ll},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:dl(e)}}),this.byStart[0]=r,this.byEnd[e.length]=r};function wl(e,t){for(var r=0,s=e.length-1;s>=0;s--){var n=e[s];"."===n?e.splice(s,1):".."===n?(e.splice(s,1),r++):r&&(e.splice(s,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}xl.prototype.addSourcemapLocation=function(e){this.sourcemapLocations.add(e)},xl.prototype.append=function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this},xl.prototype.appendLeft=function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var r=this.byEnd[e];return r?r.appendLeft(t):this.intro+=t,this},xl.prototype.appendRight=function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var r=this.byStart[e];return r?r.appendRight(t):this.outro+=t,this},xl.prototype.clone=function(){for(var e=new xl(this.original,{filename:this.filename}),t=this.firstChunk,r=e.firstChunk=e.lastSearchedChunk=t.clone();t;){e.byStart[r.start]=r,e.byEnd[r.end]=r;var s=t.next,n=s&&s.clone();n&&(r.next=n,n.previous=r,r=n),t=s}return e.lastChunk=r,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new ll(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e},xl.prototype.generateDecodedMap=function(e){var t=this;e=e||{};var r=Object.keys(this.storedNames),s=new yl(e.hires),n=gl(this.original);return this.intro&&s.advance(this.intro),this.firstChunk.eachNext((function(e){var i=n(e.start);e.intro.length&&s.advance(e.intro),e.edited?s.addEdit(0,e.content,i,e.storeName?r.indexOf(e.original):-1):s.addUneditedChunk(0,e,t.original,i,t.sourcemapLocations),e.outro.length&&s.advance(e.outro)})),{file:e.file?e.file.split(/[/\\]/).pop():null,sources:[e.source?fl(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:r,mappings:s.raw}},xl.prototype.generateMap=function(e){return new pl(this.generateDecodedMap(e))},xl.prototype.getIndentString=function(){return null===this.indentStr?"\t":this.indentStr},xl.prototype.indent=function(e,t){var r,s=/^[^\r\n]/gm;if(r=e,"[object Object]"===ml.call(r)&&(t=e,e=void 0),""===(e=void 0!==e?e:this.indentStr||"\t"))return this;var n={};(t=t||{}).exclude&&("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach((function(e){for(var t=e[0];t<e[1];t+=1)n[t]=!0}));var i=!1!==t.indentStart,o=function(t){return i?""+e+t:(i=!0,t)};this.intro=this.intro.replace(s,o);for(var a=0,c=this.firstChunk;c;){var l=c.end;if(c.edited)n[a]||(c.content=c.content.replace(s,o),c.content.length&&(i="\n"===c.content[c.content.length-1]));else for(a=c.start;a<l;){if(!n[a]){var h=this.original[a];"\n"===h?i=!0:"\r"!==h&&i&&(i=!1,a===c.start?c.prependRight(e):(this._splitChunk(c,a),(c=c.next).prependRight(e)))}a+=1}a=c.end,c=c.next}return this.outro=this.outro.replace(s,o),this},xl.prototype.insert=function(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")},xl.prototype.insertLeft=function(e,t){return vl.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),vl.insertLeft=!0),this.appendLeft(e,t)},xl.prototype.insertRight=function(e,t){return vl.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),vl.insertRight=!0),this.prependRight(e,t)},xl.prototype.move=function(e,t,r){if(r>=e&&r<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(r);var s=this.byStart[e],n=this.byEnd[t],i=s.previous,o=n.next,a=this.byStart[r];if(!a&&n===this.lastChunk)return this;var c=a?a.previous:this.lastChunk;return i&&(i.next=o),o&&(o.previous=i),c&&(c.next=s),a&&(a.previous=n),s.previous||(this.firstChunk=n.next),n.next||(this.lastChunk=s.previous,this.lastChunk.next=null),s.previous=c,n.next=a||null,c||(this.firstChunk=s),a||(this.lastChunk=n),this},xl.prototype.overwrite=function(e,t,r,s){if("string"!=typeof r)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===s&&(vl.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),vl.storeName=!0),s={storeName:!0});var n=void 0!==s&&s.storeName,i=void 0!==s&&s.contentOnly;if(n){var o=this.original.slice(e,t);this.storedNames[o]=!0}var a=this.byStart[e],c=this.byEnd[t];if(a){if(t>a.end&&a.next!==this.byStart[a.end])throw new Error("Cannot overwrite across a split point");if(a.edit(r,n,i),a!==c){for(var l=a.next;l!==c;)l.edit("",!1),l=l.next;l.edit("",!1)}}else{var h=new hl(e,t,"").edit(r,n);c.next=h,h.previous=c}return this},xl.prototype.prepend=function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},xl.prototype.prependLeft=function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var r=this.byEnd[e];return r?r.prependLeft(t):this.intro=t+this.intro,this},xl.prototype.prependRight=function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var r=this.byStart[e];return r?r.prependRight(t):this.outro=t+this.outro,this},xl.prototype.remove=function(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);for(var r=this.byStart[e];r;)r.intro="",r.outro="",r.edit(""),r=t>r.end?this.byStart[r.end]:null;return this},xl.prototype.lastChar=function(){if(this.outro.length)return this.outro[this.outro.length-1];var e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""},xl.prototype.lastLine=function(){var e=this.outro.lastIndexOf(bl);if(-1!==e)return this.outro.substr(e+1);var t=this.outro,r=this.lastChunk;do{if(r.outro.length>0){if(-1!==(e=r.outro.lastIndexOf(bl)))return r.outro.substr(e+1)+t;t=r.outro+t}if(r.content.length>0){if(-1!==(e=r.content.lastIndexOf(bl)))return r.content.substr(e+1)+t;t=r.content+t}if(r.intro.length>0){if(-1!==(e=r.intro.lastIndexOf(bl)))return r.intro.substr(e+1)+t;t=r.intro+t}}while(r=r.previous);return-1!==(e=this.intro.lastIndexOf(bl))?this.intro.substr(e+1)+t:this.intro+t},xl.prototype.slice=function(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var r="",s=this.firstChunk;s&&(s.start>e||s.end<=e);){if(s.start<t&&s.end>=t)return r;s=s.next}if(s&&s.edited&&s.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var n=s;s;){!s.intro||n===s&&s.start!==e||(r+=s.intro);var i=s.start<t&&s.end>=t;if(i&&s.edited&&s.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var o=n===s?e-s.start:0,a=i?s.content.length+t-s.end:s.content.length;if(r+=s.content.slice(o,a),!s.outro||i&&s.end!==t||(r+=s.outro),i)break;s=s.next}return r},xl.prototype.snip=function(e,t){var r=this.clone();return r.remove(0,e),r.remove(t,r.original.length),r},xl.prototype._split=function(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,r=e>t.end;t;){if(t.contains(e))return this._splitChunk(t,e);t=r?this.byStart[t.end]:this.byEnd[t.start]}},xl.prototype._splitChunk=function(e,t){if(e.edited&&e.content.length){var r=gl(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+r.line+":"+r.column+' – "'+e.original+'")')}var s=e.split(t);return this.byEnd[t]=e,this.byStart[t]=s,this.byEnd[s.end]=s,e===this.lastChunk&&(this.lastChunk=s),this.lastSearchedChunk=e,!0},xl.prototype.toString=function(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},xl.prototype.isEmpty=function(){var e=this.firstChunk;do{if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1}while(e=e.next);return!0},xl.prototype.length=function(){var e=this.firstChunk,t=0;do{t+=e.intro.length+e.content.length+e.outro.length}while(e=e.next);return t},xl.prototype.trimLines=function(){return this.trim("[\\r\\n]")},xl.prototype.trim=function(e){return this.trimStart(e).trimEnd(e)},xl.prototype.trimEndAborted=function(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;var r=this.lastChunk;do{var s=r.end,n=r.trimEnd(t);if(r.end!==s&&(this.lastChunk===r&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),n)return!0;r=r.previous}while(r);return!1},xl.prototype.trimEnd=function(e){return this.trimEndAborted(e),this},xl.prototype.trimStartAborted=function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;var r=this.firstChunk;do{var s=r.end,n=r.trimStart(t);if(r.end!==s&&(r===this.lastChunk&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),n)return!0;r=r.next}while(r);return!1},xl.prototype.trimStart=function(e){return this.trimStartAborted(e),this};var El=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Sl=function(e){return El.exec(e).slice(1)};function _l(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var s=r>=0?arguments[r]:"/";if("string"!=typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(e=s+"/"+e,t="/"===s.charAt(0))}return(t?"/":"")+(e=wl(Rl(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function Tl(e){var t=Pl(e),r="/"===Ll(e,-1);return(e=wl(Rl(e.split("/"),(function(e){return!!e})),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function Pl(e){return"/"===e.charAt(0)}function Al(){var e=Array.prototype.slice.call(arguments,0);return Tl(Rl(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function Cl(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=_l(e).substr(1),t=_l(t).substr(1);for(var s=r(e.split("/")),n=r(t.split("/")),i=Math.min(s.length,n.length),o=i,a=0;a<i;a++)if(s[a]!==n[a]){o=a;break}var c=[];for(a=o;a<s.length;a++)c.push("..");return(c=c.concat(n.slice(o))).join("/")}function kl(e){var t=Sl(e),r=t[0],s=t[1];return r||s?(s&&(s=s.substr(0,s.length-1)),r+s):"."}function Ol(e,t){var r=Sl(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r}function Nl(e){return Sl(e)[3]}var Il={extname:Nl,basename:Ol,dirname:kl,sep:"/",delimiter:":",relative:Cl,join:Al,isAbsolute:Pl,normalize:Tl,resolve:_l};function Rl(e,t){if(e.filter)return e.filter(t);for(var r=[],s=0;s<e.length;s++)t(e[s],s,e)&&r.push(e[s]);return r}var Ll=function(e,t,r){return e.substr(t,r)},Ml=Object.freeze({__proto__:null,basename:Ol,default:Il,delimiter:":",dirname:kl,extname:Nl,isAbsolute:Pl,join:Al,normalize:Tl,relative:Cl,resolve:_l,sep:"/"}),Dl=2147483647,jl=/[^\x20-\x7E]/,Fl=/[\x2E\u3002\uFF0E\uFF61]/g,Bl={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ul=Math.floor,ql=String.fromCharCode;function $l(e){throw new RangeError(Bl[e])}function Hl(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function Vl(e,t,r){var s=0;for(e=r?Ul(e/700):e>>1,e+=Ul(e/t);e>455;s+=36)e=Ul(e/35);return Ul(s+36*e/(e+38))}function Wl(e){return function(e,t){var r=e.split("@"),s="";r.length>1&&(s=r[0]+"@",e=r[1]);var n=function(e,t){for(var r=e.length,s=[];r--;)s[r]=t(e[r]);return s}((e=e.replace(Fl,".")).split("."),(function(e){return jl.test(e)?"xn--"+function(e){var t,r,s,n,i,o,a,c,l,h,u,p,d,f,m,g=[];for(e=function(e){for(var t,r,s=[],n=0,i=e.length;n<i;)(t=e.charCodeAt(n++))>=55296&&t<=56319&&n<i?56320==(64512&(r=e.charCodeAt(n++)))?s.push(((1023&t)<<10)+(1023&r)+65536):(s.push(t),n--):s.push(t);return s}(e),p=e.length,t=128,r=0,i=72,o=0;o<p;++o)(u=e[o])<128&&g.push(ql(u));for(s=n=g.length,n&&g.push("-");s<p;){for(a=Dl,o=0;o<p;++o)(u=e[o])>=t&&u<a&&(a=u);for(a-t>Ul((Dl-r)/(d=s+1))&&$l("overflow"),r+=(a-t)*d,t=a,o=0;o<p;++o)if((u=e[o])<t&&++r>Dl&&$l("overflow"),u==t){for(c=r,l=36;!(c<(h=l<=i?1:l>=i+26?26:l-i));l+=36)m=c-h,f=36-h,g.push(ql(Hl(h+m%f,0))),c=Ul(m/f);g.push(ql(Hl(c,0))),i=Vl(r,d,s==n),r=0,++s}++r,++t}return g.join("")}(e):e})).join(".");return s+n}(e)}function Gl(){throw new Error("setTimeout has not been defined")}function zl(){throw new Error("clearTimeout has not been defined")}var Kl=Gl,Yl=zl;function Jl(e){if(Kl===setTimeout)return setTimeout(e,0);if((Kl===Gl||!Kl)&&setTimeout)return Kl=setTimeout,setTimeout(e,0);try{return Kl(e,0)}catch(t){try{return Kl.call(null,e,0)}catch(t){return Kl.call(this,e,0)}}}"function"==typeof hc.setTimeout&&(Kl=setTimeout),"function"==typeof hc.clearTimeout&&(Yl=clearTimeout);var Xl,Ql=[],Zl=!1,eh=-1;function th(){Zl&&Xl&&(Zl=!1,Xl.length?Ql=Xl.concat(Ql):eh=-1,Ql.length&&rh())}function rh(){if(!Zl){var e=Jl(th);Zl=!0;for(var t=Ql.length;t;){for(Xl=Ql,Ql=[];++eh<t;)Xl&&Xl[eh].run();eh=-1,t=Ql.length}Xl=null,Zl=!1,function(e){if(Yl===clearTimeout)return clearTimeout(e);if((Yl===zl||!Yl)&&clearTimeout)return Yl=clearTimeout,clearTimeout(e);try{Yl(e)}catch(t){try{return Yl.call(null,e)}catch(t){return Yl.call(this,e)}}}(e)}}function sh(e,t){this.fun=e,this.array=t}function nh(){}sh.prototype.run=function(){this.fun.apply(null,this.array)};var ih=nh,oh=nh,ah=nh,ch=nh,lh=nh,hh=nh,uh=nh,ph=hc.performance||{},dh=ph.now||ph.mozNow||ph.msNow||ph.oNow||ph.webkitNow||function(){return(new Date).getTime()},fh=new Date,mh={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Ql.push(new sh(e,t)),1!==Ql.length||Zl||Jl(rh)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:ih,addListener:oh,once:ah,off:ch,removeListener:lh,removeAllListeners:hh,emit:uh,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*dh.call(ph),r=Math.floor(t),s=Math.floor(t%1*1e9);return e&&(r-=e[0],(s-=e[1])<0&&(r--,s+=1e9)),[r,s]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-fh)/1e3}},gh="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e},yh=/%[sdj%]/g;function bh(e){if(!Lh(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(Sh(arguments[r]));return t.join(" ")}r=1;for(var s=arguments,n=s.length,i=String(e).replace(yh,(function(e){if("%%"===e)return"%";if(r>=n)return e;switch(e){case"%s":return String(s[r++]);case"%d":return Number(s[r++]);case"%j":try{return JSON.stringify(s[r++])}catch(e){return"[Circular]"}default:return e}})),o=s[r];r<n;o=s[++r])Nh(o)||!Fh(o)?i+=" "+o:i+=" "+Sh(o);return i}function vh(e,t){if(Dh(hc.process))return function(){return vh(e,t).apply(this,arguments)};if(!0===mh.noDeprecation)return e;var r=!1;return function(){if(!r){if(mh.throwDeprecation)throw new Error(t);mh.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}}var xh,wh={};function Eh(e){return Dh(xh)&&(xh=mh.env.NODE_DEBUG||""),e=e.toUpperCase(),wh[e]||(new RegExp("\\b"+e+"\\b","i").test(xh)?wh[e]=function(){var t=bh.apply(null,arguments);console.error("%s %d: %s",e,0,t)}:wh[e]=function(){}),wh[e]}function Sh(e,t){var r={seen:[],stylize:Th};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),Oh(t)?r.showHidden=t:t&&Yh(r,t),Dh(r.showHidden)&&(r.showHidden=!1),Dh(r.depth)&&(r.depth=2),Dh(r.colors)&&(r.colors=!1),Dh(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=_h),Ph(r,e,r.depth)}function _h(e,t){var r=Sh.styles[t];return r?"["+Sh.colors[r][0]+"m"+e+"["+Sh.colors[r][1]+"m":e}function Th(e,t){return e}function Ph(e,t,r){if(e.customInspect&&t&&qh(t.inspect)&&t.inspect!==Sh&&(!t.constructor||t.constructor.prototype!==t)){var s=t.inspect(r,e);return Lh(s)||(s=Ph(e,s,r)),s}var n=function(e,t){if(Dh(t))return e.stylize("undefined","undefined");if(Lh(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return Rh(t)?e.stylize(""+t,"number"):Oh(t)?e.stylize(""+t,"boolean"):Nh(t)?e.stylize("null","null"):void 0}(e,t);if(n)return n;var i=Object.keys(t),o=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),Uh(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return Ah(t);if(0===i.length){if(qh(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(jh(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Bh(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Uh(t))return Ah(t)}var c,l="",h=!1,u=["{","}"];return kh(t)&&(h=!0,u=["[","]"]),qh(t)&&(l=" [Function"+(t.name?": "+t.name:"")+"]"),jh(t)&&(l=" "+RegExp.prototype.toString.call(t)),Bh(t)&&(l=" "+Date.prototype.toUTCString.call(t)),Uh(t)&&(l=" "+Ah(t)),0!==i.length||h&&0!=t.length?r<0?jh(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=h?function(e,t,r,s,n){for(var i=[],o=0,a=t.length;o<a;++o)Jh(t,String(o))?i.push(Ch(e,t,r,s,String(o),!0)):i.push("");return n.forEach((function(n){n.match(/^\d+$/)||i.push(Ch(e,t,r,s,n,!0))})),i}(e,t,r,o,i):i.map((function(s){return Ch(e,t,r,o,s,h)})),e.seen.pop(),function(e,t,r){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}(c,l,u)):u[0]+l+u[1]}function Ah(e){return"["+Error.prototype.toString.call(e)+"]"}function Ch(e,t,r,s,n,i){var o,a,c;if((c=Object.getOwnPropertyDescriptor(t,n)||{value:t[n]}).get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),Jh(s,n)||(o="["+n+"]"),a||(e.seen.indexOf(c.value)<0?(a=Nh(r)?Ph(e,c.value,null):Ph(e,c.value,r-1)).indexOf("\n")>-1&&(a=i?a.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),Dh(o)){if(i&&n.match(/^\d+$/))return a;(o=JSON.stringify(""+n)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+a}function kh(e){return Array.isArray(e)}function Oh(e){return"boolean"==typeof e}function Nh(e){return null===e}function Ih(e){return null==e}function Rh(e){return"number"==typeof e}function Lh(e){return"string"==typeof e}function Mh(e){return"symbol"==typeof e}function Dh(e){return void 0===e}function jh(e){return Fh(e)&&"[object RegExp]"===Vh(e)}function Fh(e){return"object"==typeof e&&null!==e}function Bh(e){return Fh(e)&&"[object Date]"===Vh(e)}function Uh(e){return Fh(e)&&("[object Error]"===Vh(e)||e instanceof Error)}function qh(e){return"function"==typeof e}function $h(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function Hh(e){return _c.isBuffer(e)}function Vh(e){return Object.prototype.toString.call(e)}function Wh(e){return e<10?"0"+e.toString(10):e.toString(10)}Sh.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Sh.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Gh=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function zh(){var e=new Date,t=[Wh(e.getHours()),Wh(e.getMinutes()),Wh(e.getSeconds())].join(":");return[e.getDate(),Gh[e.getMonth()],t].join(" ")}function Kh(){console.log("%s - %s",zh(),bh.apply(null,arguments))}function Yh(e,t){if(!t||!Fh(t))return e;for(var r=Object.keys(t),s=r.length;s--;)e[r[s]]=t[r[s]];return e}function Jh(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Xh={inherits:gh,_extend:Yh,log:Kh,isBuffer:Hh,isPrimitive:$h,isFunction:qh,isError:Uh,isDate:Bh,isObject:Fh,isRegExp:jh,isUndefined:Dh,isSymbol:Mh,isString:Lh,isNumber:Rh,isNullOrUndefined:Ih,isNull:Nh,isBoolean:Oh,isArray:kh,inspect:Sh,deprecate:vh,format:bh,debuglog:Eh},Qh=Object.freeze({__proto__:null,_extend:Yh,debuglog:Eh,default:Xh,deprecate:vh,format:bh,inherits:gh,inspect:Sh,isArray:kh,isBoolean:Oh,isBuffer:Hh,isDate:Bh,isError:Uh,isFunction:qh,isNull:Nh,isNullOrUndefined:Ih,isNumber:Rh,isObject:Fh,isPrimitive:$h,isRegExp:jh,isString:Lh,isSymbol:Mh,isUndefined:Dh,log:Kh});function Zh(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var eu=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function tu(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}}function ru(e,t){if(e.map)return e.map(t);for(var r=[],s=0;s<e.length;s++)r.push(t(e[s],s));return r}var su=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t};function nu(e,t,r,s){t=t||"&",r=r||"=";var n={};if("string"!=typeof e||0===e.length)return n;var i=/\+/g;e=e.split(t);var o=1e3;s&&"number"==typeof s.maxKeys&&(o=s.maxKeys);var a=e.length;o>0&&a>o&&(a=o);for(var c=0;c<a;++c){var l,h,u,p,d=e[c].replace(i,"%20"),f=d.indexOf(r);f>=0?(l=d.substr(0,f),h=d.substr(f+1)):(l=d,h=""),u=decodeURIComponent(l),p=decodeURIComponent(h),Zh(n,u)?eu(n[u])?n[u].push(p):n[u]=[n[u],p]:n[u]=p}return n}const iu=hc.URL,ou=hc.URLSearchParams;var au={parse:wu,resolve:Pu,resolveObject:Au,fileURLToPath:Su,format:_u,Url:cu,URL:iu,URLSearchParams:ou};function cu(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var lu=/^([a-z0-9.+-]+:)/i,hu=/:[0-9]*$/,uu=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,pu=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),du=["'"].concat(pu),fu=["%","/","?",";","#"].concat(du),mu=["/","?","#"],gu=/^[+a-z0-9A-Z_-]{0,63}$/,yu=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,bu={javascript:!0,"javascript:":!0},vu={javascript:!0,"javascript:":!0},xu={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function wu(e,t,r){if(e&&Fh(e)&&e instanceof cu)return e;var s=new cu;return s.parse(e,t,r),s}function Eu(e,t,r,s){if(!Lh(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),i=-1!==n&&n<t.indexOf("#")?"?":"#",o=t.split(i);o[0]=o[0].replace(/\\/g,"/");var a=t=o.join(i);if(a=a.trim(),!s&&1===t.split("#").length){var c=uu.exec(a);if(c)return e.path=a,e.href=a,e.pathname=c[1],c[2]?(e.search=c[2],e.query=r?nu(e.search.substr(1)):e.search.substr(1)):r&&(e.search="",e.query={}),e}var l,h,u,p,d=lu.exec(a);if(d){var f=(d=d[0]).toLowerCase();e.protocol=f,a=a.substr(d.length)}if(s||d||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var m="//"===a.substr(0,2);!m||d&&vu[d]||(a=a.substr(2),e.slashes=!0)}if(!vu[d]&&(m||d&&!xu[d])){var g,y,b=-1;for(l=0;l<mu.length;l++)-1!==(h=a.indexOf(mu[l]))&&(-1===b||h<b)&&(b=h);for(-1!==(y=-1===b?a.lastIndexOf("@"):a.lastIndexOf("@",b))&&(g=a.slice(0,y),a=a.slice(y+1),e.auth=decodeURIComponent(g)),b=-1,l=0;l<fu.length;l++)-1!==(h=a.indexOf(fu[l]))&&(-1===b||h<b)&&(b=h);-1===b&&(b=a.length),e.host=a.slice(0,b),a=a.slice(b),Cu(e),e.hostname=e.hostname||"";var v="["===e.hostname[0]&&"]"===e.hostname[e.hostname.length-1];if(!v){var x=e.hostname.split(/\./);for(l=0,u=x.length;l<u;l++){var w=x[l];if(w&&!w.match(gu)){for(var E="",S=0,_=w.length;S<_;S++)w.charCodeAt(S)>127?E+="x":E+=w[S];if(!E.match(gu)){var T=x.slice(0,l),P=x.slice(l+1),A=w.match(yu);A&&(T.push(A[1]),P.unshift(A[2])),P.length&&(a="/"+P.join(".")+a),e.hostname=T.join(".");break}}}}e.hostname.length>255?e.hostname="":e.hostname=e.hostname.toLowerCase(),v||(e.hostname=Wl(e.hostname)),p=e.port?":"+e.port:"";var C=e.hostname||"";e.host=C+p,e.href+=e.host,v&&(e.hostname=e.hostname.substr(1,e.hostname.length-2),"/"!==a[0]&&(a="/"+a))}if(!bu[f])for(l=0,u=du.length;l<u;l++){var k=du[l];if(-1!==a.indexOf(k)){var O=encodeURIComponent(k);O===k&&(O=escape(k)),a=a.split(k).join(O)}}var N=a.indexOf("#");-1!==N&&(e.hash=a.substr(N),a=a.slice(0,N));var I=a.indexOf("?");if(-1!==I?(e.search=a.substr(I),e.query=a.substr(I+1),r&&(e.query=nu(e.query)),a=a.slice(0,I)):r&&(e.search="",e.query={}),a&&(e.pathname=a),xu[f]&&e.hostname&&!e.pathname&&(e.pathname="/"),e.pathname||e.search){p=e.pathname||"";var R=e.search||"";e.path=p+R}return e.href=Tu(e),e}function Su(e){if("string"==typeof e)e=(new cu).parse(e);else if(!(e instanceof cu))throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof e+String(e));if("file:"!==e.protocol)throw new TypeError("The URL must be of scheme file");return function(e){const t=e.pathname;for(let e=0;e<t.length;e++)if("%"===t[e]){const r=32|t.codePointAt(e+2);if("2"===t[e+1]&&102===r)throw new TypeError("must not include encoded / characters")}return decodeURIComponent(t)}(e)}function _u(e){return Lh(e)&&(e=Eu({},e)),Tu(e)}function Tu(e){var t=e.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var r=e.protocol||"",s=e.pathname||"",n=e.hash||"",i=!1,o="";e.host?i=t+e.host:e.hostname&&(i=t+(-1===e.hostname.indexOf(":")?e.hostname:"["+this.hostname+"]"),e.port&&(i+=":"+e.port)),e.query&&Fh(e.query)&&Object.keys(e.query).length&&(o=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?ru(su(e),(function(s){var n=encodeURIComponent(tu(s))+r;return eu(e[s])?ru(e[s],(function(e){return n+encodeURIComponent(tu(e))})).join(t):n+encodeURIComponent(tu(e[s]))})).join(t):""}(e.query));var a=e.search||o&&"?"+o||"";return r&&":"!==r.substr(-1)&&(r+=":"),e.slashes||(!r||xu[r])&&!1!==i?(i="//"+(i||""),s&&"/"!==s.charAt(0)&&(s="/"+s)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),a&&"?"!==a.charAt(0)&&(a="?"+a),r+i+(s=s.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(a=a.replace("#","%23"))+n}function Pu(e,t){return wu(e,!1,!0).resolve(t)}function Au(e,t){return e?wu(e,!1,!0).resolveObject(t):t}function Cu(e){var t=e.host,r=hu.exec(t);r&&(":"!==(r=r[0])&&(e.port=r.substr(1)),t=t.substr(0,t.length-r.length)),t&&(e.hostname=t)}cu.prototype.parse=function(e,t,r){return Eu(this,e,t,r)},cu.prototype.format=function(){return Tu(this)},cu.prototype.resolve=function(e){return this.resolveObject(wu(e,!1,!0)).format()},cu.prototype.resolveObject=function(e){if(Lh(e)){var t=new cu;t.parse(e,!1,!0),e=t}for(var r,s=new cu,n=Object.keys(this),i=0;i<n.length;i++){var o=n[i];s[o]=this[o]}if(s.hash=e.hash,""===e.href)return s.href=s.format(),s;if(e.slashes&&!e.protocol){for(var a=Object.keys(e),c=0;c<a.length;c++){var l=a[c];"protocol"!==l&&(s[l]=e[l])}return xu[s.protocol]&&s.hostname&&!s.pathname&&(s.path=s.pathname="/"),s.href=s.format(),s}if(e.protocol&&e.protocol!==s.protocol){if(!xu[e.protocol]){for(var h=Object.keys(e),u=0;u<h.length;u++){var p=h[u];s[p]=e[p]}return s.href=s.format(),s}if(s.protocol=e.protocol,e.host||vu[e.protocol])s.pathname=e.pathname;else{for(r=(e.pathname||"").split("/");r.length&&!(e.host=r.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==r[0]&&r.unshift(""),r.length<2&&r.unshift(""),s.pathname=r.join("/")}if(s.search=e.search,s.query=e.query,s.host=e.host||"",s.auth=e.auth,s.hostname=e.hostname||e.host,s.port=e.port,s.pathname||s.search){var d=s.pathname||"",f=s.search||"";s.path=d+f}return s.slashes=s.slashes||e.slashes,s.href=s.format(),s}var m,g=s.pathname&&"/"===s.pathname.charAt(0),y=e.host||e.pathname&&"/"===e.pathname.charAt(0),b=y||g||s.host&&e.pathname,v=b,x=s.pathname&&s.pathname.split("/")||[],w=s.protocol&&!xu[s.protocol];if(r=e.pathname&&e.pathname.split("/")||[],w&&(s.hostname="",s.port=null,s.host&&(""===x[0]?x[0]=s.host:x.unshift(s.host)),s.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===r[0]?r[0]=e.host:r.unshift(e.host)),e.host=null),b=b&&(""===r[0]||""===x[0])),y)s.host=e.host||""===e.host?e.host:s.host,s.hostname=e.hostname||""===e.hostname?e.hostname:s.hostname,s.search=e.search,s.query=e.query,x=r;else if(r.length)x||(x=[]),x.pop(),x=x.concat(r),s.search=e.search,s.query=e.query;else if(!Ih(e.search))return w&&(s.hostname=s.host=x.shift(),(m=!!(s.host&&s.host.indexOf("@")>0)&&s.host.split("@"))&&(s.auth=m.shift(),s.host=s.hostname=m.shift())),s.search=e.search,s.query=e.query,Nh(s.pathname)&&Nh(s.search)||(s.path=(s.pathname?s.pathname:"")+(s.search?s.search:"")),s.href=s.format(),s;if(!x.length)return s.pathname=null,s.search?s.path="/"+s.search:s.path=null,s.href=s.format(),s;for(var E=x.slice(-1)[0],S=(s.host||e.host||x.length>1)&&("."===E||".."===E)||""===E,_=0,T=x.length;T>=0;T--)"."===(E=x[T])?x.splice(T,1):".."===E?(x.splice(T,1),_++):_&&(x.splice(T,1),_--);if(!b&&!v)for(;_--;_)x.unshift("..");!b||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),S&&"/"!==x.join("/").substr(-1)&&x.push("");var P=""===x[0]||x[0]&&"/"===x[0].charAt(0);return w&&(s.hostname=s.host=P?"":x.length?x.shift():"",(m=!!(s.host&&s.host.indexOf("@")>0)&&s.host.split("@"))&&(s.auth=m.shift(),s.host=s.hostname=m.shift())),(b=b||s.host&&x.length)&&!P&&x.unshift(""),x.length?s.pathname=x.join("/"):(s.pathname=null,s.path=null),Nh(s.pathname)&&Nh(s.search)||(s.path=(s.pathname?s.pathname:"")+(s.search?s.search:"")),s.auth=e.auth||s.auth,s.slashes=s.slashes||e.slashes,s.href=s.format(),s},cu.prototype.parseHost=function(){return Cu(this)};var ku=Object.freeze({__proto__:null,URL:iu,URLSearchParams:ou,Url:cu,default:au,fileURLToPath:Su,format:_u,parse:wu,resolve:Pu,resolveObject:Au});rt({[Symbol("ssrInterpolate")]:"ssrInterpolate",[Symbol("ssrRenderVNode")]:"ssrRenderVNode",[Symbol("ssrRenderComponent")]:"ssrRenderComponent",[Symbol("ssrRenderSlot")]:"ssrRenderSlot",[Symbol("ssrRenderSlotInner")]:"ssrRenderSlotInner",[Symbol("ssrRenderClass")]:"ssrRenderClass",[Symbol("ssrRenderStyle")]:"ssrRenderStyle",[Symbol("ssrRenderAttrs")]:"ssrRenderAttrs",[Symbol("ssrRenderAttr")]:"ssrRenderAttr",[Symbol("ssrRenderDynamicAttr")]:"ssrRenderDynamicAttr",[Symbol("ssrRenderList")]:"ssrRenderList",[Symbol("ssrIncludeBooleanAttr")]:"ssrIncludeBooleanAttr",[Symbol("ssrLooseEqual")]:"ssrLooseEqual",[Symbol("ssrLooseContain")]:"ssrLooseContain",[Symbol("ssrRenderDynamicModel")]:"ssrRenderDynamicModel",[Symbol("ssrGetDynamicModelProps")]:"ssrGetDynamicModelProps",[Symbol("ssrRenderTeleport")]:"ssrRenderTeleport",[Symbol("ssrRenderSuspense")]:"ssrRenderSuspense",[Symbol("ssrGetDirectiveProps")]:"ssrGetDirectiveProps"}),hi(/^(if|else|else-if)$/,ko),hi("for",Mo),new WeakMap,new WeakMap,new WeakMap,new WeakMap,Symbol(),new WeakMap,new WeakMap;const[Ou,Nu]=ba(!0);Object.assign(Object.assign({},Nu),nc);var Iu=yt(Object.freeze({__proto__:null,default:{}})),Ru=yt(Ml),Lu=yt(Qh);function Mu(e){console.warn(`[1m[33m[@vue/compiler-sfc][0m[33m ${e}[0m\n`)}const Du=y("once,memo,if,for,else,else-if,slot,text,html,on,bind,model,show,cloak,is"),ju=lc(),Fu=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/;function Bu(e,t){if(/ as\s+\w|<.*>|:/.test(e)){if("slot"===t)e=`(${e})=>{}`;else if("on"===t)e=`()=>{return ${e}}`;else if("for"===t){const t=e.match(Fu);if(t){const[,e,r]=t;return Bu(`(${e})=>{}`)+Bu(r)}}let r="";return fo($s(e,{plugins:["typescript"]}),(e=>{r+=","+e.name})),r}return function(e){return e.replace(/'[^']*'|"[^"]*"/g,"").replace(/`[^`]+`/g,Uu)}(e)}function Uu(e){const t=e.match(/\${[^}]+}/g);return t?t.map((e=>e.slice(2,-1))).join(","):""}const qu=lc();function $u(e,t=!1){const r=new SyntaxError(`Single file component can contain only one <${e.tag}${t?" setup":""}> element`);return r.loc=e.loc,r}function Hu(e,t,r){const s=e.tag;let{start:n,end:i}=e.loc,o="";if(e.children.length)n=e.children[0].loc.start,i=e.children[e.children.length-1].loc.end,o=t.slice(n.offset,i.offset);else{const t=e.loc.source.indexOf("</");t>-1&&(n={line:n.line,column:n.column+t,offset:n.offset+t}),i=Object.assign({},n)}const a={},c={type:s,content:o,loc:{source:o,start:n,end:i},attrs:a};return r&&(c.content=function(e,t,r){if(e=e.slice(0,t.loc.start.offset),"space"===r)return e.replace(Gu," ");{const r=e.split(Vu).length,s="script"!==t.type||t.lang?"\n":"//\n";return Array(r).join(s)}}(t,c,r)+c.content),e.props.forEach((e=>{6===e.type&&(a[e.name]=e.value&&e.value.content||!0,"lang"===e.name?c.lang=e.value&&e.value.content:"src"===e.name?c.src=e.value&&e.value.content:"style"===s?"scoped"===e.name?c.scoped=!0:"module"===e.name&&(c.module=a[e.name]):"script"===s&&"setup"===e.name&&(c.setup=a.setup))})),c}const Vu=/\r?\n/g,Wu=/^(?:\/\/)?\s*$/,Gu=/./g;var zu={exports:{}};function Ku(){return!1}function Yu(){throw new Error("tty.ReadStream is not implemented")}function Ju(){throw new Error("tty.ReadStream is not implemented")}var Xu={isatty:Ku,ReadStream:Yu,WriteStream:Ju};let Qu=yt(Object.freeze({__proto__:null,ReadStream:Yu,WriteStream:Ju,default:Xu,isatty:Ku})),Zu=!("NO_COLOR"in{}||mh.argv.includes("--no-color"))&&("FORCE_COLOR"in{}||mh.argv.includes("--color")||Qu.isatty(1)&&"dumb"!==mh.env.TERM||"CI"in{}),ep=(e,t,r=e)=>s=>{let n=""+s,i=n.indexOf(t,e.length);return~i?e+tp(n,t,r,i)+t:e+n+t},tp=(e,t,r,s)=>{let n=e.substring(0,s)+r,i=e.substring(s+t.length),o=i.indexOf(t);return~o?n+tp(i,t,r,o):n+i},rp=(e=Zu)=>({isColorSupported:e,reset:e?e=>`[0m${e}[0m`:String,bold:e?ep("[1m","[22m","[22m[1m"):String,dim:e?ep("[2m","[22m","[22m[2m"):String,italic:e?ep("[3m","[23m"):String,underline:e?ep("[4m","[24m"):String,inverse:e?ep("[7m","[27m"):String,hidden:e?ep("[8m","[28m"):String,strikethrough:e?ep("[9m","[29m"):String,black:e?ep("[30m","[39m"):String,red:e?ep("[31m","[39m"):String,green:e?ep("[32m","[39m"):String,yellow:e?ep("[33m","[39m"):String,blue:e?ep("[34m","[39m"):String,magenta:e?ep("[35m","[39m"):String,cyan:e?ep("[36m","[39m"):String,white:e?ep("[37m","[39m"):String,gray:e?ep("[90m","[39m"):String,bgBlack:e?ep("[40m","[49m"):String,bgRed:e?ep("[41m","[49m"):String,bgGreen:e?ep("[42m","[49m"):String,bgYellow:e?ep("[43m","[49m"):String,bgBlue:e?ep("[44m","[49m"):String,bgMagenta:e?ep("[45m","[49m"):String,bgCyan:e?ep("[46m","[49m"):String,bgWhite:e?ep("[47m","[49m"):String});zu.exports=rp(),zu.exports.createColors=rp;const sp="'".charCodeAt(0),np='"'.charCodeAt(0),ip="\\".charCodeAt(0),op="/".charCodeAt(0),ap="\n".charCodeAt(0),cp=" ".charCodeAt(0),lp="\f".charCodeAt(0),hp="\t".charCodeAt(0),up="\r".charCodeAt(0),pp="[".charCodeAt(0),dp="]".charCodeAt(0),fp="(".charCodeAt(0),mp=")".charCodeAt(0),gp="{".charCodeAt(0),yp="}".charCodeAt(0),bp=";".charCodeAt(0),vp="*".charCodeAt(0),xp=":".charCodeAt(0),wp="@".charCodeAt(0),Ep=/[\t\n\f\r "#'()/;[\\\]{}]/g,Sp=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,_p=/.[\n"'(/\\]/,Tp=/[\da-f]/i;var Pp=function(e,t={}){let r,s,n,i,o,a,c,l,h,u,p=e.css.valueOf(),d=t.ignoreErrors,f=p.length,m=0,g=[],y=[];function b(t){throw e.error("Unclosed "+t,m)}return{back:function(e){y.push(e)},nextToken:function(e){if(y.length)return y.pop();if(m>=f)return;let t=!!e&&e.ignoreUnclosed;switch(r=p.charCodeAt(m),r){case ap:case cp:case hp:case up:case lp:s=m;do{s+=1,r=p.charCodeAt(s)}while(r===cp||r===ap||r===hp||r===up||r===lp);u=["space",p.slice(m,s)],m=s-1;break;case pp:case dp:case gp:case yp:case xp:case bp:case mp:{let e=String.fromCharCode(r);u=[e,e,m];break}case fp:if(l=g.length?g.pop()[1]:"",h=p.charCodeAt(m+1),"url"===l&&h!==sp&&h!==np&&h!==cp&&h!==ap&&h!==hp&&h!==lp&&h!==up){s=m;do{if(a=!1,s=p.indexOf(")",s+1),-1===s){if(d||t){s=m;break}b("bracket")}for(c=s;p.charCodeAt(c-1)===ip;)c-=1,a=!a}while(a);u=["brackets",p.slice(m,s+1),m,s],m=s}else s=p.indexOf(")",m+1),i=p.slice(m,s+1),-1===s||_p.test(i)?u=["(","(",m]:(u=["brackets",i,m,s],m=s);break;case sp:case np:n=r===sp?"'":'"',s=m;do{if(a=!1,s=p.indexOf(n,s+1),-1===s){if(d||t){s=m+1;break}b("string")}for(c=s;p.charCodeAt(c-1)===ip;)c-=1,a=!a}while(a);u=["string",p.slice(m,s+1),m,s],m=s;break;case wp:Ep.lastIndex=m+1,Ep.test(p),s=0===Ep.lastIndex?p.length-1:Ep.lastIndex-2,u=["at-word",p.slice(m,s+1),m,s],m=s;break;case ip:for(s=m,o=!0;p.charCodeAt(s+1)===ip;)s+=1,o=!o;if(r=p.charCodeAt(s+1),o&&r!==op&&r!==cp&&r!==ap&&r!==hp&&r!==up&&r!==lp&&(s+=1,Tp.test(p.charAt(s)))){for(;Tp.test(p.charAt(s+1));)s+=1;p.charCodeAt(s+1)===cp&&(s+=1)}u=["word",p.slice(m,s+1),m,s],m=s;break;default:r===op&&p.charCodeAt(m+1)===vp?(s=p.indexOf("*/",m+2)+1,0===s&&(d||t?s=p.length:b("comment")),u=["comment",p.slice(m,s+1),m,s],m=s):(Sp.lastIndex=m+1,Sp.test(p),s=0===Sp.lastIndex?p.length-1:Sp.lastIndex-2,u=["word",p.slice(m,s+1),m,s],g.push(u),m=s)}return m++,u},endOfFile:function(){return 0===y.length&&m>=f},position:function(){return m}}};let Ap,Cp=zu.exports,kp=Pp;const Op={brackets:Cp.cyan,"at-word":Cp.cyan,comment:Cp.gray,string:Cp.green,class:Cp.yellow,hash:Cp.magenta,call:Cp.cyan,"(":Cp.cyan,")":Cp.cyan,"{":Cp.yellow,"}":Cp.yellow,"[":Cp.yellow,"]":Cp.yellow,":":Cp.yellow,";":Cp.yellow};function Np([e,t],r){if("word"===e){if("."===t[0])return"class";if("#"===t[0])return"hash"}if(!r.endOfFile()){let e=r.nextToken();if(r.back(e),"brackets"===e[0]||"("===e[0])return"call"}return e}function Ip(e){let t=kp(new Ap(e),{ignoreErrors:!0}),r="";for(;!t.endOfFile();){let e=t.nextToken(),s=Op[Np(e,t)];r+=s?e[1].split(/\r?\n/).map((e=>s(e))).join("\n"):e[1]}return r}Ip.registerInput=function(e){Ap=e};var Rp=Ip;let Lp=zu.exports,Mp=Rp,Dp=class extends Error{constructor(e,t,r,s,n,i){super(e),this.name="CssSyntaxError",this.reason=e,n&&(this.file=n),s&&(this.source=s),i&&(this.plugin=i),void 0!==t&&void 0!==r&&("number"==typeof t?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,Dp)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=Lp.isColorSupported),Mp&&e&&(t=Mp(t));let r,s,n=t.split(/\r?\n/),i=Math.max(this.line-3,0),o=Math.min(this.line+2,n.length),a=String(o).length;if(e){let{bold:e,red:t,gray:n}=Lp.createColors(!0);r=r=>e(t(r)),s=e=>n(e)}else r=s=e=>e;return n.slice(i,o).map(((e,t)=>{let n=i+1+t,o=" "+(" "+n).slice(-a)+" | ";if(n===this.line){let t=s(o.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return r(">")+s(o)+e+"\n "+t+r("^")}return" "+s(o)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}};var jp=Dp;Dp.default=Dp;var Fp={};Fp.isClean=Symbol("isClean"),Fp.my=Symbol("my");const Bp={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};let Up=class{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),s=e.prop+r+this.rawValue(e,"value");e.important&&(s+=e.raws.important||" !important"),t&&(s+=";"),this.builder(s,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,t){let r="@"+e.name,s=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:s&&(r+=" "),e.nodes)this.block(e,r+s);else{let n=(e.raws.between||"")+(t?";":"");this.builder(r+s+n,e)}}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let r=this.raw(e,"semicolon");for(let s=0;s<e.nodes.length;s++){let n=e.nodes[s],i=this.raw(n,"before");i&&this.builder(i),this.stringify(n,t!==s||r)}}block(e,t){let r,s=this.raw(e,"between","beforeOpen");this.builder(t+s+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")}raw(e,t,r){let s;if(r||(r=t),t&&(s=e.raws[t],void 0!==s))return s;let n=e.parent;if("before"===r){if(!n||"root"===n.type&&n.first===e)return"";if(n&&"document"===n.type)return""}if(!n)return Bp[r];let i=e.root();if(i.rawCache||(i.rawCache={}),void 0!==i.rawCache[r])return i.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);{let n="raw"+((o=r)[0].toUpperCase()+o.slice(1));this[n]?s=this[n](i,e):i.walk((e=>{if(s=e.raws[t],void 0!==s)return!1}))}var o;return void 0===s&&(s=Bp[r]),i.rawCache[r]=s,s}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawBeforeComment(e,t){let r;return e.walkComments((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeRule(e){let t;return e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return t=r.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}beforeAfter(e,t){let r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let s=e.parent,n=0;for(;s&&"root"!==s.type;)n+=1,s=s.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<n;e++)r+=t}return r}rawValue(e,t){let r=e[t],s=e.raws[t];return s&&s.value===r?s.raw:r}};var qp=Up;Up.default=Up;let $p=qp;function Hp(e,t){new $p(t).stringify(e)}var Vp=Hp;Hp.default=Hp;let{isClean:Wp,my:Gp}=Fp,zp=jp,Kp=qp,Yp=Vp;function Jp(e,t){let r=new e.constructor;for(let s in e){if(!Object.prototype.hasOwnProperty.call(e,s))continue;if("proxyCache"===s)continue;let n=e[s],i=typeof n;"parent"===s&&"object"===i?t&&(r[s]=t):"source"===s?r[s]=n:Array.isArray(n)?r[s]=n.map((e=>Jp(e,r))):("object"===i&&null!==n&&(n=Jp(n)),r[s]=n)}return r}let Xp=class{constructor(e={}){this.raws={},this[Wp]=!1,this[Gp]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let r of e[t])"function"==typeof r.clone?this.append(r.clone()):this.append(r)}else this[t]=e[t]}error(e,t={}){if(this.source){let{start:r,end:s}=this.rangeBy(t);return this.source.input.error(e,{line:r.line,column:r.column},{line:s.line,column:s.column},t)}return new zp(e)}warn(e,t,r){let s={node:this};for(let e in r)s[e]=r[e];return e.warn(t,s)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=Yp){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}assign(e={}){for(let t in e)this[t]=e[t];return this}clone(e={}){let t=Jp(this);for(let r in e)t[r]=e[r];return t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let s of e)s===this?r=!0:r?(this.parent.insertAfter(t,s),t=s):this.parent.insertBefore(t,s);r||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}raw(e,t){return(new Kp).raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,t){let r={},s=null==t;t=t||new Map;let n=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let s=this[e];if(Array.isArray(s))r[e]=s.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof s&&s.toJSON)r[e]=s.toJSON(null,t);else if("source"===e){let i=t.get(s.input);null==i&&(i=n,t.set(s.input,n),n++),r[e]={inputId:i,start:s.start,end:s.end}}else r[e]=s}return s&&(r.inputs=[...t.keys()].map((e=>e.toJSON()))),r}positionInside(e){let t=this.toString(),r=this.source.start.column,s=this.source.start.line;for(let n=0;n<e;n++)"\n"===t[n]?(r=1,s+=1):r+=1;return{line:s,column:r}}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let r=this.toString().indexOf(e.word);-1!==r&&(t=this.positionInside(r))}return t}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column},r=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let s=this.toString().indexOf(e.word);-1!==s&&(t=this.positionInside(s),r=this.positionInside(s+e.word.length))}else e.start?t={line:e.start.line,column:e.start.column}:e.index&&(t=this.positionInside(e.index)),e.end?r={line:e.end.line,column:e.end.column}:e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={line:t.line,column:t.column+1}),{start:t,end:r}}getProxyProcessor(){return{set:(e,t,r)=>(e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t]}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[Wp]){this[Wp]=!1;let e=this;for(;e=e.parent;)e[Wp]=!1}}get proxyOf(){return this}};var Qp=Xp;Xp.default=Xp;let Zp=Qp,ed=class extends Zp{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}};var td=ed;ed.default=ed;var rd={},sd={},nd={},id={},od="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");id.encode=function(e){if(0<=e&&e<od.length)return od[e];throw new TypeError("Must be between 0 and 63: "+e)},id.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1};var ad=id;nd.encode=function(e){var t,r="",s=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&s,(s>>>=5)>0&&(t|=32),r+=ad.encode(t)}while(s>0);return r},nd.decode=function(e,t,r){var s,n,i,o,a=e.length,c=0,l=0;do{if(t>=a)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(n=ad.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));s=!!(32&n),c+=(n&=31)<<l,l+=5}while(s);r.value=(o=(i=c)>>1,1==(1&i)?-o:o),r.rest=t};var cd={};!function(e){e.getArg=function(e,t,r){if(t in e)return e[t];if(3===arguments.length)return r;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function s(e){var r=e.match(t);return r?{scheme:r[1],auth:r[2],host:r[3],port:r[4],path:r[5]}:null}function n(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}e.urlParse=s,e.urlGenerate=n;var i,o,a=(i=function(t){var r=t,i=s(t);if(i){if(!i.path)return t;r=i.path}for(var o=e.isAbsolute(r),a=[],c=0,l=0;;){if(c=l,-1===(l=r.indexOf("/",c))){a.push(r.slice(c));break}for(a.push(r.slice(c,l));l<r.length&&"/"===r[l];)l++}var h,u=0;for(l=a.length-1;l>=0;l--)"."===(h=a[l])?a.splice(l,1):".."===h?u++:u>0&&(""===h?(a.splice(l+1,u),u=0):(a.splice(l,2),u--));return""===(r=a.join("/"))&&(r=o?"/":"."),i?(i.path=r,n(i)):r},o=[],function(e){for(var t=0;t<o.length;t++)if(o[t].input===e){var r=o[0];return o[0]=o[t],o[t]=r,o[0].result}var s=i(e);return o.unshift({input:e,result:s}),o.length>32&&o.pop(),s});function c(e,t){""===e&&(e="."),""===t&&(t=".");var i=s(t),o=s(e);if(o&&(e=o.path||"/"),i&&!i.scheme)return o&&(i.scheme=o.scheme),n(i);if(i||t.match(r))return t;if(o&&!o.host&&!o.path)return o.host=t,n(o);var c="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return o?(o.path=c,n(o)):c}e.normalize=a,e.join=c,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==t.indexOf(e+"/");){var s=e.lastIndexOf("/");if(s<0)return t;if((e=e.slice(0,s)).match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)};var l=!("__proto__"in Object.create(null));function h(e){return e}function u(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var r=t-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function p(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=l?h:function(e){return u(e)?"$"+e:e},e.fromSetString=l?h:function(e){return u(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,r){var s=p(e.source,t.source);return 0!==s||0!=(s=e.originalLine-t.originalLine)||0!=(s=e.originalColumn-t.originalColumn)||r||0!=(s=e.generatedColumn-t.generatedColumn)||0!=(s=e.generatedLine-t.generatedLine)?s:p(e.name,t.name)},e.compareByOriginalPositionsNoSource=function(e,t,r){var s;return 0!=(s=e.originalLine-t.originalLine)||0!=(s=e.originalColumn-t.originalColumn)||r||0!=(s=e.generatedColumn-t.generatedColumn)||0!=(s=e.generatedLine-t.generatedLine)?s:p(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,r){var s=e.generatedLine-t.generatedLine;return 0!==s||0!=(s=e.generatedColumn-t.generatedColumn)||r||0!==(s=p(e.source,t.source))||0!=(s=e.originalLine-t.originalLine)||0!=(s=e.originalColumn-t.originalColumn)?s:p(e.name,t.name)},e.compareByGeneratedPositionsDeflatedNoLine=function(e,t,r){var s=e.generatedColumn-t.generatedColumn;return 0!==s||r||0!==(s=p(e.source,t.source))||0!=(s=e.originalLine-t.originalLine)||0!=(s=e.originalColumn-t.originalColumn)?s:p(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r||0!=(r=e.generatedColumn-t.generatedColumn)||0!==(r=p(e.source,t.source))||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)?r:p(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,r){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),r){var i=s(r);if(!i)throw new Error("sourceMapURL could not be parsed");if(i.path){var o=i.path.lastIndexOf("/");o>=0&&(i.path=i.path.substring(0,o+1))}t=c(n(i),t)}return a(t)}}(cd);var ld={},hd=cd,ud=Object.prototype.hasOwnProperty,pd="undefined"!=typeof Map;function dd(){this._array=[],this._set=pd?new Map:Object.create(null)}dd.fromArray=function(e,t){for(var r=new dd,s=0,n=e.length;s<n;s++)r.add(e[s],t);return r},dd.prototype.size=function(){return pd?this._set.size:Object.getOwnPropertyNames(this._set).length},dd.prototype.add=function(e,t){var r=pd?e:hd.toSetString(e),s=pd?this.has(e):ud.call(this._set,r),n=this._array.length;s&&!t||this._array.push(e),s||(pd?this._set.set(e,n):this._set[r]=n)},dd.prototype.has=function(e){if(pd)return this._set.has(e);var t=hd.toSetString(e);return ud.call(this._set,t)},dd.prototype.indexOf=function(e){if(pd){var t=this._set.get(e);if(t>=0)return t}else{var r=hd.toSetString(e);if(ud.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},dd.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},dd.prototype.toArray=function(){return this._array.slice()},ld.ArraySet=dd;var fd={},md=cd;function gd(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}gd.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},gd.prototype.add=function(e){var t,r,s,n,i,o;r=e,s=(t=this._last).generatedLine,n=r.generatedLine,i=t.generatedColumn,o=r.generatedColumn,n>s||n==s&&o>=i||md.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},gd.prototype.toArray=function(){return this._sorted||(this._array.sort(md.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},fd.MappingList=gd;var yd=nd,bd=cd,vd=ld.ArraySet,xd=fd.MappingList;function wd(e){e||(e={}),this._file=bd.getArg(e,"file",null),this._sourceRoot=bd.getArg(e,"sourceRoot",null),this._skipValidation=bd.getArg(e,"skipValidation",!1),this._sources=new vd,this._names=new vd,this._mappings=new xd,this._sourcesContents=null}wd.prototype._version=3,wd.fromSourceMap=function(e){var t=e.sourceRoot,r=new wd({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var s={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(s.source=e.source,null!=t&&(s.source=bd.relative(t,s.source)),s.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(s.name=e.name)),r.addMapping(s)})),e.sources.forEach((function(s){var n=s;null!==t&&(n=bd.relative(t,s)),r._sources.has(n)||r._sources.add(n);var i=e.sourceContentFor(s);null!=i&&r.setSourceContent(s,i)})),r},wd.prototype.addMapping=function(e){var t=bd.getArg(e,"generated"),r=bd.getArg(e,"original",null),s=bd.getArg(e,"source",null),n=bd.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,s,n),null!=s&&(s=String(s),this._sources.has(s)||this._sources.add(s)),null!=n&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:s,name:n})},wd.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=bd.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[bd.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[bd.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},wd.prototype.applySourceMap=function(e,t,r){var s=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');s=e.file}var n=this._sourceRoot;null!=n&&(s=bd.relative(n,s));var i=new vd,o=new vd;this._mappings.unsortedForEach((function(t){if(t.source===s&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=r&&(t.source=bd.join(r,t.source)),null!=n&&(t.source=bd.relative(n,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var c=t.source;null==c||i.has(c)||i.add(c);var l=t.name;null==l||o.has(l)||o.add(l)}),this),this._sources=i,this._names=o,e.sources.forEach((function(t){var s=e.sourceContentFor(t);null!=s&&(null!=r&&(t=bd.join(r,t)),null!=n&&(t=bd.relative(n,t)),this.setSourceContent(t,s))}),this)},wd.prototype._validateMapping=function(e,t,r,s){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||r||s)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:s}))},wd.prototype._serializeMappings=function(){for(var e,t,r,s,n=0,i=1,o=0,a=0,c=0,l=0,h="",u=this._mappings.toArray(),p=0,d=u.length;p<d;p++){if(e="",(t=u[p]).generatedLine!==i)for(n=0;t.generatedLine!==i;)e+=";",i++;else if(p>0){if(!bd.compareByGeneratedPositionsInflated(t,u[p-1]))continue;e+=","}e+=yd.encode(t.generatedColumn-n),n=t.generatedColumn,null!=t.source&&(s=this._sources.indexOf(t.source),e+=yd.encode(s-l),l=s,e+=yd.encode(t.originalLine-1-a),a=t.originalLine-1,e+=yd.encode(t.originalColumn-o),o=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=yd.encode(r-c),c=r)),h+=e}return h},wd.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=bd.relative(t,e));var r=bd.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},wd.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},wd.prototype.toString=function(){return JSON.stringify(this.toJSON())},sd.SourceMapGenerator=wd;var Ed={},Sd={};!function(e){function t(r,s,n,i,o,a){var c=Math.floor((s-r)/2)+r,l=o(n,i[c],!0);return 0===l?c:l>0?s-c>1?t(c,s,n,i,o,a):a==e.LEAST_UPPER_BOUND?s<i.length?s:-1:c:c-r>1?t(r,c,n,i,o,a):a==e.LEAST_UPPER_BOUND?c:r<0?-1:r}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(r,s,n,i){if(0===s.length)return-1;var o=t(-1,s.length,r,s,n,i||e.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===n(s[o],s[o-1],!0);)--o;return o}}(Sd);var _d={};function Td(e){function t(e,t,r){var s=e[t];e[t]=e[r],e[r]=s}return function e(r,s,n,i){if(n<i){var o=n-1;t(r,(h=n,u=i,Math.round(h+Math.random()*(u-h))),i);for(var a=r[i],c=n;c<i;c++)s(r[c],a,!1)<=0&&t(r,o+=1,c);t(r,o+1,c);var l=o+1;e(r,s,n,l-1),e(r,s,l+1,i)}var h,u}}let Pd=new WeakMap;_d.quickSort=function(e,t,r=0){let s=Pd.get(t);void 0===s&&(s=function(e){let t=Td.toString();return new Function(`return ${t}`)()(e)}(t),Pd.set(t,s)),s(e,t,r,e.length-1)};var Ad=cd,Cd=Sd,kd=ld.ArraySet,Od=nd,Nd=_d.quickSort;function Id(e,t){var r=e;return"string"==typeof e&&(r=Ad.parseSourceMapInput(e)),null!=r.sections?new jd(r,t):new Rd(r,t)}function Rd(e,t){var r=e;"string"==typeof e&&(r=Ad.parseSourceMapInput(e));var s=Ad.getArg(r,"version"),n=Ad.getArg(r,"sources"),i=Ad.getArg(r,"names",[]),o=Ad.getArg(r,"sourceRoot",null),a=Ad.getArg(r,"sourcesContent",null),c=Ad.getArg(r,"mappings"),l=Ad.getArg(r,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);o&&(o=Ad.normalize(o)),n=n.map(String).map(Ad.normalize).map((function(e){return o&&Ad.isAbsolute(o)&&Ad.isAbsolute(e)?Ad.relative(o,e):e})),this._names=kd.fromArray(i.map(String),!0),this._sources=kd.fromArray(n,!0),this._absoluteSources=this._sources.toArray().map((function(e){return Ad.computeSourceURL(o,e,t)})),this.sourceRoot=o,this.sourcesContent=a,this._mappings=c,this._sourceMapURL=t,this.file=l}function Ld(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}Id.fromSourceMap=function(e,t){return Rd.fromSourceMap(e,t)},Id.prototype._version=3,Id.prototype.__generatedMappings=null,Object.defineProperty(Id.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),Id.prototype.__originalMappings=null,Object.defineProperty(Id.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),Id.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return";"===r||","===r},Id.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},Id.GENERATED_ORDER=1,Id.ORIGINAL_ORDER=2,Id.GREATEST_LOWER_BOUND=1,Id.LEAST_UPPER_BOUND=2,Id.prototype.eachMapping=function(e,t,r){var s,n=t||null;switch(r||Id.GENERATED_ORDER){case Id.GENERATED_ORDER:s=this._generatedMappings;break;case Id.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var i=this.sourceRoot,o=e.bind(n),a=this._names,c=this._sources,l=this._sourceMapURL,h=0,u=s.length;h<u;h++){var p=s[h],d=null===p.source?null:c.at(p.source);o({source:d=Ad.computeSourceURL(i,d,l),generatedLine:p.generatedLine,generatedColumn:p.generatedColumn,originalLine:p.originalLine,originalColumn:p.originalColumn,name:null===p.name?null:a.at(p.name)})}},Id.prototype.allGeneratedPositionsFor=function(e){var t=Ad.getArg(e,"line"),r={source:Ad.getArg(e,"source"),originalLine:t,originalColumn:Ad.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var s=[],n=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",Ad.compareByOriginalPositions,Cd.LEAST_UPPER_BOUND);if(n>=0){var i=this._originalMappings[n];if(void 0===e.column)for(var o=i.originalLine;i&&i.originalLine===o;)s.push({line:Ad.getArg(i,"generatedLine",null),column:Ad.getArg(i,"generatedColumn",null),lastColumn:Ad.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n];else for(var a=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==a;)s.push({line:Ad.getArg(i,"generatedLine",null),column:Ad.getArg(i,"generatedColumn",null),lastColumn:Ad.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n]}return s},Ed.SourceMapConsumer=Id,Rd.prototype=Object.create(Id.prototype),Rd.prototype.consumer=Id,Rd.prototype._findSourceIndex=function(e){var t,r=e;if(null!=this.sourceRoot&&(r=Ad.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},Rd.fromSourceMap=function(e,t){var r=Object.create(Rd.prototype),s=r._names=kd.fromArray(e._names.toArray(),!0),n=r._sources=kd.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=t,r._absoluteSources=r._sources.toArray().map((function(e){return Ad.computeSourceURL(r.sourceRoot,e,t)}));for(var i=e._mappings.toArray().slice(),o=r.__generatedMappings=[],a=r.__originalMappings=[],c=0,l=i.length;c<l;c++){var h=i[c],u=new Ld;u.generatedLine=h.generatedLine,u.generatedColumn=h.generatedColumn,h.source&&(u.source=n.indexOf(h.source),u.originalLine=h.originalLine,u.originalColumn=h.originalColumn,h.name&&(u.name=s.indexOf(h.name)),a.push(u)),o.push(u)}return Nd(r.__originalMappings,Ad.compareByOriginalPositions),r},Rd.prototype._version=3,Object.defineProperty(Rd.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});const Md=Ad.compareByGeneratedPositionsDeflatedNoLine;function Dd(e,t){let r=e.length,s=e.length-t;if(!(s<=1))if(2==s){let r=e[t],s=e[t+1];Md(r,s)>0&&(e[t]=s,e[t+1]=r)}else if(s<20)for(let s=t;s<r;s++)for(let r=s;r>t;r--){let t=e[r-1],s=e[r];if(Md(t,s)<=0)break;e[r-1]=s,e[r]=t}else Nd(e,Md,t)}function jd(e,t){var r=e;"string"==typeof e&&(r=Ad.parseSourceMapInput(e));var s=Ad.getArg(r,"version"),n=Ad.getArg(r,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new kd,this._names=new kd;var i={line:-1,column:0};this._sections=n.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var r=Ad.getArg(e,"offset"),s=Ad.getArg(r,"line"),n=Ad.getArg(r,"column");if(s<i.line||s===i.line&&n<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=r,{generatedOffset:{generatedLine:s+1,generatedColumn:n+1},consumer:new Id(Ad.getArg(e,"map"),t)}}))}Rd.prototype._parseMappings=function(e,t){var r,s,n,i,o=1,a=0,c=0,l=0,h=0,u=0,p=e.length,d=0,f={},m=[],g=[];let y=0;for(;d<p;)if(";"===e.charAt(d))o++,d++,a=0,Dd(g,y),y=g.length;else if(","===e.charAt(d))d++;else{for((r=new Ld).generatedLine=o,n=d;n<p&&!this._charIsMappingSeparator(e,n);n++);for(e.slice(d,n),s=[];d<n;)Od.decode(e,d,f),i=f.value,d=f.rest,s.push(i);if(2===s.length)throw new Error("Found a source, but no line and column");if(3===s.length)throw new Error("Found a source and line, but no column");if(r.generatedColumn=a+s[0],a=r.generatedColumn,s.length>1&&(r.source=h+s[1],h+=s[1],r.originalLine=c+s[2],c=r.originalLine,r.originalLine+=1,r.originalColumn=l+s[3],l=r.originalColumn,s.length>4&&(r.name=u+s[4],u+=s[4])),g.push(r),"number"==typeof r.originalLine){let e=r.source;for(;m.length<=e;)m.push(null);null===m[e]&&(m[e]=[]),m[e].push(r)}}Dd(g,y),this.__generatedMappings=g;for(var b=0;b<m.length;b++)null!=m[b]&&Nd(m[b],Ad.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...m)},Rd.prototype._findMapping=function(e,t,r,s,n,i){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return Cd.search(e,t,n,i)},Rd.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},Rd.prototype.originalPositionFor=function(e){var t={generatedLine:Ad.getArg(e,"line"),generatedColumn:Ad.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",Ad.compareByGeneratedPositionsDeflated,Ad.getArg(e,"bias",Id.GREATEST_LOWER_BOUND));if(r>=0){var s=this._generatedMappings[r];if(s.generatedLine===t.generatedLine){var n=Ad.getArg(s,"source",null);null!==n&&(n=this._sources.at(n),n=Ad.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var i=Ad.getArg(s,"name",null);return null!==i&&(i=this._names.at(i)),{source:n,line:Ad.getArg(s,"originalLine",null),column:Ad.getArg(s,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},Rd.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e}))},Rd.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var s,n=e;if(null!=this.sourceRoot&&(n=Ad.relative(this.sourceRoot,n)),null!=this.sourceRoot&&(s=Ad.urlParse(this.sourceRoot))){var i=n.replace(/^file:\/\//,"");if("file"==s.scheme&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!s.path||"/"==s.path)&&this._sources.has("/"+n))return this.sourcesContent[this._sources.indexOf("/"+n)]}if(t)return null;throw new Error('"'+n+'" is not in the SourceMap.')},Rd.prototype.generatedPositionFor=function(e){var t=Ad.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:Ad.getArg(e,"line"),originalColumn:Ad.getArg(e,"column")},s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",Ad.compareByOriginalPositions,Ad.getArg(e,"bias",Id.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===r.source)return{line:Ad.getArg(n,"generatedLine",null),column:Ad.getArg(n,"generatedColumn",null),lastColumn:Ad.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Ed.BasicSourceMapConsumer=Rd,jd.prototype=Object.create(Id.prototype),jd.prototype.constructor=Id,jd.prototype._version=3,Object.defineProperty(jd.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var r=0;r<this._sections[t].consumer.sources.length;r++)e.push(this._sections[t].consumer.sources[r]);return e}}),jd.prototype.originalPositionFor=function(e){var t={generatedLine:Ad.getArg(e,"line"),generatedColumn:Ad.getArg(e,"column")},r=Cd.search(t,this._sections,(function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn})),s=this._sections[r];return s?s.consumer.originalPositionFor({line:t.generatedLine-(s.generatedOffset.generatedLine-1),column:t.generatedColumn-(s.generatedOffset.generatedLine===t.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},jd.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},jd.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var s=this._sections[r].consumer.sourceContentFor(e,!0);if(s)return s}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},jd.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(-1!==r.consumer._findSourceIndex(Ad.getArg(e,"source"))){var s=r.consumer.generatedPositionFor(e);if(s)return{line:s.line+(r.generatedOffset.generatedLine-1),column:s.column+(r.generatedOffset.generatedLine===s.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},jd.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var s=this._sections[r],n=s.consumer._generatedMappings,i=0;i<n.length;i++){var o=n[i],a=s.consumer._sources.at(o.source);a=Ad.computeSourceURL(s.consumer.sourceRoot,a,this._sourceMapURL),this._sources.add(a),a=this._sources.indexOf(a);var c=null;o.name&&(c=s.consumer._names.at(o.name),this._names.add(c),c=this._names.indexOf(c));var l={source:a,generatedLine:o.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(s.generatedOffset.generatedLine===o.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:c};this.__generatedMappings.push(l),"number"==typeof l.originalLine&&this.__originalMappings.push(l)}Nd(this.__generatedMappings,Ad.compareByGeneratedPositionsDeflated),Nd(this.__originalMappings,Ad.compareByOriginalPositions)},Ed.IndexedSourceMapConsumer=jd;var Fd={},Bd=sd.SourceMapGenerator,Ud=cd,qd=/(\r?\n)/,$d="$$$isSourceNode$$$";function Hd(e,t,r,s,n){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==r?null:r,this.name=null==n?null:n,this[$d]=!0,null!=s&&this.add(s)}Hd.fromStringWithSourceMap=function(e,t,r){var s=new Hd,n=e.split(qd),i=0,o=function(){return e()+(e()||"");function e(){return i<n.length?n[i++]:void 0}},a=1,c=0,l=null;return t.eachMapping((function(e){if(null!==l){if(!(a<e.generatedLine)){var t=(r=n[i]||"").substr(0,e.generatedColumn-c);return n[i]=r.substr(e.generatedColumn-c),c=e.generatedColumn,h(l,t),void(l=e)}h(l,o()),a++,c=0}for(;a<e.generatedLine;)s.add(o()),a++;if(c<e.generatedColumn){var r=n[i]||"";s.add(r.substr(0,e.generatedColumn)),n[i]=r.substr(e.generatedColumn),c=e.generatedColumn}l=e}),this),i<n.length&&(l&&h(l,o()),s.add(n.splice(i).join(""))),t.sources.forEach((function(e){var n=t.sourceContentFor(e);null!=n&&(null!=r&&(e=Ud.join(r,e)),s.setSourceContent(e,n))})),s;function h(e,t){if(null===e||void 0===e.source)s.add(t);else{var n=r?Ud.join(r,e.source):e.source;s.add(new Hd(e.originalLine,e.originalColumn,n,t,e.name))}}},Hd.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[$d]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},Hd.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[$d]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},Hd.prototype.walk=function(e){for(var t,r=0,s=this.children.length;r<s;r++)(t=this.children[r])[$d]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},Hd.prototype.join=function(e){var t,r,s=this.children.length;if(s>0){for(t=[],r=0;r<s-1;r++)t.push(this.children[r]),t.push(e);t.push(this.children[r]),this.children=t}return this},Hd.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[$d]?r.replaceRight(e,t):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this},Hd.prototype.setSourceContent=function(e,t){this.sourceContents[Ud.toSetString(e)]=t},Hd.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][$d]&&this.children[t].walkSourceContents(e);var s=Object.keys(this.sourceContents);for(t=0,r=s.length;t<r;t++)e(Ud.fromSetString(s[t]),this.sourceContents[s[t]])},Hd.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},Hd.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new Bd(e),s=!1,n=null,i=null,o=null,a=null;return this.walk((function(e,c){t.code+=e,null!==c.source&&null!==c.line&&null!==c.column?(n===c.source&&i===c.line&&o===c.column&&a===c.name||r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name}),n=c.source,i=c.line,o=c.column,a=c.name,s=!0):s&&(r.addMapping({generated:{line:t.line,column:t.column}}),n=null,s=!1);for(var l=0,h=e.length;l<h;l++)10===e.charCodeAt(l)?(t.line++,t.column=0,l+1===h?(n=null,s=!1):s&&r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name})):t.column++})),this.walkSourceContents((function(e,t){r.setSourceContent(e,t)})),{code:t.code,map:r}},Fd.SourceNode=Hd,rd.SourceMapGenerator=sd.SourceMapGenerator,rd.SourceMapConsumer=Ed.SourceMapConsumer,rd.SourceNode=Fd.SourceNode;var Vd=yt(ku),Wd={nanoid:(e=21)=>{let t="",r=e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t)=>()=>{let r="",s=t;for(;s--;)r+=e[Math.random()*e.length|0];return r}};let{SourceMapConsumer:Gd,SourceMapGenerator:zd}=rd,{existsSync:Kd,readFileSync:Yd}=Iu,{dirname:Jd,join:Xd}=Ru,Qd=class{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,s=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Jd(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new Gd(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return!!e&&e.substr(0,t.length)===t}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let r=e.lastIndexOf(t.pop()),s=e.indexOf("*/",r);r>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,s)))}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),_c?_c.from(t,"base64").toString():window.atob(t);var t;let r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)}loadFile(e){if(this.root=Jd(e),Kd(e))return this.mapFile=e,Yd(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof Gd)return zd.fromSourceMap(t).toString();if(t instanceof zd)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let r=t(e);if(r){let e=this.loadFile(r);if(!e)throw new Error("Unable to load previous source map: "+r.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=Xd(Jd(e),t)),this.loadFile(t)}}}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}};var Zd=Qd;Qd.default=Qd;let{SourceMapConsumer:ef,SourceMapGenerator:tf}=rd,{fileURLToPath:rf,pathToFileURL:sf}=Vd,{resolve:nf,isAbsolute:of}=Ru,{nanoid:af}=Wd,cf=Rp,lf=jp,hf=Zd,uf=Symbol("fromOffsetCache"),pf=Boolean(ef&&tf),df=Boolean(nf&&of),ff=class{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!df||/^\w+:\/\//.test(t.from)||of(t.from)?this.file=t.from:this.file=nf(t.from)),df&&pf){let e=new hf(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+af(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t,r;if(this[uf])r=this[uf];else{let e=this.css.split("\n");r=new Array(e.length);let t=0;for(let s=0,n=e.length;s<n;s++)r[s]=t,t+=e[s].length+1;this[uf]=r}t=r[r.length-1];let s=0;if(e>=t)s=r.length-1;else{let t,n=r.length-2;for(;s<n;)if(t=s+(n-s>>1),e<r[t])n=t-1;else{if(!(e>=r[t+1])){s=t;break}s=t+1}}return{line:s+1,col:e-r[s]+1}}error(e,t,r,s={}){let n,i,o;if(t&&"object"==typeof t){let e=t,s=r;if("number"==typeof t.offset){let s=this.fromOffset(e.offset);t=s.line,r=s.col}else t=e.line,r=e.column;if("number"==typeof s.offset){let e=this.fromOffset(s.offset);i=e.line,o=e.col}else i=s.line,o=s.column}else if(!r){let e=this.fromOffset(t);t=e.line,r=e.col}let a=this.origin(t,r,i,o);return n=a?new lf(e,void 0===a.endLine?a.line:{line:a.line,column:a.column},void 0===a.endLine?a.column:{line:a.endLine,column:a.endColumn},a.source,a.file,s.plugin):new lf(e,void 0===i?t:{line:t,column:r},void 0===i?r:{line:i,column:o},this.css,this.file,s.plugin),n.input={line:t,column:r,endLine:i,endColumn:o,source:this.css},this.file&&(sf&&(n.input.url=sf(this.file).toString()),n.input.file=this.file),n}origin(e,t,r,s){if(!this.map)return!1;let n,i,o=this.map.consumer(),a=o.originalPositionFor({line:e,column:t});if(!a.source)return!1;"number"==typeof r&&(n=o.originalPositionFor({line:r,column:s})),i=of(a.source)?sf(a.source):new URL(a.source,this.map.consumer().sourceRoot||sf(this.map.mapFile));let c={url:i.toString(),line:a.line,column:a.column,endLine:n&&n.line,endColumn:n&&n.column};if("file:"===i.protocol){if(!rf)throw new Error("file: protocol is not available in this PostCSS build");c.file=rf(i)}let l=o.sourceContentFor(a.source);return l&&(c.source=l),c}mapResolve(e){return/^\w+:\/\//.test(e)?e:nf(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};var mf=ff;ff.default=ff,cf&&cf.registerInput&&cf.registerInput(ff);let{SourceMapConsumer:gf,SourceMapGenerator:yf}=rd,{dirname:bf,resolve:vf,relative:xf,sep:wf}=Ru,{pathToFileURL:Ef}=Vd,Sf=mf,_f=Boolean(gf&&yf),Tf=Boolean(bf&&vf&&xf&&wf);var Pf=class{constructor(e,t,r,s){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=s}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new Sf(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let r=t.source.input.from;r&&!e[r]&&(e[r]=!0,this.map.setSourceContent(this.toUrl(this.path(r)),t.source.input.css))}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}applyPrevMaps(){for(let e of this.previous()){let t,r=this.toUrl(this.path(e.file)),s=e.root||bf(e.file);!1===this.mapOpts.sourcesContent?(t=new gf(e.text),t.sourcesContent&&(t.sourcesContent=t.sourcesContent.map((()=>null)))):t=e.consumer(),this.map.applySourceMap(t,r,this.toUrl(this.path(s)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}toBase64(e){return _c?_c.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=yf.fromSourceMap(e)}else this.map=new yf({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?bf(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=bf(vf(t,this.mapOpts.annotation))),xf(t,e)}toUrl(e){return"\\"===wf&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){if(this.mapOpts.from)return this.toUrl(this.mapOpts.from);if(this.mapOpts.absolute){if(Ef)return Ef(e.source.input.from).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}return this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new yf({file:this.outputFile()});let e,t,r=1,s=1,n="<no source>",i={source:"",generated:{line:0,column:0},original:{line:0,column:0}};this.stringify(this.root,((o,a,c)=>{if(this.css+=o,a&&"end"!==c&&(i.generated.line=r,i.generated.column=s-1,a.source&&a.source.start?(i.source=this.sourcePath(a),i.original.line=a.source.start.line,i.original.column=a.source.start.column-1,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,this.map.addMapping(i))),e=o.match(/\n/g),e?(r+=e.length,t=o.lastIndexOf("\n"),s=o.length-t):s+=o.length,a&&"start"!==c){let e=a.parent||{raws:{}};("decl"!==a.type||a!==e.last||e.raws.semicolon)&&(a.source&&a.source.end?(i.source=this.sourcePath(a),i.original.line=a.source.end.line,i.original.column=a.source.end.column-1,i.generated.line=r,i.generated.column=s-2,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,i.generated.line=r,i.generated.column=s-1,this.map.addMapping(i)))}}))}generate(){if(this.clearAnnotation(),Tf&&_f&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}};let Af=Qp,Cf=class extends Af{constructor(e){super(e),this.type="comment"}};var kf=Cf;Cf.default=Cf;let Of,Nf,If,{isClean:Rf,my:Lf}=Fp,Mf=td,Df=kf,jf=Qp;function Ff(e){return e.map((e=>(e.nodes&&(e.nodes=Ff(e.nodes)),delete e.source,e)))}function Bf(e){if(e[Rf]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)Bf(t)}let Uf=class extends jf{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let t,r,s=this.getIterator();for(;this.indexes[s]<this.proxyOf.nodes.length&&(t=this.indexes[s],r=e(this.proxyOf.nodes[t],t),!1!==r);)this.indexes[s]+=1;return delete this.indexes[s],r}walk(e){return this.each(((t,r)=>{let s;try{s=e(t,r)}catch(e){throw t.addToError(e)}return!1!==s&&t.walk&&(s=t.walk(e)),s}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((r,s)=>{if("decl"===r.type&&e.test(r.prop))return t(r,s)})):this.walk(((r,s)=>{if("decl"===r.type&&r.prop===e)return t(r,s)})):(t=e,this.walk(((e,r)=>{if("decl"===e.type)return t(e,r)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((r,s)=>{if("rule"===r.type&&e.test(r.selector))return t(r,s)})):this.walk(((r,s)=>{if("rule"===r.type&&r.selector===e)return t(r,s)})):(t=e,this.walk(((e,r)=>{if("rule"===e.type)return t(e,r)})))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((r,s)=>{if("atrule"===r.type&&e.test(r.name))return t(r,s)})):this.walk(((r,s)=>{if("atrule"===r.type&&r.name===e)return t(r,s)})):(t=e,this.walk(((e,r)=>{if("atrule"===e.type)return t(e,r)})))}walkComments(e){return this.walk(((t,r)=>{if("comment"===t.type)return e(t,r)}))}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertBefore(e,t){let r,s=0===(e=this.index(e))&&"prepend",n=this.normalize(t,this.proxyOf.nodes[e],s).reverse();for(let t of n)this.proxyOf.nodes.splice(e,0,t);for(let t in this.indexes)r=this.indexes[t],e<=r&&(this.indexes[t]=r+n.length);return this.markDirty(),this}insertAfter(e,t){e=this.index(e);let r,s=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of s)this.proxyOf.nodes.splice(e+1,0,t);for(let t in this.indexes)r=this.indexes[t],e<r&&(this.indexes[t]=r+s.length);return this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls((s=>{t.props&&!t.props.includes(s.prop)||t.fast&&!s.value.includes(t.fast)||(s.value=s.value.replace(e,r))})),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if("string"==typeof e)e=Ff(Of(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new Mf(e)]}else if(e.selector)e=[new Nf(e)];else if(e.name)e=[new If(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new Df(e)]}return e.map((e=>(e[Lf]||Uf.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[Rf]&&Bf(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this,e)))}getProxyProcessor(){return{set:(e,t,r)=>(e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...r)=>e[t](...r.map((e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e))):"every"===t||"some"===t?r=>e[t](((e,...t)=>r(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}};Uf.registerParse=e=>{Of=e},Uf.registerRule=e=>{Nf=e},Uf.registerAtRule=e=>{If=e};var qf=Uf;Uf.default=Uf,Uf.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,If.prototype):"rule"===e.type?Object.setPrototypeOf(e,Nf.prototype):"decl"===e.type?Object.setPrototypeOf(e,Mf.prototype):"comment"===e.type&&Object.setPrototypeOf(e,Df.prototype),e[Lf]=!0,e.nodes&&e.nodes.forEach((e=>{Uf.rebuild(e)}))};let $f,Hf,Vf=qf,Wf=class extends Vf{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new $f(new Hf,this,e).stringify()}};Wf.registerLazyResult=e=>{$f=e},Wf.registerProcessor=e=>{Hf=e};var Gf=Wf;Wf.default=Wf;let zf={};var Kf=function(e){zf[e]||(zf[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))};let Yf=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};var Jf=Yf;Yf.default=Yf;let Xf=Jf,Qf=class{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new Xf(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}};var Zf=Qf;Qf.default=Qf;let em=qf,tm=class extends em{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};var rm=tm;tm.default=tm,em.registerAtRule(tm);let sm,nm,im=qf,om=class extends im{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}normalize(e,t,r){let s=super.normalize(e);if(t)if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of s)e.raws.before=t.raws.before;return s}toResult(e={}){return new sm(new nm,this,e).stringify()}};om.registerLazyResult=e=>{sm=e},om.registerProcessor=e=>{nm=e};var am=om;om.default=om;let cm={split(e,t,r){let s=[],n="",i=!1,o=0,a=!1,c=!1;for(let r of e)c?c=!1:"\\"===r?c=!0:a?r===a&&(a=!1):'"'===r||"'"===r?a=r:"("===r?o+=1:")"===r?o>0&&(o-=1):0===o&&t.includes(r)&&(i=!0),i?(""!==n&&s.push(n.trim()),n="",i=!1):n+=r;return(r||""!==n)&&s.push(n.trim()),s},space:e=>cm.split(e,[" ","\n","\t"]),comma:e=>cm.split(e,[","],!0)};var lm=cm;cm.default=cm;let hm=qf,um=lm,pm=class extends hm{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return um.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};var dm=pm;pm.default=pm,hm.registerRule(pm);let fm=td,mm=Pp,gm=kf,ym=rm,bm=am,vm=dm;let xm=qf,wm=class{constructor(e){this.input=e,this.root=new bm,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=mm(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}comment(e){let t=new gm;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}emptyRule(e){let t=new vm;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let t=!1,r=null,s=!1,n=null,i=[],o=e[1].startsWith("--"),a=[],c=e;for(;c;){if(r=c[0],a.push(c),"("===r||"["===r)n||(n=c),i.push("("===r?")":"]");else if(o&&s&&"{"===r)n||(n=c),i.push("}");else if(0===i.length){if(";"===r){if(s)return void this.decl(a,o);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(s=!0)}else r===i[i.length-1]&&(i.pop(),0===i.length&&(n=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),i.length>0&&this.unclosedBracket(n),t&&s){for(;a.length&&(c=a[a.length-1][0],"space"===c||"comment"===c);)this.tokenizer.back(a.pop());this.decl(a,o)}else this.unknownWord(a)}rule(e){e.pop();let t=new vm;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}decl(e,t){let r=new fm;this.init(r,e[0][2]);let s,n=e[e.length-1];for(";"===n[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(n[3]||n[2]);"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(s=e.shift(),":"===s[0]){r.raws.between+=s[1];break}"word"===s[0]&&/\w/.test(s[1])&&this.unknownWord([s]),r.raws.between+=s[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let i=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(s=e[t],"!important"===s[1].toLowerCase()){r.important=!0;let s=this.stringFrom(e,t);s=this.spacesFromEnd(e)+s," !important"!==s&&(r.raws.important=s);break}if("important"===s[1].toLowerCase()){let s=e.slice(0),n="";for(let e=t;e>0;e--){let t=s[e][0];if(0===n.trim().indexOf("!")&&"space"!==t)break;n=s.pop()[1]+n}0===n.trim().indexOf("!")&&(r.important=!0,r.raws.important=n,e=s)}if("space"!==s[0]&&"comment"!==s[0])break}let o=e.some((e=>"space"!==e[0]&&"comment"!==e[0]));this.raw(r,"value",e),o?r.raws.between+=i:r.value=i+r.value,r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t,r,s,n=new ym;n.name=e[1].slice(1),""===n.name&&this.unnamedAtrule(n,e),this.init(n,e[2]);let i=!1,o=!1,a=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length){if(";"===t){n.source.end=this.getPosition(e[2]),this.semicolon=!0;break}if("{"===t){o=!0;break}if("}"===t){if(a.length>0){for(s=a.length-1,r=a[s];r&&"space"===r[0];)r=a[--s];r&&(n.source.end=this.getPosition(r[3]||r[2]))}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(n.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(n,"params",a),i&&(e=a[a.length-1],n.source.end=this.getPosition(e[3]||e[2]),this.spaces=n.raws.between,n.raws.between="")):(n.raws.afterName="",n.params=""),o&&(n.nodes=[],this.current=n)}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e),e.source={start:this.getPosition(t),input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}raw(e,t,r){let s,n,i,o,a=r.length,c="",l=!0,h=/^([#.|])?(\w)+/i;for(let t=0;t<a;t+=1)s=r[t],n=s[0],"comment"!==n||"rule"!==e.type?"comment"===n||"space"===n&&t===a-1?l=!1:c+=s[1]:(o=r[t-1],i=r[t+1],"space"!==o[0]&&"space"!==i[0]&&h.test(o[1])&&h.test(i[1])?c+=s[1]:l=!1);if(!l){let s=r.reduce(((e,t)=>e+t[1]),"");e.raws[t]={value:c,raw:s}}e[t]=c}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let s=t;s<e.length;s++)r+=e[s][1];return e.splice(t,e.length-t),r}colon(e){let t,r,s,n=0;for(let[i,o]of e.entries()){if(t=o,r=t[0],"("===r&&(n+=1),")"===r&&(n-=1),0===n&&":"===r){if(s){if("word"===s[0]&&"progid"===s[1])continue;return i}this.doubleColon(t)}s=t}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let r,s=0;for(let n=t-1;n>=0&&(r=e[n],"space"===r[0]||(s+=1,2!==s));n--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}},Em=mf;function Sm(e,t){let r=new Em(e,t),s=new wm(r);try{s.parse()}catch(e){throw"production"!==mh.env.NODE_ENV&&"CssSyntaxError"===e.name&&t&&t.from&&(/\.scss$/i.test(t.from)?e.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(t.from)?e.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(t.from)&&(e.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),e}return s.root}var _m=Sm;Sm.default=Sm,xm.registerParse(Sm);let{isClean:Tm,my:Pm}=Fp,Am=Pf,Cm=Vp,km=qf,Om=Gf,Nm=Kf,Im=Zf,Rm=_m,Lm=am;const Mm={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},Dm={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},jm={postcssPlugin:!0,prepare:!0,Once:!0};function Fm(e){return"object"==typeof e&&"function"==typeof e.then}function Bm(e){let t=!1,r=Mm[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function Um(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:Bm(e),{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function qm(e){return e[Tm]=!1,e.nodes&&e.nodes.forEach((e=>qm(e))),e}let $m={},Hm=class{constructor(e,t,r){let s;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof Hm||t instanceof Im)s=qm(t.root),t.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let e=Rm;r.syntax&&(e=r.syntax.parse),r.parser&&(e=r.parser),e.parse&&(e=e.parse);try{s=e(t,r)}catch(e){this.processed=!0,this.error=e}s&&!s[Pm]&&km.rebuild(s)}else s=qm(t);this.result=new Im(e,s,r),this.helpers={...$m,result:this.result,postcss:$m},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){return"production"!==mh.env.NODE_ENV&&("from"in this.opts||Nm("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(Fm(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Tm];)e[Tm]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=Cm;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new Am(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}walkSync(e){e[Tm]=!0;let t=Bm(e);for(let r of t)if(0===r)e.nodes&&e.each((e=>{e[Tm]||this.walkSync(e)}));else{let t=this.listeners[r];if(t&&this.visitSync(t,e.toProxy()))return}}visitSync(e,t){for(let[r,s]of e){let e;this.result.lastPlugin=r;try{e=s(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(Fm(e))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return Fm(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(r.postcssVersion&&"production"!==mh.env.NODE_ENV){let e=r.postcssPlugin,t=r.postcssVersion,s=this.result.processor.version,n=t.split("."),i=s.split(".");(n[0]!==i[0]||parseInt(n[1])>parseInt(i[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+s+", but "+e+" uses "+t+". Perhaps this is the source of the error below.")}}else e.plugin=r.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(Fm(r))try{await r}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Tm];){e[Tm]=!0;let t=[Um(e)];for(;t.length>0;){let e=this.visitTick(t);if(Fm(e))try{await e}catch(e){let r=t[t.length-1].node;throw this.handleError(e,r)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>r(e,this.helpers)));await Promise.all(t)}else await r(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if("object"==typeof t)for(let r in t){if(!Dm[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!jm[r])if("object"==typeof t[r])for(let s in t[r])e(t,"*"===s?r:r+"-"+s.toLowerCase(),t[r][s]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1],{node:r,visitors:s}=t;if("root"!==r.type&&"document"!==r.type&&!r.parent)return void e.pop();if(s.length>0&&t.visitorIndex<s.length){let[e,n]=s[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===s.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return n(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){let s,n=t.iterator;for(;s=r.nodes[r.indexes[n]];)if(r.indexes[n]+=1,!s[Tm])return s[Tm]=!0,void e.push(Um(s));t.iterator=0,delete r.indexes[n]}let n=t.events;for(;t.eventIndex<n.length;){let e=n[t.eventIndex];if(t.eventIndex+=1,0===e)return void(r.nodes&&r.nodes.length&&(r[Tm]=!0,t.iterator=r.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}};Hm.registerPostcss=e=>{$m=e};var Vm=Hm;Hm.default=Hm,Lm.registerLazyResult(Hm),Om.registerLazyResult(Hm);let Wm=Pf,Gm=Vp,zm=Kf,Km=_m;const Ym=Zf;let Jm=class{constructor(e,t,r){let s;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let n=Gm;this.result=new Ym(this._processor,s,this._opts),this.result.css=t;let i=this;Object.defineProperty(this.result,"root",{get:()=>i.root});let o=new Wm(n,s,this._opts,t);if(o.isMap()){let[e,t]=o.generate();e&&(this.result.css=e),t&&(this.result.map=t)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,t=Km;try{e=t(this._css,this._opts)}catch(e){this.error=e}return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,t){return"production"!==mh.env.NODE_ENV&&("from"in this._opts||zm("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}};var Xm=Jm;Jm.default=Jm;let Qm=Xm,Zm=Vm,eg=Gf,tg=am,rg=class{constructor(e=[]){this.version="8.4.4",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,t={}){return 0===this.plugins.length&&void 0===t.parser&&void 0===t.stringifier&&void 0===t.syntax?new Qm(this,e,t):new Zm(this,e,t)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else{if("object"!=typeof r||!r.parse&&!r.stringify)throw new Error(r+" is not a PostCSS plugin");if("production"!==mh.env.NODE_ENV)throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}return t}};var sg=rg;rg.default=rg,tg.registerProcessor(rg),eg.registerProcessor(rg);let ng=td,ig=Zd,og=kf,ag=rm,cg=mf,lg=am,hg=dm;function ug(e,t){if(Array.isArray(e))return e.map((e=>ug(e)));let{inputs:r,...s}=e;if(r){t=[];for(let e of r){let r={...e,__proto__:cg.prototype};r.map&&(r.map={...r.map,__proto__:ig.prototype}),t.push(r)}}if(s.nodes&&(s.nodes=e.nodes.map((e=>ug(e,t)))),s.source){let{inputId:e,...r}=s.source;s.source=r,null!=e&&(s.source.input=t[e])}if("root"===s.type)return new lg(s);if("decl"===s.type)return new ng(s);if("rule"===s.type)return new hg(s);if("comment"===s.type)return new og(s);if("atrule"===s.type)return new ag(s);throw new Error("Unknown node type: "+e.type)}var pg=ug;ug.default=ug;let dg=jp,fg=td,mg=Vm,gg=qf,yg=sg,bg=Vp,vg=pg,xg=Gf,wg=Jf,Eg=kf,Sg=rm,_g=Zf,Tg=mf,Pg=_m,Ag=lm,Cg=dm,kg=am,Og=Qp;function Ng(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new yg(e)}Ng.plugin=function(e,t){function r(...r){let s=t(...r);return s.postcssPlugin=e,s.postcssVersion=(new yg).version,s}let s;return console&&console.warn&&(console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),mh.env.LANG&&mh.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226")),Object.defineProperty(r,"postcss",{get:()=>(s||(s=r()),s)}),r.process=function(e,t,s){return Ng([r(s)]).process(e,t)},r},Ng.stringify=bg,Ng.parse=Pg,Ng.fromJSON=vg,Ng.list=Ag,Ng.comment=e=>new Eg(e),Ng.atRule=e=>new Sg(e),Ng.decl=e=>new fg(e),Ng.rule=e=>new Cg(e),Ng.root=e=>new kg(e),Ng.document=e=>new xg(e),Ng.CssSyntaxError=dg,Ng.Declaration=fg,Ng.Container=gg,Ng.Processor=yg,Ng.Document=xg,Ng.Comment=Eg,Ng.Warning=wg,Ng.AtRule=Sg,Ng.Result=_g,Ng.Input=Tg,Ng.Rule=Cg,Ng.Root=kg,Ng.Node=Og,mg.registerPostcss(Ng);var Ig=Ng;Ng.default=Ng;var Rg=Ig;Rg.stringify,Rg.fromJSON,Rg.plugin,Rg.parse,Rg.list,Rg.document,Rg.comment,Rg.atRule,Rg.rule,Rg.decl,Rg.root,Rg.CssSyntaxError,Rg.Declaration,Rg.Container,Rg.Processor,Rg.Document,Rg.Comment,Rg.Warning,Rg.AtRule,Rg.Result,Rg.Input,Rg.Rule,Rg.Root,Rg.Node;var Lg={exports:{}},Mg={exports:{}},Dg={exports:{}},jg={exports:{}},Fg={exports:{}},Bg={exports:{}},Ug={},qg={exports:{}};!function(e,t){function r(e){for(var t=e.toLowerCase(),r="",s=!1,n=0;n<6&&void 0!==t[n];n++){var i=t.charCodeAt(n);if(s=32===i,!(i>=97&&i<=102||i>=48&&i<=57))break;r+=t[n]}if(0!==r.length){var o=parseInt(r,16);return o>=55296&&o<=57343||0===o||o>1114111?["�",r.length+(s?1:0)]:[String.fromCodePoint(o),r.length+(s?1:0)]}}t.__esModule=!0,t.default=function(e){if(!s.test(e))return e;for(var t="",n=0;n<e.length;n++)if("\\"!==e[n])t+=e[n];else{var i=r(e.slice(n+1,n+7));if(void 0!==i){t+=i[0],n+=i[1];continue}if("\\"===e[n+1]){t+="\\",n++;continue}e.length===n+1&&(t+=e[n])}return t};var s=/\\/;e.exports=t.default}(qg,qg.exports);var $g={exports:{}};!function(e,t){t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];for(;r.length>0;){var n=r.shift();if(!e[n])return;e=e[n]}return e},e.exports=t.default}($g,$g.exports);var Hg={exports:{}};!function(e,t){t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];for(;r.length>0;){var n=r.shift();e[n]||(e[n]={}),e=e[n]}},e.exports=t.default}(Hg,Hg.exports);var Vg={exports:{}};!function(e,t){t.__esModule=!0,t.default=function(e){for(var t="",r=e.indexOf("/*"),s=0;r>=0;){t+=e.slice(s,r);var n=e.indexOf("*/",r+2);if(n<0)return t;s=n+2,r=e.indexOf("/*",s)}return t+=e.slice(s)},e.exports=t.default}(Vg,Vg.exports),Ug.__esModule=!0,Ug.stripComments=Ug.ensureObject=Ug.getProp=Ug.unesc=void 0;var Wg=Yg(qg.exports);Ug.unesc=Wg.default;var Gg=Yg($g.exports);Ug.getProp=Gg.default;var zg=Yg(Hg.exports);Ug.ensureObject=zg.default;var Kg=Yg(Vg.exports);function Yg(e){return e&&e.__esModule?e:{default:e}}Ug.stripComments=Kg.default,function(e,t){t.__esModule=!0,t.default=void 0;var r=Ug;function s(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}var n=function e(t,r){if("object"!=typeof t||null===t)return t;var s=new t.constructor;for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];"parent"===n&&"object"==typeof i?r&&(s[n]=r):s[n]=i instanceof Array?i.map((function(t){return e(t,s)})):e(i,s)}return s},i=function(){function e(e){void 0===e&&(e={}),Object.assign(this,e),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var t,i,o=e.prototype;return o.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},o.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},o.next=function(){return this.parent.at(this.parent.index(this)+1)},o.prev=function(){return this.parent.at(this.parent.index(this)-1)},o.clone=function(e){void 0===e&&(e={});var t=n(this);for(var r in e)t[r]=e[r];return t},o.appendToPropertyAndEscape=function(e,t,r){this.raws||(this.raws={});var s=this[e],n=this.raws[e];this[e]=s+t,n||r!==t?this.raws[e]=(n||s)+r:delete this.raws[e]},o.setPropertyAndEscape=function(e,t,r){this.raws||(this.raws={}),this[e]=t,this.raws[e]=r},o.setPropertyWithoutEscape=function(e,t){this[e]=t,this.raws&&delete this.raws[e]},o.isAtPosition=function(e,t){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>e||this.source.end.line<e||this.source.start.line===e&&this.source.start.column>t||this.source.end.line===e&&this.source.end.column<t)},o.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},o.valueToString=function(){return String(this.stringifyProperty("value"))},o.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},t=e,(i=[{key:"rawSpaceBefore",get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.before;return void 0===e&&(e=this.spaces&&this.spaces.before),e||""},set:function(e){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=e}},{key:"rawSpaceAfter",get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.after;return void 0===e&&(e=this.spaces.after),e||""},set:function(e){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=e}}])&&s(t.prototype,i),e}();t.default=i,e.exports=t.default}(Bg,Bg.exports);var Jg={__esModule:!0};Jg.UNIVERSAL=Jg.ATTRIBUTE=Jg.CLASS=Jg.COMBINATOR=Jg.COMMENT=Jg.ID=Jg.NESTING=Jg.PSEUDO=Jg.ROOT=Jg.SELECTOR=Jg.STRING=Jg.TAG=void 0,Jg.TAG="tag",Jg.STRING="string",Jg.SELECTOR="selector",Jg.ROOT="root",Jg.PSEUDO="pseudo",Jg.NESTING="nesting",Jg.ID="id",Jg.COMMENT="comment",Jg.COMBINATOR="combinator",Jg.CLASS="class",Jg.ATTRIBUTE="attribute",Jg.UNIVERSAL="universal",function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Bg.exports)&&r.__esModule?r:{default:r},n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=s?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}(Jg);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s}function a(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}var l=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).nodes||(r.nodes=[]),r}r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,c(t,r);var i,l,h=s.prototype;return h.append=function(e){return e.parent=this,this.nodes.push(e),this},h.prepend=function(e){return e.parent=this,this.nodes.unshift(e),this},h.at=function(e){return this.nodes[e]},h.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},h.removeChild=function(e){var t;for(var r in e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this},h.removeAll=function(){for(var e,t=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var s=0;return function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}(this.nodes);!(e=t()).done;)e.value.parent=void 0;return this.nodes=[],this},h.empty=function(){return this.removeAll()},h.insertAfter=function(e,t){t.parent=this;var r,s=this.index(e);for(var n in this.nodes.splice(s+1,0,t),t.parent=this,this.indexes)s<=(r=this.indexes[n])&&(this.indexes[n]=r+1);return this},h.insertBefore=function(e,t){t.parent=this;var r,s=this.index(e);for(var n in this.nodes.splice(s,0,t),t.parent=this,this.indexes)(r=this.indexes[n])<=s&&(this.indexes[n]=r+1);return this},h._findChildAtPosition=function(e,t){var r=void 0;return this.each((function(s){if(s.atPosition){var n=s.atPosition(e,t);if(n)return r=n,!1}else if(s.isAtPosition(e,t))return r=s,!1})),r},h.atPosition=function(e,t){return this.isAtPosition(e,t)?this._findChildAtPosition(e,t)||this:void 0},h._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},h.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var r,s;this.indexes[t]<this.length&&(r=this.indexes[t],!1!==(s=e(this.at(r),r)));)this.indexes[t]+=1;return delete this.indexes[t],!1!==s&&void 0}},h.walk=function(e){return this.each((function(t,r){var s=e(t,r);if(!1!==s&&t.length&&(s=t.walk(e)),!1===s)return!1}))},h.walkAttributes=function(e){var t=this;return this.walk((function(r){if(r.type===n.ATTRIBUTE)return e.call(t,r)}))},h.walkClasses=function(e){var t=this;return this.walk((function(r){if(r.type===n.CLASS)return e.call(t,r)}))},h.walkCombinators=function(e){var t=this;return this.walk((function(r){if(r.type===n.COMBINATOR)return e.call(t,r)}))},h.walkComments=function(e){var t=this;return this.walk((function(r){if(r.type===n.COMMENT)return e.call(t,r)}))},h.walkIds=function(e){var t=this;return this.walk((function(r){if(r.type===n.ID)return e.call(t,r)}))},h.walkNesting=function(e){var t=this;return this.walk((function(r){if(r.type===n.NESTING)return e.call(t,r)}))},h.walkPseudos=function(e){var t=this;return this.walk((function(r){if(r.type===n.PSEUDO)return e.call(t,r)}))},h.walkTags=function(e){var t=this;return this.walk((function(r){if(r.type===n.TAG)return e.call(t,r)}))},h.walkUniversals=function(e){var t=this;return this.walk((function(r){if(r.type===n.UNIVERSAL)return e.call(t,r)}))},h.split=function(e){var t=this,r=[];return this.reduce((function(s,n,i){var o=e.call(t,n);return r.push(n),o?(s.push(r),r=[]):i===t.length-1&&s.push(r),s}),[])},h.map=function(e){return this.nodes.map(e)},h.reduce=function(e,t){return this.nodes.reduce(e,t)},h.every=function(e){return this.nodes.every(e)},h.some=function(e){return this.nodes.some(e)},h.filter=function(e){return this.nodes.filter(e)},h.sort=function(e){return this.nodes.sort(e)},h.toString=function(){return this.map(String).join("")},i=s,(l=[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}])&&a(i.prototype,l),s}(s.default);t.default=l,e.exports=t.default}(Fg,Fg.exports),function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Fg.exports)&&r.__esModule?r:{default:r},n=Jg;function i(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}var a=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.ROOT,r}r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,o(t,r);var a,c,l=s.prototype;return l.toString=function(){var e=this.reduce((function(e,t){return e.push(String(t)),e}),[]).join(",");return this.trailingComma?e+",":e},l.error=function(e,t){return this._error?this._error(e,t):new Error(e)},a=s,(c=[{key:"errorGenerator",set:function(e){this._error=e}}])&&i(a.prototype,c),s}(s.default);t.default=a,e.exports=t.default}(jg,jg.exports);var Xg={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Fg.exports)&&r.__esModule?r:{default:r},n=Jg;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.SELECTOR,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}(Xg,Xg.exports);var Qg={exports:{}},Zg={}.hasOwnProperty,ey=/[ -,\.\/:-@\[-\^`\{-~]/,ty=/[ -,\.\/:-@\[\]\^`\{-~]/,ry=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,sy=function e(t,r){r=function(e,t){if(!e)return t;var r={};for(var s in t)r[s]=Zg.call(e,s)?e[s]:t[s];return r}(r,e.options),"single"!=r.quotes&&"double"!=r.quotes&&(r.quotes="single");for(var s="double"==r.quotes?'"':"'",n=r.isIdentifier,i=t.charAt(0),o="",a=0,c=t.length;a<c;){var l=t.charAt(a++),h=l.charCodeAt(),u=void 0;if(h<32||h>126){if(h>=55296&&h<=56319&&a<c){var p=t.charCodeAt(a++);56320==(64512&p)?h=((1023&h)<<10)+(1023&p)+65536:a--}u="\\"+h.toString(16).toUpperCase()+" "}else u=r.escapeEverything?ey.test(l)?"\\"+l:"\\"+h.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(l)?"\\"+h.toString(16).toUpperCase()+" ":"\\"==l||!n&&('"'==l&&s==l||"'"==l&&s==l)||n&&ty.test(l)?"\\"+l:l;o+=u}return n&&(/^-[-\d]/.test(o)?o="\\-"+o.slice(1):/\d/.test(i)&&(o="\\3"+i+" "+o.slice(1))),o=o.replace(ry,(function(e,t,r){return t&&t.length%2?e:(t||"")+r})),!n&&r.wrap?s+o+s:o};sy.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},sy.version="3.0.0";var ny=sy;!function(e,t){t.__esModule=!0,t.default=void 0;var r=o(ny),s=Ug,n=o(Bg.exports),i=Jg;function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}var l=function(e){var t,n,o,l;function h(t){var r;return(r=e.call(this,t)||this).type=i.CLASS,r._constructed=!0,r}return n=e,(t=h).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),h.prototype.valueToString=function(){return"."+e.prototype.valueToString.call(this)},o=h,(l=[{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=(0,r.default)(e,{isIdentifier:!0});t!==e?((0,s.ensureObject)(this,"raws"),this.raws.value=t):this.raws&&delete this.raws.value}this._value=e}}])&&a(o.prototype,l),h}(n.default);t.default=l,e.exports=t.default}(Qg,Qg.exports);var iy={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Bg.exports)&&r.__esModule?r:{default:r},n=Jg;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.COMMENT,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}(iy,iy.exports);var oy={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Bg.exports)&&r.__esModule?r:{default:r},n=Jg;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.ID,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s.prototype.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},s}(s.default);t.default=o,e.exports=t.default}(oy,oy.exports);var ay={exports:{}},cy={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r=n(ny),s=Ug;function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}var a=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,o(t,n);var c,l,h=a.prototype;return h.qualifiedName=function(e){return this.namespace?this.namespaceString+"|"+e:e},h.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},c=a,l=[{key:"namespace",get:function(){return this._namespace},set:function(e){if(!0===e||"*"===e||"&"===e)return this._namespace=e,void(this.raws&&delete this.raws.namespace);var t=(0,r.default)(e,{isIdentifier:!0});this._namespace=e,t!==e?((0,s.ensureObject)(this,"raws"),this.raws.namespace=t):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(e){this.namespace=e}},{key:"namespaceString",get:function(){if(this.namespace){var e=this.stringifyProperty("namespace");return!0===e?"":e}return""}}],l&&i(c.prototype,l),a}(n(Bg.exports).default);t.default=a,e.exports=t.default}(cy,cy.exports),function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=cy.exports)&&r.__esModule?r:{default:r},n=Jg;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.TAG,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}(ay,ay.exports);var ly={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Bg.exports)&&r.__esModule?r:{default:r},n=Jg;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.STRING,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}(ly,ly.exports);var hy={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Fg.exports)&&r.__esModule?r:{default:r},n=Jg;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.PSEUDO,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s.prototype.toString=function(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")},s}(s.default);t.default=o,e.exports=t.default}(hy,hy.exports);var uy={},py=Lu.deprecate;!function(e){e.__esModule=!0,e.unescapeValue=f,e.default=void 0;var t,r=o(ny),s=o(qg.exports),n=o(cy.exports),i=Jg;function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}var l=py,h=/^('|")([^]*)\1$/,u=l((function(){}),"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),p=l((function(){}),"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),d=l((function(){}),"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function f(e){var t=!1,r=null,n=e,i=n.match(h);return i&&(r=i[1],n=i[2]),(n=(0,s.default)(n))!==e&&(t=!0),{deprecatedUsage:t,unescaped:n,quoteMark:r}}var m=function(e){var t,s;function n(t){var r;return void 0===t&&(t={}),r=e.call(this,function(e){if(void 0!==e.quoteMark)return e;if(void 0===e.value)return e;d();var t=f(e.value),r=t.quoteMark,s=t.unescaped;return e.raws||(e.raws={}),void 0===e.raws.value&&(e.raws.value=e.value),e.value=s,e.quoteMark=r,e}(t))||this,r.type=i.ATTRIBUTE,r.raws=r.raws||{},Object.defineProperty(r.raws,"unquoted",{get:l((function(){return r.value}),"attr.raws.unquoted is deprecated. Call attr.value instead."),set:l((function(){return r.value}),"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),r._constructed=!0,r}s=e,(t=n).prototype=Object.create(s.prototype),t.prototype.constructor=t,c(t,s);var o,h,m=n.prototype;return m.getQuotedValue=function(e){void 0===e&&(e={});var t=this._determineQuoteMark(e),s=g[t];return(0,r.default)(this._value,s)},m._determineQuoteMark=function(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)},m.setValue=function(e,t){void 0===t&&(t={}),this._value=e,this._quoteMark=this._determineQuoteMark(t),this._syncRawValue()},m.smartQuoteMark=function(e){var t=this.value,s=t.replace(/[^']/g,"").length,i=t.replace(/[^"]/g,"").length;if(s+i===0){var o=(0,r.default)(t,{isIdentifier:!0});if(o===t)return n.NO_QUOTE;var a=this.preferredQuoteMark(e);if(a===n.NO_QUOTE){var c=this.quoteMark||e.quoteMark||n.DOUBLE_QUOTE,l=g[c];if((0,r.default)(t,l).length<o.length)return c}return a}return i===s?this.preferredQuoteMark(e):i<s?n.DOUBLE_QUOTE:n.SINGLE_QUOTE},m.preferredQuoteMark=function(e){var t=e.preferCurrentQuoteMark?this.quoteMark:e.quoteMark;return void 0===t&&(t=e.preferCurrentQuoteMark?e.quoteMark:this.quoteMark),void 0===t&&(t=n.DOUBLE_QUOTE),t},m._syncRawValue=function(){var e=(0,r.default)(this._value,g[this.quoteMark]);e===this._value?this.raws&&delete this.raws.value:this.raws.value=e},m._handleEscapes=function(e,t){if(this._constructed){var s=(0,r.default)(t,{isIdentifier:!0});s!==t?this.raws[e]=s:delete this.raws[e]}},m._spacesFor=function(e){var t=this.spaces[e]||{},r=this.raws.spaces&&this.raws.spaces[e]||{};return Object.assign({before:"",after:""},t,r)},m._stringFor=function(e,t,r){void 0===t&&(t=e),void 0===r&&(r=y);var s=this._spacesFor(t);return r(this.stringifyProperty(e),s)},m.offsetOf=function(e){var t=1,r=this._spacesFor("attribute");if(t+=r.before.length,"namespace"===e||"ns"===e)return this.namespace?t:-1;if("attributeNS"===e)return t;if(t+=this.namespaceString.length,this.namespace&&(t+=1),"attribute"===e)return t;t+=this.stringifyProperty("attribute").length,t+=r.after.length;var s=this._spacesFor("operator");t+=s.before.length;var n=this.stringifyProperty("operator");if("operator"===e)return n?t:-1;t+=n.length,t+=s.after.length;var i=this._spacesFor("value");t+=i.before.length;var o=this.stringifyProperty("value");return"value"===e?o?t:-1:(t+=o.length,t+=i.after.length,t+=this._spacesFor("insensitive").before.length,"insensitive"===e&&this.insensitive?t:-1)},m.toString=function(){var e=this,t=[this.rawSpaceBefore,"["];return t.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||""===this.value)&&(t.push(this._stringFor("operator")),t.push(this._stringFor("value")),t.push(this._stringFor("insensitiveFlag","insensitive",(function(t,r){return!(t.length>0)||e.quoted||0!==r.before.length||e.spaces.value&&e.spaces.value.after||(r.before=" "),y(t,r)})))),t.push("]"),t.push(this.rawSpaceAfter),t.join("")},o=n,(h=[{key:"quoted",get:function(){var e=this.quoteMark;return"'"===e||'"'===e},set:function(e){p()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(e){this._constructed?this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue()):this._quoteMark=e}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=f(e),r=t.deprecatedUsage,s=t.unescaped,n=t.quoteMark;if(r&&u(),s===this._value&&n===this._quoteMark)return;this._value=s,this._quoteMark=n,this._syncRawValue()}else this._value=e}},{key:"attribute",get:function(){return this._attribute},set:function(e){this._handleEscapes("attribute",e),this._attribute=e}}])&&a(o.prototype,h),n}(n.default);e.default=m,m.NO_QUOTE=null,m.SINGLE_QUOTE="'",m.DOUBLE_QUOTE='"';var g=((t={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}}).null={isIdentifier:!0},t);function y(e,t){return""+t.before+e+t.after}}(uy);var dy={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=cy.exports)&&r.__esModule?r:{default:r},n=Jg;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.UNIVERSAL,r.value="*",r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}(dy,dy.exports);var fy={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Bg.exports)&&r.__esModule?r:{default:r},n=Jg;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.COMBINATOR,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}(fy,fy.exports);var my={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Bg.exports)&&r.__esModule?r:{default:r},n=Jg;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.NESTING,r.value="&",r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}(my,my.exports);var gy={exports:{}};!function(e,t){t.__esModule=!0,t.default=function(e){return e.sort((function(e,t){return e-t}))},e.exports=t.default}(gy,gy.exports);var yy={},by={__esModule:!0};by.combinator=by.word=by.comment=by.str=by.tab=by.newline=by.feed=by.cr=by.backslash=by.bang=by.slash=by.doubleQuote=by.singleQuote=by.space=by.greaterThan=by.pipe=by.equals=by.plus=by.caret=by.tilde=by.dollar=by.closeSquare=by.openSquare=by.closeParenthesis=by.openParenthesis=by.semicolon=by.colon=by.comma=by.at=by.asterisk=by.ampersand=void 0,by.ampersand=38,by.asterisk=42,by.at=64,by.comma=44,by.colon=58,by.semicolon=59,by.openParenthesis=40,by.closeParenthesis=41,by.openSquare=91,by.closeSquare=93,by.dollar=36,by.tilde=126,by.caret=94,by.plus=43,by.equals=61,by.pipe=124,by.greaterThan=62,by.space=32,by.singleQuote=39,by.doubleQuote=34,by.slash=47,by.bang=33,by.backslash=92,by.cr=13,by.feed=12,by.newline=10,by.tab=9,by.str=39,by.comment=-1,by.word=-2,by.combinator=-3,function(e){e.__esModule=!0,e.default=function(e){var t,r,n,i,o,a,c,l,u,p,d,f,m=[],g=e.css.valueOf(),y=g.length,b=-1,v=1,x=0,w=0;function E(t,r){if(!e.safe)throw e.error("Unclosed "+t,v,x-b,x);l=(g+=r).length-1}for(;x<y;){switch((t=g.charCodeAt(x))===s.newline&&(b=x,v+=1),t){case s.space:case s.tab:case s.newline:case s.cr:case s.feed:l=x;do{l+=1,(t=g.charCodeAt(l))===s.newline&&(b=l,v+=1)}while(t===s.space||t===s.newline||t===s.tab||t===s.cr||t===s.feed);f=s.space,n=v,r=l-b-1,w=l;break;case s.plus:case s.greaterThan:case s.tilde:case s.pipe:l=x;do{l+=1,t=g.charCodeAt(l)}while(t===s.plus||t===s.greaterThan||t===s.tilde||t===s.pipe);f=s.combinator,n=v,r=x-b,w=l;break;case s.asterisk:case s.ampersand:case s.bang:case s.comma:case s.equals:case s.dollar:case s.caret:case s.openSquare:case s.closeSquare:case s.colon:case s.semicolon:case s.openParenthesis:case s.closeParenthesis:f=t,n=v,r=x-b,w=(l=x)+1;break;case s.singleQuote:case s.doubleQuote:d=t===s.singleQuote?"'":'"',l=x;do{for(i=!1,-1===(l=g.indexOf(d,l+1))&&E("quote",d),o=l;g.charCodeAt(o-1)===s.backslash;)o-=1,i=!i}while(i);f=s.str,n=v,r=x-b,w=l+1;break;default:t===s.slash&&g.charCodeAt(x+1)===s.asterisk?(0===(l=g.indexOf("*/",x+2)+1)&&E("comment","*/"),(a=(c=g.slice(x,l+1).split("\n")).length-1)>0?(u=v+a,p=l-c[a].length):(u=v,p=b),f=s.comment,v=u,n=u,r=l-p):t===s.slash?(f=t,n=v,r=x-b,w=(l=x)+1):(l=h(g,x),f=s.word,n=v,r=l-b),w=l+1}m.push([f,v,x-b,n,r,x,w]),p&&(b=p,p=null),x=w}return m},e.FIELDS=void 0;var t,r,s=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n();if(t&&t.has(e))return t.get(e);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=s?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(by);function n(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return n=function(){return e},e}for(var i=((t={})[s.tab]=!0,t[s.newline]=!0,t[s.cr]=!0,t[s.feed]=!0,t),o=((r={})[s.space]=!0,r[s.tab]=!0,r[s.newline]=!0,r[s.cr]=!0,r[s.feed]=!0,r[s.ampersand]=!0,r[s.asterisk]=!0,r[s.bang]=!0,r[s.comma]=!0,r[s.colon]=!0,r[s.semicolon]=!0,r[s.openParenthesis]=!0,r[s.closeParenthesis]=!0,r[s.openSquare]=!0,r[s.closeSquare]=!0,r[s.singleQuote]=!0,r[s.doubleQuote]=!0,r[s.plus]=!0,r[s.pipe]=!0,r[s.tilde]=!0,r[s.greaterThan]=!0,r[s.equals]=!0,r[s.dollar]=!0,r[s.caret]=!0,r[s.slash]=!0,r),a={},c="0123456789abcdefABCDEF",l=0;l<c.length;l++)a[c.charCodeAt(l)]=!0;function h(e,t){var r,n=t;do{if(r=e.charCodeAt(n),o[r])return n-1;r===s.backslash?n=u(e,n)+1:n++}while(n<e.length);return n-1}function u(e,t){var r=t,n=e.charCodeAt(r+1);if(i[n]);else if(a[n]){var o=0;do{r++,o++,n=e.charCodeAt(r+1)}while(a[n]&&o<6);o<6&&n===s.space&&r++}else r++;return r}e.FIELDS={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6}}(yy),function(e,t){t.__esModule=!0,t.default=void 0;var r,s,n=S(jg.exports),i=S(Xg.exports),o=S(Qg.exports),a=S(iy.exports),c=S(oy.exports),l=S(ay.exports),h=S(ly.exports),u=S(hy.exports),p=E(uy),d=S(dy.exports),f=S(fy.exports),m=S(my.exports),g=S(gy.exports),y=E(yy),b=E(by),v=E(Jg),x=Ug;function w(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return w=function(){return e},e}function E(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=w();if(t&&t.has(e))return t.get(e);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=s?Object.getOwnPropertyDescriptor(e,n):null;i&&(i.get||i.set)?Object.defineProperty(r,n,i):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}function S(e){return e&&e.__esModule?e:{default:e}}function _(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}var T=((r={})[b.space]=!0,r[b.cr]=!0,r[b.feed]=!0,r[b.newline]=!0,r[b.tab]=!0,r),P=Object.assign({},T,((s={})[b.comment]=!0,s));function A(e){return{line:e[y.FIELDS.START_LINE],column:e[y.FIELDS.START_COL]}}function C(e){return{line:e[y.FIELDS.END_LINE],column:e[y.FIELDS.END_COL]}}function k(e,t,r,s){return{start:{line:e,column:t},end:{line:r,column:s}}}function O(e){return k(e[y.FIELDS.START_LINE],e[y.FIELDS.START_COL],e[y.FIELDS.END_LINE],e[y.FIELDS.END_COL])}function N(e,t){if(e)return k(e[y.FIELDS.START_LINE],e[y.FIELDS.START_COL],t[y.FIELDS.END_LINE],t[y.FIELDS.END_COL])}function I(e,t){var r=e[t];if("string"==typeof r)return-1!==r.indexOf("\\")&&((0,x.ensureObject)(e,"raws"),e[t]=(0,x.unesc)(r),void 0===e.raws[t]&&(e.raws[t]=r)),e}function R(e,t){for(var r=-1,s=[];-1!==(r=e.indexOf(t,r+1));)s.push(r);return s}var L=function(){function e(e,t){void 0===t&&(t={}),this.rule=e,this.options=Object.assign({lossy:!1,safe:!1},t),this.position=0,this.css="string"==typeof this.rule?this.rule:this.rule.selector,this.tokens=(0,y.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var r=N(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new n.default({source:r}),this.root.errorGenerator=this._errorGenerator();var s=new i.default({source:{start:{line:1,column:1}}});this.root.append(s),this.current=s,this.loop()}var t,r,s=e.prototype;return s._errorGenerator=function(){var e=this;return function(t,r){return"string"==typeof e.rule?new Error(t):e.rule.error(t,r)}},s.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[y.FIELDS.TYPE]!==b.closeSquare;)e.push(this.currToken),this.position++;if(this.currToken[y.FIELDS.TYPE]!==b.closeSquare)return this.expected("closing square bracket",this.currToken[y.FIELDS.START_POS]);var r=e.length,s={source:k(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[y.FIELDS.START_POS]};if(1===r&&!~[b.word].indexOf(e[0][y.FIELDS.TYPE]))return this.expected("attribute",e[0][y.FIELDS.START_POS]);for(var n=0,i="",o="",a=null,c=!1;n<r;){var l=e[n],h=this.content(l),u=e[n+1];switch(l[y.FIELDS.TYPE]){case b.space:if(c=!0,this.options.lossy)break;if(a){(0,x.ensureObject)(s,"spaces",a);var d=s.spaces[a].after||"";s.spaces[a].after=d+h;var f=(0,x.getProp)(s,"raws","spaces",a,"after")||null;f&&(s.raws.spaces[a].after=f+h)}else i+=h,o+=h;break;case b.asterisk:u[y.FIELDS.TYPE]===b.equals?(s.operator=h,a="operator"):s.namespace&&("namespace"!==a||c)||!u||(i&&((0,x.ensureObject)(s,"spaces","attribute"),s.spaces.attribute.before=i,i=""),o&&((0,x.ensureObject)(s,"raws","spaces","attribute"),s.raws.spaces.attribute.before=i,o=""),s.namespace=(s.namespace||"")+h,(0,x.getProp)(s,"raws","namespace")&&(s.raws.namespace+=h),a="namespace"),c=!1;break;case b.dollar:if("value"===a){var m=(0,x.getProp)(s,"raws","value");s.value+="$",m&&(s.raws.value=m+"$");break}case b.caret:u[y.FIELDS.TYPE]===b.equals&&(s.operator=h,a="operator"),c=!1;break;case b.combinator:if("~"===h&&u[y.FIELDS.TYPE]===b.equals&&(s.operator=h,a="operator"),"|"!==h){c=!1;break}u[y.FIELDS.TYPE]===b.equals?(s.operator=h,a="operator"):s.namespace||s.attribute||(s.namespace=!0),c=!1;break;case b.word:if(u&&"|"===this.content(u)&&e[n+2]&&e[n+2][y.FIELDS.TYPE]!==b.equals&&!s.operator&&!s.namespace)s.namespace=h,a="namespace";else if(!s.attribute||"attribute"===a&&!c)i&&((0,x.ensureObject)(s,"spaces","attribute"),s.spaces.attribute.before=i,i=""),o&&((0,x.ensureObject)(s,"raws","spaces","attribute"),s.raws.spaces.attribute.before=o,o=""),s.attribute=(s.attribute||"")+h,(0,x.getProp)(s,"raws","attribute")&&(s.raws.attribute+=h),a="attribute";else if(!s.value&&""!==s.value||"value"===a&&!c){var g=(0,x.unesc)(h),v=(0,x.getProp)(s,"raws","value")||"",w=s.value||"";s.value=w+g,s.quoteMark=null,(g!==h||v)&&((0,x.ensureObject)(s,"raws"),s.raws.value=(v||w)+h),a="value"}else{var E="i"===h||"I"===h;!s.value&&""!==s.value||!s.quoteMark&&!c?(s.value||""===s.value)&&(a="value",s.value+=h,s.raws.value&&(s.raws.value+=h)):(s.insensitive=E,E&&"I"!==h||((0,x.ensureObject)(s,"raws"),s.raws.insensitiveFlag=h),a="insensitive",i&&((0,x.ensureObject)(s,"spaces","insensitive"),s.spaces.insensitive.before=i,i=""),o&&((0,x.ensureObject)(s,"raws","spaces","insensitive"),s.raws.spaces.insensitive.before=o,o=""))}c=!1;break;case b.str:if(!s.attribute||!s.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:l[y.FIELDS.START_POS]});var S=(0,p.unescapeValue)(h),_=S.unescaped,T=S.quoteMark;s.value=_,s.quoteMark=T,a="value",(0,x.ensureObject)(s,"raws"),s.raws.value=h,c=!1;break;case b.equals:if(!s.attribute)return this.expected("attribute",l[y.FIELDS.START_POS],h);if(s.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:l[y.FIELDS.START_POS]});s.operator=s.operator?s.operator+h:h,a="operator",c=!1;break;case b.comment:if(a)if(c||u&&u[y.FIELDS.TYPE]===b.space||"insensitive"===a){var P=(0,x.getProp)(s,"spaces",a,"after")||"",A=(0,x.getProp)(s,"raws","spaces",a,"after")||P;(0,x.ensureObject)(s,"raws","spaces",a),s.raws.spaces[a].after=A+h}else{var C=s[a]||"",O=(0,x.getProp)(s,"raws",a)||C;(0,x.ensureObject)(s,"raws"),s.raws[a]=O+h}else o+=h;break;default:return this.error('Unexpected "'+h+'" found.',{index:l[y.FIELDS.START_POS]})}n++}I(s,"attribute"),I(s,"namespace"),this.newNode(new p.default(s)),this.position++},s.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,r=[],s="",n=void 0;do{if(T[this.currToken[y.FIELDS.TYPE]])this.options.lossy||(s+=this.content());else if(this.currToken[y.FIELDS.TYPE]===b.comment){var i={};s&&(i.before=s,s=""),n=new a.default({value:this.content(),source:O(this.currToken),sourceIndex:this.currToken[y.FIELDS.START_POS],spaces:i}),r.push(n)}}while(++this.position<e);if(s)if(n)n.spaces.after=s;else if(!this.options.lossy){var o=this.tokens[t],c=this.tokens[this.position-1];r.push(new h.default({value:"",source:k(o[y.FIELDS.START_LINE],o[y.FIELDS.START_COL],c[y.FIELDS.END_LINE],c[y.FIELDS.END_COL]),sourceIndex:o[y.FIELDS.START_POS],spaces:{before:s,after:""}}))}return r},s.convertWhitespaceNodesToSpace=function(e,t){var r=this;void 0===t&&(t=!1);var s="",n="";return e.forEach((function(e){var i=r.lossySpace(e.spaces.before,t),o=r.lossySpace(e.rawSpaceBefore,t);s+=i+r.lossySpace(e.spaces.after,t&&0===i.length),n+=i+e.value+r.lossySpace(e.rawSpaceAfter,t&&0===o.length)})),n===s&&(n=void 0),{space:s,rawSpace:n}},s.isNamedCombinator=function(e){return void 0===e&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][y.FIELDS.TYPE]===b.slash&&this.tokens[e+1]&&this.tokens[e+1][y.FIELDS.TYPE]===b.word&&this.tokens[e+2]&&this.tokens[e+2][y.FIELDS.TYPE]===b.slash},s.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,x.unesc)(e).toLowerCase(),r={};t!==e&&(r.value="/"+e+"/");var s=new f.default({value:"/"+t+"/",source:k(this.currToken[y.FIELDS.START_LINE],this.currToken[y.FIELDS.START_COL],this.tokens[this.position+2][y.FIELDS.END_LINE],this.tokens[this.position+2][y.FIELDS.END_COL]),sourceIndex:this.currToken[y.FIELDS.START_POS],raws:r});return this.position=this.position+3,s}this.unexpected()},s.combinator=function(){var e=this;if("|"===this.content())return this.namespace();var t=this.locateNextMeaningfulToken(this.position);if(!(t<0||this.tokens[t][y.FIELDS.TYPE]===b.comma)){var r,s=this.currToken,n=void 0;if(t>this.position&&(n=this.parseWhitespaceEquivalentTokens(t)),this.isNamedCombinator()?r=this.namedCombinator():this.currToken[y.FIELDS.TYPE]===b.combinator?(r=new f.default({value:this.content(),source:O(this.currToken),sourceIndex:this.currToken[y.FIELDS.START_POS]}),this.position++):T[this.currToken[y.FIELDS.TYPE]]||n||this.unexpected(),r){if(n){var i=this.convertWhitespaceNodesToSpace(n),o=i.space,a=i.rawSpace;r.spaces.before=o,r.rawSpaceBefore=a}}else{var c=this.convertWhitespaceNodesToSpace(n,!0),l=c.space,h=c.rawSpace;h||(h=l);var u={},p={spaces:{}};l.endsWith(" ")&&h.endsWith(" ")?(u.before=l.slice(0,l.length-1),p.spaces.before=h.slice(0,h.length-1)):l.startsWith(" ")&&h.startsWith(" ")?(u.after=l.slice(1),p.spaces.after=h.slice(1)):p.value=h,r=new f.default({value:" ",source:N(s,this.tokens[this.position-1]),sourceIndex:s[y.FIELDS.START_POS],spaces:u,raws:p})}return this.currToken&&this.currToken[y.FIELDS.TYPE]===b.space&&(r.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(r)}var d=this.parseWhitespaceEquivalentTokens(t);if(d.length>0){var m=this.current.last;if(m){var g=this.convertWhitespaceNodesToSpace(d),v=g.space,x=g.rawSpace;void 0!==x&&(m.rawSpaceAfter+=x),m.spaces.after+=v}else d.forEach((function(t){return e.newNode(t)}))}},s.comma=function(){if(this.position===this.tokens.length-1)return this.root.trailingComma=!0,void this.position++;this.current._inferEndPosition();var e=new i.default({source:{start:A(this.tokens[this.position+1])}});this.current.parent.append(e),this.current=e,this.position++},s.comment=function(){var e=this.currToken;this.newNode(new a.default({value:this.content(),source:O(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++},s.error=function(e,t){throw this.root.error(e,t)},s.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[y.FIELDS.START_POS]})},s.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[y.FIELDS.START_POS])},s.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[y.FIELDS.START_POS])},s.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[y.FIELDS.START_POS])},s.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;return this.nextToken[y.FIELDS.TYPE]===b.word?(this.position++,this.word(e)):this.nextToken[y.FIELDS.TYPE]===b.asterisk?(this.position++,this.universal(e)):void 0},s.nesting=function(){if(this.nextToken&&"|"===this.content(this.nextToken))this.position++;else{var e=this.currToken;this.newNode(new m.default({value:this.content(),source:O(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++}},s.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===v.PSEUDO){var r=new i.default({source:{start:A(this.tokens[this.position-1])}}),s=this.current;for(e.append(r),this.current=r;this.position<this.tokens.length&&t;)this.currToken[y.FIELDS.TYPE]===b.openParenthesis&&t++,this.currToken[y.FIELDS.TYPE]===b.closeParenthesis&&t--,t?this.parse():(this.current.source.end=C(this.currToken),this.current.parent.source.end=C(this.currToken),this.position++);this.current=s}else{for(var n,o=this.currToken,a="(";this.position<this.tokens.length&&t;)this.currToken[y.FIELDS.TYPE]===b.openParenthesis&&t++,this.currToken[y.FIELDS.TYPE]===b.closeParenthesis&&t--,n=this.currToken,a+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape("value",a,a):this.newNode(new h.default({value:a,source:k(o[y.FIELDS.START_LINE],o[y.FIELDS.START_COL],n[y.FIELDS.END_LINE],n[y.FIELDS.END_COL]),sourceIndex:o[y.FIELDS.START_POS]}))}if(t)return this.expected("closing parenthesis",this.currToken[y.FIELDS.START_POS])},s.pseudo=function(){for(var e=this,t="",r=this.currToken;this.currToken&&this.currToken[y.FIELDS.TYPE]===b.colon;)t+=this.content(),this.position++;return this.currToken?this.currToken[y.FIELDS.TYPE]!==b.word?this.expected(["pseudo-class","pseudo-element"],this.currToken[y.FIELDS.START_POS]):void this.splitWord(!1,(function(s,n){t+=s,e.newNode(new u.default({value:t,source:N(r,e.currToken),sourceIndex:r[y.FIELDS.START_POS]})),n>1&&e.nextToken&&e.nextToken[y.FIELDS.TYPE]===b.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[y.FIELDS.START_POS]})})):this.expected(["pseudo-class","pseudo-element"],this.position-1)},s.space=function(){var e=this.content();0===this.position||this.prevToken[y.FIELDS.TYPE]===b.comma||this.prevToken[y.FIELDS.TYPE]===b.openParenthesis||this.current.nodes.every((function(e){return"comment"===e.type}))?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[y.FIELDS.TYPE]===b.comma||this.nextToken[y.FIELDS.TYPE]===b.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},s.string=function(){var e=this.currToken;this.newNode(new h.default({value:this.content(),source:O(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++},s.universal=function(e){var t=this.nextToken;if(t&&"|"===this.content(t))return this.position++,this.namespace();var r=this.currToken;this.newNode(new d.default({value:this.content(),source:O(r),sourceIndex:r[y.FIELDS.START_POS]}),e),this.position++},s.splitWord=function(e,t){for(var r=this,s=this.nextToken,n=this.content();s&&~[b.dollar,b.caret,b.equals,b.word].indexOf(s[y.FIELDS.TYPE]);){this.position++;var i=this.content();if(n+=i,i.lastIndexOf("\\")===i.length-1){var a=this.nextToken;a&&a[y.FIELDS.TYPE]===b.space&&(n+=this.requiredSpace(this.content(a)),this.position++)}s=this.nextToken}var h=R(n,".").filter((function(e){var t="\\"===n[e-1],r=/^\d+\.\d+%$/.test(n);return!t&&!r})),u=R(n,"#").filter((function(e){return"\\"!==n[e-1]})),p=R(n,"#{");p.length&&(u=u.filter((function(e){return!~p.indexOf(e)})));var d=(0,g.default)(function(){var e=Array.prototype.concat.apply([],arguments);return e.filter((function(t,r){return r===e.indexOf(t)}))}([0].concat(h,u)));d.forEach((function(s,i){var a,p=d[i+1]||n.length,f=n.slice(s,p);if(0===i&&t)return t.call(r,f,d.length);var m=r.currToken,g=m[y.FIELDS.START_POS]+d[i],b=k(m[1],m[2]+s,m[3],m[2]+(p-1));if(~h.indexOf(s)){var v={value:f.slice(1),source:b,sourceIndex:g};a=new o.default(I(v,"value"))}else if(~u.indexOf(s)){var x={value:f.slice(1),source:b,sourceIndex:g};a=new c.default(I(x,"value"))}else{var w={value:f,source:b,sourceIndex:g};I(w,"value"),a=new l.default(w)}r.newNode(a,e),e=null})),this.position++},s.word=function(e){var t=this.nextToken;return t&&"|"===this.content(t)?(this.position++,this.namespace()):this.splitWord(e)},s.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},s.parse=function(e){switch(this.currToken[y.FIELDS.TYPE]){case b.space:this.space();break;case b.comment:this.comment();break;case b.openParenthesis:this.parentheses();break;case b.closeParenthesis:e&&this.missingParenthesis();break;case b.openSquare:this.attribute();break;case b.dollar:case b.caret:case b.equals:case b.word:this.word();break;case b.colon:this.pseudo();break;case b.comma:this.comma();break;case b.asterisk:this.universal();break;case b.ampersand:this.nesting();break;case b.slash:case b.combinator:this.combinator();break;case b.str:this.string();break;case b.closeSquare:this.missingSquareBracket();case b.semicolon:this.missingBackslash();default:this.unexpected()}},s.expected=function(e,t,r){if(Array.isArray(e)){var s=e.pop();e=e.join(", ")+" or "+s}var n=/^[aeiou]/.test(e[0])?"an":"a";return r?this.error("Expected "+n+" "+e+', found "'+r+'" instead.',{index:t}):this.error("Expected "+n+" "+e+".",{index:t})},s.requiredSpace=function(e){return this.options.lossy?" ":e},s.optionalSpace=function(e){return this.options.lossy?"":e},s.lossySpace=function(e,t){return this.options.lossy?t?" ":"":e},s.parseParenthesisToken=function(e){var t=this.content(e);return e[y.FIELDS.TYPE]===b.space?this.requiredSpace(t):t},s.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||"")+t),t=!0),e.namespace=t,I(e,"namespace")),this.spaces&&(e.spaces.before=this.spaces,this.spaces=""),this.current.append(e)},s.content=function(e){return void 0===e&&(e=this.currToken),this.css.slice(e[y.FIELDS.START_POS],e[y.FIELDS.END_POS])},s.locateNextMeaningfulToken=function(e){void 0===e&&(e=this.position+1);for(var t=e;t<this.tokens.length;){if(!P[this.tokens[t][y.FIELDS.TYPE]])return t;t++}return-1},t=e,(r=[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}])&&_(t.prototype,r),e}();t.default=L,e.exports=t.default}(Dg,Dg.exports),function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Dg.exports)&&r.__esModule?r:{default:r},n=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}var t=e.prototype;return t._shouldUpdateSelector=function(e,t){return void 0===t&&(t={}),!1!==Object.assign({},this.options,t).updateSelector&&"string"!=typeof e},t._isLossy=function(e){return void 0===e&&(e={}),!1===Object.assign({},this.options,e).lossless},t._root=function(e,t){return void 0===t&&(t={}),new s.default(e,this._parseOptions(t)).root},t._parseOptions=function(e){return{lossy:this._isLossy(e)}},t._run=function(e,t){var r=this;return void 0===t&&(t={}),new Promise((function(s,n){try{var i=r._root(e,t);Promise.resolve(r.func(i)).then((function(s){var n=void 0;return r._shouldUpdateSelector(e,t)&&(n=i.toString(),e.selector=n),{transform:s,root:i,string:n}})).then(s,n)}catch(e){return void n(e)}}))},t._runSync=function(e,t){void 0===t&&(t={});var r=this._root(e,t),s=this.func(r);if(s&&"function"==typeof s.then)throw new Error("Selector processor returned a promise to a synchronous call.");var n=void 0;return t.updateSelector&&"string"!=typeof e&&(n=r.toString(),e.selector=n),{transform:s,root:r,string:n}},t.ast=function(e,t){return this._run(e,t).then((function(e){return e.root}))},t.astSync=function(e,t){return this._runSync(e,t).root},t.transform=function(e,t){return this._run(e,t).then((function(e){return e.transform}))},t.transformSync=function(e,t){return this._runSync(e,t).transform},t.process=function(e,t){return this._run(e,t).then((function(e){return e.string||e.root.toString()}))},t.processSync=function(e,t){var r=this._runSync(e,t);return r.string||r.root.toString()},e}();t.default=n,e.exports=t.default}(Mg,Mg.exports);var vy={},xy={__esModule:!0};xy.universal=xy.tag=xy.string=xy.selector=xy.root=xy.pseudo=xy.nesting=xy.id=xy.comment=xy.combinator=xy.className=xy.attribute=void 0;var wy=Ry(uy),Ey=Ry(Qg.exports),Sy=Ry(fy.exports),_y=Ry(iy.exports),Ty=Ry(oy.exports),Py=Ry(my.exports),Ay=Ry(hy.exports),Cy=Ry(jg.exports),ky=Ry(Xg.exports),Oy=Ry(ly.exports),Ny=Ry(ay.exports),Iy=Ry(dy.exports);function Ry(e){return e&&e.__esModule?e:{default:e}}xy.attribute=function(e){return new wy.default(e)},xy.className=function(e){return new Ey.default(e)},xy.combinator=function(e){return new Sy.default(e)},xy.comment=function(e){return new _y.default(e)},xy.id=function(e){return new Ty.default(e)},xy.nesting=function(e){return new Py.default(e)},xy.pseudo=function(e){return new Ay.default(e)},xy.root=function(e){return new Cy.default(e)},xy.selector=function(e){return new ky.default(e)},xy.string=function(e){return new Oy.default(e)},xy.tag=function(e){return new Ny.default(e)},xy.universal=function(e){return new Iy.default(e)};var Ly={__esModule:!0};Ly.isNode=Fy,Ly.isPseudoElement=Qy,Ly.isPseudoClass=function(e){return Gy(e)&&!Qy(e)},Ly.isContainer=function(e){return!(!Fy(e)||!e.walk)},Ly.isNamespace=function(e){return Uy(e)||Jy(e)},Ly.isUniversal=Ly.isTag=Ly.isString=Ly.isSelector=Ly.isRoot=Ly.isPseudo=Ly.isNesting=Ly.isIdentifier=Ly.isComment=Ly.isCombinator=Ly.isClassName=Ly.isAttribute=void 0;var My,Dy=Jg,jy=((My={})[Dy.ATTRIBUTE]=!0,My[Dy.CLASS]=!0,My[Dy.COMBINATOR]=!0,My[Dy.COMMENT]=!0,My[Dy.ID]=!0,My[Dy.NESTING]=!0,My[Dy.PSEUDO]=!0,My[Dy.ROOT]=!0,My[Dy.SELECTOR]=!0,My[Dy.STRING]=!0,My[Dy.TAG]=!0,My[Dy.UNIVERSAL]=!0,My);function Fy(e){return"object"==typeof e&&jy[e.type]}function By(e,t){return Fy(t)&&t.type===e}var Uy=By.bind(null,Dy.ATTRIBUTE);Ly.isAttribute=Uy;var qy=By.bind(null,Dy.CLASS);Ly.isClassName=qy;var $y=By.bind(null,Dy.COMBINATOR);Ly.isCombinator=$y;var Hy=By.bind(null,Dy.COMMENT);Ly.isComment=Hy;var Vy=By.bind(null,Dy.ID);Ly.isIdentifier=Vy;var Wy=By.bind(null,Dy.NESTING);Ly.isNesting=Wy;var Gy=By.bind(null,Dy.PSEUDO);Ly.isPseudo=Gy;var zy=By.bind(null,Dy.ROOT);Ly.isRoot=zy;var Ky=By.bind(null,Dy.SELECTOR);Ly.isSelector=Ky;var Yy=By.bind(null,Dy.STRING);Ly.isString=Yy;var Jy=By.bind(null,Dy.TAG);Ly.isTag=Jy;var Xy=By.bind(null,Dy.UNIVERSAL);function Qy(e){return Gy(e)&&e.value&&(e.value.startsWith("::")||":before"===e.value.toLowerCase()||":after"===e.value.toLowerCase())}Ly.isUniversal=Xy,function(e){e.__esModule=!0;var t=Jg;Object.keys(t).forEach((function(r){"default"!==r&&"__esModule"!==r&&(r in e&&e[r]===t[r]||(e[r]=t[r]))}));var r=xy;Object.keys(r).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r[t]||(e[t]=r[t]))}));var s=Ly;Object.keys(s).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===s[t]||(e[t]=s[t]))}))}(vy),function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Mg.exports)&&r.__esModule?r:{default:r},n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=s?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}(vy);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}var o=function(e){return new s.default(e)};Object.assign(o,n),delete o.__esModule;var a=o;t.default=a,e.exports=t.default}(Lg,Lg.exports);var Zy=gt(Lg.exports);const eb=/^(-\w+-)?animation-name$/,tb=/^(-\w+-)?animation$/,rb=new WeakSet;function sb(e,t,r,s=!1){let n=null,i=!0;if(t.each((s=>{if("combinator"===s.type&&(">>>"===s.value||"/deep/"===s.value))return s.value=" ",s.spaces.before=s.spaces.after="",Mu("the >>> and /deep/ combinators have been deprecated. Use :deep() instead."),!1;if("pseudo"===s.type){const{value:n}=s;if(":deep"===n||"::v-deep"===n){if(s.nodes.length){let e=s;s.nodes[0].each((r=>{t.insertAfter(e,r),e=r}));const r=t.at(t.index(s)-1);r&&nb(r)||t.insertAfter(s,Zy.combinator({value:" "})),t.removeChild(s)}else{Mu("::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead.");const e=t.at(t.index(s)-1);e&&nb(e)&&t.removeChild(e),t.removeChild(s)}return!1}if(":slotted"===n||"::v-slotted"===n){sb(e,s.nodes[0],r,!0);let n=s;return s.nodes[0].each((e=>{t.insertAfter(n,e),n=e})),t.removeChild(s),i=!1,!1}if(":global"===n||"::v-global"===n)return r.insertAfter(t,s.nodes[0]),r.removeChild(t),!1}"pseudo"!==s.type&&"combinator"!==s.type&&(n=s)})),n?n.spaces.after="":t.first.spaces.before="",i){const r=s?e+"-s":e;t.insertAfter(n,Zy.attribute({attribute:r,value:r,raws:{},quoteMark:'"'}))}}function nb(e){return"combinator"===e.type&&/^\s+$/.test(e.value)}((e="")=>{const t=Object.create(null),r=e.replace(/^data-v-/,"");return{postcssPlugin:"vue-sfc-scoped",Rule(t){!function(e,t){rb.has(t)||t.parent&&"atrule"===t.parent.type&&/-?keyframes$/.test(t.parent.name)||(rb.add(t),t.selector=Zy((t=>{t.each((r=>{sb(e,r,t)}))})).processSync(t.selector))}(e,t)},AtRule(e){/-?keyframes$/.test(e.name)&&!e.params.endsWith(`-${r}`)&&(t[e.params]=e.params=e.params+"-"+r)},OnceExit(e){Object.keys(t).length&&e.walkDecls((e=>{eb.test(e.prop)&&(e.value=e.value.split(",").map((e=>t[e.trim()]||e.trim())).join(",")),tb.test(e.prop)&&(e.value=e.value.split(",").map((e=>{const r=e.trim().split(/\s+/),s=r.findIndex((e=>t[e]));return-1!==s?(r.splice(s,1,t[r[s]]),r.join(" ")):e})).join(","))}))}}}).postcss=!0;var ib=ui;ib.SourceMapConsumer,ib.SourceMapGenerator;const ob=",".charCodeAt(0),ab=";".charCodeAt(0),cb="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lb=new Uint8Array(64),hb=new Uint8Array(128);for(let e=0;e<cb.length;e++){const t=cb.charCodeAt(e);lb[e]=t,hb[t]=e}const ub="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:e=>Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}};function pb(e,t,r,s,n){const i=s[n];let o=i-r[n];r[n]=i,o=o<0?-o<<1|1:o<<1;do{let r=31&o;o>>>=5,o>0&&(r|=32),e[t++]=lb[r]}while(o>0);return t}class db{constructor(e){this.bits=e instanceof db?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(31&e)}has(e){return!!(this.bits[e>>5]&1<<(31&e))}}class fb{constructor(e,t,r){this.start=e,this.end=t,this.original=r,this.intro="",this.outro="",this.content=r,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const e=new fb(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let t=this;for(;t;)e(t),t=t.next}eachPrevious(e){let t=this;for(;t;)e(t),t=t.previous}edit(e,t,r){return this.content=e,r||(this.intro="",this.outro=""),this.storeName=t,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}split(e){const t=e-this.start,r=this.original.slice(0,t),s=this.original.slice(t);this.original=r;const n=new fb(e,this.end,s);return n.outro=this.outro,this.outro="",this.end=e,this.edited?(n.edit("",!1),this.content=""):this.content=r,n.next=this.next,n.next&&(n.next.previous=n),n.previous=this,this.next=n,n}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;const t=this.content.replace(e,"");return t.length?(t!==this.content&&this.split(this.start+t.length).edit("",void 0,!0),!0):(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),!!this.intro.length||void 0)}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;const t=this.content.replace(e,"");return t.length?(t!==this.content&&(this.split(this.end-t.length),this.edit("",void 0,!0)),!0):(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),!!this.outro.length||void 0)}}function mb(){return"undefined"!=typeof window&&"function"==typeof window.btoa?e=>window.btoa(unescape(encodeURIComponent(e))):"function"==typeof Buffer?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const gb=mb();class yb{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=function(e){const t=new Int32Array(5),r=16348,s=new Uint8Array(16384),n=s.subarray(0,r);let i=0,o="";for(let a=0;a<e.length;a++){const c=e[a];if(a>0&&(16384===i&&(o+=ub.decode(s),i=0),s[i++]=ab),0!==c.length){t[0]=0;for(let e=0;e<c.length;e++){const a=c[e];i>r&&(o+=ub.decode(n),s.copyWithin(0,r,i),i-=r),e>0&&(s[i++]=ob),i=pb(s,i,t,a,0),1!==a.length&&(i=pb(s,i,t,a,1),i=pb(s,i,t,a,2),i=pb(s,i,t,a,3),4!==a.length&&(i=pb(s,i,t,a,4)))}}}return o+ub.decode(s.subarray(0,i))}(e.mappings)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+gb(this.toString())}}function bb(e,t){const r=e.split(/[/\\]/),s=t.split(/[/\\]/);for(r.pop();r[0]===s[0];)r.shift(),s.shift();if(r.length){let e=r.length;for(;e--;)r[e]=".."}return r.concat(s).join("/")}const vb=Object.prototype.toString;function xb(e){const t=e.split("\n"),r=[];for(let e=0,s=0;e<t.length;e++)r.push(s),s+=t[e].length+1;return function(e){let t=0,s=r.length;for(;t<s;){const n=t+s>>1;e<r[n]?s=n:t=n+1}const n=t-1;return{line:n,column:e-r[n]}}}class wb{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,t,r,s){if(t.length){const t=[this.generatedCodeColumn,e,r.line,r.column];s>=0&&t.push(s),this.rawSegments.push(t)}else this.pending&&this.rawSegments.push(this.pending);this.advance(t),this.pending=null}addUneditedChunk(e,t,r,s,n){let i=t.start,o=!0;for(;i<t.end;)(this.hires||o||n.has(i))&&this.rawSegments.push([this.generatedCodeColumn,e,s.line,s.column]),"\n"===r[i]?(s.line+=1,s.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=!0):(s.column+=1,this.generatedCodeColumn+=1,o=!1),i+=1;this.pending=null}advance(e){if(!e)return;const t=e.split("\n");if(t.length>1){for(let e=0;e<t.length-1;e++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=t[t.length-1].length}}const Eb="\n",Sb={insertLeft:!1,insertRight:!1,storeName:!1};class _b{constructor(e,t={}){const r=new fb(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:r},lastChunk:{writable:!0,value:r},lastSearchedChunk:{writable:!0,value:r},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:t.filename},indentExclusionRanges:{writable:!0,value:t.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new db},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0}}),this.byStart[0]=r,this.byEnd[e.length]=r}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byEnd[e];return r?r.appendLeft(t):this.intro+=t,this}appendRight(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byStart[e];return r?r.appendRight(t):this.outro+=t,this}clone(){const e=new _b(this.original,{filename:this.filename});let t=this.firstChunk,r=e.firstChunk=e.lastSearchedChunk=t.clone();for(;t;){e.byStart[r.start]=r,e.byEnd[r.end]=r;const s=t.next,n=s&&s.clone();n&&(r.next=n,n.previous=r,r=n),t=s}return e.lastChunk=r,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new db(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};const t=Object.keys(this.storedNames),r=new wb(e.hires),s=xb(this.original);return this.intro&&r.advance(this.intro),this.firstChunk.eachNext((e=>{const n=s(e.start);e.intro.length&&r.advance(e.intro),e.edited?r.addEdit(0,e.content,n,e.storeName?t.indexOf(e.original):-1):r.addUneditedChunk(0,e,this.original,n,this.sourcemapLocations),e.outro.length&&r.advance(e.outro)})),{file:e.file?e.file.split(/[/\\]/).pop():null,sources:[e.source?bb(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:t,mappings:r.raw}}generateMap(e){return new yb(this.generateDecodedMap(e))}_ensureindentStr(){void 0===this.indentStr&&(this.indentStr=function(e){const t=e.split("\n"),r=t.filter((e=>/^\t+/.test(e))),s=t.filter((e=>/^ {2,}/.test(e)));if(0===r.length&&0===s.length)return null;if(r.length>=s.length)return"\t";const n=s.reduce(((e,t)=>{const r=/^ +/.exec(t)[0].length;return Math.min(r,e)}),1/0);return new Array(n+1).join(" ")}(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),null===this.indentStr?"\t":this.indentStr}indent(e,t){const r=/^[^\r\n]/gm;if(s=e,"[object Object]"===vb.call(s)&&(t=e,e=void 0),void 0===e&&(this._ensureindentStr(),e=this.indentStr||"\t"),""===e)return this;var s;const n={};(t=t||{}).exclude&&("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach((e=>{for(let t=e[0];t<e[1];t+=1)n[t]=!0}));let i=!1!==t.indentStart;const o=t=>i?`${e}${t}`:(i=!0,t);this.intro=this.intro.replace(r,o);let a=0,c=this.firstChunk;for(;c;){const t=c.end;if(c.edited)n[a]||(c.content=c.content.replace(r,o),c.content.length&&(i="\n"===c.content[c.content.length-1]));else for(a=c.start;a<t;){if(!n[a]){const t=this.original[a];"\n"===t?i=!0:"\r"!==t&&i&&(i=!1,a===c.start||(this._splitChunk(c,a),c=c.next),c.prependRight(e))}a+=1}a=c.end,c=c.next}return this.outro=this.outro.replace(r,o),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,t){return Sb.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Sb.insertLeft=!0),this.appendLeft(e,t)}insertRight(e,t){return Sb.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Sb.insertRight=!0),this.prependRight(e,t)}move(e,t,r){if(r>=e&&r<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(r);const s=this.byStart[e],n=this.byEnd[t],i=s.previous,o=n.next,a=this.byStart[r];if(!a&&n===this.lastChunk)return this;const c=a?a.previous:this.lastChunk;return i&&(i.next=o),o&&(o.previous=i),c&&(c.next=s),a&&(a.previous=n),s.previous||(this.firstChunk=n.next),n.next||(this.lastChunk=s.previous,this.lastChunk.next=null),s.previous=c,n.next=a||null,c||(this.firstChunk=s),a||(this.lastChunk=n),this}overwrite(e,t,r,s){return s=s||{},this.update(e,t,r,{...s,overwrite:!s.contentOnly})}update(e,t,r,s){if("string"!=typeof r)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===s&&(Sb.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Sb.storeName=!0),s={storeName:!0});const n=void 0!==s&&s.storeName,i=void 0!==s&&s.overwrite;if(n){const r=this.original.slice(e,t);Object.defineProperty(this.storedNames,r,{writable:!0,value:!0,enumerable:!0})}const o=this.byStart[e],a=this.byEnd[t];if(o){let e=o;for(;e!==a;){if(e.next!==this.byStart[e.end])throw new Error("Cannot overwrite across a split point");e=e.next,e.edit("",!1)}o.edit(r,n,!i)}else{const s=new fb(e,t,"").edit(r,n);a.next=s,s.previous=a}return this}prepend(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byEnd[e];return r?r.prependLeft(t):this.intro=t+this.intro,this}prependRight(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byStart[e];return r?r.prependRight(t):this.outro=t+this.outro,this}remove(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);let r=this.byStart[e];for(;r;)r.intro="",r.outro="",r.edit(""),r=t>r.end?this.byStart[r.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(Eb);if(-1!==e)return this.outro.substr(e+1);let t=this.outro,r=this.lastChunk;do{if(r.outro.length>0){if(e=r.outro.lastIndexOf(Eb),-1!==e)return r.outro.substr(e+1)+t;t=r.outro+t}if(r.content.length>0){if(e=r.content.lastIndexOf(Eb),-1!==e)return r.content.substr(e+1)+t;t=r.content+t}if(r.intro.length>0){if(e=r.intro.lastIndexOf(Eb),-1!==e)return r.intro.substr(e+1)+t;t=r.intro+t}}while(r=r.previous);return e=this.intro.lastIndexOf(Eb),-1!==e?this.intro.substr(e+1)+t:this.intro+t}slice(e=0,t=this.original.length){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;let r="",s=this.firstChunk;for(;s&&(s.start>e||s.end<=e);){if(s.start<t&&s.end>=t)return r;s=s.next}if(s&&s.edited&&s.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);const n=s;for(;s;){!s.intro||n===s&&s.start!==e||(r+=s.intro);const i=s.start<t&&s.end>=t;if(i&&s.edited&&s.end!==t)throw new Error(`Cannot use replaced character ${t} as slice end anchor.`);const o=n===s?e-s.start:0,a=i?s.content.length+t-s.end:s.content.length;if(r+=s.content.slice(o,a),!s.outro||i&&s.end!==t||(r+=s.outro),i)break;s=s.next}return r}snip(e,t){const r=this.clone();return r.remove(0,e),r.remove(t,r.original.length),r}_split(e){if(this.byStart[e]||this.byEnd[e])return;let t=this.lastSearchedChunk;const r=e>t.end;for(;t;){if(t.contains(e))return this._splitChunk(t,e);t=r?this.byStart[t.end]:this.byEnd[t.start]}}_splitChunk(e,t){if(e.edited&&e.content.length){const r=xb(this.original)(t);throw new Error(`Cannot split a chunk that has already been edited (${r.line}:${r.column} – "${e.original}")`)}const r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,t=this.firstChunk;for(;t;)e+=t.toString(),t=t.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do{if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1}while(e=e.next);return!0}length(){let e=this.firstChunk,t=0;do{t+=e.intro.length+e.content.length+e.outro.length}while(e=e.next);return t}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){const t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.lastChunk;do{const e=r.end,s=r.trimEnd(t);if(r.end!==e&&(this.lastChunk===r&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),s)return!0;r=r.previous}while(r);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){const t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.firstChunk;do{const e=r.end,s=r.trimStart(t);if(r.end!==e&&(r===this.lastChunk&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),s)return!0;r=r.next}while(r);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,t){function r(e,r){return"string"==typeof t?t.replace(/\$(\$|&|\d+)/g,((t,r)=>"$"===r?"$":"&"===r?e[0]:+r<e.length?e[+r]:`$${r}`)):t(...e,e.index,r,e.groups)}if(e.global){(function(e,t){let r;const s=[];for(;r=e.exec(t);)s.push(r);return s})(e,this.original).forEach((e=>{null!=e.index&&this.overwrite(e.index,e.index+e[0].length,r(e,this.original))}))}else{const t=this.original.match(e);t&&null!=t.index&&this.overwrite(t.index,t.index+t[0].length,r(t,this.original))}return this}_replaceString(e,t){const{original:r}=this,s=r.indexOf(e);return-1!==s&&this.overwrite(s,s+e.length,t),this}replace(e,t){return"string"==typeof e?this._replaceString(e,t):this._replaceRegexp(e,t)}_replaceAllString(e,t){const{original:r}=this,s=e.length;for(let n=r.indexOf(e);-1!==n;n=r.indexOf(e,n+s))this.overwrite(n,n+s,t);return this}replaceAll(e,t){if("string"==typeof e)return this._replaceAllString(e,t);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,t)}}function Tb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function Pb(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Tb(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tb(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}Object.prototype.hasOwnProperty;var Ab=function(r){c(b,r);var s,d,y=(s=b,d=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(s);if(d){var r=h(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return l(this,e)});function b(r){var s;return o(this,b),s=y.call(this,r),u(a(s),"clearPageInstances",(function(){})),u(a(s),"_disconnectWithPinegrow",(function(){s.clearPageInstances()})),u(a(s),"_socketOnConnect",(function(){process.env.pinegrow_url=s.pinegrow_url,s.clearPageInstances()})),u(a(s),"_socketOnDisconnect",(function(){s.clearPageInstances()})),u(a(s),"_connectionManager",(function(){s.socket.on("on_project_loaded",s.onProjectLoaded),s.socket.on("emitted_currentPageSnapshot",s.processNewSnapshot)})),u(a(s),"onProjectLoaded",(function(){Object.entries(s.pageInstances).forEach((function(e){var t=n(e,2),r=(t[0],t[1]);s.processNewSnapshot(Pb(Pb({},r.newerSnapshot),{},{status:"emitted",pageEvent:"on_project_loaded",userAction:"delete",liveMtimeMs:(new Date).getTime(),withPgIds:null}))}))})),u(a(s),"processNewSnapshot",(function(e){var t=e.localFile;s.pageInstances[t]?s.pageInstances[t].newerSnapshot.liveMtimeMs<e.liveMtimeMs?(s.pageInstances[t].newerSnapshot=e,s.pageInstances[t].newerSnapshot.status="acked",s.socket.emit("progress_currentPageSnapshot",s.pageInstances[t].newerSnapshot),s.triggerWatcherEvent(t)):s.pageInstances[t].newerSnapshot.liveMtimeMs>=e.liveMtimeMs&&s.socket.emit("progress_currentPageSnapshot",s.pageInstances[t].currentSnapshot):(e.status="acked",s.pageInstances[t]={newerSnapshot:Pb({},e),currentSnapshot:Pb({},e)},s.triggerWatcherEvent(t))})),u(a(s),"triggerWatcherEvent",(function(e){var t=s.pageInstances[e].currentSnapshot,r=s.pageInstances[e].newerSnapshot;"acked"===r.status&&("processed"!==t.status&&r.liveMtimeMs===t.liveMtimeMs||"processed"===t.status&&r.liveMtimeMs>t.liveMtimeMs)&&(s.pageInstances[e].currentSnapshot=Pb({},r),(t=s.pageInstances[e].currentSnapshot).status="triggered",s.viteDevServer.watcher.emit("change",e))})),u(a(s),"config",(function(e,r){r.command,r.mode,Array.isArray(e.resolve.alias)?s.aliases=Object.values(e.resolve.alias).map((function(e){var t=e.find,r=e.replacement;return{regex:"RegExp"===t.constructor.name,find:"RegExp"===t.constructor.name?{flags:t.flags,source:t.source}:t,replacement:r}})):s.aliases=Object.entries(e.resolve.alias).map((function(e){var t=n(e,2),r=t[0],s=t[1];return{regex:"RegExp"===r.constructor.name,find:"RegExp"===r.constructor.name?{flags:r.flags,source:r.source}:r,replacement:s}})),s.init();var i=t(new Set([].concat(t(s.globsNotToWatchByDevServer),t(s.pluginFilesNotToBeWatchedByDevServer))));return(0,g.mergeConfig)(e,{server:{watch:{ignored:i}}})})),u(a(s),"configResolved",function(){var t=e(p.mark((function e(t){return p.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s.aliases=t.resolve.alias.map((function(e){var t=e.find,r=e.replacement;return{regex:"RegExp"===t.constructor.name,find:"RegExp"===t.constructor.name?{flags:t.flags,source:t.source}:t,replacement:r}}));case 1:case"end":return e.stop()}}),e)})));return function(e){return t.apply(this,arguments)}}()),u(a(s),"configureServer",function(){var t=e(p.mark((function e(t){var r,n;return p.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!s.customOptions.listenerServer||!t.httpServer){e.next=2;break}return e.abrupt("return");case 2:s.viteDevServer=t,s.processConfigPath(),s.initHandShakeWithPinegrow(),r=function(e){var t,r,n=s.viteDevServer.config.server,i={host:r=void 0===(t=n.host)||!1===t||"localhost"===t?"127.0.0.1":!0===t?void 0:t,name:"127.0.0.1"!==t&&"127.0.0.1"===r||"0.0.0.0"===r||"::"===r||void 0===r?"localhost":r},o=n.https?"https":"http",a=(s.viteDevServer.config.logger.info,s.viteDevServer.config.base,e.address().port),c="".concat(o,"://").concat(i.name,":").concat(a);s.dev_server_url=c};try{n=a(s),!s.customOptions.listenerServer&&s.viteDevServer&&s.viteDevServer.httpServer?s.viteDevServer.httpServer.on("listening",(function(){r(n.viteDevServer.httpServer),n.sendDevServerUrl()})):s.customOptions.listenerServer&&s.viteDevServer&&(r(s.customOptions.listenerServer),s.sendDevServerUrl())}catch(e){}case 7:case"end":return e.stop()}}),e)})));return function(e){return t.apply(this,arguments)}}()),u(a(s),"handleHotUpdate",function(){var t=e(p.mark((function t(r){var n,i,o,a,c;return p.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=r.file,r.timestamp,r.modules,r.read,r.server,i=n,s.pageInstances[i]){t.next=4;break}return t.abrupt("return");case 4:o=s.pageInstances[i].currentSnapshot,s.processedCounter++,(a=o.withPgIds||"")&&(c=function(){var t=e(p.mark((function e(t){return p.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",a);case 1:case"end":return e.stop()}}),e)})));return function(e){return t.apply(this,arguments)}}(),r.read=c),o.status="processed",s.socket&&s.socket.emit("progress_currentPageSnapshot",o);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),u(a(s),"load",(function(e,t){var r=s.parseQueryString(e),n=r.filename,i=r.query,o=null;if(!(!s.pageInstances[n]||i&&i.type)){var a=s.pageInstances[n].currentSnapshot;return a&&a.withPgIds&&(o=a.withPgIds),o}})),u(a(s),"transform",(function(e,t,r){if(s.pinegrow_url&&(!r||!r.ssr)){if(!s.customOptions||s.customOptions.mappingType&&"type1"!==s.customOptions.mappingType&&"type2"!==s.customOptions.mappingType)return;if(!/\.vue$/.test(t)||t.includes("node_modules")||t.includes(".nuxt"))return null;var i,o,a,c,l=function(e,{sourceMap:t=!0,filename:r="anonymous.vue",sourceRoot:s="",pad:n=!1,ignoreEmpty:i=!0,compiler:o=ic}={}){const a=e+t+r+s+n+o.parse,c=qu.get(a);if(c)return c;const l={filename:r,source:e,template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1,shouldForceReload:e=>function(e,t){if(!t.scriptSetup||"ts"!==t.scriptSetup.lang&&"tsx"!==t.scriptSetup.lang)return!1;for(const s in e)if(!e[s].isUsedInTemplate&&(r=t,new RegExp(`[^\\w$_]${s.replace(/\$/g,"\\$")}[^\\w$_]`).test(function(e){const{content:t,ast:r}=e.template,s=ju.get(t);if(s)return s;let n="";return ci(nt([r]),{nodeTransforms:[e=>{if(1===e.type){Ma.isNativeTag(e.tag)||Ma.isBuiltInComponent(e.tag)||(n+=`,${ie(e.tag)},${ce(ie(e.tag))}`);for(let t=0;t<e.props.length;t++){const r=e.props[t];7===r.type&&(Du(r.name)||(n+=`,v${ce(ie(r.name))}`),r.exp&&(n+=`,${Bu(r.exp.content,r.name)}`))}}else 5===e.type&&(n+=`,${Bu(e.content.content)}`)}]}),n+=";",ju.set(t,n),n}(r))))return!0;var r;return!1}(e,l)},h=[];if(o.parse(e,{isNativeTag:()=>!0,isPreTag:()=>!0,getTextMode:({tag:e,props:t},r)=>!r&&"template"!==e||"template"===e&&t.some((e=>6===e.type&&"lang"===e.name&&e.value&&e.value.content&&"html"!==e.value.content))?2:0,onError:e=>{h.push(e)}}).children.forEach((t=>{if(1===t.type&&(!i||"template"===t.tag||!function(e){for(let t=0;t<e.children.length;t++){const r=e.children[t];if(2!==r.type||""!==r.content.trim())return!1}return!0}(t)||function(e){return e.props.some((e=>6===e.type&&"src"===e.name))}(t)))switch(t.tag){case"template":if(l.template)h.push($u(t));else{const r=l.template=Hu(t,e,!1);if(r.ast=t,r.attrs.functional){const e=new SyntaxError("<template functional> is no longer supported in Vue 3, since functional components no longer have significant performance difference from stateful ones. Just use a normal <template> instead.");e.loc=t.props.find((e=>"functional"===e.name)).loc,h.push(e)}}break;case"script":const r=Hu(t,e,n),s=!!r.attrs.setup;if(s&&!l.scriptSetup){l.scriptSetup=r;break}if(!s&&!l.script){l.script=r;break}h.push($u(t,s));break;case"style":const i=Hu(t,e,n);i.attrs.vars&&h.push(new SyntaxError("<style vars> has been replaced by a new proposal: https://github.com/vuejs/rfcs/pull/231")),l.styles.push(i);break;default:l.customBlocks.push(Hu(t,e,n))}})),l.template||l.script||l.scriptSetup||h.push(new SyntaxError("At least one <template> or <script> is required in a single file component.")),l.scriptSetup&&(l.scriptSetup.src&&(h.push(new SyntaxError('<script setup> cannot use the "src" attribute because its syntax will be ambiguous outside of the component.')),l.scriptSetup=null),l.script&&l.script.src&&(h.push(new SyntaxError('<script> cannot use the "src" attribute when <script setup> is also present because they must be processed together.')),l.script=null)),t){const t=t=>{t&&!t.src&&(t.map=function(e,t,r,s,n){const i=new Xi({file:e.replace(/\\/g,"/"),sourceRoot:s.replace(/\\/g,"/")});return i.setSourceContent(e,t),r.split(Vu).forEach(((t,r)=>{if(!Wu.test(t)){const s=r+1+n,o=r+1;for(let r=0;r<t.length;r++)/\s/.test(t[r])||i.addMapping({source:e,original:{line:s,column:r},generated:{line:o,column:r}})}})),JSON.parse(i.toString())}(r,e,t.content,s,n&&"template"!==t.type?0:t.loc.start.line-1))};t(l.template),t(l.script),l.styles.forEach(t),l.customBlocks.forEach(t)}l.cssVars=function(e){const t=[];return e.styles.forEach((e=>{let r;const s=e.content.replace(/\/\*([\s\S]*?)\*\//g,"");for(;r=ac.exec(s);){const e=r.index+r[0].length,n=cc(s,e);if(null!==n){const r=oc(s.slice(e,n));t.includes(r)||t.push(r)}}})),t}(l);const u=/(?:::v-|:)slotted\(/;l.slotted=l.styles.some((e=>e.scoped&&u.test(e.content)));const p={descriptor:l,errors:h};return qu.set(a,p),p}(e,{filename:t}).descriptor;(l.script||l.scriptSetup)&&(i=null===(a=l.scriptSetup)||void 0===a||null===(c=a.attrs)||void 0===c?void 0:c.lang);var h=function(e){var t=e;return"type2"!==s.customOptions.mappingType||e.includes("defineEmits")||e.includes("data-pg-id")||(t="".concat(t,"\n//@ts-ignore\ndefineEmits(['data-pg-id']);")),"type1"!==s.customOptions.mappingType||e.includes("usePinegrow()")||(t="import { usePinegrow } from '@pinegrow/vite-plugin/vue' \n".concat(t),t="".concat(t,"\nconst { pgUpdateElCache } = usePinegrow()")),t};l.scriptSetup?l.scriptSetup.content=h(l.scriptSetup.content):(l.scriptSetup={type:"script",attrs:{setup:!0},content:h(""),loc:{start:{line:0}}},i&&(l.scriptSetup.attrs.lang=i));var u=[];Object.entries(l).forEach((function(e){var t=n(e,2),r=t[0],s=t[1];if(s){var i=function(e){return{type:e.type,attrs:e.attrs,content:e.content,startLine:e.loc.start.line}};["template","script","scriptSetup","styles","customBlocks"].includes(r)&&("styles"===r||"customBlocks"===r?s.forEach((function(e){return u.push(i(e))})):u.push(i(s)))}}));var p=(u=u.sort((function(e,t){return e.startLine-t.startLine}))).reduce((function(e,t){var r=t.type,s=t.attrs,i=void 0===s?{}:s,o=t.content,a=Object.entries(i).reduce((function(e,t){var r=n(t,2),s=r[0],i=r[1];if(!1===i)return e;var o=s;return!0!==i&&(o="".concat(o,'="').concat(i,'"')),"".concat(e?"".concat(e," ").concat(o):o)}),""),c="<".concat(r).concat(a?" ".concat(a):"",">\n").concat(o,"\n</").concat(r,">");return"".concat(e?"".concat(e,"\n").concat(c):c)}),"");if(p){var d=new _b(p);return(o=d.generateMap()).file=t,{code:e=d.toString(),map:o}}}})),u(a(s),"transformIndexHtml",(function(e,t){s.addons=[{name:"pgia",resources:[{parentResource:"public/pgia",injectTo:"head-append",tag:"script",children:"\n /* Pinegrow Interactions, do not remove */ (function(){try{if(!document.documentElement.hasAttribute('data-pg-ia-disabled')) { window.pgia_small_mq=typeof pgia_small_mq=='string'?pgia_small_mq:'(max-width:767px)';window.pgia_large_mq=typeof pgia_large_mq=='string'?pgia_large_mq:'(min-width:768px)';var style = document.createElement('style');var pgcss='html:not(.pg-ia-no-preview) [data-pg-ia-hide=\"\"] {opacity:0;visibility:hidden;}html:not(.pg-ia-no-preview) [data-pg-ia-show=\"\"] {opacity:1;visibility:visible;display:block;}';if(document.documentElement.hasAttribute('data-pg-id') && document.documentElement.hasAttribute('data-pg-mobile')) {pgia_small_mq='(min-width:0)';pgia_large_mq='(min-width:99999px)'} pgcss+='@media ' + pgia_small_mq + '{ html:not(.pg-ia-no-preview) [data-pg-ia-hide=\"mobile\"] {opacity:0;visibility:hidden;}html:not(.pg-ia-no-preview) [data-pg-ia-show=\"mobile\"] {opacity:1;visibility:visible;display:block;}}';pgcss+='@media ' + pgia_large_mq + '{html:not(.pg-ia-no-preview) [data-pg-ia-hide=\"desktop\"] {opacity:0;visibility:hidden;}html:not(.pg-ia-no-preview) [data-pg-ia-show=\"desktop\"] {opacity:1;visibility:visible;display:block;}}';style.innerHTML=pgcss;document.querySelector('head').appendChild(style);}}catch(e){console&&console.log(e);}})()"},{parentResource:"public/pgia",injectTo:"body-append",tag:"script",attrs:{src:"/pgia/lib/index.js"}}]}];var r=[];return s.addons.forEach((function(e){e.resources.forEach((function(e){if(!e.condition||s.customOptions[e.condition])try{var t=!0;if(e.parentResource){var n=s.projectRoot,i=f.resolve(n,e.parentResource);t=t&&m.existsSync(i)}t&&r.push({injectTo:e.injectTo,tag:e.tag,attrs:e.attrs,children:e.children})}catch(e){console.log(e)}}))})),{html:e,tags:r}})),s.name="pinegrow:live-designer",s.pageInstances={},s.enforce="pre",s}return i(b)}(d.PgDevConnector);function Cb(e){var t=new Ab(e);return t.dev_server=!0,t}})(),module.exports=s})();
|
|
2
|
+
(()=>{var e={892:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=892,e.exports=t},864:e=>{"use strict";e.exports=require("bufferutil")},943:e=>{"use strict";e.exports=require("fsevents")},239:e=>{"use strict";e.exports=require("utf-8-validate")},81:e=>{"use strict";e.exports=require("child_process")},113:e=>{"use strict";e.exports=require("crypto")},361:e=>{"use strict";e.exports=require("events")},358:e=>{"use strict";e.exports=require("fs")},685:e=>{"use strict";e.exports=require("http")},687:e=>{"use strict";e.exports=require("https")},188:e=>{"use strict";e.exports=require("module")},808:e=>{"use strict";e.exports=require("net")},37:e=>{"use strict";e.exports=require("os")},17:e=>{"use strict";e.exports=require("path")},781:e=>{"use strict";e.exports=require("stream")},404:e=>{"use strict";e.exports=require("tls")},224:e=>{"use strict";e.exports=require("tty")},310:e=>{"use strict";e.exports=require("url")},837:e=>{"use strict";e.exports=require("util")},796:e=>{"use strict";e.exports=require("zlib")},748:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s},e.exports.__esModule=!0,e.exports.default=e.exports},314:e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},850:(e,t,r)=>{var s=r(748);e.exports=function(e){if(Array.isArray(e))return s(e)},e.exports.__esModule=!0,e.exports.default=e.exports},297:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},461:e=>{function t(e,t,r,s,n,i,o){try{var a=e[i](o),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(s,n)}e.exports=function(e){return function(){var r=this,s=arguments;return new Promise((function(n,i){var o=e.apply(r,s);function a(e){t(o,n,i,a,c,"next",e)}function c(e){t(o,n,i,a,c,"throw",e)}a(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},100:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},870:(e,t,r)=>{var s=r(739);function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},290:(e,t,r)=>{var s=r(739);e.exports=function(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},660:e=>{function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},230:(e,t,r)=>{var s=r(560);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},912:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},193:e=>{e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var s,n,i,o,a=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(s=i.call(r)).done)&&(a.push(s.value),a.length!==t);c=!0);}catch(e){l=!0,n=e}finally{try{if(!c&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(l)throw n}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports},147:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},96:e=>{e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports},421:(e,t,r)=>{var s=r(425).default,n=r(297);e.exports=function(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},609:(e,t,r)=>{var s=r(425).default;function n(){"use strict";e.exports=n=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,i=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",h=a.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function p(e,t,r,s){var n=t&&t.prototype instanceof m?t:m,i=Object.create(n.prototype),a=new C(s||[]);return o(i,"_invoke",{value:_(e,r,a)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var f={};function m(){}function g(){}function y(){}var b={};u(b,c,(function(){return this}));var v=Object.getPrototypeOf,x=v&&v(v(k([])));x&&x!==r&&i.call(x,c)&&(b=x);var w=y.prototype=m.prototype=Object.create(b);function E(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function r(n,o,a,c){var l=d(e[n],e,o);if("throw"!==l.type){var h=l.arg,u=h.value;return u&&"object"==s(u)&&i.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(u).then((function(e){h.value=e,a(h)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var n;o(this,"_invoke",{value:function(e,s){function i(){return new t((function(t,n){r(e,s,t,n)}))}return n=n?n.then(i,i):i()}})}function _(e,t,r){var s="suspendedStart";return function(n,i){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===n)throw i;return{value:void 0,done:!0}}for(r.method=n,r.arg=i;;){var o=r.delegate;if(o){var a=T(o,r);if(a){if(a===f)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===s)throw s="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);s="executing";var c=d(e,t,r);if("normal"===c.type){if(s=r.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(s="completed",r.method="throw",r.arg=c.arg)}}}function T(e,t){var r=t.method,s=e.iterator[r];if(void 0===s)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,T(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var n=d(s,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,f;var i=n.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function k(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,s=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return s.next=s}}return{next:O}}function O(){return{value:void 0,done:!0}}return g.prototype=y,o(w,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:g,configurable:!0}),g.displayName=u(y,h,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,u(e,h,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},E(S.prototype),u(S.prototype,l,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,s,n,i){void 0===i&&(i=Promise);var o=new S(p(e,r,s,n),i);return t.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},E(w),u(w,h,"Generator"),u(w,c,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var s in t)r.push(s);return r.reverse(),function e(){for(;r.length;){var s=r.pop();if(s in t)return e.value=s,e.done=!1,e}return e.done=!0,e}},t.values=k,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,s){return o.type="throw",o.arg=e,t.next=r,s&&(t.method="next",t.arg=void 0),!!s}for(var s=this.tryEntries.length-1;s>=0;--s){var n=this.tryEntries[s],o=n.completion;if("root"===n.tryLoc)return r("end");if(n.tryLoc<=this.prev){var a=i.call(n,"catchLoc"),c=i.call(n,"finallyLoc");if(a&&c){if(this.prev<n.catchLoc)return r(n.catchLoc,!0);if(this.prev<n.finallyLoc)return r(n.finallyLoc)}else if(a){if(this.prev<n.catchLoc)return r(n.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return r(n.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var s=this.tryEntries[r];if(s.tryLoc<=this.prev&&i.call(s,"finallyLoc")&&this.prev<s.finallyLoc){var n=s;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var o=n?n.completion:{};return o.type=e,o.arg=t,n?(this.method="next",this.next=n.finallyLoc,f):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var s=r.completion;if("throw"===s.type){var n=s.arg;A(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:k(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},560:e=>{function t(r,s){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,s)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},681:(e,t,r)=>{var s=r(314),n=r(193),i=r(121),o=r(147);e.exports=function(e,t){return s(e)||n(e,t)||i(e,t)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},408:(e,t,r)=>{var s=r(850),n=r(912),i=r(121),o=r(96);e.exports=function(e){return s(e)||n(e)||i(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},64:(e,t,r)=>{var s=r(425).default;e.exports=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},739:(e,t,r)=>{var s=r(425).default,n=r(64);e.exports=function(e){var t=n(e,"string");return"symbol"===s(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},425:e=>{function t(r){return e.exports=t="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.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},121:(e,t,r)=>{var s=r(748);e.exports=function(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},841:(e,t,r)=>{var s=r(609)();e.exports=s;try{regeneratorRuntime=s}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=s:Function("r","regeneratorRuntime = r")(s)}},228:(e,t,r)=>{(()=>{var t,s,n={"../../node_modules/anymatch/index.js":(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const s=r("../../node_modules/picomatch/index.js"),n=r("../../node_modules/normalize-path/index.js"),i={returnIndex:!1},o=(e,t,r,s)=>{const i=Array.isArray(r),o=i?r[0]:r;if(!i&&"string"!=typeof o)throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(o));const a=n(o,!1);for(let e=0;e<t.length;e++)if((0,t[e])(a))return!!s&&-1;const c=i&&[a].concat(r.slice(1));for(let t=0;t<e.length;t++){const r=e[t];if(i?r(...c):r(a))return!s||t}return!!s&&-1},a=(e,t,r=i)=>{if(null==e)throw new TypeError("anymatch: specify first argument");const n="boolean"==typeof r?{returnIndex:r}:r,a=n.returnIndex||!1,c=(l=e,Array.isArray(l)?l:[l]);var l;const h=c.filter((e=>"string"==typeof e&&"!"===e.charAt(0))).map((e=>e.slice(1))).map((e=>s(e,n))),u=c.filter((e=>"string"!=typeof e||"string"==typeof e&&"!"!==e.charAt(0))).map((e=>((e,t)=>{if("function"==typeof e)return e;if("string"==typeof e){const r=s(e,t);return t=>e===t||r(t)}return e instanceof RegExp?t=>e.test(t):e=>!1})(e,n)));return null==t?(e,t=!1)=>o(u,h,e,"boolean"==typeof t&&t):o(u,h,t,a)};a.default=a,e.exports=a},"../../node_modules/binary-extensions/index.js":(e,t,r)=>{e.exports=r("../../node_modules/binary-extensions/binary-extensions.json")},"../../node_modules/braces/index.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/braces/lib/stringify.js"),n=r("../../node_modules/braces/lib/compile.js"),i=r("../../node_modules/braces/lib/expand.js"),o=r("../../node_modules/braces/lib/parse.js"),a=(e,t={})=>{let r=[];if(Array.isArray(e))for(let s of e){let e=a.create(s,t);Array.isArray(e)?r.push(...e):r.push(e)}else r=[].concat(a.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(r=[...new Set(r)]),r};a.parse=(e,t={})=>o(e,t),a.stringify=(e,t={})=>s("string"==typeof e?a.parse(e,t):e,t),a.compile=(e,t={})=>("string"==typeof e&&(e=a.parse(e,t)),n(e,t)),a.expand=(e,t={})=>{"string"==typeof e&&(e=a.parse(e,t));let r=i(e,t);return!0===t.noempty&&(r=r.filter(Boolean)),!0===t.nodupes&&(r=[...new Set(r)]),r},a.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?a.compile(e,t):a.expand(e,t),e.exports=a},"../../node_modules/braces/lib/compile.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/fill-range/index.js"),n=r("../../node_modules/braces/lib/utils.js");e.exports=(e,t={})=>{let r=(e,i={})=>{let o=n.isInvalidBrace(i),a=!0===e.invalid&&!0===t.escapeInvalid,c=!0===o||!0===a,l=!0===t.escapeInvalid?"\\":"",h="";if(!0===e.isOpen)return l+e.value;if(!0===e.isClose)return l+e.value;if("open"===e.type)return c?l+e.value:"(";if("close"===e.type)return c?l+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":c?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){let r=n.reduce(e.nodes),i=s(...r,{...t,wrap:!1,toRegex:!0});if(0!==i.length)return r.length>1&&i.length>1?`(${i})`:i}if(e.nodes)for(let t of e.nodes)h+=r(t,e);return h};return r(e)}},"../../node_modules/braces/lib/constants.js":e=>{"use strict";e.exports={MAX_LENGTH:65536,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},"../../node_modules/braces/lib/expand.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/fill-range/index.js"),n=r("../../node_modules/braces/lib/stringify.js"),i=r("../../node_modules/braces/lib/utils.js"),o=(e="",t="",r=!1)=>{let s=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return r?i.flatten(t).map((e=>`{${e}}`)):t;for(let n of e)if(Array.isArray(n))for(let e of n)s.push(o(e,t,r));else for(let e of t)!0===r&&"string"==typeof e&&(e=`{${e}}`),s.push(Array.isArray(e)?o(n,e,r):n+e);return i.flatten(s)};e.exports=(e,t={})=>{let r=void 0===t.rangeLimit?1e3:t.rangeLimit,a=(e,c={})=>{e.queue=[];let l=c,h=c.queue;for(;"brace"!==l.type&&"root"!==l.type&&l.parent;)l=l.parent,h=l.queue;if(e.invalid||e.dollar)return void h.push(o(h.pop(),n(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void h.push(o(h.pop(),["{}"]));if(e.nodes&&e.ranges>0){let a=i.reduce(e.nodes);if(i.exceedsLimit(...a,t.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let c=s(...a,t);return 0===c.length&&(c=n(e,t)),h.push(o(h.pop(),c)),void(e.nodes=[])}let u=i.encloseBrace(e),p=e.queue,d=e;for(;"brace"!==d.type&&"root"!==d.type&&d.parent;)d=d.parent,p=d.queue;for(let t=0;t<e.nodes.length;t++){let r=e.nodes[t];"comma"!==r.type||"brace"!==e.type?"close"!==r.type?r.value&&"open"!==r.type?p.push(o(p.pop(),r.value)):r.nodes&&a(r,e):h.push(o(h.pop(),p,u)):(1===t&&p.push(""),p.push(""))}return p};return i.flatten(a(e))}},"../../node_modules/braces/lib/parse.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/braces/lib/stringify.js"),{MAX_LENGTH:n,CHAR_BACKSLASH:i,CHAR_BACKTICK:o,CHAR_COMMA:a,CHAR_DOT:c,CHAR_LEFT_PARENTHESES:l,CHAR_RIGHT_PARENTHESES:h,CHAR_LEFT_CURLY_BRACE:u,CHAR_RIGHT_CURLY_BRACE:p,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_RIGHT_SQUARE_BRACKET:f,CHAR_DOUBLE_QUOTE:m,CHAR_SINGLE_QUOTE:g,CHAR_NO_BREAK_SPACE:y,CHAR_ZERO_WIDTH_NOBREAK_SPACE:b}=r("../../node_modules/braces/lib/constants.js");e.exports=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");let r=t||{},v="number"==typeof r.maxLength?Math.min(n,r.maxLength):n;if(e.length>v)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${v})`);let x,w={type:"root",input:e,nodes:[]},E=[w],S=w,_=w,T=0,P=e.length,A=0,C=0;const k=()=>e[A++],O=e=>{if("text"===e.type&&"dot"===_.type&&(_.type="text"),!_||"text"!==_.type||"text"!==e.type)return S.nodes.push(e),e.parent=S,e.prev=_,_=e,e;_.value+=e.value};for(O({type:"bos"});A<P;)if(S=E[E.length-1],x=k(),x!==b&&x!==y)if(x!==i)if(x!==f)if(x!==d)if(x!==l)if(x!==h)if(x!==m&&x!==g&&x!==o)if(x!==u)if(x!==p)if(x===a&&C>0){if(S.ranges>0){S.ranges=0;let e=S.nodes.shift();S.nodes=[e,{type:"text",value:s(S)}]}O({type:"comma",value:x}),S.commas++}else if(x===c&&C>0&&0===S.commas){let e=S.nodes;if(0===C||0===e.length){O({type:"text",value:x});continue}if("dot"===_.type){if(S.range=[],_.value+=x,_.type="range",3!==S.nodes.length&&5!==S.nodes.length){S.invalid=!0,S.ranges=0,_.type="text";continue}S.ranges++,S.args=[];continue}if("range"===_.type){e.pop();let t=e[e.length-1];t.value+=_.value+x,_=t,S.ranges--;continue}O({type:"dot",value:x})}else O({type:"text",value:x});else{if("brace"!==S.type){O({type:"text",value:x});continue}let e="close";S=E.pop(),S.close=!0,O({type:e,value:x}),C--,S=E[E.length-1]}else{C++;let e=_.value&&"$"===_.value.slice(-1)||!0===S.dollar;S=O({type:"brace",open:!0,close:!1,dollar:e,depth:C,commas:0,ranges:0,nodes:[]}),E.push(S),O({type:"open",value:x})}else{let e,r=x;for(!0!==t.keepQuotes&&(x="");A<P&&(e=k());)if(e!==i){if(e===r){!0===t.keepQuotes&&(x+=e);break}x+=e}else x+=e+k();O({type:"text",value:x})}else{if("paren"!==S.type){O({type:"text",value:x});continue}S=E.pop(),O({type:"text",value:x}),S=E[E.length-1]}else S=O({type:"paren",nodes:[]}),E.push(S),O({type:"text",value:x});else{let e;for(T++;A<P&&(e=k());)if(x+=e,e!==d)if(e!==i){if(e===f&&(T--,0===T))break}else x+=k();else T++;O({type:"text",value:x})}else O({type:"text",value:"\\"+x});else O({type:"text",value:(t.keepEscaping?x:"")+k()});do{if(S=E.pop(),"root"!==S.type){S.nodes.forEach((e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)}));let e=E[E.length-1],t=e.nodes.indexOf(S);e.nodes.splice(t,1,...S.nodes)}}while(E.length>0);return O({type:"eos"}),w}},"../../node_modules/braces/lib/stringify.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/braces/lib/utils.js");e.exports=(e,t={})=>{let r=(e,n={})=>{let i=t.escapeInvalid&&s.isInvalidBrace(n),o=!0===e.invalid&&!0===t.escapeInvalid,a="";if(e.value)return(i||o)&&s.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(let t of e.nodes)a+=r(t);return a};return r(e)}},"../../node_modules/braces/lib/utils.js":(e,t)=>{"use strict";t.isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),t.find=(e,t)=>e.nodes.find((e=>e.type===t)),t.exceedsLimit=(e,r,s=1,n)=>!1!==n&&!(!t.isInteger(e)||!t.isInteger(r))&&(Number(r)-Number(e))/Number(s)>=n,t.escapeNode=(e,t=0,r)=>{let s=e.nodes[t];s&&(r&&s.type===r||"open"===s.type||"close"===s.type)&&!0!==s.escaped&&(s.value="\\"+s.value,s.escaped=!0)},t.encloseBrace=e=>"brace"===e.type&&e.commas>>0+e.ranges>>0==0&&(e.invalid=!0,!0),t.isInvalidBrace=e=>!("brace"!==e.type||!0!==e.invalid&&!e.dollar&&(e.commas>>0+e.ranges>>0!=0&&!0===e.open&&!0===e.close||(e.invalid=!0,0))),t.isOpenOrClose=e=>"open"===e.type||"close"===e.type||!0===e.open||!0===e.close,t.reduce=e=>e.reduce(((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e)),[]),t.flatten=(...e)=>{const t=[],r=e=>{for(let s=0;s<e.length;s++){let n=e[s];Array.isArray(n)?r(n,t):void 0!==n&&t.push(n)}return t};return r(e),t}},"../../node_modules/chokidar/index.js":(e,t,r)=>{"use strict";const{EventEmitter:s}=r("events"),n=r("fs"),i=r("path"),{promisify:o}=r("util"),a=r("../../node_modules/readdirp/index.js"),c=r("../../node_modules/anymatch/index.js").default,l=r("../../node_modules/glob-parent/index.js"),h=r("../../node_modules/is-glob/index.js"),u=r("../../node_modules/braces/index.js"),p=r("../../node_modules/normalize-path/index.js"),d=r("../../node_modules/chokidar/lib/nodefs-handler.js"),f=r("../../node_modules/chokidar/lib/fsevents-handler.js"),{EV_ALL:m,EV_READY:g,EV_ADD:y,EV_CHANGE:b,EV_UNLINK:v,EV_ADD_DIR:x,EV_UNLINK_DIR:w,EV_RAW:E,EV_ERROR:S,STR_CLOSE:_,STR_END:T,BACK_SLASH_RE:P,DOUBLE_SLASH_RE:A,SLASH_OR_BACK_SLASH_RE:C,DOT_RE:k,REPLACER_RE:O,SLASH:N,SLASH_SLASH:I,BRACE_START:R,BANG:L,ONE_DOT:M,TWO_DOTS:D,GLOBSTAR:j,SLASH_GLOBSTAR:F,ANYMATCH_OPTS:B,STRING_TYPE:U,FUNCTION_TYPE:q,EMPTY_STR:$,EMPTY_FN:H,isWindows:V,isMacos:W,isIBMi:G}=r("../../node_modules/chokidar/lib/constants.js"),z=o(n.stat),K=o(n.readdir),Y=(e=[])=>Array.isArray(e)?e:[e],J=(e,t=[])=>(e.forEach((e=>{Array.isArray(e)?J(e,t):t.push(e)})),t),X=e=>{const t=J(Y(e));if(!t.every((e=>typeof e===U)))throw new TypeError(`Non-string provided as watch path: ${t}`);return t.map(Z)},Q=e=>{let t=e.replace(P,N),r=!1;for(t.startsWith(I)&&(r=!0);t.match(A);)t=t.replace(A,N);return r&&(t=N+t),t},Z=e=>Q(i.normalize(Q(e))),ee=(e=$)=>t=>typeof t!==U?t:Z(i.isAbsolute(t)?t:i.join(e,t)),te=(e,t)=>void 0===e[t];class re{constructor(e,t){this.path=e,this._removeWatcher=t,this.items=new Set}add(e){const{items:t}=this;t&&e!==M&&e!==D&&t.add(e)}async remove(e){const{items:t}=this;if(!t)return;if(t.delete(e),t.size>0)return;const r=this.path;try{await K(r)}catch(e){this._removeWatcher&&this._removeWatcher(i.dirname(r),i.basename(r))}}has(e){const{items:t}=this;if(t)return t.has(e)}getChildren(){const{items:e}=this;if(e)return[...e.values()]}dispose(){this.items.clear(),delete this.path,delete this._removeWatcher,delete this.items,Object.freeze(this)}}class se{constructor(e,t,r,s){this.fsw=s,this.path=e=e.replace(O,$),this.watchPath=t,this.fullWatchPath=i.resolve(t),this.hasGlob=t!==e,e===$&&(this.hasGlob=!1),this.globSymlink=!(!this.hasGlob||!r)&&void 0,this.globFilter=!!this.hasGlob&&c(e,void 0,B),this.dirParts=this.getDirParts(e),this.dirParts.forEach((e=>{e.length>1&&e.pop()})),this.followSymlinks=r,this.statMethod=r?"stat":"lstat"}checkGlobSymlink(e){return void 0===this.globSymlink&&(this.globSymlink=e.fullParentDir!==this.fullWatchPath&&{realPath:e.fullParentDir,linkPath:this.fullWatchPath}),this.globSymlink?e.fullPath.replace(this.globSymlink.realPath,this.globSymlink.linkPath):e.fullPath}entryPath(e){return i.join(this.watchPath,i.relative(this.watchPath,this.checkGlobSymlink(e)))}filterPath(e){const{stats:t}=e;if(t&&t.isSymbolicLink())return this.filterDir(e);const r=this.entryPath(e);return(!this.hasGlob||typeof this.globFilter!==q||this.globFilter(r))&&this.fsw._isntIgnored(r,t)&&this.fsw._hasReadPermissions(t)}getDirParts(e){if(!this.hasGlob)return[];const t=[];return(e.includes(R)?u.expand(e):[e]).forEach((e=>{t.push(i.relative(this.watchPath,e).split(C))})),t}filterDir(e){if(this.hasGlob){const t=this.getDirParts(this.checkGlobSymlink(e));let r=!1;this.unmatchedGlob=!this.dirParts.some((e=>e.every(((e,s)=>(e===j&&(r=!0),r||!t[0][s]||c(e,t[0][s],B))))))}return!this.unmatchedGlob&&this.fsw._isntIgnored(this.entryPath(e),e.stats)}}class ne extends s{constructor(e){super();const t={};e&&Object.assign(t,e),this._watched=new Map,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._symlinkPaths=new Map,this._streams=new Set,this.closed=!1,te(t,"persistent")&&(t.persistent=!0),te(t,"ignoreInitial")&&(t.ignoreInitial=!1),te(t,"ignorePermissionErrors")&&(t.ignorePermissionErrors=!1),te(t,"interval")&&(t.interval=100),te(t,"binaryInterval")&&(t.binaryInterval=300),te(t,"disableGlobbing")&&(t.disableGlobbing=!1),t.enableBinaryInterval=t.binaryInterval!==t.interval,te(t,"useFsEvents")&&(t.useFsEvents=!t.usePolling),f.canUse()||(t.useFsEvents=!1),te(t,"usePolling")&&!t.useFsEvents&&(t.usePolling=W),G&&(t.usePolling=!0);const r=process.env.CHOKIDAR_USEPOLLING;if(void 0!==r){const e=r.toLowerCase();t.usePolling="false"!==e&&"0"!==e&&("true"===e||"1"===e||!!e)}const s=process.env.CHOKIDAR_INTERVAL;s&&(t.interval=Number.parseInt(s,10)),te(t,"atomic")&&(t.atomic=!t.usePolling&&!t.useFsEvents),t.atomic&&(this._pendingUnlinks=new Map),te(t,"followSymlinks")&&(t.followSymlinks=!0),te(t,"awaitWriteFinish")&&(t.awaitWriteFinish=!1),!0===t.awaitWriteFinish&&(t.awaitWriteFinish={});const n=t.awaitWriteFinish;n&&(n.stabilityThreshold||(n.stabilityThreshold=2e3),n.pollInterval||(n.pollInterval=100),this._pendingWrites=new Map),t.ignored&&(t.ignored=Y(t.ignored));let i=0;this._emitReady=()=>{i++,i>=this._readyCount&&(this._emitReady=H,this._readyEmitted=!0,process.nextTick((()=>this.emit(g))))},this._emitRaw=(...e)=>this.emit(E,...e),this._readyEmitted=!1,this.options=t,t.useFsEvents?this._fsEventsHandler=new f(this):this._nodeFsHandler=new d(this),Object.freeze(t)}add(e,t,r){const{cwd:s,disableGlobbing:n}=this.options;this.closed=!1;let o=X(e);return s&&(o=o.map((e=>{const t=((e,t)=>i.isAbsolute(e)?e:e.startsWith(L)?L+i.join(t,e.slice(1)):i.join(t,e))(e,s);return n||!h(e)?t:p(t)}))),o=o.filter((e=>e.startsWith(L)?(this._ignoredPaths.add(e.slice(1)),!1):(this._ignoredPaths.delete(e),this._ignoredPaths.delete(e+F),this._userIgnored=void 0,!0))),this.options.useFsEvents&&this._fsEventsHandler?(this._readyCount||(this._readyCount=o.length),this.options.persistent&&(this._readyCount*=2),o.forEach((e=>this._fsEventsHandler._addToFsEvents(e)))):(this._readyCount||(this._readyCount=0),this._readyCount+=o.length,Promise.all(o.map((async e=>{const s=await this._nodeFsHandler._addToNodeFs(e,!r,0,0,t);return s&&this._emitReady(),s}))).then((e=>{this.closed||e.filter((e=>e)).forEach((e=>{this.add(i.dirname(e),i.basename(t||e))}))}))),this}unwatch(e){if(this.closed)return this;const t=X(e),{cwd:r}=this.options;return t.forEach((e=>{i.isAbsolute(e)||this._closers.has(e)||(r&&(e=i.join(r,e)),e=i.resolve(e)),this._closePath(e),this._ignoredPaths.add(e),this._watched.has(e)&&this._ignoredPaths.add(e+F),this._userIgnored=void 0})),this}close(){if(this.closed)return this._closePromise;this.closed=!0,this.removeAllListeners();const e=[];return this._closers.forEach((t=>t.forEach((t=>{const r=t();r instanceof Promise&&e.push(r)})))),this._streams.forEach((e=>e.destroy())),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((e=>e.dispose())),["closers","watched","streams","symlinkPaths","throttled"].forEach((e=>{this[`_${e}`].clear()})),this._closePromise=e.length?Promise.all(e).then((()=>{})):Promise.resolve(),this._closePromise}getWatched(){const e={};return this._watched.forEach(((t,r)=>{const s=this.options.cwd?i.relative(this.options.cwd,r):r;e[s||M]=t.getChildren().sort()})),e}emitWithAll(e,t){this.emit(...t),e!==S&&this.emit(m,...t)}async _emit(e,t,r,s,n){if(this.closed)return;const o=this.options;V&&(t=i.normalize(t)),o.cwd&&(t=i.relative(o.cwd,t));const a=[e,t];void 0!==n?a.push(r,s,n):void 0!==s?a.push(r,s):void 0!==r&&a.push(r);const c=o.awaitWriteFinish;let l;if(c&&(l=this._pendingWrites.get(t)))return l.lastChange=new Date,this;if(o.atomic){if(e===v)return this._pendingUnlinks.set(t,a),setTimeout((()=>{this._pendingUnlinks.forEach(((e,t)=>{this.emit(...e),this.emit(m,...e),this._pendingUnlinks.delete(t)}))}),"number"==typeof o.atomic?o.atomic:100),this;e===y&&this._pendingUnlinks.has(t)&&(e=a[0]=b,this._pendingUnlinks.delete(t))}if(c&&(e===y||e===b)&&this._readyEmitted){const r=(t,r)=>{t?(e=a[0]=S,a[1]=t,this.emitWithAll(e,a)):r&&(a.length>2?a[2]=r:a.push(r),this.emitWithAll(e,a))};return this._awaitWriteFinish(t,c.stabilityThreshold,e,r),this}if(e===b&&!this._throttle(b,t,50))return this;if(o.alwaysStat&&void 0===r&&(e===y||e===x||e===b)){const e=o.cwd?i.join(o.cwd,t):t;let r;try{r=await z(e)}catch(e){}if(!r||this.closed)return;a.push(r)}return this.emitWithAll(e,a),this}_handleError(e){const t=e&&e.code;return e&&"ENOENT"!==t&&"ENOTDIR"!==t&&(!this.options.ignorePermissionErrors||"EPERM"!==t&&"EACCES"!==t)&&this.emit(S,e),e||this.closed}_throttle(e,t,r){this._throttled.has(e)||this._throttled.set(e,new Map);const s=this._throttled.get(e),n=s.get(t);if(n)return n.count++,!1;let i;const o=()=>{const e=s.get(t),r=e?e.count:0;return s.delete(t),clearTimeout(i),e&&clearTimeout(e.timeoutObject),r};i=setTimeout(o,r);const a={timeoutObject:i,clear:o,count:0};return s.set(t,a),a}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(e,t,r,s){let o,a=e;this.options.cwd&&!i.isAbsolute(e)&&(a=i.join(this.options.cwd,e));const c=new Date,l=r=>{n.stat(a,((n,i)=>{if(n||!this._pendingWrites.has(e))return void(n&&"ENOENT"!==n.code&&s(n));const a=Number(new Date);r&&i.size!==r.size&&(this._pendingWrites.get(e).lastChange=a),a-this._pendingWrites.get(e).lastChange>=t?(this._pendingWrites.delete(e),s(void 0,i)):o=setTimeout(l,this.options.awaitWriteFinish.pollInterval,i)}))};this._pendingWrites.has(e)||(this._pendingWrites.set(e,{lastChange:c,cancelWait:()=>(this._pendingWrites.delete(e),clearTimeout(o),r)}),o=setTimeout(l,this.options.awaitWriteFinish.pollInterval))}_getGlobIgnored(){return[...this._ignoredPaths.values()]}_isIgnored(e,t){if(this.options.atomic&&k.test(e))return!0;if(!this._userIgnored){const{cwd:e}=this.options,t=this.options.ignored,r=t&&t.map(ee(e)),s=Y(r).filter((e=>typeof e===U&&!h(e))).map((e=>e+F)),n=this._getGlobIgnored().map(ee(e)).concat(r,s);this._userIgnored=c(n,void 0,B)}return this._userIgnored([e,t])}_isntIgnored(e,t){return!this._isIgnored(e,t)}_getWatchHelpers(e,t){const r=t||this.options.disableGlobbing||!h(e)?e:l(e),s=this.options.followSymlinks;return new se(e,r,s,this)}_getWatchedDir(e){this._boundRemove||(this._boundRemove=this._remove.bind(this));const t=i.resolve(e);return this._watched.has(t)||this._watched.set(t,new re(t,this._boundRemove)),this._watched.get(t)}_hasReadPermissions(e){if(this.options.ignorePermissionErrors)return!0;const t=511&(e&&Number.parseInt(e.mode,10)),r=Number.parseInt(t.toString(8)[0],10);return Boolean(4&r)}_remove(e,t,r){const s=i.join(e,t),n=i.resolve(s);if(r=null!=r?r:this._watched.has(s)||this._watched.has(n),!this._throttle("remove",s,100))return;r||this.options.useFsEvents||1!==this._watched.size||this.add(e,t,!0),this._getWatchedDir(s).getChildren().forEach((e=>this._remove(s,e)));const o=this._getWatchedDir(e),a=o.has(t);o.remove(t),this._symlinkPaths.has(n)&&this._symlinkPaths.delete(n);let c=s;if(this.options.cwd&&(c=i.relative(this.options.cwd,s)),this.options.awaitWriteFinish&&this._pendingWrites.has(c)&&this._pendingWrites.get(c).cancelWait()===y)return;this._watched.delete(s),this._watched.delete(n);const l=r?w:v;a&&!this._isIgnored(s)&&this._emit(l,s),this.options.useFsEvents||this._closePath(s)}_closePath(e){this._closeFile(e);const t=i.dirname(e);this._getWatchedDir(t).remove(i.basename(e))}_closeFile(e){const t=this._closers.get(e);t&&(t.forEach((e=>e())),this._closers.delete(e))}_addPathCloser(e,t){if(!t)return;let r=this._closers.get(e);r||(r=[],this._closers.set(e,r)),r.push(t)}_readdirp(e,t){if(this.closed)return;const r={type:m,alwaysStat:!0,lstat:!0,...t};let s=a(e,r);return this._streams.add(s),s.once(_,(()=>{s=void 0})),s.once(T,(()=>{s&&(this._streams.delete(s),s=void 0)})),s}}t.FSWatcher=ne,t.watch=(e,t)=>{const r=new ne(t);return r.add(e),r}},"../../node_modules/chokidar/lib/constants.js":(e,t,r)=>{"use strict";const{sep:s}=r("path"),{platform:n}=process,i=r("os");t.EV_ALL="all",t.EV_READY="ready",t.EV_ADD="add",t.EV_CHANGE="change",t.EV_ADD_DIR="addDir",t.EV_UNLINK="unlink",t.EV_UNLINK_DIR="unlinkDir",t.EV_RAW="raw",t.EV_ERROR="error",t.STR_DATA="data",t.STR_END="end",t.STR_CLOSE="close",t.FSEVENT_CREATED="created",t.FSEVENT_MODIFIED="modified",t.FSEVENT_DELETED="deleted",t.FSEVENT_MOVED="moved",t.FSEVENT_CLONED="cloned",t.FSEVENT_UNKNOWN="unknown",t.FSEVENT_TYPE_FILE="file",t.FSEVENT_TYPE_DIRECTORY="directory",t.FSEVENT_TYPE_SYMLINK="symlink",t.KEY_LISTENERS="listeners",t.KEY_ERR="errHandlers",t.KEY_RAW="rawEmitters",t.HANDLER_KEYS=[t.KEY_LISTENERS,t.KEY_ERR,t.KEY_RAW],t.DOT_SLASH=`.${s}`,t.BACK_SLASH_RE=/\\/g,t.DOUBLE_SLASH_RE=/\/\//,t.SLASH_OR_BACK_SLASH_RE=/[/\\]/,t.DOT_RE=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,t.REPLACER_RE=/^\.[/\\]/,t.SLASH="/",t.SLASH_SLASH="//",t.BRACE_START="{",t.BANG="!",t.ONE_DOT=".",t.TWO_DOTS="..",t.STAR="*",t.GLOBSTAR="**",t.ROOT_GLOBSTAR="/**/*",t.SLASH_GLOBSTAR="/**",t.DIR_SUFFIX="Dir",t.ANYMATCH_OPTS={dot:!0},t.STRING_TYPE="string",t.FUNCTION_TYPE="function",t.EMPTY_STR="",t.EMPTY_FN=()=>{},t.IDENTITY_FN=e=>e,t.isWindows="win32"===n,t.isMacos="darwin"===n,t.isLinux="linux"===n,t.isIBMi="OS400"===i.type()},"../../node_modules/chokidar/lib/fsevents-handler.js":(e,t,r)=>{"use strict";const s=r("fs"),n=r("path"),{promisify:i}=r("util");let o;try{o=r("fsevents")}catch(e){process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR&&console.error(e)}if(o){const e=process.version.match(/v(\d+)\.(\d+)/);if(e&&e[1]&&e[2]){const t=Number.parseInt(e[1],10),r=Number.parseInt(e[2],10);8===t&&r<16&&(o=void 0)}}const{EV_ADD:a,EV_CHANGE:c,EV_ADD_DIR:l,EV_UNLINK:h,EV_ERROR:u,STR_DATA:p,STR_END:d,FSEVENT_CREATED:f,FSEVENT_MODIFIED:m,FSEVENT_DELETED:g,FSEVENT_MOVED:y,FSEVENT_UNKNOWN:b,FSEVENT_TYPE_FILE:v,FSEVENT_TYPE_DIRECTORY:x,FSEVENT_TYPE_SYMLINK:w,ROOT_GLOBSTAR:E,DIR_SUFFIX:S,DOT_SLASH:_,FUNCTION_TYPE:T,EMPTY_FN:P,IDENTITY_FN:A}=r("../../node_modules/chokidar/lib/constants.js"),C=i(s.stat),k=i(s.lstat),O=i(s.realpath),N={stat:C,lstat:k},I=new Map,R=new Set([69888,70400,71424,72704,73472,131328,131840,262912]),L=(e,t)=>({stop:o.watch(e,t)}),M=(e,t)=>{let r=0;for(;!e.indexOf(t)&&(e=n.dirname(e))!==t;)r++;return r},D=(e,t)=>e.type===x&&t.isDirectory()||e.type===w&&t.isSymbolicLink()||e.type===v&&t.isFile();e.exports=class{constructor(e){this.fsw=e}checkIgnored(e,t){const r=this.fsw._ignoredPaths;if(this.fsw._isIgnored(e,t))return r.add(e),t&&t.isDirectory()&&r.add(e+E),!0;r.delete(e),r.delete(e+E)}addOrChange(e,t,r,s,n,i,o,l){const h=n.has(i)?c:a;this.handleEvent(h,e,t,r,s,n,i,o,l)}async checkExists(e,t,r,s,n,i,o,a){try{const c=await C(e);if(this.fsw.closed)return;D(o,c)?this.addOrChange(e,t,r,s,n,i,o,a):this.handleEvent(h,e,t,r,s,n,i,o,a)}catch(c){"EACCES"===c.code?this.addOrChange(e,t,r,s,n,i,o,a):this.handleEvent(h,e,t,r,s,n,i,o,a)}}handleEvent(e,t,r,s,n,i,o,c,u){if(!this.fsw.closed&&!this.checkIgnored(t))if(e===h){const e=c.type===x;(e||i.has(o))&&this.fsw._remove(n,o,e)}else{if(e===a){if(c.type===x&&this.fsw._getWatchedDir(t),c.type===w&&u.followSymlinks){const e=void 0===u.depth?void 0:M(r,s)+1;return this._addToFsEvents(t,!1,!0,e)}this.fsw._getWatchedDir(n).add(o)}const i=c.type===x?e+S:e;this.fsw._emit(i,t),i===l&&this._addToFsEvents(t,!1,!0)}}_watchWithFsEvents(e,t,r,s){if(this.fsw.closed||this.fsw._isIgnored(e))return;const i=this.fsw.options,a=function(e,t,r,s){let i=n.extname(t)?n.dirname(t):t;const a=n.dirname(i);let c=I.get(i);(e=>{let t=0;for(const r of I.keys())if(0===r.indexOf(e)&&(t++,t>=10))return!0;return!1})(a)&&(i=a);const l=n.resolve(e),h=l!==t,u=(e,s,i)=>{h&&(e=e.replace(t,l)),e!==l&&e.indexOf(l+n.sep)||r(e,s,i)};let p=!1;for(const e of I.keys())if(0===t.indexOf(n.resolve(e)+n.sep)){i=e,c=I.get(i),p=!0;break}return c||p?c.listeners.add(u):(c={listeners:new Set([u]),rawEmitter:s,watcher:L(i,((e,t)=>{if(!c.listeners.size)return;const r=o.getInfo(e,t);c.listeners.forEach((s=>{s(e,t,r)})),c.rawEmitter(r.event,e,r)}))},I.set(i,c)),()=>{const e=c.listeners;if(e.delete(u),!e.size&&(I.delete(i),c.watcher))return c.watcher.stop().then((()=>{c.rawEmitter=c.watcher=void 0,Object.freeze(c)}))}}(e,t,(async(o,a,c)=>{if(this.fsw.closed)return;if(void 0!==i.depth&&M(o,t)>i.depth)return;const l=r(n.join(e,n.relative(e,o)));if(s&&!s(l))return;const u=n.dirname(l),p=n.basename(l),d=this.fsw._getWatchedDir(c.type===x?l:u);if(R.has(a)||c.event===b)if(typeof i.ignored===T){let e;try{e=await C(l)}catch(e){}if(this.fsw.closed)return;if(this.checkIgnored(l,e))return;D(c,e)?this.addOrChange(l,o,t,u,d,p,c,i):this.handleEvent(h,l,o,t,u,d,p,c,i)}else this.checkExists(l,o,t,u,d,p,c,i);else switch(c.event){case f:case m:return this.addOrChange(l,o,t,u,d,p,c,i);case g:case y:return this.checkExists(l,o,t,u,d,p,c,i)}}),this.fsw._emitRaw);return this.fsw._emitReady(),a}async _handleFsEventsSymlink(e,t,r,s){if(!this.fsw.closed&&!this.fsw._symlinkPaths.has(t)){this.fsw._symlinkPaths.set(t,!0),this.fsw._incrReadyCount();try{const t=await O(e);if(this.fsw.closed)return;if(this.fsw._isIgnored(t))return this.fsw._emitReady();this.fsw._incrReadyCount(),this._addToFsEvents(t||e,(s=>{let i=e;return t&&t!==_?i=s.replace(t,e):s!==_&&(i=n.join(e,s)),r(i)}),!1,s)}catch(e){if(this.fsw._handleError(e))return this.fsw._emitReady()}}}emitAdd(e,t,r,s,i){const o=r(e),c=t.isDirectory(),h=this.fsw._getWatchedDir(n.dirname(o)),u=n.basename(o);c&&this.fsw._getWatchedDir(o),h.has(u)||(h.add(u),s.ignoreInitial&&!0!==i||this.fsw._emit(c?l:a,o,t))}initWatch(e,t,r,s){if(this.fsw.closed)return;const i=this._watchWithFsEvents(r.watchPath,n.resolve(e||r.watchPath),s,r.globFilter);this.fsw._addPathCloser(t,i)}async _addToFsEvents(e,t,r,s){if(this.fsw.closed)return;const i=this.fsw.options,o=typeof t===T?t:A,a=this.fsw._getWatchHelpers(e);try{const t=await N[a.statMethod](a.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(a.watchPath,t))throw null;if(t.isDirectory()){if(a.globFilter||this.emitAdd(o(e),t,o,i,r),s&&s>i.depth)return;this.fsw._readdirp(a.watchPath,{fileFilter:e=>a.filterPath(e),directoryFilter:e=>a.filterDir(e),...(c=i.depth-(s||0),isNaN(c)?{}:{depth:c})}).on(p,(e=>{if(this.fsw.closed)return;if(e.stats.isDirectory()&&!a.filterPath(e))return;const t=n.join(a.watchPath,e.path),{fullPath:s}=e;if(a.followSymlinks&&e.stats.isSymbolicLink()){const e=void 0===i.depth?void 0:M(t,n.resolve(a.watchPath))+1;this._handleFsEventsSymlink(t,s,o,e)}else this.emitAdd(t,e.stats,o,i,r)})).on(u,P).on(d,(()=>{this.fsw._emitReady()}))}else this.emitAdd(a.watchPath,t,o,i,r),this.fsw._emitReady()}catch(e){e&&!this.fsw._handleError(e)||(this.fsw._emitReady(),this.fsw._emitReady())}var c;if(i.persistent&&!0!==r)if(typeof t===T)this.initWatch(void 0,e,a,o);else{let t;try{t=await O(a.watchPath)}catch(e){}this.initWatch(t,e,a,o)}}},e.exports.canUse=()=>o&&I.size<128},"../../node_modules/chokidar/lib/nodefs-handler.js":(e,t,r)=>{"use strict";const s=r("fs"),n=r("path"),{promisify:i}=r("util"),o=r("../../node_modules/is-binary-path/index.js"),{isWindows:a,isLinux:c,EMPTY_FN:l,EMPTY_STR:h,KEY_LISTENERS:u,KEY_ERR:p,KEY_RAW:d,HANDLER_KEYS:f,EV_CHANGE:m,EV_ADD:g,EV_ADD_DIR:y,EV_ERROR:b,STR_DATA:v,STR_END:x,BRACE_START:w,STAR:E}=r("../../node_modules/chokidar/lib/constants.js"),S=i(s.open),_=i(s.stat),T=i(s.lstat),P=i(s.close),A=i(s.realpath),C={lstat:T,stat:_},k=(e,t)=>{e instanceof Set?e.forEach(t):t(e)},O=(e,t,r)=>{let s=e[t];s instanceof Set||(e[t]=s=new Set([s])),s.add(r)},N=(e,t,r)=>{const s=e[t];s instanceof Set?s.delete(r):s===r&&delete e[t]},I=e=>e instanceof Set?0===e.size:!e,R=new Map;function L(e,t,r,i,o){const a=(t,s)=>{r(e),o(t,s,{watchedPath:e}),s&&e!==s&&M(n.resolve(e,s),u,n.join(e,s))};try{return s.watch(e,t,a)}catch(e){i(e)}}const M=(e,t,r,s,n)=>{const i=R.get(e);i&&k(i[t],(e=>{e(r,s,n)}))},D=new Map;e.exports=class{constructor(e){this.fsw=e,this._boundHandleError=t=>e._handleError(t)}_watchWithNodeFs(e,t){const r=this.fsw.options,i=n.dirname(e),c=n.basename(e);this.fsw._getWatchedDir(i).add(c);const h=n.resolve(e),g={persistent:r.persistent};let y;return t||(t=l),r.usePolling?(g.interval=r.enableBinaryInterval&&o(c)?r.binaryInterval:r.interval,y=((e,t,r,n)=>{const{listener:i,rawEmitter:o}=n;let a=D.get(t),c=new Set,l=new Set;const h=a&&a.options;return h&&(h.persistent<r.persistent||h.interval>r.interval)&&(c=a.listeners,l=a.rawEmitters,s.unwatchFile(t),a=void 0),a?(O(a,u,i),O(a,d,o)):(a={listeners:i,rawEmitters:o,options:r,watcher:s.watchFile(t,r,((r,s)=>{k(a.rawEmitters,(e=>{e(m,t,{curr:r,prev:s})}));const n=r.mtimeMs;(r.size!==s.size||n>s.mtimeMs||0===n)&&k(a.listeners,(t=>t(e,r)))}))},D.set(t,a)),()=>{N(a,u,i),N(a,d,o),I(a.listeners)&&(D.delete(t),s.unwatchFile(t),a.options=a.watcher=void 0,Object.freeze(a))}})(e,h,g,{listener:t,rawEmitter:this.fsw._emitRaw})):y=((e,t,r,s)=>{const{listener:n,errHandler:i,rawEmitter:o}=s;let c,l=R.get(t);if(!r.persistent)return c=L(e,r,n,i,o),c.close.bind(c);if(l)O(l,u,n),O(l,p,i),O(l,d,o);else{if(c=L(e,r,M.bind(null,t,u),i,M.bind(null,t,d)),!c)return;c.on(b,(async r=>{const s=M.bind(null,t,p);if(l.watcherUnusable=!0,a&&"EPERM"===r.code)try{const t=await S(e,"r");await P(t),s(r)}catch(e){}else s(r)})),l={listeners:n,errHandlers:i,rawEmitters:o,watcher:c},R.set(t,l)}return()=>{N(l,u,n),N(l,p,i),N(l,d,o),I(l.listeners)&&(l.watcher.close(),R.delete(t),f.forEach((e=>t=>{const r=e[t];r instanceof Set?r.clear():delete e[t]})(l)),l.watcher=void 0,Object.freeze(l))}})(e,h,g,{listener:t,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw}),y}_handleFile(e,t,r){if(this.fsw.closed)return;const s=n.dirname(e),i=n.basename(e),o=this.fsw._getWatchedDir(s);let a=t;if(o.has(i))return;const l=async(t,r)=>{if(this.fsw._throttle("watch",e,5))if(r&&0!==r.mtimeMs){if(o.has(i)){const t=r.atimeMs,s=r.mtimeMs;(!t||t<=s||s!==a.mtimeMs)&&this.fsw._emit(m,e,r),a=r}}else try{const r=await _(e);if(this.fsw.closed)return;const s=r.atimeMs,n=r.mtimeMs;(!s||s<=n||n!==a.mtimeMs)&&this.fsw._emit(m,e,r),c&&a.ino!==r.ino?(this.fsw._closeFile(t),a=r,this.fsw._addPathCloser(t,this._watchWithNodeFs(e,l))):a=r}catch(e){this.fsw._remove(s,i)}},h=this._watchWithNodeFs(e,l);if((!r||!this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(e)){if(!this.fsw._throttle(g,e,0))return;this.fsw._emit(g,e,t)}return h}async _handleSymlink(e,t,r,s){if(this.fsw.closed)return;const n=e.fullPath,i=this.fsw._getWatchedDir(t);if(!this.fsw.options.followSymlinks){let t;this.fsw._incrReadyCount();try{t=await A(r)}catch(e){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;return i.has(s)?this.fsw._symlinkPaths.get(n)!==t&&(this.fsw._symlinkPaths.set(n,t),this.fsw._emit(m,r,e.stats)):(i.add(s),this.fsw._symlinkPaths.set(n,t),this.fsw._emit(g,r,e.stats)),this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(n))return!0;this.fsw._symlinkPaths.set(n,!0)}_handleRead(e,t,r,s,i,o,a){if(e=n.join(e,h),!r.hasGlob&&!(a=this.fsw._throttle("readdir",e,1e3)))return;const c=this.fsw._getWatchedDir(r.path),l=new Set;let u=this.fsw._readdirp(e,{fileFilter:e=>r.filterPath(e),directoryFilter:e=>r.filterDir(e),depth:0}).on(v,(async a=>{if(this.fsw.closed)return void(u=void 0);const h=a.path;let p=n.join(e,h);l.add(h),a.stats.isSymbolicLink()&&await this._handleSymlink(a,e,p,h)||(this.fsw.closed?u=void 0:h!==s&&(s||c.has(h))||(this.fsw._incrReadyCount(),p=n.join(i,n.relative(i,p)),this._addToNodeFs(p,t,r,o+1)))})).on(b,this._boundHandleError);return new Promise((t=>u.once(x,(()=>{if(this.fsw.closed)return void(u=void 0);const h=!!a&&a.clear();t(),c.getChildren().filter((t=>t!==e&&!l.has(t)&&(!r.hasGlob||r.filterPath({fullPath:n.resolve(e,t)})))).forEach((t=>{this.fsw._remove(e,t)})),u=void 0,h&&this._handleRead(e,!1,r,s,i,o,a)}))))}async _handleDir(e,t,r,s,i,o,a){const c=this.fsw._getWatchedDir(n.dirname(e)),l=c.has(n.basename(e));let h,u;r&&this.fsw.options.ignoreInitial||i||l||o.hasGlob&&!o.globFilter(e)||this.fsw._emit(y,e,t),c.add(n.basename(e)),this.fsw._getWatchedDir(e);const p=this.fsw.options.depth;if((null==p||s<=p)&&!this.fsw._symlinkPaths.has(a)){if(!i&&(await this._handleRead(e,r,o,i,e,s,h),this.fsw.closed))return;u=this._watchWithNodeFs(e,((t,r)=>{r&&0===r.mtimeMs||this._handleRead(t,!1,o,i,e,s,h)}))}return u}async _addToNodeFs(e,t,r,s,i){const o=this.fsw._emitReady;if(this.fsw._isIgnored(e)||this.fsw.closed)return o(),!1;const a=this.fsw._getWatchHelpers(e,s);!a.hasGlob&&r&&(a.hasGlob=r.hasGlob,a.globFilter=r.globFilter,a.filterPath=e=>r.filterPath(e),a.filterDir=e=>r.filterDir(e));try{const r=await C[a.statMethod](a.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(a.watchPath,r))return o(),!1;const c=this.fsw.options.followSymlinks&&!e.includes(E)&&!e.includes(w);let l;if(r.isDirectory()){const o=n.resolve(e),h=c?await A(e):e;if(this.fsw.closed)return;if(l=await this._handleDir(a.watchPath,r,t,s,i,a,h),this.fsw.closed)return;o!==h&&void 0!==h&&this.fsw._symlinkPaths.set(o,h)}else if(r.isSymbolicLink()){const i=c?await A(e):e;if(this.fsw.closed)return;const o=n.dirname(a.watchPath);if(this.fsw._getWatchedDir(o).add(a.watchPath),this.fsw._emit(g,a.watchPath,r),l=await this._handleDir(o,r,t,s,e,a,i),this.fsw.closed)return;void 0!==i&&this.fsw._symlinkPaths.set(n.resolve(e),i)}else l=this._handleFile(a.watchPath,r,t);return o(),this.fsw._addPathCloser(e,l),!1}catch(t){if(this.fsw._handleError(t))return o(),e}}}},"../../node_modules/debug/src/browser.js":(e,t,r)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let s=0,n=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(s++,"%c"===e&&(n=s))})),t.splice(n,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r("../../node_modules/debug/src/common.js")(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},"../../node_modules/debug/src/common.js":(e,t,r)=>{e.exports=function(e){function t(e){let r,n,i,o=null;function a(...e){if(!a.enabled)return;const s=a,n=Number(new Date),i=n-(r||n);s.diff=i,s.prev=r,s.curr=n,r=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,n)=>{if("%%"===r)return"%";o++;const i=t.formatters[n];if("function"==typeof i){const t=e[o];r=i.call(s,t),e.splice(o,1),o--}return r})),t.formatArgs.call(s,e),(s.log||t.log).apply(s,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=s,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(n!==t.namespaces&&(n=t.namespaces,i=t.enabled(e)),i),set:e=>{o=e}}),"function"==typeof t.init&&t.init(a),a}function s(e,r){const s=t(this.namespace+(void 0===r?":":r)+e);return s.log=this.log,s}function n(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(n),...t.skips.map(n).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const s=("string"==typeof e?e:"").split(/[\s,]+/),n=s.length;for(r=0;r<n;r++)s[r]&&("-"===(e=s[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let r,s;for(r=0,s=t.skips.length;r<s;r++)if(t.skips[r].test(e))return!1;for(r=0,s=t.names.length;r<s;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r("../../node_modules/ms/index.js"),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},"../../node_modules/debug/src/index.js":(e,t,r)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=r("../../node_modules/debug/src/browser.js"):e.exports=r("../../node_modules/debug/src/node.js")},"../../node_modules/debug/src/node.js":(e,t,r)=>{const s=r("tty"),n=r("util");t.init=function(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let s=0;s<r.length;s++)e.inspectOpts[r[s]]=t.inspectOpts[r[s]]},t.log=function(...e){return process.stderr.write(n.format(...e)+"\n")},t.formatArgs=function(r){const{namespace:s,useColors:n}=this;if(n){const t=this.color,n="[3"+(t<8?t:"8;5;"+t),i=` ${n};1m${s} [0m`;r[0]=i+r[0].split("\n").join("\n"+i),r.push(n+"m+"+e.exports.humanize(this.diff)+"[0m")}else r[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+s+" "+r[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):s.isatty(process.stderr.fd)},t.destroy=n.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=r("../../node_modules/supports-color/index.js");e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let s=process.env[t];return s=!!/^(yes|on|true|enabled)$/i.test(s)||!/^(no|off|false|disabled)$/i.test(s)&&("null"===s?null:Number(s)),e[r]=s,e}),{}),e.exports=r("../../node_modules/debug/src/common.js")(t);const{formatters:i}=e.exports;i.o=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},i.O=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts)}},"../../node_modules/fill-range/index.js":(e,t,r)=>{"use strict";const s=r("util"),n=r("../../node_modules/to-regex-range/index.js"),i=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),o=e=>"number"==typeof e||"string"==typeof e&&""!==e,a=e=>Number.isInteger(+e),c=e=>{let t=`${e}`,r=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++r];);return r>0},l=(e,t,r)=>{if(t>0){let r="-"===e[0]?"-":"";r&&(e=e.slice(1)),e=r+e.padStart(r?t-1:t,"0")}return!1===r?String(e):e},h=(e,t)=>{let r="-"===e[0]?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},u=(e,t,r,s)=>{if(r)return n(e,t,{wrap:!1,...s});let i=String.fromCharCode(e);return e===t?i:`[${i}-${String.fromCharCode(t)}]`},p=(e,t,r)=>{if(Array.isArray(e)){let t=!0===r.wrap,s=r.capture?"":"?:";return t?`(${s}${e.join("|")})`:e.join("|")}return n(e,t,r)},d=(...e)=>new RangeError("Invalid range arguments: "+s.inspect(...e)),f=(e,t,r)=>{if(!0===r.strictRanges)throw d([e,t]);return[]},m=(e,t,r,s={})=>{if(null==t&&o(e))return[e];if(!o(e)||!o(t))return f(e,t,s);if("function"==typeof r)return m(e,t,1,{transform:r});if(i(r))return m(e,t,0,r);let n={...s};return!0===n.capture&&(n.wrap=!0),r=r||n.step||1,a(r)?a(e)&&a(t)?((e,t,r=1,s={})=>{let n=Number(e),i=Number(t);if(!Number.isInteger(n)||!Number.isInteger(i)){if(!0===s.strictRanges)throw d([e,t]);return[]}0===n&&(n=0),0===i&&(i=0);let o=n>i,a=String(e),f=String(t),m=String(r);r=Math.max(Math.abs(r),1);let g=c(a)||c(f)||c(m),y=g?Math.max(a.length,f.length,m.length):0,b=!1===g&&!1===((e,t,r)=>"string"==typeof e||"string"==typeof t||!0===r.stringify)(e,t,s),v=s.transform||(e=>t=>!0===e?Number(t):String(t))(b);if(s.toRegex&&1===r)return u(h(e,y),h(t,y),!0,s);let x={negatives:[],positives:[]},w=[],E=0;for(;o?n>=i:n<=i;)!0===s.toRegex&&r>1?x[(S=n)<0?"negatives":"positives"].push(Math.abs(S)):w.push(l(v(n,E),y,b)),n=o?n-r:n+r,E++;var S;return!0===s.toRegex?r>1?((e,t)=>{e.negatives.sort(((e,t)=>e<t?-1:e>t?1:0)),e.positives.sort(((e,t)=>e<t?-1:e>t?1:0));let r,s=t.capture?"":"?:",n="",i="";return e.positives.length&&(n=e.positives.join("|")),e.negatives.length&&(i=`-(${s}${e.negatives.join("|")})`),r=n&&i?`${n}|${i}`:n||i,t.wrap?`(${s}${r})`:r})(x,s):p(w,null,{wrap:!1,...s}):w})(e,t,r,n):((e,t,r=1,s={})=>{if(!a(e)&&e.length>1||!a(t)&&t.length>1)return f(e,t,s);let n=s.transform||(e=>String.fromCharCode(e)),i=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),c=i>o,l=Math.min(i,o),h=Math.max(i,o);if(s.toRegex&&1===r)return u(l,h,!1,s);let d=[],m=0;for(;c?i>=o:i<=o;)d.push(n(i,m)),i=c?i-r:i+r,m++;return!0===s.toRegex?p(d,null,{wrap:!1,options:s}):d})(e,t,Math.max(Math.abs(r),1),n):null==r||i(r)?m(e,t,1,r):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(r,n)};e.exports=m},"../../node_modules/glob-parent/index.js":(e,t,r)=>{"use strict";var s=r("../../node_modules/is-glob/index.js"),n=r("path").posix.dirname,i="win32"===r("os").platform(),o=/\\/g,a=/[\{\[].*[\}\]]$/,c=/(^|[^\\])([\{\[]|\([^\)]+$)/,l=/\\([\!\*\?\|\[\]\(\)\{\}])/g;e.exports=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&i&&e.indexOf("/")<0&&(e=e.replace(o,"/")),a.test(e)&&(e+="/"),e+="a";do{e=n(e)}while(s(e)||c.test(e));return e.replace(l,"$1")}},"../../node_modules/has-flag/index.js":e=>{"use strict";e.exports=(e,t)=>{t=t||process.argv;const r=e.startsWith("-")?"":1===e.length?"-":"--",s=t.indexOf(r+e),n=t.indexOf("--");return-1!==s&&(-1===n||s<n)}},"../../node_modules/is-binary-path/index.js":(e,t,r)=>{"use strict";const s=r("path"),n=r("../../node_modules/binary-extensions/index.js"),i=new Set(n);e.exports=e=>i.has(s.extname(e).slice(1).toLowerCase())},"../../node_modules/is-extglob/index.js":e=>{e.exports=function(e){if("string"!=typeof e||""===e)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1}},"../../node_modules/is-glob/index.js":(e,t,r)=>{var s=r("../../node_modules/is-extglob/index.js"),n={"{":"}","(":")","[":"]"},i=function(e){if("!"===e[0])return!0;for(var t=0,r=-2,s=-2,i=-2,o=-2,a=-2;t<e.length;){if("*"===e[t])return!0;if("?"===e[t+1]&&/[\].+)]/.test(e[t]))return!0;if(-1!==s&&"["===e[t]&&"]"!==e[t+1]&&(s<t&&(s=e.indexOf("]",t)),s>t)){if(-1===a||a>s)return!0;if(-1===(a=e.indexOf("\\",t))||a>s)return!0}if(-1!==i&&"{"===e[t]&&"}"!==e[t+1]&&(i=e.indexOf("}",t))>t&&(-1===(a=e.indexOf("\\",t))||a>i))return!0;if(-1!==o&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(o=e.indexOf(")",t))>t&&(-1===(a=e.indexOf("\\",t))||a>o))return!0;if(-1!==r&&"("===e[t]&&"|"!==e[t+1]&&(r<t&&(r=e.indexOf("|",t)),-1!==r&&")"!==e[r+1]&&(o=e.indexOf(")",r))>r&&(-1===(a=e.indexOf("\\",r))||a>o)))return!0;if("\\"===e[t]){var c=e[t+1];t+=2;var l=n[c];if(l){var h=e.indexOf(l,t);-1!==h&&(t=h+1)}if("!"===e[t])return!0}else t++}return!1},o=function(e){if("!"===e[0])return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if("\\"===e[t]){var r=e[t+1];t+=2;var s=n[r];if(s){var i=e.indexOf(s,t);-1!==i&&(t=i+1)}if("!"===e[t])return!0}else t++}return!1};e.exports=function(e,t){if("string"!=typeof e||""===e)return!1;if(s(e))return!0;var r=i;return t&&!1===t.strict&&(r=o),r(e)}},"../../node_modules/is-number/index.js":e=>{"use strict";e.exports=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))}},"../../node_modules/ms/index.js":e=>{var t=1e3,r=60*t,s=60*r,n=24*s;function i(e,t,r,s){var n=t>=1.5*r;return Math.round(e/r)+" "+s+(n?"s":"")}e.exports=function(e,o){o=o||{};var a,c,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(i){var o=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"weeks":case"week":case"w":return 6048e5*o;case"days":case"day":case"d":return o*n;case"hours":case"hour":case"hrs":case"hr":case"h":return o*s;case"minutes":case"minute":case"mins":case"min":case"m":return o*r;case"seconds":case"second":case"secs":case"sec":case"s":return o*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(e);if("number"===l&&isFinite(e))return o.long?(a=e,(c=Math.abs(a))>=n?i(a,c,n,"day"):c>=s?i(a,c,s,"hour"):c>=r?i(a,c,r,"minute"):c>=t?i(a,c,t,"second"):a+" ms"):function(e){var i=Math.abs(e);return i>=n?Math.round(e/n)+"d":i>=s?Math.round(e/s)+"h":i>=r?Math.round(e/r)+"m":i>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"../../node_modules/normalize-path/index.js":e=>{e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected path to be a string");if("\\"===e||"/"===e)return"/";var r=e.length;if(r<=1)return e;var s="";if(r>4&&"\\"===e[3]){var n=e[2];"?"!==n&&"."!==n||"\\\\"!==e.slice(0,2)||(e=e.slice(2),s="//")}var i=e.split(/[/\\]+/);return!1!==t&&""===i[i.length-1]&&i.pop(),s+i.join("/")}},"../../node_modules/picomatch/index.js":(e,t,r)=>{"use strict";e.exports=r("../../node_modules/picomatch/lib/picomatch.js")},"../../node_modules/picomatch/lib/constants.js":(e,t,r)=>{"use strict";const s=r("path"),n="\\\\/",i=`[^${n}]`,o="\\.",a="\\/",c="[^/]",l=`(?:${a}|$)`,h=`(?:^|${a})`,u=`${o}{1,2}${l}`,p={DOT_LITERAL:o,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:a,ONE_CHAR:"(?=.)",QMARK:c,END_ANCHOR:l,DOTS_SLASH:u,NO_DOT:`(?!${o})`,NO_DOTS:`(?!${h}${u})`,NO_DOT_SLASH:`(?!${o}{0,1}${l})`,NO_DOTS_SLASH:`(?!${u})`,QMARK_NO_DOT:`[^.${a}]`,STAR:`${c}*?`,START_ANCHOR:h},d={...p,SLASH_LITERAL:`[${n}]`,QMARK:i,STAR:`${i}*?`,DOTS_SLASH:`${o}{1,2}(?:[${n}]|$)`,NO_DOT:`(?!${o})`,NO_DOTS:`(?!(?:^|[${n}])${o}{1,2}(?:[${n}]|$))`,NO_DOT_SLASH:`(?!${o}{0,1}(?:[${n}]|$))`,NO_DOTS_SLASH:`(?!${o}{1,2}(?:[${n}]|$))`,QMARK_NO_DOT:`[^.${n}]`,START_ANCHOR:`(?:^|[${n}])`,END_ANCHOR:`(?:[${n}]|$)`};e.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:s.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?d:p}},"../../node_modules/picomatch/lib/parse.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/picomatch/lib/constants.js"),n=r("../../node_modules/picomatch/lib/utils.js"),{MAX_LENGTH:i,POSIX_REGEX_SOURCE:o,REGEX_NON_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_BACKREF:c,REPLACEMENTS:l}=s,h=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const r=`[${e.join("-")}]`;try{new RegExp(r)}catch(t){return e.map((e=>n.escapeRegex(e))).join("..")}return r},u=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,p=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=l[e]||e;const r={...t},d="number"==typeof r.maxLength?Math.min(i,r.maxLength):i;let f=e.length;if(f>d)throw new SyntaxError(`Input length: ${f}, exceeds maximum allowed length: ${d}`);const m={type:"bos",value:"",output:r.prepend||""},g=[m],y=r.capture?"":"?:",b=n.isWindows(t),v=s.globChars(b),x=s.extglobChars(v),{DOT_LITERAL:w,PLUS_LITERAL:E,SLASH_LITERAL:S,ONE_CHAR:_,DOTS_SLASH:T,NO_DOT:P,NO_DOT_SLASH:A,NO_DOTS_SLASH:C,QMARK:k,QMARK_NO_DOT:O,STAR:N,START_ANCHOR:I}=v,R=e=>`(${y}(?:(?!${I}${e.dot?T:w}).)*?)`,L=r.dot?"":P,M=r.dot?k:O;let D=!0===r.bash?R(r):N;r.capture&&(D=`(${D})`),"boolean"==typeof r.noext&&(r.noextglob=r.noext);const j={input:e,index:-1,start:0,dot:!0===r.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:g};e=n.removePrefix(e,j),f=e.length;const F=[],B=[],U=[];let q,$=m;const H=()=>j.index===f-1,V=j.peek=(t=1)=>e[j.index+t],W=j.advance=()=>e[++j.index]||"",G=()=>e.slice(j.index+1),z=(e="",t=0)=>{j.consumed+=e,j.index+=t},K=e=>{j.output+=null!=e.output?e.output:e.value,z(e.value)},Y=()=>{let e=1;for(;"!"===V()&&("("!==V(2)||"?"===V(3));)W(),j.start++,e++;return e%2!=0&&(j.negated=!0,j.start++,!0)},J=e=>{j[e]++,U.push(e)},X=e=>{j[e]--,U.pop()},Q=e=>{if("globstar"===$.type){const t=j.braces>0&&("comma"===e.type||"brace"===e.type),r=!0===e.extglob||F.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||r||(j.output=j.output.slice(0,-$.output.length),$.type="star",$.value="*",$.output=D,j.output+=$.output)}if(F.length&&"paren"!==e.type&&(F[F.length-1].inner+=e.value),(e.value||e.output)&&K(e),$&&"text"===$.type&&"text"===e.type)return $.value+=e.value,void($.output=($.output||"")+e.value);e.prev=$,g.push(e),$=e},Z=(e,t)=>{const s={...x[t],conditions:1,inner:""};s.prev=$,s.parens=j.parens,s.output=j.output;const n=(r.capture?"(":"")+s.open;J("parens"),Q({type:e,value:t,output:j.output?"":_}),Q({type:"paren",extglob:!0,value:W(),output:n}),F.push(s)},ee=e=>{let s,n=e.close+(r.capture?")":"");if("negate"===e.type){let i=D;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(i=R(r)),(i!==D||H()||/^\)+$/.test(G()))&&(n=e.close=`)$))${i}`),e.inner.includes("*")&&(s=G())&&/^\.[^\\/.]+$/.test(s)){const r=p(s,{...t,fastpaths:!1}).output;n=e.close=`)${r})${i})`}"bos"===e.prev.type&&(j.negatedExtglob=!0)}Q({type:"paren",extglob:!0,value:q,output:n}),X("parens")};if(!1!==r.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let s=!1,i=e.replace(c,((e,t,r,n,i,o)=>"\\"===n?(s=!0,e):"?"===n?t?t+n+(i?k.repeat(i.length):""):0===o?M+(i?k.repeat(i.length):""):k.repeat(r.length):"."===n?w.repeat(r.length):"*"===n?t?t+n+(i?D:""):D:t?e:`\\${e}`));return!0===s&&(i=!0===r.unescape?i.replace(/\\/g,""):i.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),i===e&&!0===r.contains?(j.output=e,j):(j.output=n.wrapOutput(i,j,t),j)}for(;!H();){if(q=W(),"\0"===q)continue;if("\\"===q){const e=V();if("/"===e&&!0!==r.bash)continue;if("."===e||";"===e)continue;if(!e){q+="\\",Q({type:"text",value:q});continue}const t=/^\\+/.exec(G());let s=0;if(t&&t[0].length>2&&(s=t[0].length,j.index+=s,s%2!=0&&(q+="\\")),!0===r.unescape?q=W():q+=W(),0===j.brackets){Q({type:"text",value:q});continue}}if(j.brackets>0&&("]"!==q||"["===$.value||"[^"===$.value)){if(!1!==r.posix&&":"===q){const e=$.value.slice(1);if(e.includes("[")&&($.posix=!0,e.includes(":"))){const e=$.value.lastIndexOf("["),t=$.value.slice(0,e),r=$.value.slice(e+2),s=o[r];if(s){$.value=t+s,j.backtrack=!0,W(),m.output||1!==g.indexOf($)||(m.output=_);continue}}}("["===q&&":"!==V()||"-"===q&&"]"===V())&&(q=`\\${q}`),"]"!==q||"["!==$.value&&"[^"!==$.value||(q=`\\${q}`),!0===r.posix&&"!"===q&&"["===$.value&&(q="^"),$.value+=q,K({value:q});continue}if(1===j.quotes&&'"'!==q){q=n.escapeRegex(q),$.value+=q,K({value:q});continue}if('"'===q){j.quotes=1===j.quotes?0:1,!0===r.keepQuotes&&Q({type:"text",value:q});continue}if("("===q){J("parens"),Q({type:"paren",value:q});continue}if(")"===q){if(0===j.parens&&!0===r.strictBrackets)throw new SyntaxError(u("opening","("));const e=F[F.length-1];if(e&&j.parens===e.parens+1){ee(F.pop());continue}Q({type:"paren",value:q,output:j.parens?")":"\\)"}),X("parens");continue}if("["===q){if(!0!==r.nobracket&&G().includes("]"))J("brackets");else{if(!0!==r.nobracket&&!0===r.strictBrackets)throw new SyntaxError(u("closing","]"));q=`\\${q}`}Q({type:"bracket",value:q});continue}if("]"===q){if(!0===r.nobracket||$&&"bracket"===$.type&&1===$.value.length){Q({type:"text",value:q,output:`\\${q}`});continue}if(0===j.brackets){if(!0===r.strictBrackets)throw new SyntaxError(u("opening","["));Q({type:"text",value:q,output:`\\${q}`});continue}X("brackets");const e=$.value.slice(1);if(!0===$.posix||"^"!==e[0]||e.includes("/")||(q=`/${q}`),$.value+=q,K({value:q}),!1===r.literalBrackets||n.hasRegexChars(e))continue;const t=n.escapeRegex($.value);if(j.output=j.output.slice(0,-$.value.length),!0===r.literalBrackets){j.output+=t,$.value=t;continue}$.value=`(${y}${t}|${$.value})`,j.output+=$.value;continue}if("{"===q&&!0!==r.nobrace){J("braces");const e={type:"brace",value:q,output:"(",outputIndex:j.output.length,tokensIndex:j.tokens.length};B.push(e),Q(e);continue}if("}"===q){const e=B[B.length-1];if(!0===r.nobrace||!e){Q({type:"text",value:q,output:q});continue}let t=")";if(!0===e.dots){const e=g.slice(),s=[];for(let t=e.length-1;t>=0&&(g.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&s.unshift(e[t].value);t=h(s,r),j.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const r=j.output.slice(0,e.outputIndex),s=j.tokens.slice(e.tokensIndex);e.value=e.output="\\{",q=t="\\}",j.output=r;for(const e of s)j.output+=e.output||e.value}Q({type:"brace",value:q,output:t}),X("braces"),B.pop();continue}if("|"===q){F.length>0&&F[F.length-1].conditions++,Q({type:"text",value:q});continue}if(","===q){let e=q;const t=B[B.length-1];t&&"braces"===U[U.length-1]&&(t.comma=!0,e="|"),Q({type:"comma",value:q,output:e});continue}if("/"===q){if("dot"===$.type&&j.index===j.start+1){j.start=j.index+1,j.consumed="",j.output="",g.pop(),$=m;continue}Q({type:"slash",value:q,output:S});continue}if("."===q){if(j.braces>0&&"dot"===$.type){"."===$.value&&($.output=w);const e=B[B.length-1];$.type="dots",$.output+=q,$.value+=q,e.dots=!0;continue}if(j.braces+j.parens===0&&"bos"!==$.type&&"slash"!==$.type){Q({type:"text",value:q,output:w});continue}Q({type:"dot",value:q,output:w});continue}if("?"===q){if((!$||"("!==$.value)&&!0!==r.noextglob&&"("===V()&&"?"!==V(2)){Z("qmark",q);continue}if($&&"paren"===$.type){const e=V();let t=q;if("<"===e&&!n.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===$.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(G()))&&(t=`\\${q}`),Q({type:"text",value:q,output:t});continue}if(!0!==r.dot&&("slash"===$.type||"bos"===$.type)){Q({type:"qmark",value:q,output:O});continue}Q({type:"qmark",value:q,output:k});continue}if("!"===q){if(!0!==r.noextglob&&"("===V()&&("?"!==V(2)||!/[!=<:]/.test(V(3)))){Z("negate",q);continue}if(!0!==r.nonegate&&0===j.index){Y();continue}}if("+"===q){if(!0!==r.noextglob&&"("===V()&&"?"!==V(2)){Z("plus",q);continue}if($&&"("===$.value||!1===r.regex){Q({type:"plus",value:q,output:E});continue}if($&&("bracket"===$.type||"paren"===$.type||"brace"===$.type)||j.parens>0){Q({type:"plus",value:q});continue}Q({type:"plus",value:E});continue}if("@"===q){if(!0!==r.noextglob&&"("===V()&&"?"!==V(2)){Q({type:"at",extglob:!0,value:q,output:""});continue}Q({type:"text",value:q});continue}if("*"!==q){"$"!==q&&"^"!==q||(q=`\\${q}`);const e=a.exec(G());e&&(q+=e[0],j.index+=e[0].length),Q({type:"text",value:q});continue}if($&&("globstar"===$.type||!0===$.star)){$.type="star",$.star=!0,$.value+=q,$.output=D,j.backtrack=!0,j.globstar=!0,z(q);continue}let t=G();if(!0!==r.noextglob&&/^\([^?]/.test(t)){Z("star",q);continue}if("star"===$.type){if(!0===r.noglobstar){z(q);continue}const s=$.prev,n=s.prev,i="slash"===s.type||"bos"===s.type,o=n&&("star"===n.type||"globstar"===n.type);if(!0===r.bash&&(!i||t[0]&&"/"!==t[0])){Q({type:"star",value:q,output:""});continue}const a=j.braces>0&&("comma"===s.type||"brace"===s.type),c=F.length&&("pipe"===s.type||"paren"===s.type);if(!i&&"paren"!==s.type&&!a&&!c){Q({type:"star",value:q,output:""});continue}for(;"/**"===t.slice(0,3);){const r=e[j.index+4];if(r&&"/"!==r)break;t=t.slice(3),z("/**",3)}if("bos"===s.type&&H()){$.type="globstar",$.value+=q,$.output=R(r),j.output=$.output,j.globstar=!0,z(q);continue}if("slash"===s.type&&"bos"!==s.prev.type&&!o&&H()){j.output=j.output.slice(0,-(s.output+$.output).length),s.output=`(?:${s.output}`,$.type="globstar",$.output=R(r)+(r.strictSlashes?")":"|$)"),$.value+=q,j.globstar=!0,j.output+=s.output+$.output,z(q);continue}if("slash"===s.type&&"bos"!==s.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";j.output=j.output.slice(0,-(s.output+$.output).length),s.output=`(?:${s.output}`,$.type="globstar",$.output=`${R(r)}${S}|${S}${e})`,$.value+=q,j.output+=s.output+$.output,j.globstar=!0,z(q+W()),Q({type:"slash",value:"/",output:""});continue}if("bos"===s.type&&"/"===t[0]){$.type="globstar",$.value+=q,$.output=`(?:^|${S}|${R(r)}${S})`,j.output=$.output,j.globstar=!0,z(q+W()),Q({type:"slash",value:"/",output:""});continue}j.output=j.output.slice(0,-$.output.length),$.type="globstar",$.output=R(r),$.value+=q,j.output+=$.output,j.globstar=!0,z(q);continue}const s={type:"star",value:q,output:D};!0!==r.bash?!$||"bracket"!==$.type&&"paren"!==$.type||!0!==r.regex?(j.index!==j.start&&"slash"!==$.type&&"dot"!==$.type||("dot"===$.type?(j.output+=A,$.output+=A):!0===r.dot?(j.output+=C,$.output+=C):(j.output+=L,$.output+=L),"*"!==V()&&(j.output+=_,$.output+=_)),Q(s)):(s.output=q,Q(s)):(s.output=".*?","bos"!==$.type&&"slash"!==$.type||(s.output=L+s.output),Q(s))}for(;j.brackets>0;){if(!0===r.strictBrackets)throw new SyntaxError(u("closing","]"));j.output=n.escapeLast(j.output,"["),X("brackets")}for(;j.parens>0;){if(!0===r.strictBrackets)throw new SyntaxError(u("closing",")"));j.output=n.escapeLast(j.output,"("),X("parens")}for(;j.braces>0;){if(!0===r.strictBrackets)throw new SyntaxError(u("closing","}"));j.output=n.escapeLast(j.output,"{"),X("braces")}if(!0===r.strictSlashes||"star"!==$.type&&"bracket"!==$.type||Q({type:"maybe_slash",value:"",output:`${S}?`}),!0===j.backtrack){j.output="";for(const e of j.tokens)j.output+=null!=e.output?e.output:e.value,e.suffix&&(j.output+=e.suffix)}return j};p.fastpaths=(e,t)=>{const r={...t},o="number"==typeof r.maxLength?Math.min(i,r.maxLength):i,a=e.length;if(a>o)throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${o}`);e=l[e]||e;const c=n.isWindows(t),{DOT_LITERAL:h,SLASH_LITERAL:u,ONE_CHAR:p,DOTS_SLASH:d,NO_DOT:f,NO_DOTS:m,NO_DOTS_SLASH:g,STAR:y,START_ANCHOR:b}=s.globChars(c),v=r.dot?m:f,x=r.dot?g:f,w=r.capture?"":"?:";let E=!0===r.bash?".*?":y;r.capture&&(E=`(${E})`);const S=e=>!0===e.noglobstar?E:`(${w}(?:(?!${b}${e.dot?d:h}).)*?)`,_=e=>{switch(e){case"*":return`${v}${p}${E}`;case".*":return`${h}${p}${E}`;case"*.*":return`${v}${E}${h}${p}${E}`;case"*/*":return`${v}${E}${u}${p}${x}${E}`;case"**":return v+S(r);case"**/*":return`(?:${v}${S(r)}${u})?${x}${p}${E}`;case"**/*.*":return`(?:${v}${S(r)}${u})?${x}${E}${h}${p}${E}`;case"**/.*":return`(?:${v}${S(r)}${u})?${h}${p}${E}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const r=_(t[1]);if(!r)return;return r+h+t[2]}}},T=n.removePrefix(e,{negated:!1,prefix:""});let P=_(T);return P&&!0!==r.strictSlashes&&(P+=`${u}?`),P},e.exports=p},"../../node_modules/picomatch/lib/picomatch.js":(e,t,r)=>{"use strict";const s=r("path"),n=r("../../node_modules/picomatch/lib/scan.js"),i=r("../../node_modules/picomatch/lib/parse.js"),o=r("../../node_modules/picomatch/lib/utils.js"),a=r("../../node_modules/picomatch/lib/constants.js"),c=(e,t,r=!1)=>{if(Array.isArray(e)){const s=e.map((e=>c(e,t,r))),n=e=>{for(const t of s){const r=t(e);if(r)return r}return!1};return n}const s=(n=e)&&"object"==typeof n&&!Array.isArray(n)&&e.tokens&&e.input;var n;if(""===e||"string"!=typeof e&&!s)throw new TypeError("Expected pattern to be a non-empty string");const i=t||{},a=o.isWindows(t),l=s?c.compileRe(e,t):c.makeRe(e,t,!1,!0),h=l.state;delete l.state;let u=()=>!1;if(i.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};u=c(i.ignore,e,r)}const p=(r,s=!1)=>{const{isMatch:n,match:o,output:p}=c.test(r,l,t,{glob:e,posix:a}),d={glob:e,state:h,regex:l,posix:a,input:r,output:p,match:o,isMatch:n};return"function"==typeof i.onResult&&i.onResult(d),!1===n?(d.isMatch=!1,!!s&&d):u(r)?("function"==typeof i.onIgnore&&i.onIgnore(d),d.isMatch=!1,!!s&&d):("function"==typeof i.onMatch&&i.onMatch(d),!s||d)};return r&&(p.state=h),p};c.test=(e,t,r,{glob:s,posix:n}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const i=r||{},a=i.format||(n?o.toPosixSlashes:null);let l=e===s,h=l&&a?a(e):e;return!1===l&&(h=a?a(e):e,l=h===s),!1!==l&&!0!==i.capture||(l=!0===i.matchBase||!0===i.basename?c.matchBase(e,t,r,n):t.exec(h)),{isMatch:Boolean(l),match:l,output:h}},c.matchBase=(e,t,r,n=o.isWindows(r))=>(t instanceof RegExp?t:c.makeRe(t,r)).test(s.basename(e)),c.isMatch=(e,t,r)=>c(t,r)(e),c.parse=(e,t)=>Array.isArray(e)?e.map((e=>c.parse(e,t))):i(e,{...t,fastpaths:!1}),c.scan=(e,t)=>n(e,t),c.compileRe=(e,t,r=!1,s=!1)=>{if(!0===r)return e.output;const n=t||{},i=n.contains?"":"^",o=n.contains?"":"$";let a=`${i}(?:${e.output})${o}`;e&&!0===e.negated&&(a=`^(?!${a}).*$`);const l=c.toRegex(a,t);return!0===s&&(l.state=e),l},c.makeRe=(e,t={},r=!1,s=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let n={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(n.output=i.fastpaths(e,t)),n.output||(n=i(e,t)),c.compileRe(n,t,r,s)},c.toRegex=(e,t)=>{try{const r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},c.constants=a,e.exports=c},"../../node_modules/picomatch/lib/scan.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/picomatch/lib/utils.js"),{CHAR_ASTERISK:n,CHAR_AT:i,CHAR_BACKWARD_SLASH:o,CHAR_COMMA:a,CHAR_DOT:c,CHAR_EXCLAMATION_MARK:l,CHAR_FORWARD_SLASH:h,CHAR_LEFT_CURLY_BRACE:u,CHAR_LEFT_PARENTHESES:p,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_PLUS:f,CHAR_QUESTION_MARK:m,CHAR_RIGHT_CURLY_BRACE:g,CHAR_RIGHT_PARENTHESES:y,CHAR_RIGHT_SQUARE_BRACKET:b}=r("../../node_modules/picomatch/lib/constants.js"),v=e=>e===h||e===o,x=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};e.exports=(e,t)=>{const r=t||{},w=e.length-1,E=!0===r.parts||!0===r.scanToEnd,S=[],_=[],T=[];let P,A,C=e,k=-1,O=0,N=0,I=!1,R=!1,L=!1,M=!1,D=!1,j=!1,F=!1,B=!1,U=!1,q=!1,$=0,H={value:"",depth:0,isGlob:!1};const V=()=>k>=w,W=()=>(P=A,C.charCodeAt(++k));for(;k<w;){let e;if(A=W(),A!==o){if(!0===j||A===u){for($++;!0!==V()&&(A=W());)if(A!==o)if(A!==u){if(!0!==j&&A===c&&(A=W())===c){if(I=H.isBrace=!0,L=H.isGlob=!0,q=!0,!0===E)continue;break}if(!0!==j&&A===a){if(I=H.isBrace=!0,L=H.isGlob=!0,q=!0,!0===E)continue;break}if(A===g&&($--,0===$)){j=!1,I=H.isBrace=!0,q=!0;break}}else $++;else F=H.backslashes=!0,W();if(!0===E)continue;break}if(A!==h){if(!0!==r.noext&&!0==(A===f||A===i||A===n||A===m||A===l)&&C.charCodeAt(k+1)===p){if(L=H.isGlob=!0,M=H.isExtglob=!0,q=!0,A===l&&k===O&&(U=!0),!0===E){for(;!0!==V()&&(A=W());)if(A!==o){if(A===y){L=H.isGlob=!0,q=!0;break}}else F=H.backslashes=!0,A=W();continue}break}if(A===n){if(P===n&&(D=H.isGlobstar=!0),L=H.isGlob=!0,q=!0,!0===E)continue;break}if(A===m){if(L=H.isGlob=!0,q=!0,!0===E)continue;break}if(A===d){for(;!0!==V()&&(e=W());)if(e!==o){if(e===b){R=H.isBracket=!0,L=H.isGlob=!0,q=!0;break}}else F=H.backslashes=!0,W();if(!0===E)continue;break}if(!0===r.nonegate||A!==l||k!==O){if(!0!==r.noparen&&A===p){if(L=H.isGlob=!0,!0===E){for(;!0!==V()&&(A=W());)if(A!==p){if(A===y){q=!0;break}}else F=H.backslashes=!0,A=W();continue}break}if(!0===L){if(q=!0,!0===E)continue;break}}else B=H.negated=!0,O++}else{if(S.push(k),_.push(H),H={value:"",depth:0,isGlob:!1},!0===q)continue;if(P===c&&k===O+1){O+=2;continue}N=k+1}}else F=H.backslashes=!0,A=W(),A===u&&(j=!0)}!0===r.noext&&(M=!1,L=!1);let G=C,z="",K="";O>0&&(z=C.slice(0,O),C=C.slice(O),N-=O),G&&!0===L&&N>0?(G=C.slice(0,N),K=C.slice(N)):!0===L?(G="",K=C):G=C,G&&""!==G&&"/"!==G&&G!==C&&v(G.charCodeAt(G.length-1))&&(G=G.slice(0,-1)),!0===r.unescape&&(K&&(K=s.removeBackslashes(K)),G&&!0===F&&(G=s.removeBackslashes(G)));const Y={prefix:z,input:e,start:O,base:G,glob:K,isBrace:I,isBracket:R,isGlob:L,isExtglob:M,isGlobstar:D,negated:B,negatedExtglob:U};if(!0===r.tokens&&(Y.maxDepth=0,v(A)||_.push(H),Y.tokens=_),!0===r.parts||!0===r.tokens){let t;for(let s=0;s<S.length;s++){const n=t?t+1:O,i=S[s],o=e.slice(n,i);r.tokens&&(0===s&&0!==O?(_[s].isPrefix=!0,_[s].value=z):_[s].value=o,x(_[s]),Y.maxDepth+=_[s].depth),0===s&&""===o||T.push(o),t=i}if(t&&t+1<e.length){const s=e.slice(t+1);T.push(s),r.tokens&&(_[_.length-1].value=s,x(_[_.length-1]),Y.maxDepth+=_[_.length-1].depth)}Y.slashes=S,Y.parts=T}return Y}},"../../node_modules/picomatch/lib/utils.js":(e,t,r)=>{"use strict";const s=r("path"),n="win32"===process.platform,{REGEX_BACKSLASH:i,REGEX_REMOVE_BACKSLASH:o,REGEX_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_GLOBAL:c}=r("../../node_modules/picomatch/lib/constants.js");t.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),t.hasRegexChars=e=>a.test(e),t.isRegexChar=e=>1===e.length&&t.hasRegexChars(e),t.escapeRegex=e=>e.replace(c,"\\$1"),t.toPosixSlashes=e=>e.replace(i,"/"),t.removeBackslashes=e=>e.replace(o,(e=>"\\"===e?"":e)),t.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},t.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===n||"\\"===s.sep,t.escapeLast=(e,r,s)=>{const n=e.lastIndexOf(r,s);return-1===n?e:"\\"===e[n-1]?t.escapeLast(e,r,n-1):`${e.slice(0,n)}\\${e.slice(n)}`},t.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r},t.wrapOutput=(e,t={},r={})=>{let s=`${r.contains?"":"^"}(?:${e})${r.contains?"":"$"}`;return!0===t.negated&&(s=`(?:^(?!${s}).*$)`),s}},"../../node_modules/readdirp/index.js":(e,t,r)=>{"use strict";const s=r("fs"),{Readable:n}=r("stream"),i=r("path"),{promisify:o}=r("util"),a=r("../../node_modules/picomatch/index.js"),c=o(s.readdir),l=o(s.stat),h=o(s.lstat),u=o(s.realpath),p="READDIRP_RECURSIVE_ERROR",d=new Set(["ENOENT","EPERM","EACCES","ELOOP",p]),f="files",m="directories",g="files_directories",y="all",b=[f,m,g,y],[v,x]=process.versions.node.split(".").slice(0,2).map((e=>Number.parseInt(e,10))),w="win32"===process.platform&&(v>10||10===v&&x>=5),E=e=>{if(void 0!==e){if("function"==typeof e)return e;if("string"==typeof e){const t=a(e.trim());return e=>t(e.basename)}if(Array.isArray(e)){const t=[],r=[];for(const s of e){const e=s.trim();"!"===e.charAt(0)?r.push(a(e.slice(1))):t.push(a(e))}return r.length>0?t.length>0?e=>t.some((t=>t(e.basename)))&&!r.some((t=>t(e.basename))):e=>!r.some((t=>t(e.basename))):e=>t.some((t=>t(e.basename)))}}};class S extends n{static get defaultOptions(){return{root:".",fileFilter:e=>!0,directoryFilter:e=>!0,type:f,lstat:!1,depth:2147483648,alwaysStat:!1}}constructor(e={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:e.highWaterMark||4096});const t={...S.defaultOptions,...e},{root:r,type:n}=t;this._fileFilter=E(t.fileFilter),this._directoryFilter=E(t.directoryFilter);const o=t.lstat?h:l;this._stat=w?e=>o(e,{bigint:!0}):o,this._maxDepth=t.depth,this._wantsDir=[m,g,y].includes(n),this._wantsFile=[f,g,y].includes(n),this._wantsEverything=n===y,this._root=i.resolve(r),this._isDirent="Dirent"in s&&!t.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(r,1)],this.reading=!1,this.parent=void 0}async _read(e){if(!this.reading){this.reading=!0;try{for(;!this.destroyed&&e>0;){const{path:t,depth:r,files:s=[]}=this.parent||{};if(s.length>0){const n=s.splice(0,e).map((e=>this._formatEntry(e,t)));for(const t of await Promise.all(n)){if(this.destroyed)return;const s=await this._getEntryType(t);"directory"===s&&this._directoryFilter(t)?(r<=this._maxDepth&&this.parents.push(this._exploreDir(t.fullPath,r+1)),this._wantsDir&&(this.push(t),e--)):("file"===s||this._includeAsFile(t))&&this._fileFilter(t)&&this._wantsFile&&(this.push(t),e--)}}else{const e=this.parents.pop();if(!e){this.push(null);break}if(this.parent=await e,this.destroyed)return}}}catch(e){this.destroy(e)}finally{this.reading=!1}}}async _exploreDir(e,t){let r;try{r=await c(e,this._rdOptions)}catch(e){this._onError(e)}return{files:r,depth:t,path:e}}async _formatEntry(e,t){let r;try{const s=this._isDirent?e.name:e,n=i.resolve(i.join(t,s));r={path:i.relative(this._root,n),fullPath:n,basename:s},r[this._statsProp]=this._isDirent?e:await this._stat(n)}catch(e){this._onError(e)}return r}_onError(e){var t;t=e,d.has(t.code)&&!this.destroyed?this.emit("warn",e):this.destroy(e)}async _getEntryType(e){const t=e&&e[this._statsProp];if(t){if(t.isFile())return"file";if(t.isDirectory())return"directory";if(t&&t.isSymbolicLink()){const t=e.fullPath;try{const e=await u(t),r=await h(e);if(r.isFile())return"file";if(r.isDirectory()){const r=e.length;if(t.startsWith(e)&&t.substr(r,1)===i.sep){const r=new Error(`Circular symlink detected: "${t}" points to "${e}"`);return r.code=p,this._onError(r)}return"directory"}}catch(e){this._onError(e)}}}}_includeAsFile(e){const t=e&&e[this._statsProp];return t&&this._wantsEverything&&!t.isDirectory()}}const _=(e,t={})=>{let r=t.entryType||t.type;if("both"===r&&(r=g),r&&(t.type=r),!e)throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");if("string"!=typeof e)throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");if(r&&!b.includes(r))throw new Error(`readdirp: Invalid type passed. Use one of ${b.join(", ")}`);return t.root=e,new S(t)};_.promise=(e,t={})=>new Promise(((r,s)=>{const n=[];_(e,t).on("data",(e=>n.push(e))).on("end",(()=>r(n))).on("error",(e=>s(e)))})),_.ReaddirpStream=S,_.default=_,e.exports=_},"../../node_modules/supports-color/index.js":(e,t,r)=>{"use strict";const s=r("os"),n=r("../../node_modules/has-flag/index.js"),i=process.env;let o;function a(e){const t=function(e){if(!1===o)return 0;if(n("color=16m")||n("color=full")||n("color=truecolor"))return 3;if(n("color=256"))return 2;if(e&&!e.isTTY&&!0!==o)return 0;const t=o?1:0;if("win32"===process.platform){const e=s.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in i))||"codeship"===i.CI_NAME?1:t;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if("truecolor"===i.COLORTERM)return 3;if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:(i.TERM,t)}(e);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(t)}n("no-color")||n("no-colors")||n("color=false")?o=!1:(n("color")||n("colors")||n("color=true")||n("color=always"))&&(o=!0),"FORCE_COLOR"in i&&(o=0===i.FORCE_COLOR.length||0!==parseInt(i.FORCE_COLOR,10)),e.exports={supportsColor:a,stdout:a(process.stdout),stderr:a(process.stderr)}},"../../node_modules/to-regex-range/index.js":(e,t,r)=>{"use strict";const s=r("../../node_modules/is-number/index.js"),n=(e,t,r)=>{if(!1===s(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===s(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...r};"boolean"==typeof i.strictZeros&&(i.relaxZeros=!1===i.strictZeros);let c=e+":"+t+"="+String(i.relaxZeros)+String(i.shorthand)+String(i.capture)+String(i.wrap);if(n.cache.hasOwnProperty(c))return n.cache[c].result;let l=Math.min(e,t),h=Math.max(e,t);if(1===Math.abs(l-h)){let r=e+"|"+t;return i.capture?`(${r})`:!1===i.wrap?r:`(?:${r})`}let u=d(e)||d(t),p={min:e,max:t,a:l,b:h},f=[],m=[];return u&&(p.isPadded=u,p.maxLen=String(p.max).length),l<0&&(m=o(h<0?Math.abs(h):1,Math.abs(l),p,i),l=p.a=0),h>=0&&(f=o(l,h,p,i)),p.negatives=m,p.positives=f,p.result=function(e,t,r){let s=a(e,t,"-",!1)||[],n=a(t,e,"",!1)||[],i=a(e,t,"-?",!0)||[];return s.concat(i).concat(n).join("|")}(m,f),!0===i.capture?p.result=`(${p.result})`:!1!==i.wrap&&f.length+m.length>1&&(p.result=`(?:${p.result})`),n.cache[c]=p,p.result};function i(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let s=function(e,t){let r=[];for(let s=0;s<e.length;s++)r.push([e[s],t[s]]);return r}(e,t),n=s.length,i="",o=0;for(let e=0;e<n;e++){let[t,r]=s[e];t===r?i+=t:"0"!==t||"9"!==r?i+=`[${a=t}${(c=r)-a==1?"":"-"}${c}]`:o++}var a,c;return o&&(i+=!0===r.shorthand?"\\d":"[0-9]"),{pattern:i,count:[o],digits:n}}function o(e,t,r,s){let n,o=function(e,t){let r=1,s=1,n=h(e,r),i=new Set([t]);for(;e<=n&&n<=t;)i.add(n),r+=1,n=h(e,r);for(n=u(t+1,s)-1;e<n&&n<=t;)i.add(n),s+=1,n=u(t+1,s)-1;return i=[...i],i.sort(c),i}(e,t),a=[],l=e;for(let e=0;e<o.length;e++){let t=o[e],c=i(String(l),String(t),s),h="";r.isPadded||!n||n.pattern!==c.pattern?(r.isPadded&&(h=f(t,r,s)),c.string=h+c.pattern+p(c.count),a.push(c),l=t+1,n=c):(n.count.length>1&&n.count.pop(),n.count.push(c.count[0]),n.string=n.pattern+p(n.count),l=t+1)}return a}function a(e,t,r,s,n){let i=[];for(let n of e){let{string:e}=n;s||l(t,"string",e)||i.push(r+e),s&&l(t,"string",e)&&i.push(r+e)}return i}function c(e,t){return e>t?1:t>e?-1:0}function l(e,t,r){return e.some((e=>e[t]===r))}function h(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function u(e,t){return e-e%Math.pow(10,t)}function p(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function d(e){return/^-?(0+)\d/.test(e)}function f(e,t,r){if(!t.isPadded)return e;let s=Math.abs(t.maxLen-String(e).length),n=!1!==r.relaxZeros;switch(s){case 0:return"";case 1:return n?"0?":"0";case 2:return n?"0{0,2}":"00";default:return n?`0{0,${s}}`:`0{${s}}`}}n.cache={},n.clearCache=()=>n.cache={},e.exports=n},"../../node_modules/xmlhttprequest-ssl/lib/XMLHttpRequest.js":(e,t,r)=>{var s=r("fs"),n=r("url"),i=r("child_process").spawn;function o(e){"use strict";e=e||{};var t,o,a=this,c=r("http"),l=r("https"),h={},u=!1,p={"User-Agent":"node-XMLHttpRequest",Accept:"*/*"},d=Object.assign({},p),f=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","content-transfer-encoding","cookie","cookie2","date","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"],m=["TRACE","TRACK","CONNECT"],g=!1,y=!1,b=!1,v={};this.UNSENT=0,this.OPENED=1,this.HEADERS_RECEIVED=2,this.LOADING=3,this.DONE=4,this.readyState=this.UNSENT,this.onreadystatechange=null,this.responseText="",this.responseXML="",this.status=null,this.statusText=null,this.open=function(e,t,r,s,n){if(this.abort(),y=!1,b=!1,!function(e){return e&&-1===m.indexOf(e)}(e))throw new Error("SecurityError: Request method not allowed");h={method:e,url:t.toString(),async:"boolean"!=typeof r||r,user:s||null,password:n||null},x(this.OPENED)},this.setDisableHeaderCheck=function(e){u=e},this.setRequestHeader=function(e,t){if(this.readyState!=this.OPENED)throw new Error("INVALID_STATE_ERR: setRequestHeader can only be called when state is OPEN");if(!function(e){return u||e&&-1===f.indexOf(e.toLowerCase())}(e))return console.warn('Refused to set unsafe header "'+e+'"'),!1;if(g)throw new Error("INVALID_STATE_ERR: send flag is true");return d[e]=t,!0},this.getResponseHeader=function(e){return"string"==typeof e&&this.readyState>this.OPENED&&o.headers[e.toLowerCase()]&&!y?o.headers[e.toLowerCase()]:null},this.getAllResponseHeaders=function(){if(this.readyState<this.HEADERS_RECEIVED||y)return"";var e="";for(var t in o.headers)"set-cookie"!==t&&"set-cookie2"!==t&&(e+=t+": "+o.headers[t]+"\r\n");return e.substr(0,e.length-2)},this.getRequestHeader=function(e){return"string"==typeof e&&d[e]?d[e]:""},this.send=function(r){if(this.readyState!=this.OPENED)throw new Error("INVALID_STATE_ERR: connection must be opened before send() is called");if(g)throw new Error("INVALID_STATE_ERR: send has already been called");var u,p=!1,f=!1,m=n.parse(h.url);switch(m.protocol){case"https:":p=!0;case"http:":u=m.hostname;break;case"file:":f=!0;break;case void 0:case"":u="localhost";break;default:throw new Error("Protocol not supported.")}if(f){if("GET"!==h.method)throw new Error("XMLHttpRequest: Only GET method is supported");if(h.async)s.readFile(unescape(m.pathname),"utf8",(function(e,t){e?a.handleError(e,e.errno||-1):(a.status=200,a.responseText=t,x(a.DONE))}));else try{this.responseText=s.readFileSync(unescape(m.pathname),"utf8"),this.status=200,x(a.DONE)}catch(e){this.handleError(e,e.errno||-1)}}else{var b=m.port||(p?443:80),v=m.pathname+(m.search?m.search:"");if(d.Host=u,p&&443===b||80===b||(d.Host+=":"+m.port),h.user){void 0===h.password&&(h.password="");var w=new Buffer(h.user+":"+h.password);d.Authorization="Basic "+w.toString("base64")}"GET"===h.method||"HEAD"===h.method?r=null:r?(d["Content-Length"]=Buffer.isBuffer(r)?r.length:Buffer.byteLength(r),d["Content-Type"]||(d["Content-Type"]="text/plain;charset=UTF-8")):"POST"===h.method&&(d["Content-Length"]=0);var E=e.agent||!1,S={host:u,port:b,path:v,method:h.method,headers:d,agent:E};if(p&&(S.pfx=e.pfx,S.key=e.key,S.passphrase=e.passphrase,S.cert=e.cert,S.ca=e.ca,S.ciphers=e.ciphers,S.rejectUnauthorized=!1!==e.rejectUnauthorized),y=!1,h.async){var _=p?l.request:c.request;g=!0,a.dispatchEvent("readystatechange");var T=function(r){if(302===(o=r).statusCode||303===o.statusCode||307===o.statusCode){h.url=o.headers.location;var s=n.parse(h.url);u=s.hostname;var i={hostname:s.hostname,port:s.port,path:s.path,method:303===o.statusCode?"GET":h.method,headers:d};return p&&(i.pfx=e.pfx,i.key=e.key,i.passphrase=e.passphrase,i.cert=e.cert,i.ca=e.ca,i.ciphers=e.ciphers,i.rejectUnauthorized=!1!==e.rejectUnauthorized),void(t=_(i,T).on("error",P)).end()}o&&o.setEncoding&&o.setEncoding("utf8"),x(a.HEADERS_RECEIVED),a.status=o.statusCode,o.on("data",(function(e){e&&(a.responseText+=e),g&&x(a.LOADING)})),o.on("end",(function(){g&&(g=!1,x(a.DONE))})),o.on("error",(function(e){a.handleError(e)}))},P=function(e){a.handleError(e)};t=_(S,T).on("error",P),e.autoUnref&&t.on("socket",(e=>{e.unref()})),r&&t.write(r),t.end(),a.dispatchEvent("loadstart")}else{var A=".node-xmlhttprequest-content-"+process.pid,C=".node-xmlhttprequest-sync-"+process.pid;s.writeFileSync(C,"","utf8");for(var k="var http = require('http'), https = require('https'), fs = require('fs');var doRequest = http"+(p?"s":"")+".request;var options = "+JSON.stringify(S)+";var responseText = '';var req = doRequest(options, function(response) {response.setEncoding('utf8');response.on('data', function(chunk) { responseText += chunk;});response.on('end', function() {fs.writeFileSync('"+A+"', 'NODE-XMLHTTPREQUEST-STATUS:' + response.statusCode + ',' + responseText, 'utf8');fs.unlinkSync('"+C+"');});response.on('error', function(error) {fs.writeFileSync('"+A+"', 'NODE-XMLHTTPREQUEST-ERROR:' + JSON.stringify(error), 'utf8');fs.unlinkSync('"+C+"');});}).on('error', function(error) {fs.writeFileSync('"+A+"', 'NODE-XMLHTTPREQUEST-ERROR:' + JSON.stringify(error), 'utf8');fs.unlinkSync('"+C+"');});"+(r?"req.write('"+JSON.stringify(r).slice(1,-1).replace(/'/g,"\\'")+"');":"")+"req.end();",O=i(process.argv[0],["-e",k]);s.existsSync(C););if(a.responseText=s.readFileSync(A,"utf8"),O.stdin.end(),s.unlinkSync(A),a.responseText.match(/^NODE-XMLHTTPREQUEST-ERROR:/)){var N=a.responseText.replace(/^NODE-XMLHTTPREQUEST-ERROR:/,"");a.handleError(N,503)}else a.status=a.responseText.replace(/^NODE-XMLHTTPREQUEST-STATUS:([0-9]*),.*/,"$1"),a.responseText=a.responseText.replace(/^NODE-XMLHTTPREQUEST-STATUS:[0-9]*,(.*)/,"$1"),x(a.DONE)}}},this.handleError=function(e,t){this.status=t||0,this.statusText=e,this.responseText=e.stack,y=!0,x(this.DONE)},this.abort=function(){t&&(t.abort(),t=null),d=Object.assign({},p),this.responseText="",this.responseXML="",y=b=!0,this.readyState===this.UNSENT||this.readyState===this.OPENED&&!g||this.readyState===this.DONE||(g=!1,x(this.DONE)),this.readyState=this.UNSENT},this.addEventListener=function(e,t){e in v||(v[e]=[]),v[e].push(t)},this.removeEventListener=function(e,t){e in v&&(v[e]=v[e].filter((function(e){return e!==t})))},this.dispatchEvent=function(e){if("function"==typeof a["on"+e]&&(this.readyState===this.DONE?setImmediate((function(){a["on"+e]()})):a["on"+e]()),e in v)for(let t=0,r=v[e].length;t<r;t++)this.readyState===this.DONE?setImmediate((function(){v[e][t].call(a)})):v[e][t].call(a)};var x=function(e){if(!(a.readyState===e||a.readyState===a.UNSENT&&b)&&(a.readyState=e,(h.async||a.readyState<a.OPENED||a.readyState===a.DONE)&&a.dispatchEvent("readystatechange"),a.readyState===a.DONE)){let e;e=b?"abort":y?"error":"load",a.dispatchEvent(e),a.dispatchEvent("loadend")}}}e.exports=o,o.XMLHttpRequest=o},"./node_modules/ws/lib/buffer-util.js":(e,t,r)=>{"use strict";const{EMPTY_BUFFER:s}=r("./node_modules/ws/lib/constants.js");function n(e,t){if(0===e.length)return s;if(1===e.length)return e[0];const r=Buffer.allocUnsafe(t);let n=0;for(let t=0;t<e.length;t++){const s=e[t];r.set(s,n),n+=s.length}return n<t?r.slice(0,n):r}function i(e,t,r,s,n){for(let i=0;i<n;i++)r[s+i]=e[i]^t[3&i]}function o(e,t){for(let r=0;r<e.length;r++)e[r]^=t[3&r]}function a(e){return e.byteLength===e.buffer.byteLength?e.buffer:e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function c(e){if(c.readOnly=!0,Buffer.isBuffer(e))return e;let t;return e instanceof ArrayBuffer?t=Buffer.from(e):ArrayBuffer.isView(e)?t=Buffer.from(e.buffer,e.byteOffset,e.byteLength):(t=Buffer.from(e),c.readOnly=!1),t}try{const t=r("bufferutil");e.exports={concat:n,mask(e,r,s,n,o){o<48?i(e,r,s,n,o):t.mask(e,r,s,n,o)},toArrayBuffer:a,toBuffer:c,unmask(e,r){e.length<32?o(e,r):t.unmask(e,r)}}}catch(t){e.exports={concat:n,mask:i,toArrayBuffer:a,toBuffer:c,unmask:o}}},"./node_modules/ws/lib/constants.js":e=>{"use strict";e.exports={BINARY_TYPES:["nodebuffer","arraybuffer","fragments"],EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}},"./node_modules/ws/lib/event-target.js":(e,t,r)=>{"use strict";const{kForOnEventAttribute:s,kListener:n}=r("./node_modules/ws/lib/constants.js"),i=Symbol("kCode"),o=Symbol("kData"),a=Symbol("kError"),c=Symbol("kMessage"),l=Symbol("kReason"),h=Symbol("kTarget"),u=Symbol("kType"),p=Symbol("kWasClean");class d{constructor(e){this[h]=null,this[u]=e}get target(){return this[h]}get type(){return this[u]}}Object.defineProperty(d.prototype,"target",{enumerable:!0}),Object.defineProperty(d.prototype,"type",{enumerable:!0});class f extends d{constructor(e,t={}){super(e),this[i]=void 0===t.code?0:t.code,this[l]=void 0===t.reason?"":t.reason,this[p]=void 0!==t.wasClean&&t.wasClean}get code(){return this[i]}get reason(){return this[l]}get wasClean(){return this[p]}}Object.defineProperty(f.prototype,"code",{enumerable:!0}),Object.defineProperty(f.prototype,"reason",{enumerable:!0}),Object.defineProperty(f.prototype,"wasClean",{enumerable:!0});class m extends d{constructor(e,t={}){super(e),this[a]=void 0===t.error?null:t.error,this[c]=void 0===t.message?"":t.message}get error(){return this[a]}get message(){return this[c]}}Object.defineProperty(m.prototype,"error",{enumerable:!0}),Object.defineProperty(m.prototype,"message",{enumerable:!0});class g extends d{constructor(e,t={}){super(e),this[o]=void 0===t.data?null:t.data}get data(){return this[o]}}Object.defineProperty(g.prototype,"data",{enumerable:!0});const y={addEventListener(e,t,r={}){let i;if("message"===e)i=function(e,r){const s=new g("message",{data:r?e:e.toString()});s[h]=this,t.call(this,s)};else if("close"===e)i=function(e,r){const s=new f("close",{code:e,reason:r.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});s[h]=this,t.call(this,s)};else if("error"===e)i=function(e){const r=new m("error",{error:e,message:e.message});r[h]=this,t.call(this,r)};else{if("open"!==e)return;i=function(){const e=new d("open");e[h]=this,t.call(this,e)}}i[s]=!!r[s],i[n]=t,r.once?this.once(e,i):this.on(e,i)},removeEventListener(e,t){for(const r of this.listeners(e))if(r[n]===t&&!r[s]){this.removeListener(e,r);break}}};e.exports={CloseEvent:f,ErrorEvent:m,Event:d,EventTarget:y,MessageEvent:g}},"./node_modules/ws/lib/extension.js":(e,t,r)=>{"use strict";const{tokenChars:s}=r("./node_modules/ws/lib/validation.js");function n(e,t,r){void 0===e[t]?e[t]=[r]:e[t].push(r)}e.exports={format:function(e){return Object.keys(e).map((t=>{let r=e[t];return Array.isArray(r)||(r=[r]),r.map((e=>[t].concat(Object.keys(e).map((t=>{let r=e[t];return Array.isArray(r)||(r=[r]),r.map((e=>!0===e?t:`${t}=${e}`)).join("; ")}))).join("; "))).join(", ")})).join(", ")},parse:function(e){const t=Object.create(null);let r,i,o=Object.create(null),a=!1,c=!1,l=!1,h=-1,u=-1,p=-1,d=0;for(;d<e.length;d++)if(u=e.charCodeAt(d),void 0===r)if(-1===p&&1===s[u])-1===h&&(h=d);else if(0===d||32!==u&&9!==u){if(59!==u&&44!==u)throw new SyntaxError(`Unexpected character at index ${d}`);{if(-1===h)throw new SyntaxError(`Unexpected character at index ${d}`);-1===p&&(p=d);const s=e.slice(h,p);44===u?(n(t,s,o),o=Object.create(null)):r=s,h=p=-1}}else-1===p&&-1!==h&&(p=d);else if(void 0===i)if(-1===p&&1===s[u])-1===h&&(h=d);else if(32===u||9===u)-1===p&&-1!==h&&(p=d);else if(59===u||44===u){if(-1===h)throw new SyntaxError(`Unexpected character at index ${d}`);-1===p&&(p=d),n(o,e.slice(h,p),!0),44===u&&(n(t,r,o),o=Object.create(null),r=void 0),h=p=-1}else{if(61!==u||-1===h||-1!==p)throw new SyntaxError(`Unexpected character at index ${d}`);i=e.slice(h,d),h=p=-1}else if(c){if(1!==s[u])throw new SyntaxError(`Unexpected character at index ${d}`);-1===h?h=d:a||(a=!0),c=!1}else if(l)if(1===s[u])-1===h&&(h=d);else if(34===u&&-1!==h)l=!1,p=d;else{if(92!==u)throw new SyntaxError(`Unexpected character at index ${d}`);c=!0}else if(34===u&&61===e.charCodeAt(d-1))l=!0;else if(-1===p&&1===s[u])-1===h&&(h=d);else if(-1===h||32!==u&&9!==u){if(59!==u&&44!==u)throw new SyntaxError(`Unexpected character at index ${d}`);{if(-1===h)throw new SyntaxError(`Unexpected character at index ${d}`);-1===p&&(p=d);let s=e.slice(h,p);a&&(s=s.replace(/\\/g,""),a=!1),n(o,i,s),44===u&&(n(t,r,o),o=Object.create(null),r=void 0),i=void 0,h=p=-1}}else-1===p&&(p=d);if(-1===h||l||32===u||9===u)throw new SyntaxError("Unexpected end of input");-1===p&&(p=d);const f=e.slice(h,p);return void 0===r?n(t,f,o):(void 0===i?n(o,f,!0):n(o,i,a?f.replace(/\\/g,""):f),n(t,r,o)),t}}},"./node_modules/ws/lib/limiter.js":e=>{"use strict";const t=Symbol("kDone"),r=Symbol("kRun");e.exports=class{constructor(e){this[t]=()=>{this.pending--,this[r]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[r]()}[r](){if(this.pending!==this.concurrency&&this.jobs.length){const e=this.jobs.shift();this.pending++,e(this[t])}}}},"./node_modules/ws/lib/permessage-deflate.js":(e,t,r)=>{"use strict";const s=r("zlib"),n=r("./node_modules/ws/lib/buffer-util.js"),i=r("./node_modules/ws/lib/limiter.js"),{kStatusCode:o}=r("./node_modules/ws/lib/constants.js"),a=Buffer.from([0,0,255,255]),c=Symbol("permessage-deflate"),l=Symbol("total-length"),h=Symbol("callback"),u=Symbol("buffers"),p=Symbol("error");let d;function f(e){this[u].push(e),this[l]+=e.length}function m(e){this[l]+=e.length,this[c]._maxPayload<1||this[l]<=this[c]._maxPayload?this[u].push(e):(this[p]=new RangeError("Max payload size exceeded"),this[p].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[p][o]=1009,this.removeListener("data",m),this.reset())}function g(e){this[c]._inflate=null,e[o]=1007,this[h](e)}e.exports=class{constructor(e,t,r){if(this._maxPayload=0|r,this._options=e||{},this._threshold=void 0!==this._options.threshold?this._options.threshold:1024,this._isServer=!!t,this._deflate=null,this._inflate=null,this.params=null,!d){const e=void 0!==this._options.concurrencyLimit?this._options.concurrencyLimit:10;d=new i(e)}}static get extensionName(){return"permessage-deflate"}offer(){const e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:null==this._options.clientMaxWindowBits&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){const e=this._deflate[h];this._deflate.close(),this._deflate=null,e&&e(new Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){const t=this._options,r=e.find((e=>!(!1===t.serverNoContextTakeover&&e.server_no_context_takeover||e.server_max_window_bits&&(!1===t.serverMaxWindowBits||"number"==typeof t.serverMaxWindowBits&&t.serverMaxWindowBits>e.server_max_window_bits)||"number"==typeof t.clientMaxWindowBits&&!e.client_max_window_bits)));if(!r)throw new Error("None of the extension offers can be accepted");return t.serverNoContextTakeover&&(r.server_no_context_takeover=!0),t.clientNoContextTakeover&&(r.client_no_context_takeover=!0),"number"==typeof t.serverMaxWindowBits&&(r.server_max_window_bits=t.serverMaxWindowBits),"number"==typeof t.clientMaxWindowBits?r.client_max_window_bits=t.clientMaxWindowBits:!0!==r.client_max_window_bits&&!1!==t.clientMaxWindowBits||delete r.client_max_window_bits,r}acceptAsClient(e){const t=e[0];if(!1===this._options.clientNoContextTakeover&&t.client_no_context_takeover)throw new Error('Unexpected parameter "client_no_context_takeover"');if(t.client_max_window_bits){if(!1===this._options.clientMaxWindowBits||"number"==typeof this._options.clientMaxWindowBits&&t.client_max_window_bits>this._options.clientMaxWindowBits)throw new Error('Unexpected or invalid parameter "client_max_window_bits"')}else"number"==typeof this._options.clientMaxWindowBits&&(t.client_max_window_bits=this._options.clientMaxWindowBits);return t}normalizeParams(e){return e.forEach((e=>{Object.keys(e).forEach((t=>{let r=e[t];if(r.length>1)throw new Error(`Parameter "${t}" must have only a single value`);if(r=r[0],"client_max_window_bits"===t){if(!0!==r){const e=+r;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${t}": ${r}`);r=e}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${t}": ${r}`)}else if("server_max_window_bits"===t){const e=+r;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${t}": ${r}`);r=e}else{if("client_no_context_takeover"!==t&&"server_no_context_takeover"!==t)throw new Error(`Unknown parameter "${t}"`);if(!0!==r)throw new TypeError(`Invalid value for parameter "${t}": ${r}`)}e[t]=r}))})),e}decompress(e,t,r){d.add((s=>{this._decompress(e,t,((e,t)=>{s(),r(e,t)}))}))}compress(e,t,r){d.add((s=>{this._compress(e,t,((e,t)=>{s(),r(e,t)}))}))}_decompress(e,t,r){const i=this._isServer?"client":"server";if(!this._inflate){const e=`${i}_max_window_bits`,t="number"!=typeof this.params[e]?s.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=s.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t}),this._inflate[c]=this,this._inflate[l]=0,this._inflate[u]=[],this._inflate.on("error",g),this._inflate.on("data",m)}this._inflate[h]=r,this._inflate.write(e),t&&this._inflate.write(a),this._inflate.flush((()=>{const e=this._inflate[p];if(e)return this._inflate.close(),this._inflate=null,void r(e);const s=n.concat(this._inflate[u],this._inflate[l]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[l]=0,this._inflate[u]=[],t&&this.params[`${i}_no_context_takeover`]&&this._inflate.reset()),r(null,s)}))}_compress(e,t,r){const i=this._isServer?"server":"client";if(!this._deflate){const e=`${i}_max_window_bits`,t="number"!=typeof this.params[e]?s.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=s.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t}),this._deflate[l]=0,this._deflate[u]=[],this._deflate.on("data",f)}this._deflate[h]=r,this._deflate.write(e),this._deflate.flush(s.Z_SYNC_FLUSH,(()=>{if(!this._deflate)return;let e=n.concat(this._deflate[u],this._deflate[l]);t&&(e=e.slice(0,e.length-4)),this._deflate[h]=null,this._deflate[l]=0,this._deflate[u]=[],t&&this.params[`${i}_no_context_takeover`]&&this._deflate.reset(),r(null,e)}))}}},"./node_modules/ws/lib/receiver.js":(e,t,r)=>{"use strict";const{Writable:s}=r("stream"),n=r("./node_modules/ws/lib/permessage-deflate.js"),{BINARY_TYPES:i,EMPTY_BUFFER:o,kStatusCode:a,kWebSocket:c}=r("./node_modules/ws/lib/constants.js"),{concat:l,toArrayBuffer:h,unmask:u}=r("./node_modules/ws/lib/buffer-util.js"),{isValidStatusCode:p,isValidUTF8:d}=r("./node_modules/ws/lib/validation.js");function f(e,t,r,s,n){const i=new e(r?`Invalid WebSocket frame: ${t}`:t);return Error.captureStackTrace(i,f),i.code=n,i[a]=s,i}e.exports=class extends s{constructor(e={}){super(),this._binaryType=e.binaryType||i[0],this._extensions=e.extensions||{},this._isServer=!!e.isServer,this._maxPayload=0|e.maxPayload,this._skipUTF8Validation=!!e.skipUTF8Validation,this[c]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._state=0,this._loop=!1}_write(e,t,r){if(8===this._opcode&&0==this._state)return r();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(r)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){const t=this._buffers[0];return this._buffers[0]=t.slice(e),t.slice(0,e)}const t=Buffer.allocUnsafe(e);do{const r=this._buffers[0],s=t.length-e;e>=r.length?t.set(this._buffers.shift(),s):(t.set(new Uint8Array(r.buffer,r.byteOffset,e),s),this._buffers[0]=r.slice(e)),e-=r.length}while(e>0);return t}startLoop(e){let t;this._loop=!0;do{switch(this._state){case 0:t=this.getInfo();break;case 1:t=this.getPayloadLength16();break;case 2:t=this.getPayloadLength64();break;case 3:this.getMask();break;case 4:t=this.getData(e);break;default:return void(this._loop=!1)}}while(this._loop);e(t)}getInfo(){if(this._bufferedBytes<2)return void(this._loop=!1);const e=this.consume(2);if(0!=(48&e[0]))return this._loop=!1,f(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");const t=64==(64&e[0]);if(t&&!this._extensions[n.extensionName])return this._loop=!1,f(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._fin=128==(128&e[0]),this._opcode=15&e[0],this._payloadLength=127&e[1],0===this._opcode){if(t)return this._loop=!1,f(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(!this._fragmented)return this._loop=!1,f(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");this._opcode=this._fragmented}else if(1===this._opcode||2===this._opcode){if(this._fragmented)return this._loop=!1,f(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");this._compressed=t}else{if(!(this._opcode>7&&this._opcode<11))return this._loop=!1,f(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");if(!this._fin)return this._loop=!1,f(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");if(t)return this._loop=!1,f(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._payloadLength>125)return this._loop=!1,f(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH")}if(this._fin||this._fragmented||(this._fragmented=this._opcode),this._masked=128==(128&e[1]),this._isServer){if(!this._masked)return this._loop=!1,f(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK")}else if(this._masked)return this._loop=!1,f(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");if(126===this._payloadLength)this._state=1;else{if(127!==this._payloadLength)return this.haveLength();this._state=2}}getPayloadLength16(){if(!(this._bufferedBytes<2))return this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength();this._loop=!1}getPayloadLength64(){if(this._bufferedBytes<8)return void(this._loop=!1);const e=this.consume(8),t=e.readUInt32BE(0);return t>Math.pow(2,21)-1?(this._loop=!1,f(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH")):(this._payloadLength=t*Math.pow(2,32)+e.readUInt32BE(4),this.haveLength())}haveLength(){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0))return this._loop=!1,f(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");this._masked?this._state=3:this._state=4}getMask(){this._bufferedBytes<4?this._loop=!1:(this._mask=this.consume(4),this._state=4)}getData(e){let t=o;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength)return void(this._loop=!1);t=this.consume(this._payloadLength),this._masked&&u(t,this._mask)}return this._opcode>7?this.controlMessage(t):this._compressed?(this._state=5,void this.decompress(t,e)):(t.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(t)),this.dataMessage())}decompress(e,t){this._extensions[n.extensionName].decompress(e,this._fin,((e,r)=>{if(e)return t(e);if(r.length){if(this._messageLength+=r.length,this._messageLength>this._maxPayload&&this._maxPayload>0)return t(f(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));this._fragments.push(r)}const s=this.dataMessage();if(s)return t(s);this.startLoop(t)}))}dataMessage(){if(this._fin){const e=this._messageLength,t=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],2===this._opcode){let r;r="nodebuffer"===this._binaryType?l(t,e):"arraybuffer"===this._binaryType?h(l(t,e)):t,this.emit("message",r,!0)}else{const r=l(t,e);if(!this._skipUTF8Validation&&!d(r))return this._loop=!1,f(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("message",r,!1)}}this._state=0}controlMessage(e){if(8===this._opcode)if(this._loop=!1,0===e.length)this.emit("conclude",1005,o),this.end();else{if(1===e.length)return f(RangeError,"invalid payload length 1",!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");{const t=e.readUInt16BE(0);if(!p(t))return f(RangeError,`invalid status code ${t}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");const r=e.slice(2);if(!this._skipUTF8Validation&&!d(r))return f(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("conclude",t,r),this.end()}}else 9===this._opcode?this.emit("ping",e):this.emit("pong",e);this._state=0}}},"./node_modules/ws/lib/sender.js":(e,t,r)=>{"use strict";r("net"),r("tls");const{randomFillSync:s}=r("crypto"),n=r("./node_modules/ws/lib/permessage-deflate.js"),{EMPTY_BUFFER:i}=r("./node_modules/ws/lib/constants.js"),{isValidStatusCode:o}=r("./node_modules/ws/lib/validation.js"),{mask:a,toBuffer:c}=r("./node_modules/ws/lib/buffer-util.js"),l=Buffer.alloc(4);class h{constructor(e,t){this._extensions=t||{},this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._deflating=!1,this._queue=[]}static frame(e,t){const r=t.mask&&t.readOnly;let n=t.mask?6:2,i=e.length;e.length>=65536?(n+=8,i=127):e.length>125&&(n+=2,i=126);const o=Buffer.allocUnsafe(r?e.length+n:n);return o[0]=t.fin?128|t.opcode:t.opcode,t.rsv1&&(o[0]|=64),o[1]=i,126===i?o.writeUInt16BE(e.length,2):127===i&&(o.writeUInt32BE(0,2),o.writeUInt32BE(e.length,6)),t.mask?(s(l,0,4),o[1]|=128,o[n-4]=l[0],o[n-3]=l[1],o[n-2]=l[2],o[n-1]=l[3],r?(a(e,l,o,n,e.length),[o]):(a(e,l,e,0,e.length),[o,e])):[o,e]}close(e,t,r,s){let n;if(void 0===e)n=i;else{if("number"!=typeof e||!o(e))throw new TypeError("First argument must be a valid error code number");if(void 0!==t&&t.length){const r=Buffer.byteLength(t);if(r>123)throw new RangeError("The message must not be greater than 123 bytes");n=Buffer.allocUnsafe(2+r),n.writeUInt16BE(e,0),"string"==typeof t?n.write(t,2):n.set(t,2)}else n=Buffer.allocUnsafe(2),n.writeUInt16BE(e,0)}this._deflating?this.enqueue([this.doClose,n,r,s]):this.doClose(n,r,s)}doClose(e,t,r){this.sendFrame(h.frame(e,{fin:!0,rsv1:!1,opcode:8,mask:t,readOnly:!1}),r)}ping(e,t,r){const s=c(e);if(s.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPing,s,t,c.readOnly,r]):this.doPing(s,t,c.readOnly,r)}doPing(e,t,r,s){this.sendFrame(h.frame(e,{fin:!0,rsv1:!1,opcode:9,mask:t,readOnly:r}),s)}pong(e,t,r){const s=c(e);if(s.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPong,s,t,c.readOnly,r]):this.doPong(s,t,c.readOnly,r)}doPong(e,t,r,s){this.sendFrame(h.frame(e,{fin:!0,rsv1:!1,opcode:10,mask:t,readOnly:r}),s)}send(e,t,r){const s=c(e),i=this._extensions[n.extensionName];let o=t.binary?2:1,a=t.compress;if(this._firstFragment?(this._firstFragment=!1,a&&i&&i.params[i._isServer?"server_no_context_takeover":"client_no_context_takeover"]&&(a=s.length>=i._threshold),this._compress=a):(a=!1,o=0),t.fin&&(this._firstFragment=!0),i){const e={fin:t.fin,rsv1:a,opcode:o,mask:t.mask,readOnly:c.readOnly};this._deflating?this.enqueue([this.dispatch,s,this._compress,e,r]):this.dispatch(s,this._compress,e,r)}else this.sendFrame(h.frame(s,{fin:t.fin,rsv1:!1,opcode:o,mask:t.mask,readOnly:c.readOnly}),r)}dispatch(e,t,r,s){if(!t)return void this.sendFrame(h.frame(e,r),s);const i=this._extensions[n.extensionName];this._bufferedBytes+=e.length,this._deflating=!0,i.compress(e,r.fin,((t,n)=>{if(this._socket.destroyed){const e=new Error("The socket was closed while data was being compressed");"function"==typeof s&&s(e);for(let t=0;t<this._queue.length;t++){const r=this._queue[t][4];"function"==typeof r&&r(e)}}else this._bufferedBytes-=e.length,this._deflating=!1,r.readOnly=!1,this.sendFrame(h.frame(n,r),s),this.dequeue()}))}dequeue(){for(;!this._deflating&&this._queue.length;){const e=this._queue.shift();this._bufferedBytes-=e[1].length,Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[1].length,this._queue.push(e)}sendFrame(e,t){2===e.length?(this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],t),this._socket.uncork()):this._socket.write(e[0],t)}}e.exports=h},"./node_modules/ws/lib/stream.js":(e,t,r)=>{"use strict";const{Duplex:s}=r("stream");function n(e){e.emit("close")}function i(){!this.destroyed&&this._writableState.finished&&this.destroy()}function o(e){this.removeListener("error",o),this.destroy(),0===this.listenerCount("error")&&this.emit("error",e)}e.exports=function(e,t){let r=!0,a=!0;function c(){r&&e._socket.resume()}e.readyState===e.CONNECTING?e.once("open",(function(){e._receiver.removeAllListeners("drain"),e._receiver.on("drain",c)})):(e._receiver.removeAllListeners("drain"),e._receiver.on("drain",c));const l=new s({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",(function(t,s){const n=!s&&l._readableState.objectMode?t.toString():t;l.push(n)||(r=!1,e._socket.pause())})),e.once("error",(function(e){l.destroyed||(a=!1,l.destroy(e))})),e.once("close",(function(){l.destroyed||l.push(null)})),l._destroy=function(t,r){if(e.readyState===e.CLOSED)return r(t),void process.nextTick(n,l);let s=!1;e.once("error",(function(e){s=!0,r(e)})),e.once("close",(function(){s||r(t),process.nextTick(n,l)})),a&&e.terminate()},l._final=function(t){e.readyState!==e.CONNECTING?null!==e._socket&&(e._socket._writableState.finished?(t(),l._readableState.endEmitted&&l.destroy()):(e._socket.once("finish",(function(){t()})),e.close())):e.once("open",(function(){l._final(t)}))},l._read=function(){e.readyState!==e.OPEN||r||(r=!0,e._receiver._writableState.needDrain||e._socket.resume())},l._write=function(t,r,s){e.readyState!==e.CONNECTING?e.send(t,s):e.once("open",(function(){l._write(t,r,s)}))},l.on("end",i),l.on("error",o),l}},"./node_modules/ws/lib/subprotocol.js":(e,t,r)=>{"use strict";const{tokenChars:s}=r("./node_modules/ws/lib/validation.js");e.exports={parse:function(e){const t=new Set;let r=-1,n=-1,i=0;for(;i<e.length;i++){const o=e.charCodeAt(i);if(-1===n&&1===s[o])-1===r&&(r=i);else if(0===i||32!==o&&9!==o){if(44!==o)throw new SyntaxError(`Unexpected character at index ${i}`);{if(-1===r)throw new SyntaxError(`Unexpected character at index ${i}`);-1===n&&(n=i);const s=e.slice(r,n);if(t.has(s))throw new SyntaxError(`The "${s}" subprotocol is duplicated`);t.add(s),r=n=-1}}else-1===n&&-1!==r&&(n=i)}if(-1===r||-1!==n)throw new SyntaxError("Unexpected end of input");const o=e.slice(r,i);if(t.has(o))throw new SyntaxError(`The "${o}" subprotocol is duplicated`);return t.add(o),t}}},"./node_modules/ws/lib/validation.js":(e,t,r)=>{"use strict";const s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function n(e){return e>=1e3&&e<=1014&&1004!==e&&1005!==e&&1006!==e||e>=3e3&&e<=4999}function i(e){const t=e.length;let r=0;for(;r<t;)if(0==(128&e[r]))r++;else if(192==(224&e[r])){if(r+1===t||128!=(192&e[r+1])||192==(254&e[r]))return!1;r+=2}else if(224==(240&e[r])){if(r+2>=t||128!=(192&e[r+1])||128!=(192&e[r+2])||224===e[r]&&128==(224&e[r+1])||237===e[r]&&160==(224&e[r+1]))return!1;r+=3}else{if(240!=(248&e[r]))return!1;if(r+3>=t||128!=(192&e[r+1])||128!=(192&e[r+2])||128!=(192&e[r+3])||240===e[r]&&128==(240&e[r+1])||244===e[r]&&e[r+1]>143||e[r]>244)return!1;r+=4}return!0}try{const t=r("utf-8-validate");e.exports={isValidStatusCode:n,isValidUTF8:e=>e.length<150?i(e):t(e),tokenChars:s}}catch(t){e.exports={isValidStatusCode:n,isValidUTF8:i,tokenChars:s}}},"./node_modules/ws/lib/websocket-server.js":(e,t,r)=>{"use strict";const s=r("events"),n=r("http"),{createHash:i}=(r("https"),r("net"),r("tls"),r("crypto")),o=r("./node_modules/ws/lib/extension.js"),a=r("./node_modules/ws/lib/permessage-deflate.js"),c=r("./node_modules/ws/lib/subprotocol.js"),l=r("./node_modules/ws/lib/websocket.js"),{GUID:h,kWebSocket:u}=r("./node_modules/ws/lib/constants.js"),p=/^[+/0-9A-Za-z]{22}==$/;function d(e){e._state=2,e.emit("close")}function f(){this.destroy()}function m(e,t,r,s){e.writable&&(r=r||n.STATUS_CODES[t],s={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(r),...s},e.write(`HTTP/1.1 ${t} ${n.STATUS_CODES[t]}\r\n`+Object.keys(s).map((e=>`${e}: ${s[e]}`)).join("\r\n")+"\r\n\r\n"+r)),e.removeListener("error",f),e.destroy()}e.exports=class extends s{constructor(e,t){if(super(),null==(e={maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,...e}).port&&!e.server&&!e.noServer||null!=e.port&&(e.server||e.noServer)||e.server&&e.noServer)throw new TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(null!=e.port?(this._server=n.createServer(((e,t)=>{const r=n.STATUS_CODES[426];t.writeHead(426,{"Content-Length":r.length,"Content-Type":"text/plain"}),t.end(r)})),this._server.listen(e.port,e.host,e.backlog,t)):e.server&&(this._server=e.server),this._server){const e=this.emit.bind(this,"connection");this._removeListeners=function(e,t){for(const r of Object.keys(t))e.on(r,t[r]);return function(){for(const r of Object.keys(t))e.removeListener(r,t[r])}}(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(t,r,s)=>{this.handleUpgrade(t,r,s,e)}})}!0===e.perMessageDeflate&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set,this._shouldEmitClose=!1),this.options=e,this._state=0}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(2===this._state)return e&&this.once("close",(()=>{e(new Error("The server is not running"))})),void process.nextTick(d,this);if(e&&this.once("close",e),1!==this._state)if(this._state=1,this.options.noServer||this.options.server)this._server&&(this._removeListeners(),this._removeListeners=this._server=null),this.clients&&this.clients.size?this._shouldEmitClose=!0:process.nextTick(d,this);else{const e=this._server;this._removeListeners(),this._removeListeners=this._server=null,e.close((()=>{d(this)}))}}shouldHandle(e){if(this.options.path){const t=e.url.indexOf("?");if((-1!==t?e.url.slice(0,t):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,t,r,s){t.on("error",f);const n=void 0!==e.headers["sec-websocket-key"]&&e.headers["sec-websocket-key"],i=+e.headers["sec-websocket-version"];if("GET"!==e.method||"websocket"!==e.headers.upgrade.toLowerCase()||!n||!p.test(n)||8!==i&&13!==i||!this.shouldHandle(e))return m(t,400);const l=e.headers["sec-websocket-protocol"];let h=new Set;if(void 0!==l)try{h=c.parse(l)}catch(e){return m(t,400)}const u=e.headers["sec-websocket-extensions"],d={};if(this.options.perMessageDeflate&&void 0!==u){const e=new a(this.options.perMessageDeflate,!0,this.options.maxPayload);try{const t=o.parse(u);t[a.extensionName]&&(e.accept(t[a.extensionName]),d[a.extensionName]=e)}catch(e){return m(t,400)}}if(this.options.verifyClient){const o={origin:e.headers[8===i?"sec-websocket-origin":"origin"],secure:!(!e.socket.authorized&&!e.socket.encrypted),req:e};if(2===this.options.verifyClient.length)return void this.options.verifyClient(o,((i,o,a,c)=>{if(!i)return m(t,o||401,a,c);this.completeUpgrade(d,n,h,e,t,r,s)}));if(!this.options.verifyClient(o))return m(t,401)}this.completeUpgrade(d,n,h,e,t,r,s)}completeUpgrade(e,t,r,s,n,c,p){if(!n.readable||!n.writable)return n.destroy();if(n[u])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return m(n,503);const g=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${i("sha1").update(t+h).digest("base64")}`],y=new l(null);if(r.size){const e=this.options.handleProtocols?this.options.handleProtocols(r,s):r.values().next().value;e&&(g.push(`Sec-WebSocket-Protocol: ${e}`),y._protocol=e)}if(e[a.extensionName]){const t=e[a.extensionName].params,r=o.format({[a.extensionName]:[t]});g.push(`Sec-WebSocket-Extensions: ${r}`),y._extensions=e}this.emit("headers",g,s),n.write(g.concat("\r\n").join("\r\n")),n.removeListener("error",f),y.setSocket(n,c,{maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients&&(this.clients.add(y),y.on("close",(()=>{this.clients.delete(y),this._shouldEmitClose&&!this.clients.size&&process.nextTick(d,this)}))),p(y,s)}}},"./node_modules/ws/lib/websocket.js":(e,t,r)=>{"use strict";const s=r("events"),n=r("https"),i=r("http"),o=r("net"),a=r("tls"),{randomBytes:c,createHash:l}=r("crypto"),{Readable:h}=r("stream"),{URL:u}=r("url"),p=r("./node_modules/ws/lib/permessage-deflate.js"),d=r("./node_modules/ws/lib/receiver.js"),f=r("./node_modules/ws/lib/sender.js"),{BINARY_TYPES:m,EMPTY_BUFFER:g,GUID:y,kForOnEventAttribute:b,kListener:v,kStatusCode:x,kWebSocket:w,NOOP:E}=r("./node_modules/ws/lib/constants.js"),{EventTarget:{addEventListener:S,removeEventListener:_}}=r("./node_modules/ws/lib/event-target.js"),{format:T,parse:P}=r("./node_modules/ws/lib/extension.js"),{toBuffer:A}=r("./node_modules/ws/lib/buffer-util.js"),C=["CONNECTING","OPEN","CLOSING","CLOSED"],k=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/,O=[8,13];class N extends s{constructor(e,t,r){super(),this._binaryType=m[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=g,this._closeTimer=null,this._extensions={},this._protocol="",this._readyState=N.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,null!==e?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,void 0===t?t=[]:Array.isArray(t)||("object"==typeof t&&null!==t?(r=t,t=[]):t=[t]),I(this,e,t,r)):this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(e){m.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,r){const s=new d({binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:r.maxPayload,skipUTF8Validation:r.skipUTF8Validation});this._sender=new f(e,this._extensions),this._receiver=s,this._socket=e,s[w]=this,e[w]=this,s.on("conclude",j),s.on("drain",F),s.on("error",B),s.on("message",q),s.on("ping",$),s.on("pong",H),e.setTimeout(0),e.setNoDelay(),t.length>0&&e.unshift(t),e.on("close",W),e.on("data",G),e.on("end",z),e.on("error",K),this._readyState=N.OPEN,this.emit("open")}emitClose(){if(!this._socket)return this._readyState=N.CLOSED,void this.emit("close",this._closeCode,this._closeMessage);this._extensions[p.extensionName]&&this._extensions[p.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=N.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState!==N.CLOSED){if(this.readyState===N.CONNECTING){const e="WebSocket was closed before the connection was established";return M(this,this._req,e)}this.readyState!==N.CLOSING?(this._readyState=N.CLOSING,this._sender.close(e,t,!this._isServer,(e=>{e||(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())})),this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),3e4)):this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end()}}ping(e,t,r){if(this.readyState===N.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(r=e,e=t=void 0):"function"==typeof t&&(r=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===N.OPEN?(void 0===t&&(t=!this._isServer),this._sender.ping(e||g,t,r)):D(this,e,r)}pong(e,t,r){if(this.readyState===N.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(r=e,e=t=void 0):"function"==typeof t&&(r=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===N.OPEN?(void 0===t&&(t=!this._isServer),this._sender.pong(e||g,t,r)):D(this,e,r)}send(e,t,r){if(this.readyState===N.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof t&&(r=t,t={}),"number"==typeof e&&(e=e.toString()),this.readyState!==N.OPEN)return void D(this,e,r);const s={binary:"string"!=typeof e,mask:!this._isServer,compress:!0,fin:!0,...t};this._extensions[p.extensionName]||(s.compress=!1),this._sender.send(e||g,s,r)}terminate(){if(this.readyState!==N.CLOSED){if(this.readyState===N.CONNECTING){const e="WebSocket was closed before the connection was established";return M(this,this._req,e)}this._socket&&(this._readyState=N.CLOSING,this._socket.destroy())}}}function I(e,t,r,s){const o={protocolVersion:O[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...s,createConnection:void 0,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:void 0,host:void 0,path:void 0,port:void 0};if(!O.includes(o.protocolVersion))throw new RangeError(`Unsupported protocol version: ${o.protocolVersion} (supported versions: ${O.join(", ")})`);let a;if(t instanceof u)a=t,e._url=t.href;else{try{a=new u(t)}catch(e){throw new SyntaxError(`Invalid URL: ${t}`)}e._url=t}const h="wss:"===a.protocol,d="ws+unix:"===a.protocol;if("ws:"!==a.protocol&&!h&&!d)throw new SyntaxError('The URL\'s protocol must be one of "ws:", "wss:", or "ws+unix:"');if(d&&!a.pathname)throw new SyntaxError("The URL's pathname is empty");if(a.hash)throw new SyntaxError("The URL contains a fragment identifier");const f=h?443:80,m=c(16).toString("base64"),g=h?n.get:i.get,b=new Set;let v;if(o.createConnection=h?L:R,o.defaultPort=o.defaultPort||f,o.port=a.port||f,o.host=a.hostname.startsWith("[")?a.hostname.slice(1,-1):a.hostname,o.headers={"Sec-WebSocket-Version":o.protocolVersion,"Sec-WebSocket-Key":m,Connection:"Upgrade",Upgrade:"websocket",...o.headers},o.path=a.pathname+a.search,o.timeout=o.handshakeTimeout,o.perMessageDeflate&&(v=new p(!0!==o.perMessageDeflate?o.perMessageDeflate:{},!1,o.maxPayload),o.headers["Sec-WebSocket-Extensions"]=T({[p.extensionName]:v.offer()})),r.length){for(const e of r){if("string"!=typeof e||!k.test(e)||b.has(e))throw new SyntaxError("An invalid or duplicated subprotocol was specified");b.add(e)}o.headers["Sec-WebSocket-Protocol"]=r.join(",")}if(o.origin&&(o.protocolVersion<13?o.headers["Sec-WebSocket-Origin"]=o.origin:o.headers.Origin=o.origin),(a.username||a.password)&&(o.auth=`${a.username}:${a.password}`),d){const e=o.path.split(":");o.socketPath=e[0],o.path=e[1]}let x=e._req=g(o);o.timeout&&x.on("timeout",(()=>{M(e,x,"Opening handshake has timed out")})),x.on("error",(t=>{null===x||x.aborted||(x=e._req=null,e._readyState=N.CLOSING,e.emit("error",t),e.emitClose())})),x.on("response",(n=>{const i=n.headers.location,a=n.statusCode;if(i&&o.followRedirects&&a>=300&&a<400){if(++e._redirects>o.maxRedirects)return void M(e,x,"Maximum redirects exceeded");x.abort();const n=new u(i,t);I(e,n,r,s)}else e.emit("unexpected-response",x,n)||M(e,x,`Unexpected server response: ${n.statusCode}`)})),x.on("upgrade",((t,r,s)=>{if(e.emit("upgrade",t),e.readyState!==N.CONNECTING)return;x=e._req=null;const n=l("sha1").update(m+y).digest("base64");if(t.headers["sec-websocket-accept"]!==n)return void M(e,r,"Invalid Sec-WebSocket-Accept header");const i=t.headers["sec-websocket-protocol"];let a;if(void 0!==i?b.size?b.has(i)||(a="Server sent an invalid subprotocol"):a="Server sent a subprotocol but none was requested":b.size&&(a="Server sent no subprotocol"),a)return void M(e,r,a);i&&(e._protocol=i);const c=t.headers["sec-websocket-extensions"];if(void 0!==c){if(!v)return void M(e,r,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");let t;try{t=P(c)}catch(t){return void M(e,r,"Invalid Sec-WebSocket-Extensions header")}const s=Object.keys(t);if(1!==s.length||s[0]!==p.extensionName)return void M(e,r,"Server indicated an extension that was not requested");try{v.accept(t[p.extensionName])}catch(t){return void M(e,r,"Invalid Sec-WebSocket-Extensions header")}e._extensions[p.extensionName]=v}e.setSocket(r,s,{maxPayload:o.maxPayload,skipUTF8Validation:o.skipUTF8Validation})}))}function R(e){return e.path=e.socketPath,o.connect(e)}function L(e){return e.path=void 0,e.servername||""===e.servername||(e.servername=o.isIP(e.host)?"":e.host),a.connect(e)}function M(e,t,r){e._readyState=N.CLOSING;const s=new Error(r);Error.captureStackTrace(s,M),t.setHeader?(t.abort(),t.socket&&!t.socket.destroyed&&t.socket.destroy(),t.once("abort",e.emitClose.bind(e)),e.emit("error",s)):(t.destroy(s),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e)))}function D(e,t,r){if(t){const r=A(t).length;e._socket?e._sender._bufferedBytes+=r:e._bufferedAmount+=r}r&&r(new Error(`WebSocket is not open: readyState ${e.readyState} (${C[e.readyState]})`))}function j(e,t){const r=this[w];r._closeFrameReceived=!0,r._closeMessage=t,r._closeCode=e,void 0!==r._socket[w]&&(r._socket.removeListener("data",G),process.nextTick(V,r._socket),1005===e?r.close():r.close(e,t))}function F(){this[w]._socket.resume()}function B(e){const t=this[w];void 0!==t._socket[w]&&(t._socket.removeListener("data",G),process.nextTick(V,t._socket),t.close(e[x])),t.emit("error",e)}function U(){this[w].emitClose()}function q(e,t){this[w].emit("message",e,t)}function $(e){const t=this[w];t.pong(e,!t._isServer,E),t.emit("ping",e)}function H(e){this[w].emit("pong",e)}function V(e){e.resume()}function W(){const e=this[w];let t;this.removeListener("close",W),this.removeListener("data",G),this.removeListener("end",z),e._readyState=N.CLOSING,this._readableState.endEmitted||e._closeFrameReceived||e._receiver._writableState.errorEmitted||null===(t=e._socket.read())||e._receiver.write(t),e._receiver.end(),this[w]=void 0,clearTimeout(e._closeTimer),e._receiver._writableState.finished||e._receiver._writableState.errorEmitted?e.emitClose():(e._receiver.on("error",U),e._receiver.on("finish",U))}function G(e){this[w]._receiver.write(e)||this.pause()}function z(){const e=this[w];e._readyState=N.CLOSING,e._receiver.end(),this.end()}function K(){const e=this[w];this.removeListener("error",K),this.on("error",E),e&&(e._readyState=N.CLOSING,this.destroy())}Object.defineProperty(N,"CONNECTING",{enumerable:!0,value:C.indexOf("CONNECTING")}),Object.defineProperty(N.prototype,"CONNECTING",{enumerable:!0,value:C.indexOf("CONNECTING")}),Object.defineProperty(N,"OPEN",{enumerable:!0,value:C.indexOf("OPEN")}),Object.defineProperty(N.prototype,"OPEN",{enumerable:!0,value:C.indexOf("OPEN")}),Object.defineProperty(N,"CLOSING",{enumerable:!0,value:C.indexOf("CLOSING")}),Object.defineProperty(N.prototype,"CLOSING",{enumerable:!0,value:C.indexOf("CLOSING")}),Object.defineProperty(N,"CLOSED",{enumerable:!0,value:C.indexOf("CLOSED")}),Object.defineProperty(N.prototype,"CLOSED",{enumerable:!0,value:C.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","protocol","readyState","url"].forEach((e=>{Object.defineProperty(N.prototype,e,{enumerable:!0})})),["open","error","close","message"].forEach((e=>{Object.defineProperty(N.prototype,`on${e}`,{enumerable:!0,get(){for(const t of this.listeners(e))if(t[b])return t[v];return null},set(t){for(const t of this.listeners(e))if(t[b]){this.removeListener(e,t);break}"function"==typeof t&&this.addEventListener(e,t,{[b]:!0})}})})),N.prototype.addEventListener=S,N.prototype.removeEventListener=_,e.exports=N},bufferutil:e=>{"use strict";e.exports=r(864)},fsevents:e=>{"use strict";e.exports=r(943)},"utf-8-validate":e=>{"use strict";e.exports=r(239)},child_process:e=>{"use strict";e.exports=r(81)},crypto:e=>{"use strict";e.exports=r(113)},events:e=>{"use strict";e.exports=r(361)},fs:e=>{"use strict";e.exports=r(358)},http:e=>{"use strict";e.exports=r(685)},https:e=>{"use strict";e.exports=r(687)},module:e=>{"use strict";e.exports=r(188)},net:e=>{"use strict";e.exports=r(808)},os:e=>{"use strict";e.exports=r(37)},path:e=>{"use strict";e.exports=r(17)},stream:e=>{"use strict";e.exports=r(781)},tls:e=>{"use strict";e.exports=r(404)},tty:e=>{"use strict";e.exports=r(224)},url:e=>{"use strict";e.exports=r(310)},util:e=>{"use strict";e.exports=r(837)},zlib:e=>{"use strict";e.exports=r(796)},"../../node_modules/@babel/runtime/helpers/arrayLikeToArray.js":e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/arrayWithHoles.js":e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/arrayLikeToArray.js");e.exports=function(e){if(Array.isArray(e))return s(e)},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/asyncToGenerator.js":e=>{function t(e,t,r,s,n,i,o){try{var a=e[i](o),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(s,n)}e.exports=function(e){return function(){var r=this,s=arguments;return new Promise((function(n,i){var o=e.apply(r,s);function a(e){t(o,n,i,a,c,"next",e)}function c(e){t(o,n,i,a,c,"throw",e)}a(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/classCallCheck.js":e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/createClass.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/toPropertyKey.js");function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/defineProperty.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/toPropertyKey.js");e.exports=function(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/iterableToArray.js":e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js":e=>{e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var s,n,i,o,a=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(s=i.call(r)).done)&&(a.push(s.value),a.length!==t);c=!0);}catch(e){l=!0,n=e}finally{try{if(!c&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(l)throw n}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/nonIterableRest.js":e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/nonIterableSpread.js":e=>{e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/objectWithoutProperties.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js");e.exports=function(e,t){if(null==e)return{};var r,n,i=s(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js":e=>{e.exports=function(e,t){if(null==e)return{};var r,s,n={},i=Object.keys(e);for(s=0;s<i.length;s++)r=i[s],t.indexOf(r)>=0||(n[r]=e[r]);return n},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/typeof.js").default;function n(){"use strict";e.exports=n=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,i=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",h=a.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function p(e,t,r,s){var n=t&&t.prototype instanceof m?t:m,i=Object.create(n.prototype),a=new C(s||[]);return o(i,"_invoke",{value:_(e,r,a)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var f={};function m(){}function g(){}function y(){}var b={};u(b,c,(function(){return this}));var v=Object.getPrototypeOf,x=v&&v(v(k([])));x&&x!==r&&i.call(x,c)&&(b=x);var w=y.prototype=m.prototype=Object.create(b);function E(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function r(n,o,a,c){var l=d(e[n],e,o);if("throw"!==l.type){var h=l.arg,u=h.value;return u&&"object"==s(u)&&i.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(u).then((function(e){h.value=e,a(h)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var n;o(this,"_invoke",{value:function(e,s){function i(){return new t((function(t,n){r(e,s,t,n)}))}return n=n?n.then(i,i):i()}})}function _(e,t,r){var s="suspendedStart";return function(n,i){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===n)throw i;return{value:void 0,done:!0}}for(r.method=n,r.arg=i;;){var o=r.delegate;if(o){var a=T(o,r);if(a){if(a===f)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===s)throw s="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);s="executing";var c=d(e,t,r);if("normal"===c.type){if(s=r.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(s="completed",r.method="throw",r.arg=c.arg)}}}function T(e,t){var r=t.method,s=e.iterator[r];if(void 0===s)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,T(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var n=d(s,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,f;var i=n.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function k(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,s=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return s.next=s}}return{next:O}}function O(){return{value:void 0,done:!0}}return g.prototype=y,o(w,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:g,configurable:!0}),g.displayName=u(y,h,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,u(e,h,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},E(S.prototype),u(S.prototype,l,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,s,n,i){void 0===i&&(i=Promise);var o=new S(p(e,r,s,n),i);return t.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},E(w),u(w,h,"Generator"),u(w,c,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var s in t)r.push(s);return r.reverse(),function e(){for(;r.length;){var s=r.pop();if(s in t)return e.value=s,e.done=!1,e}return e.done=!0,e}},t.values=k,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,s){return o.type="throw",o.arg=e,t.next=r,s&&(t.method="next",t.arg=void 0),!!s}for(var s=this.tryEntries.length-1;s>=0;--s){var n=this.tryEntries[s],o=n.completion;if("root"===n.tryLoc)return r("end");if(n.tryLoc<=this.prev){var a=i.call(n,"catchLoc"),c=i.call(n,"finallyLoc");if(a&&c){if(this.prev<n.catchLoc)return r(n.catchLoc,!0);if(this.prev<n.finallyLoc)return r(n.finallyLoc)}else if(a){if(this.prev<n.catchLoc)return r(n.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return r(n.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var s=this.tryEntries[r];if(s.tryLoc<=this.prev&&i.call(s,"finallyLoc")&&this.prev<s.finallyLoc){var n=s;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var o=n?n.completion:{};return o.type=e,o.arg=t,n?(this.method="next",this.next=n.finallyLoc,f):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var s=r.completion;if("throw"===s.type){var n=s.arg;A(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:k(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/slicedToArray.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/arrayWithHoles.js"),n=r("../../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"),i=r("../../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"),o=r("../../node_modules/@babel/runtime/helpers/nonIterableRest.js");e.exports=function(e,t){return s(e)||n(e,t)||i(e,t)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/toConsumableArray.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"),n=r("../../node_modules/@babel/runtime/helpers/iterableToArray.js"),i=r("../../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"),o=r("../../node_modules/@babel/runtime/helpers/nonIterableSpread.js");e.exports=function(e){return s(e)||n(e)||i(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/toPrimitive.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/typeof.js").default;e.exports=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/toPropertyKey.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/typeof.js").default,n=r("../../node_modules/@babel/runtime/helpers/toPrimitive.js");e.exports=function(e){var t=n(e,"string");return"symbol"===s(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/typeof.js":e=>{function t(r){return e.exports=t="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.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/arrayLikeToArray.js");e.exports=function(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/regenerator/index.js":(e,t,r)=>{var s=r("../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js")();e.exports=s;try{regeneratorRuntime=s}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=s:Function("r","regeneratorRuntime = r")(s)}},"../../node_modules/@socket.io/component-emitter/index.mjs":(e,t,r)=>{"use strict";function s(e){if(e)return function(e){for(var t in s.prototype)e[t]=s.prototype[t];return e}(e)}r.r(t),r.d(t,{Emitter:()=>s}),s.prototype.on=s.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},s.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this},s.prototype.off=s.prototype.removeListener=s.prototype.removeAllListeners=s.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,s=this._callbacks["$"+e];if(!s)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var n=0;n<s.length;n++)if((r=s[n])===t||r.fn===t){s.splice(n,1);break}return 0===s.length&&delete this._callbacks["$"+e],this},s.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),r=this._callbacks["$"+e],s=1;s<arguments.length;s++)t[s-1]=arguments[s];if(r){s=0;for(var n=(r=r.slice(0)).length;s<n;++s)r[s].apply(this,t)}return this},s.prototype.emitReserved=s.prototype.emit,s.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},s.prototype.hasListeners=function(e){return!!this.listeners(e).length}},"../../src/framework-mgmt/pinegrow-config-manager.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{getPinegrowConfig:()=>h});var s=r("../../node_modules/@babel/runtime/helpers/typeof.js"),n=r("path"),i=r("fs"),o=r("module"),a=r("../../node_modules/chokidar/index.js"),c=(0,o.createRequire)("file:///Users/techakayy/Pinegrow/PinegrowCode/frameworks/vue-svelte-designer/src/framework-mgmt/pinegrow-config-manager.js"),l=function(e){return!(!i.existsSync(e)||!i.statSync(e).isFile())},h=function(e,t){var r,i="pinegrow.config.js";try{var o=n.resolve(e,"pinegrow.config.js");if(!l(o)){if(o=n.resolve(e,"pinegrow.config.cjs"),!l(o))return;i="pinegrow.config.cjs"}if(t)try{r=function(e,t){var r=a.watch(e,{ignoreInitial:!0,awaitWriteFinish:{stabilityThreshold:1e3,pollInterval:100}});return r.on("unlink",(function(e){return r.unwatch(e)})).on("add",(function(e){delete c.cache[e],t(e)})).on("change",(function(e){delete c.cache[e],t(e)})).on("error",(function(e){console.log(e),console.log("Pinegrow: An error occured. Try re-starting your dev-server and re-opening your project!")})),r}(o,t)}catch(e){console.log(e),console.log("Pinegrow: Unable to watch ".concat(i,"!"))}try{var h=c(o);if(delete c.cache[o],h&&"object"===s(h))return{pinegrowConfig:h,pinegrowConfigWatcher:r}}catch(e){console.log(e),console.log("Pinegrow: Unable to process ".concat(i,"!"))}}catch(e){console.log(e)}}},"../../src/framework-mgmt/transform-plugins.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{resolvePathAlias:()=>d,transformPluginsArray:()=>f});var s=r("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),n=r("../../node_modules/@babel/runtime/helpers/defineProperty.js"),i=r("../../node_modules/@babel/runtime/helpers/typeof.js"),o=r("path"),a=r("fs");function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s}var u=(0,r("module").createRequire)("file:///Users/techakayy/Pinegrow/PinegrowCode/frameworks/vue-svelte-designer/src/framework-mgmt/transform-plugins.js"),p=function(e){return!(!a.existsSync(e)||!a.statSync(e).isFile())},d=function(e,t){var r=e;if(t&&t.length){var s,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var s=0,n=function(){};return{s:n,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}(t);try{for(n.s();!(s=n.n()).done;){var i=s.value,o=i.replacement,a=i.regex,c=a?new RegExp(i.find.source,i.find.flags):i.find,l=!1;if(a&&c.test(e)&&(l=!0),!a&&e.startsWith(c)&&(l=!0),l){r=e.replace(c,o);break}}}catch(e){n.e(e)}finally{n.f()}}return r},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{plugins:[]},t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],h=e.plugins,f={},m=o.resolve(t,"node_modules");if(h.forEach((function(e){try{var t,s,n,a,h={};if(Array.isArray(e)||"object"!==i(e)||(e=[e]),"string"==typeof e){var u=d(e,c);o.isAbsolute(u)||(u=o.resolve(r,u)),e=p(u)?[{dependencyRoot:o.dirname(u),pluginPath:u}]:[e]}if(Array.isArray(e)&&e.length){if("string"==typeof e[0]&&(t=e[0],s=o.resolve(m,t)),"object"===i(e[0])&&(t=(h=e[0]).dependency,s=h.dependencyRoot,h.options&&(a=l(l({},a),h.options)),h.pluginPath)){var g=d(h.pluginPath,c);if(!o.isAbsolute(g)){var y=h.dependencyRoot||r;g=o.resolve(y,g)}p(g)?(s=s||o.dirname(g),n=g):(console.log(e),console.log("Pinegrow: The pluginPath of the above plugin doesn't exist at ".concat(g," and was ignored. Make sure the plugin file exists!")),s=o.dirname(g),n=g)}e[1]&&("object"===i(e[1])?a=l(l({},a),e[1]):(console.log(e),console.log("Pinegrow: The above plugin's options were ignored. Make sure it's of type Object!")))}s&&(f[s]=l(l({},h),{},{dependency:t,dependencyRoot:s,pluginPath:n,options:a}))}catch(e){console.log(e),console.log("Pinegrow: An error occured when processing plugins!")}})),n){var g=o.resolve(t,"node_modules","@pinegrow");try{a.readdirSync(g).filter((function(e){return e.endsWith("-plugin")&&"vite-plugin"!==e})).forEach((function(e){var t,r=o.resolve(g,e);t=r,a.existsSync(t)&&a.statSync(t).isDirectory()&&!f[r]&&(f[r]={dependency:"@pinegrow/".concat(e),dependencyRoot:r})}))}catch(e){}}Object.entries(f).filter((function(e){var t=s(e,2),r=t[0],n=t[1];return n.dependency&&!n.pluginPath&&!r.endsWith("@pinegrow/vite-plugin")})).forEach((function(e){var t=s(e,2),n=t[0],i=t[1],a=i.dependency,l=i.options;try{var h,m;try{h=u(n),u.resolve(n)}catch(e){}if(!h)return;if("function"==typeof(h=h.default||h))return;if(h.pluginPath){var g=d(h.pluginPath,c);if(!o.isAbsolute(g)){var y=h.dependencyRoot||r;g=o.resolve(y,g)}p(g)?m=g:console.log("Pinegrow: The pluginPath of ".concat(h.dependency," doesn't exist at ").concat(g," and was ignored. Make sure the plugin file exists!"))}f[n]={dependency:a,dependencyRoot:n,name:h.name,key:h.key,productKey:h.productKey,library:h.library,syncWithLibrarySemVer:h.syncWithLibrarySemVer,pluginPath:m,options:l,themeTemplate:h.themeTemplate,init:h.init,invalid:h.invalid}}catch(e){console.log(e),console.log("Pinegrow: Unable to load plugin: ".concat(a))}}));var y,b=Object.values(f).filter((function(e){return e.key})).map((function(e){return e.key})),v=(y=b).filter((function(e,t){return y.indexOf(e)!==t}));return v.length&&console.log("Pinegrow: The key".concat(1===v.length?"":"s"," ").concat(v.join(", ")," ").concat(1===v.length?"was":"were"," used in multiple plugins which can cause issues. Make sure duplicate keys are not used!")),Object.entries(f).filter((function(e){var t=s(e,2);return t[0],t[1].key})).forEach((function(t){var r=s(t,2),n=(r[0],r[1]),o=e[n.key];o&&"object"===i(o)&&(n.options=l(l({},n.options),o))})),Object.entries(f).forEach((function(e){var t=s(e,2),n=(t[0],t[1]);if(n.name=n.name||n.dependency||n.key||n.productKey||n.pluginPath||n.dependencyRoot,n.dependency=n.dependency||n.pluginPath||n.dependencyRoot,n.activeInProject=!0,n.options){var i=n.options;try{Object.entries(i).forEach((function(e){var t=s(e,2),n=t[0],a=t[1];if(n&&(n.toLowerCase().endsWith("file")||n.toLowerCase().endsWith("path")||n.toLowerCase().endsWith("root"))&&a&&"string"==typeof a){var l=d(a,c);o.isAbsolute(l)||(l=o.resolve(r,l)),("themePath"===n||p(l))&&(i[n]=l)}}))}catch(e){console.log(e),console.log("Pinegrow: An error occurred when processing plugin options for plugin: ".concat(n.name))}}else n.options={};if(n.themeTemplate){var l=n.options.themePath;try{if(l)try{a.statSync(l).isDirectory()&&(l=o.resolve(l,"pg".concat(n.key?"-".concat(n.key,"-"):"-","theme.cjs")))}catch(e){}else l=o.resolve(r,"themes/pg".concat(n.key?"-".concat(n.key,"-"):"-","theme.cjs"));void 0!==n.options.restartOnConfigUpdate&&null!==n.options.restartOnConfigUpdate||(n.options.restartOnConfigUpdate=!1),n.options.themePath=l,void 0!==n.options.restartOnThemeUpdate&&null!==n.options.restartOnThemeUpdate||(n.options.restartOnThemeUpdate=!0)}catch(e){console.log(e)}}})),Object.filter(f,(function(e){var t=s(e,2);return t[0],!t[1].invalid}))}},"../../node_modules/engine.io-parser/build/esm/commons.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{ERROR_PACKET:()=>i,PACKET_TYPES:()=>s,PACKET_TYPES_REVERSE:()=>n});const s=Object.create(null);s.open="0",s.close="1",s.ping="2",s.pong="3",s.message="4",s.upgrade="5",s.noop="6";const n=Object.create(null);Object.keys(s).forEach((e=>{n[s[e]]=e}));const i={type:"error",data:"parser error"}},"../../node_modules/engine.io-parser/build/esm/decodePacket.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var s=r("../../node_modules/engine.io-parser/build/esm/commons.js");const n=(e,t)=>{const r=Buffer.isBuffer(e);return"arraybuffer"===t&&r?i(e):e},i=e=>{const t=new ArrayBuffer(e.length),r=new Uint8Array(t);for(let t=0;t<e.length;t++)r[t]=e[t];return t},o=(e,t)=>{if("string"!=typeof e)return{type:"message",data:n(e,t)};const r=e.charAt(0);if("b"===r){const r=Buffer.from(e.substring(1),"base64");return{type:"message",data:n(r,t)}}return s.PACKET_TYPES_REVERSE[r]?e.length>1?{type:s.PACKET_TYPES_REVERSE[r],data:e.substring(1)}:{type:s.PACKET_TYPES_REVERSE[r]}:s.ERROR_PACKET}},"../../node_modules/engine.io-parser/build/esm/encodePacket.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var s=r("../../node_modules/engine.io-parser/build/esm/commons.js");const n=({type:e,data:t},r,n)=>{if(t instanceof ArrayBuffer||ArrayBuffer.isView(t)){const e=(e=>Buffer.isBuffer(e)?e:e instanceof ArrayBuffer?Buffer.from(e):Buffer.from(e.buffer,e.byteOffset,e.byteLength))(t);return n(((e,t)=>t?e:"b"+e.toString("base64"))(e,r))}return n(s.PACKET_TYPES[e]+(t||""))}},"../../node_modules/engine.io-parser/build/esm/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{decodePacket:()=>n.default,decodePayload:()=>a,encodePacket:()=>s.default,encodePayload:()=>o,protocol:()=>c});var s=r("../../node_modules/engine.io-parser/build/esm/encodePacket.js"),n=r("../../node_modules/engine.io-parser/build/esm/decodePacket.js");const i=String.fromCharCode(30),o=(e,t)=>{const r=e.length,n=new Array(r);let o=0;e.forEach(((e,a)=>{(0,s.default)(e,!1,(e=>{n[a]=e,++o===r&&t(n.join(i))}))}))},a=(e,t)=>{const r=e.split(i),s=[];for(let e=0;e<r.length;e++){const i=(0,n.default)(r[e],t);if(s.push(i),"error"===i.type)break}return s},c=4},"../../node_modules/socket.io-parser/build/esm-debug/binary.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{deconstructPacket:()=>n,reconstructPacket:()=>o});var s=r("../../node_modules/socket.io-parser/build/esm-debug/is-binary.js");function n(e){const t=[],r=e.data,s=e;return s.data=i(r,t),s.attachments=t.length,{packet:s,buffers:t}}function i(e,t){if(!e)return e;if((0,s.isBinary)(e)){const r={_placeholder:!0,num:t.length};return t.push(e),r}if(Array.isArray(e)){const r=new Array(e.length);for(let s=0;s<e.length;s++)r[s]=i(e[s],t);return r}if("object"==typeof e&&!(e instanceof Date)){const r={};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=i(e[s],t));return r}return e}function o(e,t){return e.data=a(e.data,t),delete e.attachments,e}function a(e,t){if(!e)return e;if(e&&!0===e._placeholder){if("number"==typeof e.num&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}if(Array.isArray(e))for(let r=0;r<e.length;r++)e[r]=a(e[r],t);else if("object"==typeof e)for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=a(e[r],t));return e}},"../../node_modules/socket.io-parser/build/esm-debug/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Decoder:()=>h,Encoder:()=>l,PacketType:()=>c,protocol:()=>a});var s=r("../../node_modules/@socket.io/component-emitter/index.mjs"),n=r("../../node_modules/socket.io-parser/build/esm-debug/binary.js"),i=r("../../node_modules/socket.io-parser/build/esm-debug/is-binary.js");const o=r("../../node_modules/debug/src/index.js")("socket.io-parser"),a=5;var c;!function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}(c||(c={}));class l{constructor(e){this.replacer=e}encode(e){return o("encoding packet %j",e),e.type!==c.EVENT&&e.type!==c.ACK||!(0,i.hasBinary)(e)?[this.encodeAsString(e)]:this.encodeAsBinary({type:e.type===c.EVENT?c.BINARY_EVENT:c.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id})}encodeAsString(e){let t=""+e.type;return e.type!==c.BINARY_EVENT&&e.type!==c.BINARY_ACK||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),o("encoded %j as %s",e,t),t}encodeAsBinary(e){const t=(0,n.deconstructPacket)(e),r=this.encodeAsString(t.packet),s=t.buffers;return s.unshift(r),s}}class h extends s.Emitter{constructor(e){super(),this.reviver=e}add(e){let t;if("string"==typeof e){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const r=t.type===c.BINARY_EVENT;r||t.type===c.BINARY_ACK?(t.type=r?c.EVENT:c.ACK,this.reconstructor=new u(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else{if(!(0,i.isBinary)(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t))}}decodeString(e){let t=0;const r={type:Number(e.charAt(0))};if(void 0===c[r.type])throw new Error("unknown packet type "+r.type);if(r.type===c.BINARY_EVENT||r.type===c.BINARY_ACK){const s=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);const n=e.substring(s,t);if(n!=Number(n)||"-"!==e.charAt(t))throw new Error("Illegal attachments");r.attachments=Number(n)}if("/"===e.charAt(t+1)){const s=t+1;for(;++t&&","!==e.charAt(t)&&t!==e.length;);r.nsp=e.substring(s,t)}else r.nsp="/";const s=e.charAt(t+1);if(""!==s&&Number(s)==s){const s=t+1;for(;++t;){const r=e.charAt(t);if(null==r||Number(r)!=r){--t;break}if(t===e.length)break}r.id=Number(e.substring(s,t+1))}if(e.charAt(++t)){const s=this.tryParse(e.substr(t));if(!h.isPayloadValid(r.type,s))throw new Error("invalid payload");r.data=s}return o("decoded %s as %j",e,r),r}tryParse(e){try{return JSON.parse(e,this.reviver)}catch(e){return!1}}static isPayloadValid(e,t){switch(e){case c.CONNECT:return"object"==typeof t;case c.DISCONNECT:return void 0===t;case c.CONNECT_ERROR:return"string"==typeof t||"object"==typeof t;case c.EVENT:case c.BINARY_EVENT:return Array.isArray(t)&&t.length>0;case c.ACK:case c.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class u{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const e=(0,n.reconstructPacket)(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}},"../../node_modules/socket.io-parser/build/esm-debug/is-binary.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{hasBinary:()=>l,isBinary:()=>c});const s="function"==typeof ArrayBuffer,n=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,i=Object.prototype.toString,o="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===i.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===i.call(File);function c(e){return s&&(e instanceof ArrayBuffer||n(e))||o&&e instanceof Blob||a&&e instanceof File}function l(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e)){for(let t=0,r=e.length;t<r;t++)if(l(e[t]))return!0;return!1}if(c(e))return!0;if(e.toJSON&&"function"==typeof e.toJSON&&1===arguments.length)return l(e.toJSON(),!0);for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&l(e[t]))return!0;return!1}},"./node_modules/engine.io-client/build/esm-debug/contrib/parseqs.js":(e,t,r)=>{"use strict";function s(e){let t="";for(let r in e)e.hasOwnProperty(r)&&(t.length&&(t+="&"),t+=encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return t}function n(e){let t={},r=e.split("&");for(let e=0,s=r.length;e<s;e++){let s=r[e].split("=");t[decodeURIComponent(s[0])]=decodeURIComponent(s[1])}return t}r.r(t),r.d(t,{decode:()=>n,encode:()=>s})},"./node_modules/engine.io-client/build/esm-debug/contrib/parseuri.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{parse:()=>i});const s=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,n=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function i(e){const t=e,r=e.indexOf("["),i=e.indexOf("]");-1!=r&&-1!=i&&(e=e.substring(0,r)+e.substring(r,i).replace(/:/g,";")+e.substring(i,e.length));let o=s.exec(e||""),a={},c=14;for(;c--;)a[n[c]]=o[c]||"";return-1!=r&&-1!=i&&(a.source=t,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a.pathNames=function(e,t){const r=t.replace(/\/{2,9}/g,"/").split("/");return"/"!=t.slice(0,1)&&0!==t.length||r.splice(0,1),"/"==t.slice(-1)&&r.splice(r.length-1,1),r}(0,a.path),a.queryKey=function(e,t){const r={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,s){t&&(r[t]=s)})),r}(0,a.query),a}},"./node_modules/engine.io-client/build/esm-debug/contrib/yeast.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{decode:()=>h,encode:()=>l,yeast:()=>u});const s="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),n=64,i={};let o,a=0,c=0;function l(e){let t="";do{t=s[e%n]+t,e=Math.floor(e/n)}while(e>0);return t}function h(e){let t=0;for(c=0;c<e.length;c++)t=t*n+i[e.charAt(c)];return t}function u(){const e=l(+new Date);return e!==o?(a=0,o=e):e+"."+l(a++)}for(;c<n;c++)i[s[c]]=c},"./node_modules/engine.io-client/build/esm-debug/globalThis.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{globalThisShim:()=>s});const s=global},"./node_modules/engine.io-client/build/esm-debug/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Socket:()=>s.Socket,Transport:()=>n.Transport,installTimerFunctions:()=>o.installTimerFunctions,nextTick:()=>c.nextTick,parse:()=>a.parse,protocol:()=>l,transports:()=>i.transports});var s=r("./node_modules/engine.io-client/build/esm-debug/socket.js"),n=r("./node_modules/engine.io-client/build/esm-debug/transport.js"),i=r("./node_modules/engine.io-client/build/esm-debug/transports/index.js"),o=r("./node_modules/engine.io-client/build/esm-debug/util.js"),a=r("./node_modules/engine.io-client/build/esm-debug/contrib/parseuri.js"),c=r("./node_modules/engine.io-client/build/esm-debug/transports/websocket-constructor.js");const l=s.Socket.protocol},"./node_modules/engine.io-client/build/esm-debug/socket.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Socket:()=>u});var s=r("./node_modules/engine.io-client/build/esm-debug/transports/index.js"),n=r("./node_modules/engine.io-client/build/esm-debug/util.js"),i=r("./node_modules/engine.io-client/build/esm-debug/contrib/parseqs.js"),o=r("./node_modules/engine.io-client/build/esm-debug/contrib/parseuri.js"),a=r("../../node_modules/debug/src/index.js"),c=r("../../node_modules/@socket.io/component-emitter/index.mjs"),l=r("../../node_modules/engine.io-parser/build/esm/index.js");const h=a("engine.io-client:socket");class u extends c.Emitter{constructor(e,t={}){super(),e&&"object"==typeof e&&(t=e,e=null),e?(e=(0,o.parse)(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=(0,o.parse)(t.host).host),(0,n.installTimerFunctions)(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},t),this.opts.path=this.opts.path.replace(/\/$/,"")+"/","string"==typeof this.opts.query&&(this.opts.query=(0,i.decode)(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,"function"==typeof addEventListener&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){h('creating transport "%s"',e);const t=Object.assign({},this.opts.query);t.EIO=l.protocol,t.transport=e,this.id&&(t.sid=this.id);const r=Object.assign({},this.opts.transportOptions[e],this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return h("options: %j",r),new s.transports[e](r)}open(){let e;if(this.opts.rememberUpgrade&&u.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((()=>{this.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(e){return h("error while creating transport: %s",e),this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}setTransport(e){h("setting transport %s",e.name),this.transport&&(h("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(e=>this.onClose("transport close",e)))}probe(e){h('probing transport "%s"',e);let t=this.createTransport(e),r=!1;u.priorWebsocketSuccess=!1;const s=()=>{r||(h('probe transport "%s" opened',e),t.send([{type:"ping",data:"probe"}]),t.once("packet",(s=>{if(!r)if("pong"===s.type&&"probe"===s.data){if(h('probe transport "%s" pong',e),this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;u.priorWebsocketSuccess="websocket"===t.name,h('pausing current transport "%s"',this.transport.name),this.transport.pause((()=>{r||"closed"!==this.readyState&&(h("changing transport and sending upgrade packet"),l(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())}))}else{h('probe transport "%s" failed',e);const r=new Error("probe error");r.transport=t.name,this.emitReserved("upgradeError",r)}})))};function n(){r||(r=!0,l(),t.close(),t=null)}const i=r=>{const s=new Error("probe error: "+r);s.transport=t.name,n(),h('probe transport "%s" failed because of error: %s',e,r),this.emitReserved("upgradeError",s)};function o(){i("transport closed")}function a(){i("socket closed")}function c(e){t&&e.name!==t.name&&(h('"%s" works - aborting "%s"',e.name,t.name),n())}const l=()=>{t.removeListener("open",s),t.removeListener("error",i),t.removeListener("close",o),this.off("close",a),this.off("upgrading",c)};t.once("open",s),t.once("error",i),t.once("close",o),this.once("close",a),this.once("upgrading",c),t.open()}onOpen(){if(h("socket open"),this.readyState="open",u.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause){h("starting upgrade probes");let e=0;const t=this.upgrades.length;for(;e<t;e++)this.probe(this.upgrades[e])}}onPacket(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(h('socket receive: type "%s", data "%s"',e.type,e.data),this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.resetPingTimeout(),this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}else h('packet received with socket readyState "%s"',this.readyState)}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.maxPayload=e.maxPayload,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn((()=>{this.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();h("flushing %d packets in socket",e.length),this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let t=0;t<this.writeBuffer.length;t++){const r=this.writeBuffer[t].data;if(r&&(e+=(0,n.byteLength)(r)),t>0&&e>this.maxPayload)return h("only send %d out of %d packets",t,this.writeBuffer.length),this.writeBuffer.slice(0,t);e+=2}return h("payload size is %d (max: %d)",e,this.maxPayload),this.writeBuffer}write(e,t,r){return this.sendPacket("message",e,t,r),this}send(e,t,r){return this.sendPacket("message",e,t,r),this}sendPacket(e,t,r,s){if("function"==typeof t&&(s=t,t=void 0),"function"==typeof r&&(s=r,r=null),"closing"===this.readyState||"closed"===this.readyState)return;(r=r||{}).compress=!1!==r.compress;const n={type:e,data:t,options:r};this.emitReserved("packetCreate",n),this.writeBuffer.push(n),s&&this.once("flush",s),this.flush()}close(){const e=()=>{this.onClose("forced close"),h("socket closing - telling transport to close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},r=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(()=>{this.upgrading?r():e()})):this.upgrading?r():e()),this}onError(e){h("socket error %j",e),u.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(h('socket close with reason: "%s"',e),this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let r=0;const s=e.length;for(;r<s;r++)~this.transports.indexOf(e[r])&&t.push(e[r]);return t}}u.protocol=l.protocol},"./node_modules/engine.io-client/build/esm-debug/transport.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Transport:()=>c});var s=r("../../node_modules/engine.io-parser/build/esm/index.js"),n=r("../../node_modules/@socket.io/component-emitter/index.mjs"),i=r("./node_modules/engine.io-client/build/esm-debug/util.js");const o=r("../../node_modules/debug/src/index.js")("engine.io-client:transport");class a extends Error{constructor(e,t,r){super(e),this.description=t,this.context=r,this.type="TransportError"}}class c extends n.Emitter{constructor(e){super(),this.writable=!1,(0,i.installTimerFunctions)(this,e),this.opts=e,this.query=e.query,this.readyState="",this.socket=e.socket}onError(e,t,r){return super.emitReserved("error",new a(e,t,r)),this}open(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this}close(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState?this.write(e):o("transport is not open, discarding packets")}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=(0,s.decodePacket)(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}}},"./node_modules/engine.io-client/build/esm-debug/transports/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{transports:()=>n});var s=r("./node_modules/engine.io-client/build/esm-debug/transports/polling.js");const n={websocket:r("./node_modules/engine.io-client/build/esm-debug/transports/websocket.js").WS,polling:s.Polling}},"./node_modules/engine.io-client/build/esm-debug/transports/polling.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Polling:()=>m,Request:()=>g});var s=r("./node_modules/engine.io-client/build/esm-debug/transport.js"),n=r("../../node_modules/debug/src/index.js"),i=r("./node_modules/engine.io-client/build/esm-debug/contrib/yeast.js"),o=r("./node_modules/engine.io-client/build/esm-debug/contrib/parseqs.js"),a=r("../../node_modules/engine.io-parser/build/esm/index.js"),c=r("./node_modules/engine.io-client/build/esm-debug/transports/xmlhttprequest.js"),l=r("../../node_modules/@socket.io/component-emitter/index.mjs"),h=r("./node_modules/engine.io-client/build/esm-debug/util.js"),u=r("./node_modules/engine.io-client/build/esm-debug/globalThis.js");const p=n("engine.io-client:polling");function d(){}const f=null!=new c.XHR({xdomain:!1}).responseType;class m extends s.Transport{constructor(e){if(super(e),this.polling=!1,"undefined"!=typeof location){const t="https:"===location.protocol;let r=location.port;r||(r=t?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||r!==e.port,this.xs=e.secure!==t}const t=e&&e.forceBase64;this.supportsBinary=f&&!t}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const t=()=>{p("paused"),this.readyState="paused",e()};if(this.polling||!this.writable){let e=0;this.polling&&(p("we are currently polling - waiting to pause"),e++,this.once("pollComplete",(function(){p("pre-pause polling complete"),--e||t()}))),this.writable||(p("we are currently writing - waiting to pause"),e++,this.once("drain",(function(){p("pre-pause writing complete"),--e||t()})))}else t()}poll(){p("polling"),this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){p("polling got data %s",e),(0,a.decodePayload)(e,this.socket.binaryType).forEach((e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState?this.poll():p('ignoring poll - transport state "%s"',this.readyState))}doClose(){const e=()=>{p("writing close packet"),this.write([{type:"close"}])};"open"===this.readyState?(p("transport open - closing"),e()):(p("transport not open - deferring close"),this.once("open",e))}write(e){this.writable=!1,(0,a.encodePayload)(e,(e=>{this.doWrite(e,(()=>{this.writable=!0,this.emitReserved("drain")}))}))}uri(){let e=this.query||{};const t=this.opts.secure?"https":"http";let r="";!1!==this.opts.timestampRequests&&(e[this.opts.timestampParam]=(0,i.yeast)()),this.supportsBinary||e.sid||(e.b64=1),this.opts.port&&("https"===t&&443!==Number(this.opts.port)||"http"===t&&80!==Number(this.opts.port))&&(r=":"+this.opts.port);const s=(0,o.encode)(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(s.length?"?"+s:"")}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new g(this.uri(),e)}doWrite(e,t){const r=this.request({method:"POST",data:e});r.on("success",t),r.on("error",((e,t)=>{this.onError("xhr post error",e,t)}))}doPoll(){p("xhr poll");const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",((e,t)=>{this.onError("xhr poll error",e,t)})),this.pollXhr=e}}class g extends l.Emitter{constructor(e,t){super(),(0,h.installTimerFunctions)(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.async=!1!==t.async,this.data=void 0!==t.data?t.data:null,this.create()}create(){const e=(0,h.pick)(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd,e.xscheme=!!this.opts.xs;const t=this.xhr=new c.XHR(e);try{p("xhr open %s: %s",this.method,this.uri),t.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0);for(let e in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(e)&&t.setRequestHeader(e,this.opts.extraHeaders[e])}}catch(e){}if("POST"===this.method)try{t.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{t.setRequestHeader("Accept","*/*")}catch(e){}"withCredentials"in t&&(t.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(t.timeout=this.opts.requestTimeout),t.onreadystatechange=()=>{4===t.readyState&&(200===t.status||1223===t.status?this.onLoad():this.setTimeoutFn((()=>{this.onError("number"==typeof t.status?t.status:0)}),0))},p("xhr data %s",this.data),t.send(this.data)}catch(e){return void this.setTimeoutFn((()=>{this.onError(e)}),0)}"undefined"!=typeof document&&(this.index=g.requestsCount++,g.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=d,e)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete g.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}if(g.requestsCount=0,g.requests={},"undefined"!=typeof document)if("function"==typeof attachEvent)attachEvent("onunload",y);else if("function"==typeof addEventListener){const e="onpagehide"in u.globalThisShim?"pagehide":"unload";addEventListener(e,y,!1)}function y(){for(let e in g.requests)g.requests.hasOwnProperty(e)&&g.requests[e].abort()}},"./node_modules/engine.io-client/build/esm-debug/transports/websocket-constructor.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{WebSocket:()=>s,defaultBinaryType:()=>i,nextTick:()=>o,usingBrowserWebSocket:()=>n});const s=r("./node_modules/ws/wrapper.mjs").default,n=!1,i="nodebuffer",o=process.nextTick},"./node_modules/engine.io-client/build/esm-debug/transports/websocket.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{WS:()=>p});var s=r("./node_modules/engine.io-client/build/esm-debug/transport.js"),n=r("./node_modules/engine.io-client/build/esm-debug/contrib/parseqs.js"),i=r("./node_modules/engine.io-client/build/esm-debug/contrib/yeast.js"),o=r("./node_modules/engine.io-client/build/esm-debug/util.js"),a=r("./node_modules/engine.io-client/build/esm-debug/transports/websocket-constructor.js"),c=r("../../node_modules/debug/src/index.js"),l=r("../../node_modules/engine.io-parser/build/esm/index.js");const h=c("engine.io-client:websocket"),u="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class p extends s.Transport{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,r=u?{}:(0,o.pick)(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=a.usingBrowserWebSocket&&!u?t?new a.WebSocket(e,t):new a.WebSocket(e):new a.WebSocket(e,t,r)}catch(e){return this.emitReserved("error",e)}this.ws.binaryType=this.socket.binaryType||a.defaultBinaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const r=e[t],s=t===e.length-1;(0,l.encodePacket)(r,this.supportsBinary,(e=>{const t={};!a.usingBrowserWebSocket&&(r.options&&(t.compress=r.options.compress),this.opts.perMessageDeflate)&&("string"==typeof e?Buffer.byteLength(e):e.length)<this.opts.perMessageDeflate.threshold&&(t.compress=!1);try{a.usingBrowserWebSocket?this.ws.send(e):this.ws.send(e,t)}catch(e){h("websocket closed before onclose event")}s&&(0,a.nextTick)((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){void 0!==this.ws&&(this.ws.close(),this.ws=null)}uri(){let e=this.query||{};const t=this.opts.secure?"wss":"ws";let r="";this.opts.port&&("wss"===t&&443!==Number(this.opts.port)||"ws"===t&&80!==Number(this.opts.port))&&(r=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=(0,i.yeast)()),this.supportsBinary||(e.b64=1);const s=(0,n.encode)(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(s.length?"?"+s:"")}check(){return!!a.WebSocket}}},"./node_modules/engine.io-client/build/esm-debug/transports/xmlhttprequest.js":(e,t,r)=>{"use strict";var s;r.r(t),r.d(t,{XHR:()=>i});var n=r("../../node_modules/xmlhttprequest-ssl/lib/XMLHttpRequest.js");const i=n||s||(s=r.t(n,2))},"./node_modules/engine.io-client/build/esm-debug/util.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{byteLength:()=>l,installTimerFunctions:()=>a,pick:()=>n});var s=r("./node_modules/engine.io-client/build/esm-debug/globalThis.js");function n(e,...t){return t.reduce(((t,r)=>(e.hasOwnProperty(r)&&(t[r]=e[r]),t)),{})}const i=setTimeout,o=clearTimeout;function a(e,t){t.useNativeTimers?(e.setTimeoutFn=i.bind(s.globalThisShim),e.clearTimeoutFn=o.bind(s.globalThisShim)):(e.setTimeoutFn=setTimeout.bind(s.globalThisShim),e.clearTimeoutFn=clearTimeout.bind(s.globalThisShim))}const c=1.33;function l(e){return"string"==typeof e?function(e){let t=0,r=0;for(let s=0,n=e.length;s<n;s++)t=e.charCodeAt(s),t<128?r+=1:t<2048?r+=2:t<55296||t>=57344?r+=3:(s++,r+=4);return r}(e):Math.ceil((e.byteLength||e.size)*c)}},"./node_modules/socket.io-client/build/esm-debug/contrib/backo2.js":(e,t,r)=>{"use strict";function s(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}r.r(t),r.d(t,{Backoff:()=>s}),s.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-r:e+r}return 0|Math.min(e,this.max)},s.prototype.reset=function(){this.attempts=0},s.prototype.setMin=function(e){this.ms=e},s.prototype.setMax=function(e){this.max=e},s.prototype.setJitter=function(e){this.jitter=e}},"./node_modules/socket.io-client/build/esm-debug/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Manager:()=>n.Manager,Socket:()=>i.Socket,connect:()=>h,default:()=>h,io:()=>h,protocol:()=>a.protocol});var s=r("./node_modules/socket.io-client/build/esm-debug/url.js"),n=r("./node_modules/socket.io-client/build/esm-debug/manager.js"),i=r("./node_modules/socket.io-client/build/esm-debug/socket.js"),o=r("../../node_modules/debug/src/index.js"),a=r("../../node_modules/socket.io-parser/build/esm-debug/index.js");const c=o("socket.io-client"),l={};function h(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};const r=(0,s.url)(e,t.path||"/socket.io"),i=r.source,o=r.id,a=r.path,h=l[o]&&a in l[o].nsps;let u;return t.forceNew||t["force new connection"]||!1===t.multiplex||h?(c("ignoring socket cache for %s",i),u=new n.Manager(i,t)):(l[o]||(c("new io instance for %s",i),l[o]=new n.Manager(i,t)),u=l[o]),r.query&&!t.query&&(t.query=r.queryKey),u.socket(r.path,t)}Object.assign(h,{Manager:n.Manager,Socket:i.Socket,io:h,connect:h})},"./node_modules/socket.io-client/build/esm-debug/manager.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Manager:()=>h});var s=r("./node_modules/engine.io-client/build/esm-debug/index.js"),n=r("./node_modules/socket.io-client/build/esm-debug/socket.js"),i=r("../../node_modules/socket.io-parser/build/esm-debug/index.js"),o=r("./node_modules/socket.io-client/build/esm-debug/on.js"),a=r("./node_modules/socket.io-client/build/esm-debug/contrib/backo2.js"),c=r("../../node_modules/@socket.io/component-emitter/index.mjs");const l=r("../../node_modules/debug/src/index.js")("socket.io-client:manager");class h extends c.Emitter{constructor(e,t){var r;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,(0,s.installTimerFunctions)(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(r=t.randomizationFactor)&&void 0!==r?r:.5),this.backoff=new a.Backoff({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;const n=t.parser||i;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(l("readyState %s",this._readyState),~this._readyState.indexOf("open"))return this;l("opening %s",this.uri),this.engine=new s.Socket(this.uri,this.opts);const t=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const n=(0,o.on)(t,"open",(function(){r.onopen(),e&&e()})),i=(0,o.on)(t,"error",(t=>{l("error"),r.cleanup(),r._readyState="closed",this.emitReserved("error",t),e?e(t):r.maybeReconnectOnOpen()}));if(!1!==this._timeout){const e=this._timeout;l("connect attempt will timeout after %d",e),0===e&&n();const r=this.setTimeoutFn((()=>{l("connect attempt timed out after %d",e),n(),t.close(),t.emit("error",new Error("timeout"))}),e);this.opts.autoUnref&&r.unref(),this.subs.push((function(){clearTimeout(r)}))}return this.subs.push(n),this.subs.push(i),this}connect(e){return this.open(e)}onopen(){l("open"),this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push((0,o.on)(e,"ping",this.onping.bind(this)),(0,o.on)(e,"data",this.ondata.bind(this)),(0,o.on)(e,"error",this.onerror.bind(this)),(0,o.on)(e,"close",this.onclose.bind(this)),(0,o.on)(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(e){this.onclose("parse error",e)}}ondecoded(e){(0,s.nextTick)((()=>{this.emitReserved("packet",e)}),this.setTimeoutFn)}onerror(e){l("error",e),this.emitReserved("error",e)}socket(e,t){let r=this.nsps[e];return r||(r=new n.Socket(this,e,t),this.nsps[e]=r),r}_destroy(e){const t=Object.keys(this.nsps);for(const e of t)if(this.nsps[e].active)return void l("socket %s is still active, skipping close",e);this._close()}_packet(e){l("writing packet %j",e);const t=this.encoder.encode(e);for(let r=0;r<t.length;r++)this.engine.write(t[r],e.options)}cleanup(){l("cleanup"),this.subs.forEach((e=>e())),this.subs.length=0,this.decoder.destroy()}_close(){l("disconnect"),this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,t){l("closed due to %s",e),this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)l("reconnect failed"),this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();l("will wait %dms before reconnect attempt",t),this._reconnecting=!0;const r=this.setTimeoutFn((()=>{e.skipReconnect||(l("attempting reconnect"),this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open((t=>{t?(l("reconnect attempt error"),e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):(l("reconnect success"),e.onreconnect())})))}),t);this.opts.autoUnref&&r.unref(),this.subs.push((function(){clearTimeout(r)}))}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}},"./node_modules/socket.io-client/build/esm-debug/on.js":(e,t,r)=>{"use strict";function s(e,t,r){return e.on(t,r),function(){e.off(t,r)}}r.r(t),r.d(t,{on:()=>s})},"./node_modules/socket.io-client/build/esm-debug/socket.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Socket:()=>c});var s=r("../../node_modules/socket.io-parser/build/esm-debug/index.js"),n=r("./node_modules/socket.io-client/build/esm-debug/on.js"),i=r("../../node_modules/@socket.io/component-emitter/index.mjs");const o=r("../../node_modules/debug/src/index.js")("socket.io-client:socket"),a=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class c extends i.Emitter{constructor(e,t,r){super(),this.connected=!1,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,r&&r.auth&&(this.auth=r.auth),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[(0,n.on)(e,"open",this.onopen.bind(this)),(0,n.on)(e,"packet",this.onpacket.bind(this)),(0,n.on)(e,"error",this.onerror.bind(this)),(0,n.on)(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){if(a.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');t.unshift(e);const r={type:s.PacketType.EVENT,data:t,options:{}};if(r.options.compress=!1!==this.flags.compress,"function"==typeof t[t.length-1]){const e=this.ids++;o("emitting packet with ack id %d",e);const s=t.pop();this._registerAckCallback(e,s),r.id=e}const n=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return!this.flags.volatile||n&&this.connected?this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r):o("discard packet as the transport is not currently writable"),this.flags={},this}_registerAckCallback(e,t){const r=this.flags.timeout;if(void 0===r)return void(this.acks[e]=t);const s=this.io.setTimeoutFn((()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&(o("removing packet with ack id %d from the buffer",e),this.sendBuffer.splice(t,1));o("event with ack id %d has timed out after %d ms",e,r),t.call(this,new Error("operation has timed out"))}),r);this.acks[e]=(...e)=>{this.io.clearTimeoutFn(s),t.apply(this,[null,...e])}}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){o("transport is open - connecting"),"function"==typeof this.auth?this.auth((e=>{this.packet({type:s.PacketType.CONNECT,data:e})})):this.packet({type:s.PacketType.CONNECT,data:this.auth})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){o("close (%s)",e),this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case s.PacketType.CONNECT:if(e.data&&e.data.sid){const t=e.data.sid;this.onconnect(t)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case s.PacketType.EVENT:case s.PacketType.BINARY_EVENT:this.onevent(e);break;case s.PacketType.ACK:case s.PacketType.BINARY_ACK:this.onack(e);break;case s.PacketType.DISCONNECT:this.ondisconnect();break;case s.PacketType.CONNECT_ERROR:this.destroy();const t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){const t=e.data||[];o("emitting event %j",t),null!=e.id&&(o("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const r of t)r.apply(this,e)}super.emit.apply(this,e)}ack(e){const t=this;let r=!1;return function(...n){r||(r=!0,o("sending ack %j",n),t.packet({type:s.PacketType.ACK,id:e,data:n}))}}onack(e){const t=this.acks[e.id];"function"==typeof t?(o("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):o("bad ack %s",e.id)}onconnect(e){o("socket connected with id %s",e),this.id=e,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach((e=>this.emitEvent(e))),this.receiveBuffer=[],this.sendBuffer.forEach((e=>{this.notifyOutgoingListeners(e),this.packet(e)})),this.sendBuffer=[]}ondisconnect(){o("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach((e=>e())),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&(o("performing disconnect (%s)",this.nsp),this.packet({type:s.PacketType.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let r=0;r<t.length;r++)if(e===t[r])return t.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let r=0;r<t.length;r++)if(e===t[r])return t.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const r of t)r.apply(this,e.data)}}}},"./node_modules/socket.io-client/build/esm-debug/url.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{url:()=>i});var s=r("./node_modules/engine.io-client/build/esm-debug/index.js");const n=r("../../node_modules/debug/src/index.js")("socket.io-client:url");function i(e,t="",r){let i=e;r=r||"undefined"!=typeof location&&location,null==e&&(e=r.protocol+"//"+r.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?r.protocol+e:r.host+e),/^(https?|wss?):\/\//.test(e)||(n("protocol-less url %s",e),e=void 0!==r?r.protocol+"//"+e:"https://"+e),n("parse %s",e),i=(0,s.parse)(e)),i.port||(/^(http|ws)$/.test(i.protocol)?i.port="80":/^(http|ws)s$/.test(i.protocol)&&(i.port="443")),i.path=i.path||"/";const o=-1!==i.host.indexOf(":")?"["+i.host+"]":i.host;return i.id=i.protocol+"://"+o+":"+i.port+t,i.href=i.protocol+"://"+o+(r&&r.port===i.port?"":":"+i.port),i}},"./node_modules/ws/wrapper.mjs":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Receiver:()=>n,Sender:()=>i,WebSocket:()=>o,WebSocketServer:()=>a,createWebSocketStream:()=>s,default:()=>c});var s=r("./node_modules/ws/lib/stream.js"),n=r("./node_modules/ws/lib/receiver.js"),i=r("./node_modules/ws/lib/sender.js"),o=r("./node_modules/ws/lib/websocket.js"),a=r("./node_modules/ws/lib/websocket-server.js");const c=o},"../../node_modules/binary-extensions/binary-extensions.json":e=>{"use strict";e.exports=JSON.parse('["3dm","3ds","3g2","3gp","7z","a","aac","adp","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]')}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return n[e](r,r.exports,o),r.exports}s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var n=Object.create(null);o.r(n);var i={};t=t||[null,s({}),s([]),s(s)];for(var a=2&r&&e;"object"==typeof a&&!~t.indexOf(a);a=s(a))Object.getOwnPropertyNames(a).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,o.d(n,i),n},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};(()=>{"use strict";o.r(a),o.d(a,{PgDevConnector:()=>S});var e=o("../../node_modules/@babel/runtime/helpers/typeof.js"),t=o("../../node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),r=o("../../node_modules/@babel/runtime/helpers/toConsumableArray.js"),s=o("../../node_modules/@babel/runtime/helpers/asyncToGenerator.js"),n=o("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),i=o("../../node_modules/@babel/runtime/helpers/createClass.js"),c=o("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),l=o("../../node_modules/@babel/runtime/helpers/defineProperty.js"),h=o("../../node_modules/@babel/runtime/regenerator/index.js"),u=o("path"),p=o("fs"),d=o("./node_modules/socket.io-client/build/esm-debug/index.js"),f=o("../../node_modules/chokidar/index.js"),m=o("../../src/framework-mgmt/transform-plugins.js"),g=o("../../src/framework-mgmt/pinegrow-config-manager.js"),y=["activeInProject","pluginPathFound","productKeyStatus","invalid"],b=["listenerServer","nuxtInstance"];function v(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return x(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?x(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var s=0,n=function(){};return{s:n,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s}function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var S=i((function i(o){var a=this;c(this,i),l(this,"init",(function(){a.customOptions.projectRoot=a.projectRoot=process.cwd(),a.processPinegrowConfig(),a.processRepoRoot()})),l(this,"processRepoRoot",(function(){try{if(a.customOptions.repoRoot){a.customOptions.repoRoot=(0,m.resolvePathAlias)(a.customOptions.repoRoot,a.aliases);try{if(u.isAbsolute(a.customOptions.repoRoot)?a.repoRoot=a.customOptions.repoRoot:a.repoRoot=u.resolve(a.projectRoot,a.customOptions.repoRoot),a.customOptions.repoRoot&&!a.isExistsAndDirectory(a.repoRoot))return void console.log("Pinegrow: Unable to process repoRoot option - ".concat(a.customOptions.repoRoot,". Directory doesn't exists at ").concat(a.repoRoot,"!"))}catch(e){return console.log(e),void console.log("Pinegrow: Unable to process repoRoot option - ".concat(a.customOptions.repoRoot,". Make sure the repoRoot is either a relative (beginning with ./ or ../) or an absolute path (beginning with a /)!"))}a.customOptions.repoRoot=a.repoRoot}else a.customOptions.repoRoot=a.repoRoot=a.projectRoot;var e=u.resolve(a.customOptions.repoRoot,"node_modules","@pinegrow");if(!a.isExistsAndDirectory(e))return void console.log("Pinegrow: Unable to find node_modules/@pinegrow folder at ".concat(a.customOptions.repoRoot,". If your project is part of a mono-repo, add the repoRoot option to liveDesigner to specify the relative path from your project root to the root of the mono-repo!"))}catch(e){console.log(e),console.log("Pinegrow: An error occured when processing repoRoot!")}})),l(this,"processConfigPath",(function(){try{if(a.customOptions.configPath){a.customOptions.configPath=(0,m.resolvePathAlias)(a.customOptions.configPath,a.aliases);try{if(u.isAbsolute(a.customOptions.configPath)?a.configPath=a.customOptions.configPath:a.configPath=u.resolve(a.projectRoot,a.customOptions.configPath),a.customOptions.configPath&&!a.isExistsPath(a.configPath))return void console.log("Pinegrow: Unable to process configPath option - ".concat(a.customOptions.configPath,". Path doesn't exists at ").concat(a.configPath,"!"))}catch(e){return console.log(e),void console.log("Pinegrow: Unable to process configPath option - ".concat(a.customOptions.configPath,". Make sure the configPath is either a relative (beginning with ./) or an absolute path (beginning with a /)!"))}a.customOptions.configPath=a.configPath}else a.customOptions.configPath=a.configPath=a.projectRoot,a.viteDevServer&&(a.customOptions.configPath=a.configPath=a.viteDevServer.config.configFile||a.viteDevServer.config.root||a.projectRoot);a.configPath&&a.isFile(a.configPath)?(a.customOptions.configRoot=a.configRoot=u.dirname(a.configPath),a.customOptions.configFilename=a.configFilename=u.basename(a.configPath)):a.customOptions.configRoot=a.configRoot=a.configPath}catch(e){console.log(e),console.log("Pinegrow: An error occured when processing configPath!")}})),l(this,"processPinegrowConfig",(function(){var e;a.pinegrowConfigWatcher&&(a.pinegrowConfigWatcher.close(),a.pinegrowConfigWatcher=null);var t=(0,g.getPinegrowConfig)(a.projectRoot,a.restart);null!=t&&null!==(e=t.pinegrowConfig)&&void 0!==e&&e.liveDesigner&&(a.customOptions=E(E({},a.customOptions),t.pinegrowConfig.liveDesigner)),null!=t&&t.pinegrowConfigWatcher&&(a.pinegrowConfigWatcher=t.pinegrowConfigWatcher)})),l(this,"processPlugins",(function(){a.customOptions.plugins&&!Array.isArray(a.customOptions.plugins)&&(console.log("Pinegrow: plugins option was ignored. Make sure it's an array!"),a.customOptions.plugins=[]);try{a.plugins=(0,m.transformPluginsArray)(a.customOptions,a.repoRoot,a.projectRoot,!0,a.aliases)}catch(e){console.log(e),console.log("Pinegrow: An error occured when processing plugins!")}})),l(this,"processFilesNotToWatchByDevServer",(function(){Object.entries(a.plugins).forEach((function(e){var t,r,s=n(e,2),i=(s[0],s[1]);null!==(t=i.options)&&void 0!==t&&t.configPath&&i.options.restartOnConfigUpdate&&(a.pluginFilesNotToBeWatchedByDevServer.add(i.options.configPath),a.fileNamesThatRestartDevServer.add(i.options.configPath)),null!==(r=i.options)&&void 0!==r&&r.themePath&&(a.pluginFilesNotToBeWatchedByDevServer.add(i.options.themePath),i.options.restartOnThemeUpdate&&a.fileNamesThatRestartDevServer.add(i.options.themePath))}))})),l(this,"validatePluginProductKeys",(function(){try{a.pluginsWithProductKeys={},Object.entries(a.plugins).filter((function(e){var t=n(e,2),r=(t[0],t[1]);return r.productKey||r.dependency.startsWith("@pinegrow")&&r.dependency.endsWith("-plugin")&&"@pinegrow/vite-plugin"!==r.dependency})).forEach((function(e){var t=n(e,2),r=t[0],s=t[1];return a.pluginsWithProductKeys[r]={dependency:s.dependency,productKey:s.productKey}})),Object.entries(a.pluginsWithProductKeys).length?a.socket&&a.socket.emit("checkPluginProductsAreActive",a.pluginsWithProductKeys):a.reset()}catch(e){console.log(e),console.log("Pinegrow: An error occured when validating plugins!")}})),l(this,"validatePostPluginProductKeysStatusCheck",(function(){Object.entries(a.pluginsWithProductKeysStatus).forEach((function(e){var t=n(e,2),r=t[0],s=t[1],i=s.productKeyStatus,o=(s.productUrl,s.activeInProject);a.plugins[r]&&(a.plugins[r].productKeyStatus=i,a.plugins[r].activeInProject=o)})),a.reset()})),l(this,"reset",s(h.mark((function e(){return h.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a.watchedPluginFiles=[],a.pluginFileWatcher&&(a.pluginFileWatcher.close(),a.pluginFileWatcher=null),a.watchPluginFiles(),e.next=5,a.refresh();case 5:case"end":return e.stop()}}),e)})))),l(this,"refresh",s(h.mark((function e(){return h.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.getPluginData();case 2:a.sendDevServerData("config");case 3:case"end":return e.stop()}}),e)})))),l(this,"restart",function(){var e=s(h.mark((function e(t){var r;return h.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=10;break}if(e.prev=1,r=u.basename(t),!a.fileNamesThatRestartDevServer.has(t)&&!a.fileNamesThatRestartDevServer.has(r)){e.next=6;break}return a.restartDevServer(),e.abrupt("return");case 6:e.next=10;break;case 8:e.prev=8,e.t0=e.catch(1);case 10:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t){return e.apply(this,arguments)}}()),l(this,"restartDevServer",(function(){a.customOptions.nuxtInstance?a.customOptions.nuxtInstance.callHook("restart"):a.viteDevServer.restart(!0)})),l(this,"getPluginData",s(h.mark((function e(){var t,r,s,i,o,c,l,u;return h.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=[],r=Object.entries(a.plugins).filter((function(e){var t=n(e,2),r=(t[0],t[1]);return!1!==r.productKeyStatus&&r.activeInProject})),s=v(r),e.prev=3,s.s();case 5:if((i=s.n()).done){e.next=23;break}if(o=n(i.value,2),c=o[0],l=o[1],e.prev=7,"tailwindcss"===l.key||!l.init||"function"!=typeof l.init){e.next=14;break}return e.next=11,l.init(l.options);case 11:u=e.sent,t.push(u),u&&(a.plugins[c].data=u);case 14:e.next=21;break;case 16:return e.prev=16,e.t0=e.catch(7),console.log(e.t0),console.log("Pinegrow: Unable to process plugin: ".concat(a.plugins[c].name)),e.abrupt("return");case 21:e.next=5;break;case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(3),s.e(e.t1);case 28:return e.prev=28,s.f(),e.finish(28);case 31:return e.abrupt("return",t);case 32:case"end":return e.stop()}}),e,null,[[3,25,28,31],[7,16]])})))),l(this,"watchPluginFiles",s(h.mark((function e(){var t,s,i,o;return h.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Object.entries(a.plugins).filter((function(e){var t=n(e,2),r=(t[0],t[1]);return!1!==r.productKeyStatus&&r.activeInProject})),s=v(t),e.prev=2,o=h.mark((function e(){var t,r,s,o;return h.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n(i.value,2),r=t[0],(s=t[1]).options){o=s.options;try{a.plugins[r].watchedFiles=[],Object.entries(o).forEach((function(e){var t=n(e,2),s=t[0],i=t[1];if(s&&(s.toLowerCase().endsWith("file")||s.toLowerCase().endsWith("path")||s.toLowerCase().endsWith("root"))&&i&&"string"==typeof i){var o=i;("themePath"===s||a.isExistsAndFile(o))&&(a.plugins[r].watchedFiles.push(o),a.watchedPluginFiles.push(o))}}))}catch(e){console.log(e),console.log("Pinegrow: Unable to watch files for plugin: ".concat(a.plugins[r].name))}}case 2:case"end":return e.stop()}}),e)})),s.s();case 5:if((i=s.n()).done){e.next=9;break}return e.delegateYield(o(),"t0",7);case 7:e.next=5;break;case 9:e.next=14;break;case 11:e.prev=11,e.t1=e.catch(2),s.e(e.t1);case 14:return e.prev=14,s.f(),e.finish(14);case 17:a.watchedPluginFiles=r(new Set(a.watchedPluginFiles)),a.pluginFileWatcher||(a.pluginFileWatcher=f.watch(a.watchedPluginFiles,{ignored:function(e){return!a.watchedPluginFiles.includes(e)},ignoreInitial:!0,awaitWriteFinish:{stabilityThreshold:1e3,pollInterval:100}}),a.pluginFileWatcher.on("unlink",(function(e){return a.pluginFileWatcher.unwatch(e)})).on("add",(function(e){return a.reset()})).on("change",(function(e){return a.restart(e)})).on("error",(function(e){console.log(e),console.log("Pinegrow: An error occured. Try re-starting your dev-server!")})));case 19:case"end":return e.stop()}}),e,null,[[2,11,14,17]])})))),l(this,"initHandShakeWithPinegrow",(function(){a.processPlugins(),a.processFilesNotToWatchByDevServer();try{a.watcher&&(a.watcher.close(),a.watcher=null),a.connectorJson_folderPath=u.resolve(a.projectRoot,"_pginfo"),a.connectorJson_filePath=u.resolve(a.connectorJson_folderPath,"live-designer.json"),a.watcher=f.watch([a.connectorJson_filePath,a.connectorJson_folderPath],{ignored:function(e){return![a.connectorJson_filePath,a.connectorJson_folderPath].includes(e)},awaitWriteFinish:{stabilityThreshold:1e3,pollInterval:100}}),a.watcher.on("unlinkDir",(function(e){return a.disconnectWithPinegrow()})).on("unlink",(function(e){return a.disconnectWithPinegrow()})).on("add",(function(e){return a.fetchPinegrowUrlAndConnect()})).on("change",(function(e){return a.fetchPinegrowUrlAndConnect()})).on("error",(function(e){console.log(e),console.log("Pinegrow: An error occured. Try re-starting your dev-server!")}))}catch(e){console.log(e),console.log("\nPinegrow: Unable to connect!")}})),l(this,"fetchPinegrowUrlAndConnect",(function(){try{var e={};if(p.existsSync(a.connectorJson_filePath)){var t=p.readFileSync(a.connectorJson_filePath,{encoding:"utf8",flag:"r"});if(!t.trim())return;e={},e=JSON.parse(t)}if(e.pinegrow_url){a.pinegrow_url=e.pinegrow_url;try{a.socket&&a.socket.connected?(a.validatePluginProductKeys(),a._socketOnConnect&&a._socketOnConnect()):a.connectionManager()}catch(e){}}else a.disconnectWithPinegrow()}catch(e){}})),l(this,"disconnectWithPinegrow",(function(){a.pinegrow_url=null,a.unsubscribeSocketEventHandlers(),a.removeSocket(),a._disconnectWithPinegrow&&a._disconnectWithPinegrow()})),l(this,"unsubscribeSocketEventHandlers",(function(){a.socket&&(a.socket.removeListener("error"),a.socket.removeListener("connect_error"),a.socket.removeListener("disconnect"),a.socket.removeListener("reconnect_attempt"),a.socket.removeListener("reconnect_error"),a.socket.removeListener("reconnect_failed"))})),l(this,"removeSocket",(function(){a.socket&&(a.socket.destroy(),a.socket=null)})),l(this,"connectionManager",(function(){var e=a.pinegrow_url;a.socket=(0,d.default)(e,{autoConnect:!0,reconnectionDelay:500,reconnectionDelayMax:5e3,randomizationFactor:.5}),a.socket.on("connect",(function(e){a.projectMetaData=e,a.dev_server||console.log("\nPinegrow: Connected!"),a.dev_server&&a.dev_server_url&&console.log("\nPinegrow: Connected to ".concat(a.dev_server_url)),a.validatePluginProductKeys(),a._socketOnConnect&&a._socketOnConnect()})),a.socket.on("onConnected",(function(e){a.projectMetaData||(a.projectMetaData=e)})),a.socket.on("pluginProductsActiveStatus",(function(e){a.pluginsWithProductKeysStatus=e,a.validatePostPluginProductKeysStatusCheck()})),a.socket.on("error",(function(){})),a.socket.on("connect_error",(function(e){})),a.socket.on("disconnect",(function(e,t){console.log("Pinegrow: Disconnected!"),a._socketOnDisconnect&&a._socketOnDisconnect()})),a.socket.on("reconnect_attempt",(function(e){})),a.socket.on("reconnect_error",(function(){})),a.socket.on("reconnect_failed",(function(){a.unsubscribeSocketEventHandlers(),a.removeSocket()})),a.socket.on("fetchDevServerData",(function(){a.sendDevServerData("connection")})),a._connectionManager&&a._connectionManager()})),l(this,"sendDevServerData",(function(e){var r=Object.values(a.plugins).map((function(e){return e.activeInProject,e.pluginPathFound,e.productKeyStatus,e.invalid,t(e,y)})),s=a.customOptions,n=(s.listenerServer,s.nuxtInstance,t(s,b));a.socket&&a.socket.emit("devServerData",{reason:e,dev_server:a.dev_server,dev_server_url:a.dev_server_url,aliases:a.aliases,customOptions:E(E({},n),{},{plugins:r})})})),l(this,"sendDevServerUrl",(function(){a.dev_server_url&&a.socket&&a.socket.connected&&(console.log("\nPinegrow: Connected with dev-server at ".concat(a.dev_server_url)),a.sendDevServerData("config"))})),l(this,"isFile",(function(e){return!!p.statSync(e).isFile()})),l(this,"isExistsPath",(function(e){return!!p.existsSync(e)})),l(this,"isExistsAndFile",(function(e){return!(!p.existsSync(e)||!p.statSync(e).isFile())})),l(this,"isExistsAndDirectory",(function(e){return!(!p.existsSync(e)||!p.statSync(e).isDirectory())})),l(this,"parseQueryString",(function(e){var t=e.split("?",2),r=n(t,2),s=r[0],i=r[1],o=Object.fromEntries(new URLSearchParams(i));return null!=o.vue&&(o.vue=!0),null!=o.index&&(o.index=Number(o.index)),null!=o.raw&&(o.raw=!0),null!=o.scoped&&(o.scoped=!0),{filename:s,query:o}})),this.dev_server=!1,this.aliases=[],this.plugins={},this.globsNotToWatchByDevServer=new Set(["**/_pgbackup/**","**/_pginfo/**","**/pinegrow.json","**/pinegrow.config.js","**/pinegrow.config.cjs","**/pinegrow.config.ts"]),this.pluginFilesNotToBeWatchedByDevServer=new Set,this.fileNamesThatRestartDevServer=new Set(["pinegrow.config.js","pinegrow.config.cjs","pinegrow.config.ts"]),o&&"object"!==e(o)&&console.log("Pinegrow: liveDesigner options ignored. Make sure it's of type object!"),this.customOptions=o||{},this.customOptions.plugins||(this.customOptions.plugins=[]),this.customOptions.mappingType||(this.customOptions.mappingType="type1"),Object.filter=function(e,t){return Object.fromEntries(Object.entries(e).filter(t))}}))})(),e.exports=a})()}},t={};function r(s){var n=t[s];if(void 0!==n)return n.exports;var i=t[s]={exports:{}};return e[s](i,i.exports,r),i.exports}r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";r.r(s),r.d(s,{liveDesigner:()=>Ub});var e=r(461),t=r(408),n=r(681),i=r(870),o=r(100),a=r(297),c=r(230),l=r(421),h=r(660),u=r(290),p=r(841),d=r(228),f=r(17),m=r(358);const g=require("vite");function y(e,t){const r=Object.create(null),s=e.split(",");for(let e=0;e<s.length;e++)r[s[e]]=!0;return t?e=>!!r[e.toLowerCase()]:e=>!!r[e]}const b={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},v={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},x=y("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function w(e){if(G(e)){const t={};for(let r=0;r<e.length;r++){const s=e[r],n=J(s)?T(s):w(s);if(n)for(const e in n)t[e]=n[e]}return t}return J(e)||Q(e)?e:void 0}const E=/;(?![^(]*\))/g,S=/:([^]+)/,_=/\/\*.*?\*\//gs;function T(e){const t={};return e.replace(_,"").split(E).forEach((e=>{if(e){const r=e.split(S);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}function P(e){let t="";if(!e||J(e))return t;for(const r in e){const s=e[r],n=r.startsWith("--")?r:ce(r);(J(s)||"number"==typeof s)&&(t+=`${n}:${s};`)}return t}function A(e){let t="";if(J(e))t=e;else if(G(e))for(let r=0;r<e.length;r++){const s=A(e[r]);s&&(t+=s+" ")}else if(Q(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const C=y("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),k=y("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),O=y("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),N=y("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly,async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),I=y("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),R=y("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),L=/["'&<>]/;function M(e){const t=""+e,r=L.exec(t);if(!r)return t;let s,n,i="",o=0;for(n=r.index;n<t.length;n++){switch(t.charCodeAt(n)){case 34:s=""";break;case 38:s="&";break;case 39:s="'";break;case 60:s="<";break;case 62:s=">";break;default:continue}o!==n&&(i+=t.slice(o,n)),o=n+1,i+=s}return o!==n?i+t.slice(o,n):i}const D=e=>J(e)?e:null==e?"":G(e)||Q(e)&&(e.toString===Z||!Y(e.toString))?JSON.stringify(e,j,2):String(e),j=(e,t)=>t&&t.__v_isRef?j(e,t.value):z(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,r])=>(e[`${t} =>`]=r,e)),{})}:K(t)?{[`Set(${t.size})`]:[...t.values()]}:!Q(t)||G(t)||te(t)?t:String(t),F=Object.freeze({}),B=()=>{},U=()=>!1,q=/^on[^a-z]/,$=e=>q.test(e),H=Object.assign,V=Object.prototype.hasOwnProperty,W=(e,t)=>V.call(e,t),G=Array.isArray,z=e=>"[object Map]"===ee(e),K=e=>"[object Set]"===ee(e),Y=e=>"function"==typeof e,J=e=>"string"==typeof e,X=e=>"symbol"==typeof e,Q=e=>null!==e&&"object"==typeof e,Z=Object.prototype.toString,ee=e=>Z.call(e),te=e=>"[object Object]"===ee(e),re=y(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),se=y("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),ne=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},ie=/-(\w)/g,oe=ne((e=>e.replace(ie,((e,t)=>t?t.toUpperCase():"")))),ae=/\B([A-Z])/g,ce=ne((e=>e.replace(ae,"-$1").toLowerCase())),le=ne((e=>e.charAt(0).toUpperCase()+e.slice(1))),he=ne((e=>e?`on${le(e)}`:"")),ue=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function pe(e){return ue.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function de(e){throw e}function fe(e){console.warn(`[Vue warn] ${e.message}`)}function me(e,t,r,s){const n=(r||ge)[e]+(s||""),i=new SyntaxError(String(n));return i.code=e,i.loc=t,i}const ge={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '\x3c!--' in comment.",17:"Attribute name cannot contain U+0022 (\"), U+0027 ('), and U+003C (<).",18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:"v-model cannot be used on a prop, because local prop bindings are not writable.\nUse a v-bind binding combined with a v-on listener that emits update:x event instead.",45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',51:""},ye=Symbol("Fragment"),be=Symbol("Teleport"),ve=Symbol("Suspense"),xe=Symbol("KeepAlive"),we=Symbol("BaseTransition"),Ee=Symbol("openBlock"),Se=Symbol("createBlock"),_e=Symbol("createElementBlock"),Te=Symbol("createVNode"),Pe=Symbol("createElementVNode"),Ae=Symbol("createCommentVNode"),Ce=Symbol("createTextVNode"),ke=Symbol("createStaticVNode"),Oe=Symbol("resolveComponent"),Ne=Symbol("resolveDynamicComponent"),Ie=Symbol("resolveDirective"),Re=Symbol("resolveFilter"),Le=Symbol("withDirectives"),Me=Symbol("renderList"),De=Symbol("renderSlot"),je=Symbol("createSlots"),Fe=Symbol("toDisplayString"),Be=Symbol("mergeProps"),Ue=Symbol("normalizeClass"),qe=Symbol("normalizeStyle"),$e=Symbol("normalizeProps"),He=Symbol("guardReactiveProps"),Ve=Symbol("toHandlers"),We=Symbol("camelize"),Ge=Symbol("capitalize"),ze=Symbol("toHandlerKey"),Ke=Symbol("setBlockTracking"),Ye=Symbol("pushScopeId"),Je=Symbol("popScopeId"),Xe=Symbol("withCtx"),Qe=Symbol("unref"),Ze=Symbol("isRef"),et=Symbol("withMemo"),tt=Symbol("isMemoSame"),rt={[ye]:"Fragment",[be]:"Teleport",[ve]:"Suspense",[xe]:"KeepAlive",[we]:"BaseTransition",[Ee]:"openBlock",[Se]:"createBlock",[_e]:"createElementBlock",[Te]:"createVNode",[Pe]:"createElementVNode",[Ae]:"createCommentVNode",[Ce]:"createTextVNode",[ke]:"createStaticVNode",[Oe]:"resolveComponent",[Ne]:"resolveDynamicComponent",[Ie]:"resolveDirective",[Re]:"resolveFilter",[Le]:"withDirectives",[Me]:"renderList",[De]:"renderSlot",[je]:"createSlots",[Fe]:"toDisplayString",[Be]:"mergeProps",[Ue]:"normalizeClass",[qe]:"normalizeStyle",[$e]:"normalizeProps",[He]:"guardReactiveProps",[Ve]:"toHandlers",[We]:"camelize",[Ge]:"capitalize",[ze]:"toHandlerKey",[Ke]:"setBlockTracking",[Ye]:"pushScopeId",[Je]:"popScopeId",[Xe]:"withCtx",[Qe]:"unref",[Ze]:"isRef",[et]:"withMemo",[tt]:"isMemoSame"};function st(e){Object.getOwnPropertySymbols(e).forEach((t=>{rt[t]=e[t]}))}const nt={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function it(e,t=nt){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ot(e,t,r,s,n,i,o,a=!1,c=!1,l=!1,h=nt){return e&&(a?(e.helper(Ee),e.helper(mn(e.inSSR,l))):e.helper(fn(e.inSSR,l)),o&&e.helper(Le)),{type:13,tag:t,props:r,children:s,patchFlag:n,dynamicProps:i,directives:o,isBlock:a,disableTracking:c,isComponent:l,loc:h}}function at(e,t=nt){return{type:17,loc:t,elements:e}}function ct(e,t=nt){return{type:15,loc:t,properties:e}}function lt(e,t){return{type:16,loc:nt,key:J(e)?ht(e,!0):e,value:t}}function ht(e,t=!1,r=nt,s=0){return{type:4,loc:r,content:e,isStatic:t,constType:t?3:s}}function ut(e,t=nt){return{type:8,loc:t,children:e}}function pt(e,t=[],r=nt){return{type:14,loc:r,callee:e,arguments:t}}function dt(e,t=undefined,r=!1,s=!1,n=nt){return{type:18,params:e,returns:t,newline:r,isSlot:s,loc:n}}function ft(e,t,r,s=!0){return{type:19,test:e,consequent:t,alternate:r,newline:s,loc:nt}}function mt(e,t,r=!1){return{type:20,index:e,value:t,isVNode:r,loc:nt}}function gt(e){return{type:21,body:e,loc:nt}}function yt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function bt(e){var t=e.default;if("function"==typeof t){var r=function(){return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:function(){return e[t]}})})),r}var vt={};Object.defineProperty(vt,"__esModule",{value:!0});const xt=/\r\n?|[\n\u2028\u2029]/,wt=new RegExp(xt.source,"g");function Et(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}const St=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,_t=new RegExp("(?=("+/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function Tt(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class Pt{constructor(e,t){this.line=void 0,this.column=void 0,this.line=e,this.column=t}}class At{constructor(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}}class Ct{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){return this.plugins.has(e)}getPluginOption(e,t){if(this.hasPlugin(e))return this.plugins.get(e)[t]}}function kt(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function Ot(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function Nt(e,t,r){let s=null,n=t.length;for(;null===s&&n>0;)s=t[--n];null===s||s.start>r.start?Ot(e,r.comments):kt(s,r.comments)}class It extends Ct{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.comments.push(e)}processComment(e){const{commentStack:t}=this.state,r=t.length;if(0===r)return;let s=r-1;const n=t[s];n.start===e.end&&(n.leadingNode=e,s--);const{start:i}=e;for(;s>=0;s--){const r=t[s],n=r.end;if(!(n>i)){n===i&&(r.trailingNode=e);break}r.containingNode=e,this.finalizeComment(r),t.splice(s,1)}}finalizeComment(e){const{comments:t}=e;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&kt(e.leadingNode,t),null!==e.trailingNode&&function(e,t){void 0===e.leadingComments?e.leadingComments=t:e.leadingComments.unshift(...t)}(e.trailingNode,t);else{const{containingNode:r,start:s}=e;if(44===this.input.charCodeAt(s-1))switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Nt(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":Nt(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Nt(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Nt(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":Nt(r,r.specifiers,e);break;default:Ot(r,t)}else Ot(r,t)}}finalizeRemainingComments(){const{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){const{commentStack:t}=this.state,{length:r}=t;if(0===r)return;const s=t[r-1];s.leadingNode===e&&(s.leadingNode=null)}takeSurroundingComments(e,t,r){const{commentStack:s}=this.state,n=s.length;if(0===n)return;let i=n-1;for(;i>=0;i--){const n=s[i],o=n.end;if(n.start===r)n.leadingNode=e;else if(o===t)n.trailingNode=e;else if(o<t)break}}}const Rt=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"}),Lt=jt({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipeBodyIsTighter:"Unexpected %0 after pipeline body; any %0 expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:'Invalid topic token %0. In order to use %0 as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "%0" }.',PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:"Hack-style pipe body cannot be an unparenthesized %0 expression; please wrap it in parentheses.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},Rt.SyntaxError),Mt=jt({ImportMetaOutsideModule:"import.meta may appear only with 'sourceType: \"module\"'",ImportOutsideModule:"'import' and 'export' may appear only with 'sourceType: \"module\"'"},Rt.SourceTypeModuleError);function Dt(e,t){return"flow"===t&&"PatternIsOptional"===e?"OptionalBindingPattern":e}function jt(e,t,r){const s={};return Object.keys(e).forEach((n=>{s[n]=Object.freeze({code:t,reasonCode:Dt(n,r),template:e[n]})})),Object.freeze(s)}class Ft extends It{getLocationForPosition(e){let t;return t=e===this.state.start?this.state.startLoc:e===this.state.lastTokStart?this.state.lastTokStartLoc:e===this.state.end?this.state.endLoc:e===this.state.lastTokEnd?this.state.lastTokEndLoc:function(e,t){let r,s=1,n=0;for(wt.lastIndex=0;(r=wt.exec(e))&&r.index<t;)s++,n=wt.lastIndex;return new Pt(s,t-n)}(this.input,e),t}raise(e,{code:t,reasonCode:r,template:s},...n){return this.raiseWithData(e,{code:t,reasonCode:r},s,...n)}raiseOverwrite(e,{code:t,template:r},...s){const n=this.getLocationForPosition(e),i=r.replace(/%(\d+)/g,((e,t)=>s[t]))+` (${n.line}:${n.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let r=t.length-1;r>=0;r--){const s=t[r];if(s.pos===e)return Object.assign(s,{message:i});if(s.pos<e)break}}return this._raise({code:t,loc:n,pos:e},i)}raiseWithData(e,t,r,...s){const n=this.getLocationForPosition(e),i=r.replace(/%(\d+)/g,((e,t)=>s[t]))+` (${n.line}:${n.column})`;return this._raise(Object.assign({loc:n,pos:e},t),i)}_raise(e,t){const r=new SyntaxError(t);if(Object.assign(r,e),this.options.errorRecovery)return this.isLookahead||this.state.errors.push(r),r;throw r}}class Bt{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}}const Ut={brace:new Bt("{"),template:new Bt("`",!0)},qt=!0,$t=!0,Ht=!0,Vt=!0,Wt=!0;class Gt{constructor(e,t={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=null!=t.binop?t.binop:null,this.updateContext=null}}const zt=new Map;function Kt(e,t={}){t.keyword=e;const r=sr(e,t);return zt.set(e,r),r}function Yt(e,t){return sr(e,{beforeExpr:qt,binop:t})}let Jt=-1;const Xt=[],Qt=[],Zt=[],er=[],tr=[],rr=[];function sr(e,t={}){var r,s,n,i;return++Jt,Qt.push(e),Zt.push(null!=(r=t.binop)?r:-1),er.push(null!=(s=t.beforeExpr)&&s),tr.push(null!=(n=t.startsExpr)&&n),rr.push(null!=(i=t.prefix)&&i),Xt.push(new Gt(e,t)),Jt}function nr(e,t={}){var r,s,n,i;return++Jt,zt.set(e,Jt),Qt.push(e),Zt.push(null!=(r=t.binop)?r:-1),er.push(null!=(s=t.beforeExpr)&&s),tr.push(null!=(n=t.startsExpr)&&n),rr.push(null!=(i=t.prefix)&&i),Xt.push(new Gt("name",t)),Jt}const ir={bracketL:sr("[",{beforeExpr:qt,startsExpr:$t}),bracketHashL:sr("#[",{beforeExpr:qt,startsExpr:$t}),bracketBarL:sr("[|",{beforeExpr:qt,startsExpr:$t}),bracketR:sr("]"),bracketBarR:sr("|]"),braceL:sr("{",{beforeExpr:qt,startsExpr:$t}),braceBarL:sr("{|",{beforeExpr:qt,startsExpr:$t}),braceHashL:sr("#{",{beforeExpr:qt,startsExpr:$t}),braceR:sr("}",{beforeExpr:qt}),braceBarR:sr("|}"),parenL:sr("(",{beforeExpr:qt,startsExpr:$t}),parenR:sr(")"),comma:sr(",",{beforeExpr:qt}),semi:sr(";",{beforeExpr:qt}),colon:sr(":",{beforeExpr:qt}),doubleColon:sr("::",{beforeExpr:qt}),dot:sr("."),question:sr("?",{beforeExpr:qt}),questionDot:sr("?."),arrow:sr("=>",{beforeExpr:qt}),template:sr("template"),ellipsis:sr("...",{beforeExpr:qt}),backQuote:sr("`",{startsExpr:$t}),dollarBraceL:sr("${",{beforeExpr:qt,startsExpr:$t}),at:sr("@"),hash:sr("#",{startsExpr:$t}),interpreterDirective:sr("#!..."),eq:sr("=",{beforeExpr:qt,isAssign:Vt}),assign:sr("_=",{beforeExpr:qt,isAssign:Vt}),slashAssign:sr("_=",{beforeExpr:qt,isAssign:Vt}),xorAssign:sr("_=",{beforeExpr:qt,isAssign:Vt}),moduloAssign:sr("_=",{beforeExpr:qt,isAssign:Vt}),incDec:sr("++/--",{prefix:Wt,postfix:!0,startsExpr:$t}),bang:sr("!",{beforeExpr:qt,prefix:Wt,startsExpr:$t}),tilde:sr("~",{beforeExpr:qt,prefix:Wt,startsExpr:$t}),pipeline:Yt("|>",0),nullishCoalescing:Yt("??",1),logicalOR:Yt("||",1),logicalAND:Yt("&&",2),bitwiseOR:Yt("|",3),bitwiseXOR:Yt("^",4),bitwiseAND:Yt("&",5),equality:Yt("==/!=/===/!==",6),lt:Yt("</>/<=/>=",7),gt:Yt("</>/<=/>=",7),relational:Yt("</>/<=/>=",7),bitShift:Yt("<</>>/>>>",8),plusMin:sr("+/-",{beforeExpr:qt,binop:9,prefix:Wt,startsExpr:$t}),modulo:sr("%",{binop:10,startsExpr:$t}),star:sr("*",{binop:10}),slash:Yt("/",10),exponent:sr("**",{beforeExpr:qt,binop:11,rightAssociative:!0}),_in:Kt("in",{beforeExpr:qt,binop:7}),_instanceof:Kt("instanceof",{beforeExpr:qt,binop:7}),_break:Kt("break"),_case:Kt("case",{beforeExpr:qt}),_catch:Kt("catch"),_continue:Kt("continue"),_debugger:Kt("debugger"),_default:Kt("default",{beforeExpr:qt}),_else:Kt("else",{beforeExpr:qt}),_finally:Kt("finally"),_function:Kt("function",{startsExpr:$t}),_if:Kt("if"),_return:Kt("return",{beforeExpr:qt}),_switch:Kt("switch"),_throw:Kt("throw",{beforeExpr:qt,prefix:Wt,startsExpr:$t}),_try:Kt("try"),_var:Kt("var"),_const:Kt("const"),_with:Kt("with"),_new:Kt("new",{beforeExpr:qt,startsExpr:$t}),_this:Kt("this",{startsExpr:$t}),_super:Kt("super",{startsExpr:$t}),_class:Kt("class",{startsExpr:$t}),_extends:Kt("extends",{beforeExpr:qt}),_export:Kt("export"),_import:Kt("import",{startsExpr:$t}),_null:Kt("null",{startsExpr:$t}),_true:Kt("true",{startsExpr:$t}),_false:Kt("false",{startsExpr:$t}),_typeof:Kt("typeof",{beforeExpr:qt,prefix:Wt,startsExpr:$t}),_void:Kt("void",{beforeExpr:qt,prefix:Wt,startsExpr:$t}),_delete:Kt("delete",{beforeExpr:qt,prefix:Wt,startsExpr:$t}),_do:Kt("do",{isLoop:Ht,beforeExpr:qt}),_for:Kt("for",{isLoop:Ht}),_while:Kt("while",{isLoop:Ht}),_as:nr("as",{startsExpr:$t}),_assert:nr("assert",{startsExpr:$t}),_async:nr("async",{startsExpr:$t}),_await:nr("await",{startsExpr:$t}),_from:nr("from",{startsExpr:$t}),_get:nr("get",{startsExpr:$t}),_let:nr("let",{startsExpr:$t}),_meta:nr("meta",{startsExpr:$t}),_of:nr("of",{startsExpr:$t}),_sent:nr("sent",{startsExpr:$t}),_set:nr("set",{startsExpr:$t}),_static:nr("static",{startsExpr:$t}),_yield:nr("yield",{startsExpr:$t}),_asserts:nr("asserts",{startsExpr:$t}),_checks:nr("checks",{startsExpr:$t}),_exports:nr("exports",{startsExpr:$t}),_global:nr("global",{startsExpr:$t}),_implements:nr("implements",{startsExpr:$t}),_intrinsic:nr("intrinsic",{startsExpr:$t}),_infer:nr("infer",{startsExpr:$t}),_is:nr("is",{startsExpr:$t}),_mixins:nr("mixins",{startsExpr:$t}),_proto:nr("proto",{startsExpr:$t}),_require:nr("require",{startsExpr:$t}),_keyof:nr("keyof",{startsExpr:$t}),_readonly:nr("readonly",{startsExpr:$t}),_unique:nr("unique",{startsExpr:$t}),_abstract:nr("abstract",{startsExpr:$t}),_declare:nr("declare",{startsExpr:$t}),_enum:nr("enum",{startsExpr:$t}),_module:nr("module",{startsExpr:$t}),_namespace:nr("namespace",{startsExpr:$t}),_interface:nr("interface",{startsExpr:$t}),_type:nr("type",{startsExpr:$t}),_opaque:nr("opaque",{startsExpr:$t}),name:sr("name",{startsExpr:$t}),string:sr("string",{startsExpr:$t}),num:sr("num",{startsExpr:$t}),bigint:sr("bigint",{startsExpr:$t}),decimal:sr("decimal",{startsExpr:$t}),regexp:sr("regexp",{startsExpr:$t}),privateName:sr("#name",{startsExpr:$t}),eof:sr("eof"),jsxName:sr("jsxName"),jsxText:sr("jsxText",{beforeExpr:!0}),jsxTagStart:sr("jsxTagStart",{startsExpr:!0}),jsxTagEnd:sr("jsxTagEnd"),placeholder:sr("%%",{startsExpr:!0})};function or(e){return e>=87&&e<=122}function ar(e){return e>=52&&e<=122}function cr(e){return e>=52&&e<=126}function lr(e){return tr[e]}function hr(e){return e>=119&&e<=121}function ur(e){return e>=52&&e<=86}function pr(e){return Qt[e]}function dr(e){return Zt[e]}function fr(e){return Xt[e]}Xt[8].updateContext=e=>{e.pop()},Xt[5].updateContext=Xt[7].updateContext=Xt[23].updateContext=e=>{e.push(Ut.brace)},Xt[22].updateContext=e=>{e[e.length-1]===Ut.template?e.pop():e.push(Ut.template)},Xt[132].updateContext=e=>{e.push(Ut.j_expr,Ut.j_oTag)};let mr="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",gr="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const yr=new RegExp("["+mr+"]"),br=new RegExp("["+mr+gr+"]");mr=gr=null;const vr=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],xr=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function wr(e,t){let r=65536;for(let s=0,n=t.length;s<n;s+=2){if(r+=t[s],r>e)return!1;if(r+=t[s+1],r>=e)return!0}return!1}function Er(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&yr.test(String.fromCharCode(e)):wr(e,vr)))}function Sr(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&br.test(String.fromCharCode(e)):wr(e,vr)||wr(e,xr))))}const _r=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),Tr=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),Pr=new Set(["eval","arguments"]);function Ar(e,t){return t&&"await"===e||"enum"===e}function Cr(e,t){return Ar(e,t)||Tr.has(e)}function kr(e){return Pr.has(e)}function Or(e,t){return Cr(e,t)||kr(e)}const Nr=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);class Ir{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}}class Rr{constructor(e,t){this.scopeStack=[],this.undefinedExports=new Map,this.undefinedPrivateNames=new Map,this.raise=e,this.inModule=t}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(64&e)>0&&0==(2&e)}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(128&t)return!0;if(323&t)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Ir(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(2&e.flags||!this.inModule&&1&e.flags)}declareName(e,t,r){let s=this.currentScope();if(8&t||16&t)this.checkRedeclarationInScope(s,e,t,r),16&t?s.functions.add(e):s.lexical.add(e),8&t&&this.maybeExportDefined(s,e);else if(4&t)for(let n=this.scopeStack.length-1;n>=0&&(s=this.scopeStack[n],this.checkRedeclarationInScope(s,e,t,r),s.var.add(e),this.maybeExportDefined(s,e),!(259&s.flags));--n);this.inModule&&1&s.flags&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.inModule&&1&e.flags&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,r,s){this.isRedeclaredInScope(e,t,r)&&this.raise(s,Lt.VarRedeclaration,t)}isRedeclaredInScope(e,t,r){return!!(1&r)&&(8&r?e.lexical.has(t)||e.functions.has(t)||e.var.has(t):16&r?e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t):e.lexical.has(t)&&!(8&e.flags&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t))}checkLocalExport(e){const{name:t}=e,r=this.scopeStack[0];r.lexical.has(t)||r.var.has(t)||r.functions.has(t)||this.undefinedExports.set(t,e.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(259&t)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(323&t&&!(4&t))return t}}}class Lr extends Ir{constructor(...e){super(...e),this.declareFunctions=new Set}}class Mr extends Rr{createScope(e){return new Lr(e)}declareName(e,t,r){const s=this.currentScope();if(2048&t)return this.checkRedeclarationInScope(s,e,t,r),this.maybeExportDefined(s,e),void s.declareFunctions.add(e);super.declareName(...arguments)}isRedeclaredInScope(e,t,r){return!!super.isRedeclaredInScope(...arguments)||!!(2048&r)&&!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}}class Dr{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.decoratorStack=[[]],this.comments=[],this.commentStack=[],this.pos=0,this.type=129,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.lastTokEnd=0,this.context=[Ut.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.strictErrors=new Map,this.tokensLength=0}init({strictMode:e,sourceType:t,startLine:r,startColumn:s}){this.strict=!1!==e&&(!0===e||"module"===t),this.curLine=r,this.lineStart=-s,this.startLoc=this.endLoc=new Pt(r,s)}curPosition(){return new Pt(this.curLine,this.pos-this.lineStart)}clone(e){const t=new Dr,r=Object.keys(this);for(let s=0,n=r.length;s<n;s++){const n=r[s];let i=this[n];!e&&Array.isArray(i)&&(i=i.slice()),t[n]=i}return t}}var jr=function(e){return e>=48&&e<=57};const Fr=new Set([103,109,115,105,121,117,100]),Br={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]},Ur={bin:[48,49]};Ur.oct=[...Ur.bin,50,51,52,53,54,55],Ur.dec=[...Ur.oct,56,57],Ur.hex=[...Ur.dec,65,66,67,68,69,70,97,98,99,100,101,102];class qr{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new At(e.startLoc,e.endLoc)}}class $r extends Ft{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.state=new Dr,this.state.init(e),this.input=t,this.length=t.length,this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new qr(this.state)),this.state.lastTokEnd=this.state.end,this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return!!this.match(e)&&(this.next(),!0)}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return St.lastIndex=e,St.test(this.input)?St.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if(55296==(64512&t)&&++e<this.input.length){const r=this.input.charCodeAt(e);56320==(64512&r)&&(t=65536+((1023&t)<<10)+(1023&r))}return t}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach(((e,t)=>this.raise(t,e))),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();e.preserveSpace||this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(129):e===Ut.template?this.readTmplToken():this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(){let e;this.isLookahead||(e=this.state.curPosition());const t=this.state.pos,r=this.input.indexOf("*/",t+2);if(-1===r)throw this.raise(t,Lt.UnterminatedComment);for(this.state.pos=r+2,wt.lastIndex=t+2;wt.test(this.input)&&wt.lastIndex<=r;)++this.state.curLine,this.state.lineStart=wt.lastIndex;if(this.isLookahead)return;const s={type:"CommentBlock",value:this.input.slice(t+2,r),start:t,end:r+2,loc:new At(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(s),s}skipLineComment(e){const t=this.state.pos;let r;this.isLookahead||(r=this.state.curPosition());let s=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!Et(s)&&++this.state.pos<this.length;)s=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const n=this.state.pos,i={type:"CommentLine",value:this.input.slice(t+e,n),start:t,end:n,loc:new At(r,this.state.curPosition())};return this.options.tokens&&this.pushToken(i),i}skipSpace(){const e=this.state.pos,t=[];e:for(;this.state.pos<this.length;){const r=this.input.charCodeAt(this.state.pos);switch(r){case 32:case 160:case 9:++this.state.pos;break;case 13:10===this.input.charCodeAt(this.state.pos+1)&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{const e=this.skipBlockComment();void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}case 47:{const e=this.skipLineComment(2);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}default:break e}break;default:if(Tt(r))++this.state.pos;else if(45!==r||this.inModule){if(60!==r||this.inModule)break e;{const e=this.state.pos;if(33!==this.input.charCodeAt(e+1)||45!==this.input.charCodeAt(e+2)||45!==this.input.charCodeAt(e+3))break e;{const e=this.skipLineComment(4);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}else{const r=this.state.pos;if(45!==this.input.charCodeAt(r+1)||62!==this.input.charCodeAt(r+2)||!(0===e||this.state.lineStart>e))break e;{const e=this.skipLineComment(3);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}}if(t.length>0){const r={start:e,end:this.state.pos,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(e,t){this.state.end=this.state.pos;const r=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||(this.state.endLoc=this.state.curPosition(),this.updateContext(r))}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(0===this.state.pos&&this.readToken_interpreter())return;const e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(this.state.pos,Lt.UnexpectedDigitAfterHash);if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"hash"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,123===t?Lt.RecordExpressionHashIncorrectStartSyntaxType:Lt.TupleExpressionHashIncorrectStartSyntaxType);this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else Er(t)?(++this.state.pos,this.finishToken(128,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(128,this.readWord1())):this.finishOp(25,1)}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(29,2):this.finishOp(50,1)}readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;const t=this.state.pos;for(this.state.pos+=1;!Et(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);const r=this.input.slice(t+2,this.state.pos);return this.finishToken(26,r),!0}readToken_mult_modulo(e){let t=42===e?49:48,r=1,s=this.input.charCodeAt(this.state.pos+1);42===e&&42===s&&(r++,s=this.input.charCodeAt(this.state.pos+2),t=51),61!==s||this.state.inType||(r++,t=37===e?31:28),this.finishOp(t,r)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(t!==e){if(124===e){if(62===t)return void this.finishOp(35,2);if(this.hasPlugin("recordAndTuple")&&125===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,Lt.RecordExpressionBarIncorrectEndSyntaxType);return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&93===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,Lt.TupleExpressionBarIncorrectEndSyntaxType);return this.state.pos+=2,void this.finishToken(4)}}61!==t?this.finishOp(124===e?39:41,1):this.finishOp(28,2)}else 61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(28,3):this.finishOp(124===e?37:38,2)}readToken_caret(){61!==this.input.charCodeAt(this.state.pos+1)||this.state.inType?this.finishOp(40,1):this.finishOp(30,2)}readToken_plus_min(e){const t=this.input.charCodeAt(this.state.pos+1);t!==e?61===t?this.finishOp(28,2):this.finishOp(47,1):this.finishOp(32,2)}readToken_lt(){const{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(60===t)return 61===this.input.charCodeAt(e+2)?void this.finishOp(28,3):void this.finishOp(46,2);61!==t?this.finishOp(43,1):this.finishOp(45,2)}readToken_gt(){const{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(62===t){const t=62===this.input.charCodeAt(e+2)?3:2;return 61===this.input.charCodeAt(e+t)?void this.finishOp(28,t+1):void this.finishOp(46,t)}61!==t?this.finishOp(44,1):this.finishOp(45,2)}readToken_eq_excl(e){const t=this.input.charCodeAt(this.state.pos+1);if(61!==t)return 61===e&&62===t?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(61===e?27:33,1);this.finishOp(42,61===this.input.charCodeAt(this.state.pos+2)?3:2)}readToken_question(){const e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);63===e?61===t?this.finishOp(28,3):this.finishOp(36,2):46!==e||t>=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,Lt.TupleExpressionBarIncorrectStartSyntaxType);this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,Lt.RecordExpressionBarIncorrectStartSyntaxType);this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return++this.state.pos,void this.finishToken(22);case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(120===e||88===e)return void this.readRadixNumber(16);if(111===e||79===e)return void this.readRadixNumber(8);if(98===e||66===e)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(34,1);case 64:return++this.state.pos,void this.finishToken(24);case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(Er(e))return void this.readWord(e)}throw this.raise(this.state.pos,Lt.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,r)}readRegexp(){const e=this.state.start+1;let t,r,{pos:s}=this.state;for(;;++s){if(s>=this.length)throw this.raise(e,Lt.UnterminatedRegExp);const n=this.input.charCodeAt(s);if(Et(n))throw this.raise(e,Lt.UnterminatedRegExp);if(t)t=!1;else{if(91===n)r=!0;else if(93===n&&r)r=!1;else if(47===n&&!r)break;t=92===n}}const n=this.input.slice(e,s);++s;let i="";for(;s<this.length;){const e=this.codePointAtPos(s),t=String.fromCharCode(e);if(Fr.has(e))i.includes(t)&&this.raise(s+1,Lt.DuplicateRegExpFlags);else{if(!Sr(e)&&92!==e)break;this.raise(s+1,Lt.MalformedRegExpFlags)}++s,i+=t}this.state.pos=s,this.finishToken(127,{pattern:n,flags:i})}readInt(e,t,r,s=!0){const n=this.state.pos,i=16===e?Br.hex:Br.decBinOct,o=16===e?Ur.hex:10===e?Ur.dec:8===e?Ur.oct:Ur.bin;let a=!1,c=0;for(let n=0,l=null==t?1/0:t;n<l;++n){const t=this.input.charCodeAt(this.state.pos);let l;if(95!==t){if(l=t>=97?t-97+10:t>=65?t-65+10:jr(t)?t-48:1/0,l>=e)if(this.options.errorRecovery&&l<=9)l=0,this.raise(this.state.start+n+2,Lt.InvalidDigit,e);else{if(!r)break;l=0,a=!0}++this.state.pos,c=c*e+l}else{const e=this.input.charCodeAt(this.state.pos-1),t=this.input.charCodeAt(this.state.pos+1);(-1===o.indexOf(t)||i.indexOf(e)>-1||i.indexOf(t)>-1||Number.isNaN(t))&&this.raise(this.state.pos,Lt.UnexpectedNumericSeparator),s||this.raise(this.state.pos,Lt.NumericSeparatorInEscapeSequence),++this.state.pos}}return this.state.pos===n||null!=t&&this.state.pos-n!==t||a?null:c}readRadixNumber(e){const t=this.state.pos;let r=!1;this.state.pos+=2;const s=this.readInt(e);null==s&&this.raise(this.state.start+2,Lt.InvalidDigit,e);const n=this.input.charCodeAt(this.state.pos);if(110===n)++this.state.pos,r=!0;else if(109===n)throw this.raise(t,Lt.InvalidDecimal);if(Er(this.codePointAtPos(this.state.pos)))throw this.raise(this.state.pos,Lt.NumberIdentifier);if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(125,e)}else this.finishToken(124,s)}readNumber(e){const t=this.state.pos;let r=!1,s=!1,n=!1,i=!1,o=!1;e||null!==this.readInt(10)||this.raise(t,Lt.InvalidNumber);const a=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(a){const e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(t,Lt.StrictOctalLiteral),!this.state.strict){const r=e.indexOf("_");r>0&&this.raise(r+t,Lt.ZeroDigitNumericSeparator)}o=a&&!/[89]/.test(e)}let c=this.input.charCodeAt(this.state.pos);if(46!==c||o||(++this.state.pos,this.readInt(10),r=!0,c=this.input.charCodeAt(this.state.pos)),69!==c&&101!==c||o||(c=this.input.charCodeAt(++this.state.pos),43!==c&&45!==c||++this.state.pos,null===this.readInt(10)&&this.raise(t,Lt.InvalidOrMissingExponent),r=!0,i=!0,c=this.input.charCodeAt(this.state.pos)),110===c&&((r||a)&&this.raise(t,Lt.InvalidBigIntLiteral),++this.state.pos,s=!0),109===c&&(this.expectPlugin("decimal",this.state.pos),(i||a)&&this.raise(t,Lt.InvalidDecimal),++this.state.pos,n=!0),Er(this.codePointAtPos(this.state.pos)))throw this.raise(this.state.pos,Lt.NumberIdentifier);const l=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(s)return void this.finishToken(125,l);if(n)return void this.finishToken(126,l);const h=o?parseInt(l,8):parseFloat(l);this.finishToken(124,h)}readCodePoint(e){let t;if(123===this.input.charCodeAt(this.state.pos)){const r=++this.state.pos;if(t=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,!0,e),++this.state.pos,null!==t&&t>1114111){if(!e)return null;this.raise(r,Lt.InvalidCodePoint)}}else t=this.readHexChar(4,!1,e);return t}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,Lt.UnterminatedString);const s=this.input.charCodeAt(this.state.pos);if(s===e)break;if(92===s)t+=this.input.slice(r,this.state.pos),t+=this.readEscapedChar(!1),r=this.state.pos;else if(8232===s||8233===s)++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;else{if(Et(s))throw this.raise(this.state.start,Lt.UnterminatedString);++this.state.pos}}t+=this.input.slice(r,this.state.pos++),this.finishToken(123,t)}readTmplToken(){let e="",t=this.state.pos,r=!1;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,Lt.UnterminatedTemplate);const s=this.input.charCodeAt(this.state.pos);if(96===s||36===s&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos===this.state.start&&this.match(20)?36===s?(this.state.pos+=2,void this.finishToken(23)):(++this.state.pos,void this.finishToken(22)):(e+=this.input.slice(t,this.state.pos),void this.finishToken(20,r?null:e));if(92===s){e+=this.input.slice(t,this.state.pos);const s=this.readEscapedChar(!0);null===s?r=!0:e+=s,t=this.state.pos}else if(Et(s)){switch(e+=this.input.slice(t,this.state.pos),++this.state.pos,s){case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(s)}++this.state.curLine,this.state.lineStart=this.state.pos,t=this.state.pos}else++this.state.pos}}recordStrictModeErrors(e,t){this.state.strict&&!this.state.strictErrors.has(e)?this.raise(e,t):this.state.strictErrors.set(e,t)}readEscapedChar(e){const t=!e,r=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,!1,t);return null===e?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return null===e?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:this.state.lineStart=this.state.pos,++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e)return null;this.recordStrictModeErrors(this.state.pos-1,Lt.StrictNumericEscape);default:if(r>=48&&r<=55){const t=this.state.pos-1;let r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(r,8);s>255&&(r=r.slice(0,-1),s=parseInt(r,8)),this.state.pos+=r.length-1;const n=this.input.charCodeAt(this.state.pos);if("0"!==r||56===n||57===n){if(e)return null;this.recordStrictModeErrors(t,Lt.StrictNumericEscape)}return String.fromCharCode(s)}return String.fromCharCode(r)}}readHexChar(e,t,r){const s=this.state.pos,n=this.readInt(16,e,t,!1);return null===n&&(r?this.raise(s,Lt.InvalidEscapeSequence):this.state.pos=s-1),n}readWord1(e){this.state.containsEsc=!1;let t="";const r=this.state.pos;let s=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){const e=this.codePointAtPos(this.state.pos);if(Sr(e))this.state.pos+=e<=65535?1:2;else{if(92!==e)break;{this.state.containsEsc=!0,t+=this.input.slice(s,this.state.pos);const e=this.state.pos,n=this.state.pos===r?Er:Sr;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(this.state.pos,Lt.MissingUnicodeEscape),s=this.state.pos-1;continue}++this.state.pos;const i=this.readCodePoint(!0);null!==i&&(n(i)||this.raise(e,Lt.EscapedCharNotAnIdentifier),t+=String.fromCodePoint(i)),s=this.state.pos}}}return t+this.input.slice(s,this.state.pos)}readWord(e){const t=this.readWord1(e),r=zt.get(t);void 0!==r?this.finishToken(r,pr(r)):this.finishToken(122,t)}checkKeywordEscapes(){const{type:e}=this.state;ur(e)&&this.state.containsEsc&&this.raise(this.state.start,Lt.InvalidEscapedReservedWord,pr(e))}updateContext(e){const{context:t,type:r}=this.state;switch(r){case 8:t.pop();break;case 5:case 7:case 23:t.push(Ut.brace);break;case 22:t[t.length-1]===Ut.template?t.pop():t.push(Ut.template)}}}class Hr{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Vr{constructor(e){this.stack=[],this.undefinedPrivateNames=new Map,this.raise=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Hr)}exit(){const e=this.stack.pop(),t=this.current();for(const[r,s]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(r)||t.undefinedPrivateNames.set(r,s):this.raise(s,Lt.InvalidPrivateFieldResolution,r)}declarePrivateName(e,t,r){const s=this.current();let n=s.privateNames.has(e);if(3&t){const r=n&&s.loneAccessors.get(e);r?(n=(3&r)==(3&t)||(4&r)!=(4&t),n||s.loneAccessors.delete(e)):n||s.loneAccessors.set(e,t)}n&&this.raise(r,Lt.PrivateNameRedeclaration,e),s.privateNames.add(e),s.undefinedPrivateNames.delete(e)}usePrivateName(e,t){let r;for(r of this.stack)if(r.privateNames.has(e))return;r?r.undefinedPrivateNames.set(e,t):this.raise(t,Lt.InvalidPrivateFieldResolution,e)}}class Wr{constructor(e=0){this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return 2===this.type||1===this.type}isCertainlyParameterDeclaration(){return 3===this.type}}class Gr extends Wr{constructor(e){super(e),this.errors=new Map}recordDeclarationError(e,t){this.errors.set(e,t)}clearDeclarationError(e){this.errors.delete(e)}iterateErrors(e){this.errors.forEach(e)}}class zr{constructor(e){this.stack=[new Wr],this.raise=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){const{stack:r}=this;let s=r.length-1,n=r[s];for(;!n.isCertainlyParameterDeclaration();){if(!n.canBeArrowParameterDeclaration())return;n.recordDeclarationError(e,t),n=r[--s]}this.raise(e,t)}recordParenthesizedIdentifierError(e,t){const{stack:r}=this,s=r[r.length-1];if(s.isCertainlyParameterDeclaration())this.raise(e,t);else{if(!s.canBeArrowParameterDeclaration())return;s.recordDeclarationError(e,t)}}recordAsyncArrowParametersError(e,t){const{stack:r}=this;let s=r.length-1,n=r[s];for(;n.canBeArrowParameterDeclaration();)2===n.type&&n.recordDeclarationError(e,t),n=r[--s]}validateAsPattern(){const{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors(((t,r)=>{this.raise(r,t);let s=e.length-2,n=e[s];for(;n.canBeArrowParameterDeclaration();)n.clearDeclarationError(r),n=e[--s]}))}}function Kr(){return new Wr}const Yr=2;class Jr{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&Yr)>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}}function Xr(e,t){return(e?Yr:0)|(t?1:0)}class Qr extends $r{addExtra(e,t,r){e&&((e.extra=e.extra||{})[t]=r)}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(Sr(e)||55296==(64512&e))}return!1}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return!!this.isContextual(e)&&(this.next(),!0)}expectContextual(e,t){this.eatContextual(e)||this.unexpected(null,t)}canInsertSemicolon(){return this.match(129)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return xt.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return _t.lastIndex=this.state.end,_t.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(this.state.lastTokEnd,Lt.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){this.state.start>this.state.lastTokEnd&&this.raise(this.state.lastTokEnd,{code:Rt.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}unexpected(e,t={code:Rt.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){throw"number"==typeof t&&(t={code:Rt.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${pr(t)}"`}),this.raise(null!=e?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e))throw this.raiseWithData(null!=t?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`);return!0}expectOnePlugin(e,t){if(!e.some((e=>this.hasPlugin(e))))throw this.raiseWithData(null!=t?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}tryParse(e,t=this.state.clone()){const r={node:null};try{const s=e(((e=null)=>{throw r.node=e,r}));if(this.state.errors.length>t.errors.length){const e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:s,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:s,error:null,thrown:!1,aborted:!1,failState:null}}catch(e){const s=this.state;if(this.state=t,e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:s};if(e===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:s};throw e}}checkExpressionErrors(e,t){if(!e)return!1;const{shorthandAssign:r,doubleProto:s,optionalParameters:n}=e,i=r+s+n>-3;if(!t)return i;i&&(r>=0&&this.unexpected(r),s>=0&&this.raise(s,Lt.DuplicateProto),n>=0&&this.unexpected(n))}isLiteralPropertyName(){return cr(this.state.type)}isPrivateName(e){return"PrivateName"===e.type}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)}isOptionalChain(e){return"OptionalMemberExpression"===e.type||"OptionalCallExpression"===e.type}isObjectProperty(e){return"ObjectProperty"===e.type}isObjectMethod(e){return"ObjectMethod"===e.type}initializeScopes(e="module"===this.options.sourceType){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const s=this.inModule;this.inModule=e;const n=this.scope,i=this.getScopeHandler();this.scope=new i(this.raise.bind(this),this.inModule);const o=this.prodParam;this.prodParam=new Jr;const a=this.classScope;this.classScope=new Vr(this.raise.bind(this));const c=this.expressionScope;return this.expressionScope=new zr(this.raise.bind(this)),()=>{this.state.labels=t,this.exportedIdentifiers=r,this.inModule=s,this.scope=n,this.prodParam=o,this.classScope=a,this.expressionScope=c}}enterInitialScopes(){let e=0;this.inModule&&(e|=Yr),this.scope.enter(1),this.prodParam.enter(e)}}class Zr{constructor(){this.shorthandAssign=-1,this.doubleProto=-1,this.optionalParameters=-1}}let es=class{constructor(e,t,r){this.type="",this.start=t,this.end=0,this.loc=new At(r),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}};const ts=es.prototype;function rs(e){const{type:t,start:r,end:s,loc:n,range:i,extra:o,name:a}=e,c=Object.create(ts);return c.type=t,c.start=r,c.end=s,c.loc=n,c.range=i,c.extra=o,c.name=a,"Placeholder"===t&&(c.expectedNode=e.expectedNode),c}ts.__clone=function(){const e=new es,t=Object.keys(this);for(let r=0,s=t.length;r<s;r++){const s=t[r];"leadingComments"!==s&&"trailingComments"!==s&&"innerComments"!==s&&(e[s]=this[s])}return e};class ss extends Qr{startNode(){return new es(this,this.state.start,this.state.startLoc)}startNodeAt(e,t){return new es(this,e,t)}startNodeAtNode(e){return this.startNodeAt(e.start,e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEnd,this.state.lastTokEndLoc)}finishNodeAt(e,t,r,s){return e.type=t,e.end=r,e.loc.end=s,this.options.ranges&&(e.range[1]=r),this.options.attachComment&&this.processComment(e),e}resetStartLocation(e,t,r){e.start=t,e.loc.start=r,this.options.ranges&&(e.range[0]=t)}resetEndLocation(e,t=this.state.lastTokEnd,r=this.state.lastTokEndLoc){e.end=t,e.loc.end=r,this.options.ranges&&(e.range[1]=t)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.start,t.loc.start)}}const ns=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),is=jt({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:"Cannot overwrite reserved type %0.",DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:"Unexpected reserved type %0.",UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},Rt.SyntaxError,"flow");function os(e){return"type"===e.importKind||"typeof"===e.importKind}function as(e){return ar(e)&&91!==e}const cs={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},ls=/\*?\s*@((?:no)?flow)\b/,hs={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},us=/^[\da-fA-F]+$/,ps=/^\d+$/,ds=jt({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:"Expected corresponding JSX closing tag for <%0>.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"},Rt.SyntaxError,"jsx");function fs(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function ms(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return ms(e.object)+"."+ms(e.property);throw new Error("Node had unexpected type: "+e.type)}Ut.j_oTag=new Bt("<tag"),Ut.j_cTag=new Bt("</tag"),Ut.j_expr=new Bt("<tag>...</tag>",!0);class gs extends Ir{constructor(...e){super(...e),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}}class ys extends Rr{createScope(e){return new gs(e)}declareName(e,t,r){const s=this.currentScope();if(1024&t)return this.maybeExportDefined(s,e),void s.exportOnlyBindings.add(e);super.declareName(...arguments),2&t&&(1&t||(this.checkRedeclarationInScope(s,e,t,r),this.maybeExportDefined(s,e)),s.types.add(e)),256&t&&s.enums.add(e),512&t&&s.constEnums.add(e),128&t&&s.classes.add(e)}isRedeclaredInScope(e,t,r){return e.enums.has(t)?!(256&r)||!!(512&r)!==e.constEnums.has(t):128&r&&e.classes.has(t)?!!e.lexical.has(t)&&!!(1&r):!!(2&r&&e.types.has(t))||super.isRedeclaredInScope(...arguments)}checkLocalExport(e){const t=this.scopeStack[0],{name:r}=e;t.types.has(r)||t.exportOnlyBindings.has(r)||super.checkLocalExport(e)}}function bs(e){if(!e)throw new Error("Assert fail")}const vs=jt({AbstractMethodHasImplementation:"Method '%0' cannot have an implementation because it is marked abstract.",AbstractPropertyHasInitializer:"Property '%0' cannot have an initializer because it is marked abstract.",AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:"'declare' is not allowed in %0ters.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:"Accessibility modifier already seen.",DuplicateModifier:"Duplicate modifier: '%0'.",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:"'%0' modifier cannot be used with '%1' modifier.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0').",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InvalidModifierOnTypeMember:"'%0' modifier cannot appear on a type member.",InvalidModifiersOrder:"'%0' modifier must precede '%1' modifier.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0').",ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0."},Rt.SyntaxError,"typescript");function xs(e){return"private"===e||"public"===e||"protected"===e}const ws=jt({ClassNameIsRequired:"A class name is required."},Rt.SyntaxError);function Es(e,t){return e.some((e=>Array.isArray(e)?e[0]===t:e===t))}function Ss(e,t,r){const s=e.find((e=>Array.isArray(e)?e[0]===t:e===t));return s&&Array.isArray(s)?s[1][r]:null}const _s=["minimal","fsharp","hack","smart"],Ts=["^","%","#"],Ps=["hash","bar"],As={estree:e=>class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const s=this.estreeParseLiteral(r);return s.regex={pattern:e,flags:t},s}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);return r.bigint=String(r.value||e),r}parseDecimalLiteral(e){const t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value,r=this.startNodeAt(e.start,e.loc.start),s=this.startNodeAt(t.start,t.loc.start);return s.value=t.extra.expressionValue,s.raw=t.extra.raw,r.expression=this.finishNodeAt(s,"Literal",t.end,t.loc.end),r.directive=t.extra.raw.slice(1,-1),this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){null!=e&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&!(null!=(t=e.expression.extra)&&t.parenthesized)}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const r=e.directives.map((e=>this.directiveToStmt(e)));e.body=r.concat(e.body),delete e.directives}pushClassMethod(e,t,r,s,n,i){this.parseMethod(t,r,s,n,i,"ClassMethod",!0),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)}parsePrivateName(){const e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);return delete e.id,e.name=t,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?"PrivateIdentifier"===e.type:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t){const r=super.parseLiteral(e,t);return r.raw=r.extra.raw,delete r.extra,r}parseFunctionBody(e,t,r=!1){super.parseFunctionBody(e,t,r),e.expression="BlockStatement"!==e.body.type}parseMethod(e,t,r,s,n,i,o=!1){let a=this.startNode();return a.kind=e.kind,a=super.parseMethod(a,t,r,s,n,i,o),a.type="FunctionExpression",delete a.kind,e.value=a,"ClassPrivateMethod"===i&&(e.computed=!1),i="MethodDefinition",this.finishNode(e,i)}parseClassProperty(...e){const t=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")?(t.type="PropertyDefinition",t):t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")?(t.type="PropertyDefinition",t.computed=!1,t):t}parseObjectMethod(e,t,r,s,n){const i=super.parseObjectMethod(e,t,r,s,n);return i&&(i.type="Property","method"===i.kind&&(i.kind="init"),i.shorthand=!1),i}parseObjectProperty(e,t,r,s,n){const i=super.parseObjectProperty(e,t,r,s,n);return i&&(i.kind="init",i.type="Property"),i}isAssignable(e,t){return null!=e&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e,t=!1){return null!=e&&this.isObjectProperty(e)?(this.toAssignable(e.value,t),e):super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){"get"===e.kind||"set"===e.kind?this.raise(e.key.start,Lt.PatternHasAccessor):e.method?this.raise(e.key.start,Lt.PatternHasMethod):super.toAssignableObjectExpressionProp(e,...t)}finishCallExpression(e,t){var r;(super.finishCallExpression(e,t),"Import"===e.callee.type)&&(e.type="ImportExpression",e.source=e.arguments[0],this.hasPlugin("importAssertions")&&(e.attributes=null!=(r=e.arguments[1])?r:null),delete e.arguments,delete e.callee);return e}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e){switch(super.parseExport(e),e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":1===e.specifiers.length&&"ExportNamespaceSpecifier"===e.specifiers[0].type&&(e.type="ExportAllDeclaration",e.exported=e.specifiers[0].exported,delete e.specifiers)}return e}parseSubscript(e,t,r,s,n){const i=super.parseSubscript(e,t,r,s,n);if(n.optionalChainMember){if("OptionalMemberExpression"!==i.type&&"OptionalCallExpression"!==i.type||(i.type=i.type.substring(8)),n.stop){const e=this.startNodeAtNode(i);return e.expression=i,this.finishNode(e,"ChainExpression")}}else"MemberExpression"!==i.type&&"CallExpression"!==i.type||(i.optional=!1);return i}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return"ChainExpression"===e.type}isObjectProperty(e){return"Property"===e.type&&"init"===e.kind&&!e.method}isObjectMethod(e){return e.method||"get"===e.kind||"set"===e.kind}},jsx:e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,ds.UnterminatedJsxContent);const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:return this.state.pos===this.state.start?60===r&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(132)):super.getTokenFromCode(r):(e+=this.input.slice(t,this.state.pos),this.finishToken(131,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:Et(r)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;return++this.state.pos,13===t&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,r=e?"\n":"\r\n"):r=String.fromCharCode(t),++this.state.curLine,this.state.lineStart=this.state.pos,r}jsxReadString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,Lt.UnterminatedString);const s=this.input.charCodeAt(this.state.pos);if(s===e)break;38===s?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):Et(s)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}return t+=this.input.slice(r,this.state.pos++),this.finishToken(123,t)}jsxReadEntity(){let e,t="",r=0,s=this.input[this.state.pos];const n=++this.state.pos;for(;this.state.pos<this.length&&r++<10;){if(s=this.input[this.state.pos++],";"===s){"#"===t[0]?"x"===t[1]?(t=t.substr(2),us.test(t)&&(e=String.fromCodePoint(parseInt(t,16)))):(t=t.substr(1),ps.test(t)&&(e=String.fromCodePoint(parseInt(t,10)))):e=hs[t];break}t+=s}return e||(this.state.pos=n,"&")}jsxReadWord(){let e;const t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(Sr(e)||45===e);return this.finishToken(130,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();return this.match(130)?e.name=this.state.value:ur(this.state.type)?e.name=pr(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.start,t=this.state.startLoc,r=this.jsxParseIdentifier();if(!this.eat(14))return r;const s=this.startNodeAt(e,t);return s.namespace=r,s.name=this.jsxParseIdentifier(),this.finishNode(s,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.start,t=this.state.startLoc;let r=this.jsxParseNamespacedName();if("JSXNamespacedName"===r.type)return r;for(;this.eat(16);){const s=this.startNodeAt(e,t);s.object=r,s.property=this.jsxParseIdentifier(),r=this.finishNode(s,"JSXMemberExpression")}return r}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.next(),e=this.jsxParseExpressionContainer(e),"JSXEmptyExpression"===e.expression.type&&this.raise(e.start,ds.AttributeIsEmpty),e;case 132:case 123:return this.parseExprAtom();default:throw this.raise(this.state.start,ds.UnsupportedJsxValue)}}jsxParseEmptyExpression(){const e=this.startNodeAt(this.state.lastTokEnd,this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.start,this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{const t=this.parseExpression();e.expression=t}return this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){const e=this.startNode();return this.eat(5)?(this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.expect(8),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(27)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsxParseOpeningElementAt(e,t){const r=this.startNodeAt(e,t);return this.match(133)?(this.expect(133),this.finishNode(r,"JSXOpeningFragment")):(r.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(r))}jsxParseOpeningElementAfterName(e){const t=[];for(;!this.match(50)&&!this.match(133);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(50),this.expect(133),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e,t){const r=this.startNodeAt(e,t);return this.match(133)?(this.expect(133),this.finishNode(r,"JSXClosingFragment")):(r.name=this.jsxParseElementName(),this.expect(133),this.finishNode(r,"JSXClosingElement"))}jsxParseElementAt(e,t){const r=this.startNodeAt(e,t),s=[],n=this.jsxParseOpeningElementAt(e,t);let i=null;if(!n.selfClosing){e:for(;;)switch(this.state.type){case 132:if(e=this.state.start,t=this.state.startLoc,this.next(),this.eat(50)){i=this.jsxParseClosingElementAt(e,t);break e}s.push(this.jsxParseElementAt(e,t));break;case 131:s.push(this.parseExprAtom());break;case 5:{const e=this.startNode();this.next(),this.match(21)?s.push(this.jsxParseSpreadChild(e)):s.push(this.jsxParseExpressionContainer(e));break}default:throw this.unexpected()}fs(n)&&!fs(i)?this.raise(i.start,ds.MissingClosingTagFragment):!fs(n)&&fs(i)?this.raise(i.start,ds.MissingClosingTagElement,ms(n.name)):fs(n)||fs(i)||ms(i.name)!==ms(n.name)&&this.raise(i.start,ds.MissingClosingTagElement,ms(n.name))}if(fs(n)?(r.openingFragment=n,r.closingFragment=i):(r.openingElement=n,r.closingElement=i),r.children=s,this.match(43))throw this.raise(this.state.start,ds.UnwrappedAdjacentJSXElements);return fs(n)?this.finishNode(r,"JSXFragment"):this.finishNode(r,"JSXElement")}jsxParseElement(){const e=this.state.start,t=this.state.startLoc;return this.next(),this.jsxParseElementAt(e,t)}parseExprAtom(e){return this.match(131)?this.parseLiteral(this.state.value,"JSXText"):this.match(132)?this.jsxParseElement():this.match(43)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(132),this.jsxParseElement()):super.parseExprAtom(e)}getTokenFromCode(e){const t=this.curContext();if(t===Ut.j_expr)return this.jsxReadToken();if(t===Ut.j_oTag||t===Ut.j_cTag){if(Er(e))return this.jsxReadWord();if(62===e)return++this.state.pos,this.finishToken(133);if((34===e||39===e)&&t===Ut.j_oTag)return this.jsxReadString(e)}return 60===e&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1)?(++this.state.pos,this.finishToken(132)):super.getTokenFromCode(e)}updateContext(e){super.updateContext(e);const{context:t,type:r}=this.state;if(50===r&&132===e)t.splice(-2,2,Ut.j_cTag),this.state.canStartJSXElement=!1;else if(132===r)t.push(Ut.j_expr,Ut.j_oTag);else if(133===r){const r=t.pop();r===Ut.j_oTag&&50===e||r===Ut.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===Ut.j_expr):this.state.canStartJSXElement=!0}else this.state.canStartJSXElement=er[r]}},flow:e=>class extends e{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return Mr}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){return 123!==e&&13!==e&&26!==e&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){const t=ls.exec(e.value);if(t)if("flow"===t[1])this.flowPragma="flow";else{if("noflow"!==t[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=!0,this.expect(e||14);const r=this.flowParseType();return this.state.inType=t,r}flowParsePredicate(){const e=this.startNode(),t=this.state.start;return this.next(),this.expectContextual(101),this.state.lastTokStart>t+1&&this.raise(t,is.UnexpectedSpaceBetweenModuloChecks),this.eat(10)?(e.value=this.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=!0,this.expect(14);let t=null,r=null;return this.match(48)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(48)&&(r=this.flowParsePredicate())),[t,r]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier(),r=this.startNode(),s=this.startNode();this.match(43)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);const n=this.flowParseFunctionTypeParams();return r.params=n.params,r.rest=n.rest,r.this=n._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),s.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(s,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(74))return this.flowParseDeclareClass(e);if(this.match(62))return this.flowParseDeclareFunction(e);if(this.match(68))return this.flowParseDeclareVariable(e);if(this.eatContextual(117))return this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(this.state.lastTokStart,is.NestedDeclareModule),this.flowParseDeclareModule(e));if(this.isContextual(120))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(121))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(119))return this.flowParseDeclareInterface(e);if(this.match(76))return this.flowParseDeclareExportDeclaration(e,t);throw this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(123)?e.id=this.parseExprAtom():e.id=this.parseIdentifier();const t=e.body=this.startNode(),r=t.body=[];for(this.expect(5);!this.match(8);){let e=this.startNode();this.match(77)?(this.next(),this.isContextual(120)||this.match(81)||this.raise(this.state.lastTokStart,is.InvalidNonTypeImportInDeclareModule),this.parseImport(e)):(this.expectContextual(115,is.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),r.push(e)}this.scope.exit(),this.expect(8),this.finishNode(t,"BlockStatement");let s=null,n=!1;return r.forEach((e=>{!function(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}(e)?"DeclareModuleExports"===e.type&&(n&&this.raise(e.start,is.DuplicateDeclareModuleExports),"ES"===s&&this.raise(e.start,is.AmbiguousDeclareModuleKind),s="CommonJS",n=!0):("CommonJS"===s&&this.raise(e.start,is.AmbiguousDeclareModuleKind),s="ES")})),e.kind=s||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){if(this.expect(76),this.eat(59))return this.match(62)||this.match(74)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(69)||this.isLet()||(this.isContextual(120)||this.isContextual(119))&&!t){const e=this.state.value,t=cs[e];throw this.raise(this.state.start,is.UnsupportedDeclareExportKind,e,t)}if(this.match(68)||this.match(62)||this.match(74)||this.isContextual(121))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(49)||this.match(5)||this.isContextual(119)||this.isContextual(120)||this.isContextual(121))return"ExportNamedDeclaration"===(e=this.parseExport(e)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;throw this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(102),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){return this.next(),this.flowParseTypeAlias(e),e.type="DeclareTypeAlias",e}flowParseDeclareOpaqueType(e){return this.next(),this.flowParseOpaqueType(e,!0),e.type="DeclareOpaqueType",e}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=!1){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?17:9,e.id.start),this.match(43)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(75))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(this.isContextual(108)){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12))}if(this.isContextual(104)){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}flowParseInterfaceExtends(){const e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(43)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(this.state.start,is.UnexpectedReservedUnderscore)}checkReservedType(e,t,r){ns.has(e)&&this.raise(t,r?is.AssignReservedType:is.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.start,t),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,9,e.id.start),this.match(43)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(27),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){return this.expectContextual(120),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,9,e.id.start),this.match(43)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(27)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){const t=this.state.start,r=this.startNode(),s=this.flowParseVariance(),n=this.flowParseTypeAnnotatableIdentifier();return r.name=n.name,r.variance=s,r.bound=n.typeAnnotation,this.match(27)?(this.eat(27),r.default=this.flowParseType()):e&&this.raise(t,is.MissingTypeParamDefault),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(43)||this.match(132)?this.next():this.unexpected();let r=!1;do{const e=this.flowParseTypeParameter(r);t.params.push(e),e.default&&(r=!0),this.match(44)||this.expect(12)}while(!this.match(44));return this.expect(44),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expect(43);const r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(44);)e.params.push(this.flowParseType()),this.match(44)||this.expect(12);return this.state.noAnonFunctionType=r,this.expect(44),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(43);!this.match(44);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(44)||this.expect(12);return this.expect(44),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();if(this.expectContextual(119),e.extends=[],this.eat(75))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(124)||this.match(123)?this.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,r){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(43)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(43)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(72)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:s,allowInexact:n}){const i=this.state.inType;this.state.inType=!0;const o=this.startNode();let a,c;o.callProperties=[],o.properties=[],o.indexers=[],o.internalSlots=[];let l=!1;for(t&&this.match(6)?(this.expect(6),a=9,c=!0):(this.expect(5),a=8,c=!1),o.exact=c;!this.match(a);){let t=!1,i=null,a=null;const h=this.startNode();if(s&&this.isContextual(109)){const t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),i=this.state.start,e=!1)}if(e&&this.isContextual(98)){const e=this.lookahead();14!==e.type&&17!==e.type&&(this.next(),t=!0)}const u=this.flowParseVariance();if(this.eat(0))null!=i&&this.unexpected(i),this.eat(0)?(u&&this.unexpected(u.start),o.internalSlots.push(this.flowParseObjectTypeInternalSlot(h,t))):o.indexers.push(this.flowParseObjectTypeIndexer(h,t,u));else if(this.match(10)||this.match(43))null!=i&&this.unexpected(i),u&&this.unexpected(u.start),o.callProperties.push(this.flowParseObjectTypeCallProperty(h,t));else{let e="init";(this.isContextual(92)||this.isContextual(97))&&cr(this.lookahead().type)&&(e=this.state.value,this.next());const s=this.flowParseObjectTypeProperty(h,t,i,u,e,r,null!=n?n:!c);null===s?(l=!0,a=this.state.lastTokStart):o.properties.push(s)}this.flowObjectTypeSemicolon(),!a||this.match(8)||this.match(9)||this.raise(a,is.UnexpectedExplicitInexactInObject)}this.expect(a),r&&(o.inexact=l);const h=this.finishNode(o,"ObjectTypeAnnotation");return this.state.inType=i,h}flowParseObjectTypeProperty(e,t,r,s,n,i,o){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(i?o||this.raise(this.state.lastTokStart,is.InexactInsideExact):this.raise(this.state.lastTokStart,is.InexactInsideNonObject),s&&this.raise(s.start,is.InexactVariance),null):(i||this.raise(this.state.lastTokStart,is.UnexpectedSpreadType),null!=r&&this.unexpected(r),s&&this.raise(s.start,is.SpreadVariance),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=r,e.kind=n;let o=!1;return this.match(43)||this.match(10)?(e.method=!0,null!=r&&this.unexpected(r),s&&this.unexpected(s.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start)),"get"!==n&&"set"!==n||this.flowCheckGetterSetterParams(e),!i&&"constructor"===e.key.name&&e.value.this&&this.raise(e.value.this.start,is.ThisParamBannedInConstructor)):("init"!==n&&this.unexpected(),e.method=!1,this.eat(17)&&(o=!0),e.value=this.flowParseTypeInitialiser(),e.variance=s),e.optional=o,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t="get"===e.kind?0:1,r=e.start,s=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.value.this.start,"get"===e.kind?is.GetterMayNotHaveThisParam:is.SetterMayNotHaveThisParam),s!==t&&("get"===e.kind?this.raise(r,Lt.BadGetterArity):this.raise(r,Lt.BadSetterArity)),"set"===e.kind&&e.value.rest&&this.raise(r,Lt.BadSetterRestParameter)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start,t=t||this.state.startLoc;let s=r||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const r=this.startNodeAt(e,t);r.qualification=s,r.id=this.flowParseRestrictedIdentifier(!0),s=this.finishNode(r,"QualifiedTypeIdentifier")}return s}flowParseGenericType(e,t,r){const s=this.startNodeAt(e,t);return s.typeParameters=null,s.id=this.flowParseQualifiedTypeIdentifier(e,t,r),this.match(43)&&(s.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(s,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();return this.expect(81),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();for(e.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,"TupleTypeAnnotation")}flowParseFunctionTypeParam(e){let t=null,r=!1,s=null;const n=this.startNode(),i=this.lookahead(),o=72===this.state.type;return 14===i.type||17===i.type?(o&&!e&&this.raise(n.start,is.ThisParamMustBeFirst),t=this.parseIdentifier(o),this.eat(17)&&(r=!0,o&&this.raise(n.start,is.ThisParamMayNotBeOptional)),s=this.flowParseTypeInitialiser()):s=this.flowParseType(),n.name=t,n.optional=r,n.typeAnnotation=s,this.finishNode(n,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){const t=this.startNodeAt(e.start,e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,"FunctionTypeParam")}flowParseFunctionTypeParams(e=[]){let t=null,r=null;for(this.match(72)&&(r=this.flowParseFunctionTypeParam(!0),r.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:r}}flowIdentToTypeAnnotation(e,t,r,s){switch(s.name){case"any":return this.finishNode(r,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(r,"BooleanTypeAnnotation");case"mixed":return this.finishNode(r,"MixedTypeAnnotation");case"empty":return this.finishNode(r,"EmptyTypeAnnotation");case"number":return this.finishNode(r,"NumberTypeAnnotation");case"string":return this.finishNode(r,"StringTypeAnnotation");case"symbol":return this.finishNode(r,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(s.name),this.flowParseGenericType(e,t,s)}}flowParsePrimaryType(){const e=this.state.start,t=this.state.startLoc,r=this.startNode();let s,n,i=!1;const o=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,n=this.flowParseTupleType(),this.state.noAnonFunctionType=o,n;case 43:return r.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),s=this.flowParseFunctionTypeParams(),r.params=s.params,r.rest=s.rest,r.this=s._this,this.expect(11),this.expect(19),r.returnType=this.flowParseType(),this.finishNode(r,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(or(this.state.type)||this.match(72)){const e=this.lookahead().type;i=17!==e&&14!==e}else i=!0;if(i){if(this.state.noAnonFunctionType=!1,n=this.flowParseType(),this.state.noAnonFunctionType=o,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),n;this.eat(12)}return s=n?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(n)]):this.flowParseFunctionTypeParams(),r.params=s.params,r.rest=s.rest,r.this=s._this,this.expect(11),this.expect(19),r.returnType=this.flowParseType(),r.typeParameters=null,this.finishNode(r,"FunctionTypeAnnotation");case 123:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 79:case 80:return r.value=this.match(79),this.next(),this.finishNode(r,"BooleanLiteralTypeAnnotation");case 47:if("-"===this.state.value){if(this.next(),this.match(124))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",r);if(this.match(125))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",r);throw this.raise(this.state.start,is.UnexpectedSubtractionOperand)}throw this.unexpected();case 124:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 125:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 82:return this.next(),this.finishNode(r,"VoidTypeAnnotation");case 78:return this.next(),this.finishNode(r,"NullLiteralTypeAnnotation");case 72:return this.next(),this.finishNode(r,"ThisTypeAnnotation");case 49:return this.next(),this.finishNode(r,"ExistsTypeAnnotation");case 81:return this.flowParseTypeofType();default:if(ur(this.state.type)){const e=pr(this.state.type);return this.next(),super.createIdentifier(r,e)}if(or(this.state.type))return this.isContextual(119)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,t,r,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){const e=this.state.start,t=this.state.startLoc;let r=this.flowParsePrimaryType(),s=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const n=this.startNodeAt(e,t),i=this.eat(18);s=s||i,this.expect(0),!i&&this.match(3)?(n.elementType=r,this.next(),r=this.finishNode(n,"ArrayTypeAnnotation")):(n.objectType=r,n.indexType=this.flowParseType(),this.expect(3),s?(n.optional=i,r=this.finishNode(n,"OptionalIndexedAccessType")):r=this.finishNode(n,"IndexedAccessType"))}return r}flowParsePrefixType(){const e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const t=this.startNodeAt(e.start,e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.this=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){const e=this.startNode();this.eat(41);const t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(41);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){const e=this.startNode();this.eat(39);const t=this.flowParseIntersectionType();for(e.types=[t];this.eat(39);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){const e=this.state.inType;this.state.inType=!0;const t=this.flowParseUnionType();return this.state.inType=e,t}flowParseTypeOrImplicitInstantiation(){if(122===this.state.type&&"_"===this.state.value){const e=this.state.start,t=this.state.startLoc,r=this.parseIdentifier();return this.flowParseGenericType(e,t,r)}return this.flowParseType()}flowParseTypeAnnotation(){const e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){const t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t)),t}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.end,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(47)&&(e=this.startNode(),"+"===this.state.value?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")),e}parseFunctionBody(e,t,r=!1){return t?this.forwardNoArrowParamsConversionAt(e,(()=>super.parseFunctionBody(e,!0,r))):super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,t,r=!1){if(this.match(14)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,r)}parseStatement(e,t){if(this.state.strict&&this.isContextual(119)){if(ar(this.lookahead().type)){const e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(116)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);return void 0!==this.flowPragma||this.isValidDirective(r)||(this.flowPragma=null),r}parseExpressionStatement(e,t){if("Identifier"===t.type)if("declare"===t.name){if(this.match(74)||or(this.state.type)||this.match(62)||this.match(68)||this.match(76))return this.flowParseDeclare(e)}else if(or(this.state.type)){if("interface"===t.name)return this.flowParseInterface(e);if("type"===t.name)return this.flowParseTypeAlias(e);if("opaque"===t.name)return this.flowParseOpaqueType(e,!1)}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){const{type:e}=this.state;return hr(e)||this.shouldParseEnums()&&116===e?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;return hr(e)||this.shouldParseEnums()&&116===e?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(116)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,s){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(44===t||61===t||58===t||41===t)return this.setOptionalParametersError(s),e}this.expect(17);const n=this.state.clone(),i=this.state.noArrowAt,o=this.startNodeAt(t,r);let{consequent:a,failed:c}=this.tryParseConditionalConsequent(),[l,h]=this.getArrowLikeExpressions(a);if(c||h.length>0){const e=[...i];if(h.length>0){this.state=n,this.state.noArrowAt=e;for(let t=0;t<h.length;t++)e.push(h[t].start);({consequent:a,failed:c}=this.tryParseConditionalConsequent()),[l,h]=this.getArrowLikeExpressions(a)}c&&l.length>1&&this.raise(n.start,is.AmbiguousConditionalArrow),c&&1===l.length&&(this.state=n,e.push(l[0].start),this.state.noArrowAt=e,({consequent:a,failed:c}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(a,!0),this.state.noArrowAt=i,this.expect(14),o.test=e,o.consequent=a,o.alternate=this.forwardNoArrowParamsConversionAt(o,(()=>this.parseMaybeAssign(void 0,void 0))),this.finishNode(o,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e],s=[];for(;0!==r.length;){const e=r.pop();"ArrowFunctionExpression"===e.type?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):s.push(e),r.push(e.body)):"ConditionalExpression"===e.type&&(r.push(e.consequent),r.push(e.alternate))}return t?(s.forEach((e=>this.finishArrowValidation(e))),[s,[]]):function(e,t){const r=[],s=[];for(let n=0;n<e.length;n++)(t(e[n])?r:s).push(e[n]);return[r,s]}(s,(e=>e.params.every((e=>this.isAssignable(e,!0)))))}finishArrowValidation(e){var t;this.toAssignableList(e.params,null==(t=e.extra)?void 0:t.trailingComma,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;return-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),r=t(),this.state.noArrowParamsConversionAt.pop()):r=t(),r}parseParenItem(e,t,r){if(e=super.parseParenItem(e,t,r),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const s=this.startNodeAt(t,r);return s.expression=e,s.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(s,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){"ImportDeclaration"===e.type&&("type"===e.importKind||"typeof"===e.importKind)||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind||"ExportAllDeclaration"===e.type&&"type"===e.exportKind||super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);return"ExportNamedDeclaration"!==t.type&&"ExportAllDeclaration"!==t.type||(t.exportKind=t.exportKind||"value"),t}parseExportDeclaration(e){if(this.isContextual(120)){e.exportKind="type";const t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),this.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(121)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(119)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.shouldParseEnums()&&this.isContextual(116)){e.exportKind="value";const t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(...arguments)||!(!this.isContextual(120)||49!==this.lookahead().type)&&(e.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){const t=this.state.start,r=super.maybeParseExportNamespaceSpecifier(e);return r&&"type"===e.exportKind&&this.unexpected(t),r}parseClassId(e,t,r){super.parseClassId(e,t,r),this.match(43)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,r){const s=this.state.start;if(this.isContextual(115)){if(this.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,r),t.declare&&("ClassProperty"!==t.type&&"ClassPrivateProperty"!==t.type&&"PropertyDefinition"!==t.type?this.raise(s,is.DeclareClassElement):t.value&&this.raise(t.value.start,is.DeclareClassFieldInitializer))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){const e=super.readWord1(),t="@@"+e;this.isIterator(e)&&this.state.inType||this.raise(this.state.pos,Lt.InvalidIdentifier,t),this.finishToken(122,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);return 123===e&&124===t?this.finishOp(6,2):!this.state.inType||62!==e&&60!==e?this.state.inType&&63===e?46===t?this.finishOp(18,2):this.finishOp(17,1):function(e,t){return 64===e&&64===t}(e,t)?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e):this.finishOp(62===e?44:43,1)}isAssignable(e,t){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e,t=!1){return"TypeCastExpression"===e.type?super.toAssignable(this.typeCastToParameter(e),t):super.toAssignable(e,t)}toAssignableList(e,t,r){for(let t=0;t<e.length;t++){const r=e[t];"TypeCastExpression"===(null==r?void 0:r.type)&&(e[t]=this.typeCastToParameter(r))}return super.toAssignableList(e,t,r)}toReferencedList(e,t){for(let s=0;s<e.length;s++){var r;const n=e[s];!n||"TypeCastExpression"!==n.type||null!=(r=n.extra)&&r.parenthesized||!(e.length>1)&&t||this.raise(n.typeAnnotation.start,is.TypeCastInPattern)}return e}parseArrayLike(e,t,r,s){const n=super.parseArrayLike(e,t,r,s);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(n.elements),n}checkLVal(e,...t){if("TypeCastExpression"!==e.type)return super.checkLVal(e,...t)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(43)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,s,n,i){if(t.variance&&this.unexpected(t.variance.start),delete t.variance,this.match(43)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,r,s,n,i),t.params&&n){const e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(t.start,is.ThisParamBannedInConstructor)}else if("MethodDefinition"===t.type&&n&&t.value.params){const e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(t.start,is.ThisParamBannedInConstructor)}}pushClassPrivateMethod(e,t,r,s){t.variance&&this.unexpected(t.variance.start),delete t.variance,this.match(43)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,r,s)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(43)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(104)){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.match(43)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];this.isThisParam(r)&&"get"===e.kind?this.raise(r.start,is.GetterMayNotHaveThisParam):this.isThisParam(r)&&this.raise(r.start,is.SetterMayNotHaveThisParam)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,r,s,n,i,o,a){let c;e.variance&&this.unexpected(e.variance.start),delete e.variance,this.match(43)&&!o&&(c=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected()),super.parseObjPropValue(e,t,r,s,n,i,o,a),c&&((e.value||e).typeParameters=c)}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(e.start,is.PatternIsOptional),this.isThisParam(e)&&this.raise(e.start,is.ThisParamMayNotBeOptional),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(e.start,is.ThisParamAnnotationRequired),this.match(27)&&this.isThisParam(e)&&this.raise(e.start,is.ThisParamNoDefault),this.resetEndLocation(e),e}parseMaybeDefault(e,t,r){const s=super.parseMaybeDefault(e,t,r);return"AssignmentPattern"===s.type&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(s.typeAnnotation.start,is.TypeBeforeInitializer),s}shouldParseDefaultImport(e){return os(e)?as(this.state.type):super.shouldParseDefaultImport(e)}parseImportSpecifierLocal(e,t,r,s){t.local=os(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),this.checkLVal(t.local,s,9),e.specifiers.push(this.finishNode(t,r))}maybeParseDefaultImportSpecifier(e){e.importKind="value";let t=null;if(this.match(81)?t="typeof":this.isContextual(120)&&(t="type"),t){const r=this.lookahead(),{type:s}=r;"type"===t&&49===s&&this.unexpected(r.start),(as(s)||5===s||49===s)&&(this.next(),e.importKind=t)}return super.maybeParseDefaultImportSpecifier(e)}parseImportSpecifier(e,t,r,s){const n=e.imported;let i=null;"Identifier"===n.type&&("type"===n.name?i="type":"typeof"===n.name&&(i="typeof"));let o=!1;if(this.isContextual(87)&&!this.isLookaheadContextual("as")){const t=this.parseIdentifier(!0);null===i||ar(this.state.type)?(e.imported=n,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=t,e.importKind=i,e.local=rs(t))}else{if(null!==i&&ar(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=i;else{if(t)throw this.raise(e.start,Lt.ImportBindingIsString,n.value);e.imported=n,e.importKind=null}this.eatContextual(87)?e.local=this.parseIdentifier():(o=!0,e.local=rs(e.imported))}const a=os(e);return r&&a&&this.raise(e.start,is.ImportTypeShorthandOnlyInPureImport),(r||a)&&this.checkReservedType(e.local.name,e.local.start,!0),!o||r||a||this.checkReservedWord(e.local.name,e.start,!0,!0),this.checkLVal(e.local,"import specifier",9),this.finishNode(e,"ImportSpecifier")}parseBindingAtom(){return 72===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(e,t){const r=e.kind;"get"!==r&&"set"!==r&&this.match(43)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=t}return super.parseAsyncArrowFromCallExpression(e,t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,t){var r;let s,n=null;if(this.hasPlugin("jsx")&&(this.match(132)||this.match(43))){if(n=this.state.clone(),s=this.tryParse((()=>super.parseMaybeAssign(e,t)),n),!s.error)return s.node;const{context:r}=this.state,i=r[r.length-1];i===Ut.j_oTag?r.length-=2:i===Ut.j_expr&&(r.length-=1)}if(null!=(r=s)&&r.error||this.match(43)){var i,o;let r;n=n||this.state.clone();const a=this.tryParse((s=>{var n;r=this.flowParseTypeParameterDeclaration();const i=this.forwardNoArrowParamsConversionAt(r,(()=>{const s=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(s,r),s}));null!=(n=i.extra)&&n.parenthesized&&s();const o=this.maybeUnwrapTypeCastExpression(i);return"ArrowFunctionExpression"!==o.type&&s(),o.typeParameters=r,this.resetStartLocationFromNode(o,r),i}),n);let c=null;if(a.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(a.node).type){if(!a.error&&!a.aborted)return a.node.async&&this.raise(r.start,is.UnexpectedTypeParameterBeforeAsyncArrowFunction),a.node;c=a.node}if(null!=(i=s)&&i.node)return this.state=s.failState,s.node;if(c)return this.state=a.failState,c;if(null!=(o=s)&&o.thrown)throw s.error;if(a.thrown)throw a.error;throw this.raise(r.start,is.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){const t=this.tryParse((()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const r=this.startNode();return[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),r}));if(t.thrown)return null;t.error&&(this.state=t.failState),e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,r){if(!r||-1===this.state.noArrowParamsConversionAt.indexOf(e.start)){for(let t=0;t<e.params.length;t++)this.isThisParam(e.params[t])&&t>0&&this.raise(e.params[t].start,is.ThisParamMustBeFirst);return super.checkParams(...arguments)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,r,s){if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t)){this.next();const s=this.startNodeAt(t,r);s.callee=e,s.arguments=this.parseCallExpressionArguments(11,!1),e=this.finishNode(s,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(43)){const n=this.state.clone(),i=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t,r)||e()),n);if(!i.error&&!i.aborted)return i.node;const o=this.tryParse((()=>super.parseSubscripts(e,t,r,s)),n);if(o.node&&!o.error)return o.node;if(i.node)return this.state=i.failState,i.node;if(o.node)return this.state=o.failState,o.node;throw i.error||o.error}return super.parseSubscripts(e,t,r,s)}parseSubscript(e,t,r,s,n){if(this.match(18)&&this.isLookaheadToken_lt()){if(n.optionalChainMember=!0,s)return n.stop=!0,e;this.next();const i=this.startNodeAt(t,r);return i.callee=e,i.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),i.arguments=this.parseCallExpressionArguments(11,!1),i.optional=!0,this.finishCallExpression(i,!0)}if(!s&&this.shouldParseTypes()&&this.match(43)){const s=this.startNodeAt(t,r);s.callee=e;const i=this.tryParse((()=>(s.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),s.arguments=this.parseCallExpressionArguments(11,!1),n.optionalChainMember&&(s.optional=!1),this.finishCallExpression(s,n.optionalChainMember))));if(i.node)return i.error&&(this.state=i.failState),i.node}return super.parseSubscript(e,t,r,s,n)}parseNewArguments(e){let t=null;this.shouldParseTypes()&&this.match(43)&&(t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),e.typeArguments=t,super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const r=this.startNodeAt(e,t);if(this.parseFunctionParams(r),this.parseArrow(r))return this.parseArrowExpression(r,void 0,!0)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(42===e&&47===t&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);124!==e||125!==t?super.readToken_pipe_amp(e):this.finishOp(9,2)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(this.state.pos,is.UnterminatedFlowComment),r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment())return this.state.hasFlowComment&&this.unexpected(null,is.NestedFlowComment),this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),void(this.state.hasFlowComment=!0);if(!this.state.hasFlowComment)return super.skipBlockComment();{const e=this.input.indexOf("*-/",this.state.pos+=2);if(-1===e)throw this.raise(this.state.pos-2,Lt.UnterminatedComment);this.state.pos=e+3}}skipFlowComment(){const{pos:e}=this.state;let t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;const r=this.input.charCodeAt(t+e),s=this.input.charCodeAt(t+e+1);return 58===r&&58===s?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===r&&58!==s&&t}hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(this.state.pos,Lt.UnterminatedComment)}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,is.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const s=r[0].toUpperCase()+r.slice(1);this.raise(e,is.EnumInvalidMemberName,r,s,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,is.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,is.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,null===r?is.EnumInvalidExplicitTypeUnknownSupplied:is.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:s}){let n=null;switch(r){case"boolean":case"number":case"string":n=is.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":n=is.EnumInvalidMemberInitializerSymbolType;break;default:n=is.EnumInvalidMemberInitializerUnknownType}return this.raise(e,n,t,s,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,is.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,is.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 124:{const r=this.parseNumericLiteral(this.state.value);return t()?{type:"number",pos:r.start,value:r}:{type:"invalid",pos:e}}case 123:{const r=this.parseStringLiteral(this.state.value);return t()?{type:"string",pos:r.start,value:r}:{type:"invalid",pos:e}}case 79:case 80:{const r=this.parseBooleanLiteral(this.match(79));return t()?{type:"boolean",pos:r.start,value:r}:{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;return{id:this.parseIdentifier(!0),init:this.eat(27)?this.flowEnumMemberInit():{type:"none",pos:e}}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:s}=t;null!==s&&s!==r&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set,s={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let n=!1;for(;!this.match(8);){if(this.eat(21)){n=!0;break}const i=this.startNode(),{id:o,init:a}=this.flowEnumMemberRaw(),c=o.name;if(""===c)continue;/^[a-z]/.test(c)&&this.flowEnumErrorInvalidMemberName(o.start,{enumName:e,memberName:c}),r.has(c)&&this.flowEnumErrorDuplicateMemberName(o.start,{enumName:e,memberName:c}),r.add(c);const l={enumName:e,explicitType:t,memberName:c};switch(i.id=o,a.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(a.pos,l,"boolean"),i.init=a.value,s.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(a.pos,l,"number"),i.init=a.value,s.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(a.pos,l,"string"),i.init=a.value,s.stringMembers.push(this.finishNode(i,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(a.pos,l);case"none":switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(a.pos,l);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(a.pos,l);break;default:s.defaultedMembers.push(this.finishNode(i,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:s,hasUnknownMembers:n}}flowEnumStringMembers(e,t,{enumName:r}){if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(const t of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r});return t}for(const e of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r});return e}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual(95)){if(!or(this.state.type))throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null});const{value:t}=this.state;return this.next(),"boolean"!==t&&"number"!==t&&"string"!==t&&"symbol"!==t&&this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t}),t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const s=this.flowEnumParseExplicitType({enumName:t});this.expect(5);const{members:n,hasUnknownMembers:i}=this.flowEnumMembers({enumName:t,explicitType:s});switch(e.hasUnknownMembers=i,s){case"boolean":return e.explicitType=!0,e.members=n.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=n.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(n.stringMembers,n.defaultedMembers,{enumName:t}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=n.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{const s=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;const i=n.booleanMembers.length,o=n.numberMembers.length,a=n.stringMembers.length,c=n.defaultedMembers.length;if(i||o||a||c){if(i||o){if(!o&&!a&&i>=c){for(const e of n.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name});return e.members=n.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!i&&!a&&o>=c){for(const e of n.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name});return e.members=n.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.flowEnumErrorInconsistentMemberValues(r,{enumName:t}),s()}return e.members=this.flowEnumStringMembers(n.stringMembers,n.defaultedMembers,{enumName:t}),this.expect(8),this.finishNode(e,"EnumStringBody")}return s()}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start}),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(60===this.input.charCodeAt(e)){const t=this.input.charCodeAt(e+1);return 60!==t&&61!==t}return!1}maybeUnwrapTypeCastExpression(e){return"TypeCastExpression"===e.type?e.expression:e}},typescript:e=>class extends e{getScopeHandler(){return ys}tsIsIdentifier(){return or(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(49)||this.match(21)||this.match(128)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!or(this.state.type))return;const r=this.state.value;if(-1!==e.indexOf(r)){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers(e,t,r,s,n){const i=(t,r,s,n)=>{r===s&&e[n]&&this.raise(t,vs.InvalidModifiersOrder,s,n)},o=(t,r,s,n)=>{(e[s]&&r===n||e[n]&&r===s)&&this.raise(t,vs.IncompatibleModifiers,s,n)};for(;;){const a=this.state.start,c=this.tsParseModifier(t.concat(null!=r?r:[]),n);if(!c)break;xs(c)?e.accessibility?this.raise(a,vs.DuplicateAccessibilityModifier):(i(a,c,c,"override"),i(a,c,c,"static"),i(a,c,c,"readonly"),e.accessibility=c):(Object.hasOwnProperty.call(e,c)?this.raise(a,vs.DuplicateModifier,c):(i(a,c,"static","readonly"),i(a,c,"static","override"),i(a,c,"override","readonly"),i(a,c,"abstract","override"),o(a,c,"declare","override"),o(a,c,"static","abstract")),e[c]=!0),null!=r&&r.includes(c)&&this.raise(a,s,c)}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(44)}throw new Error("Unreachable")}tsParseList(e,t){const r=[];for(;!this.tsIsListTerminator(e);)r.push(t());return r}tsParseDelimitedList(e,t,r){return function(e){if(null==e)throw new Error(`Unexpected ${e} value.`);return e}(this.tsParseDelimitedListWorker(e,t,!0,r))}tsParseDelimitedListWorker(e,t,r,s){const n=[];let i=-1;for(;!this.tsIsListTerminator(e);){i=-1;const s=t();if(null==s)return;if(n.push(s),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(12))}i=this.state.lastTokStart}return s&&(s.value=i),n}tsParseBracketedList(e,t,r,s,n){s||(r?this.expect(0):this.expect(43));const i=this.tsParseDelimitedList(e,t,n);return r?this.expect(3):this.expect(44),i}tsParseImportType(){const e=this.startNode();return this.expect(77),this.expect(10),this.match(123)||this.raise(this.state.start,vs.UnsupportedImportTypeArgument),e.argument=this.parseExprAtom(),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName(!0)),this.match(43)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();for(;this.eat(16);){const r=this.startNodeAtNode(t);r.left=t,r.right=this.parseIdentifier(e),t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();return e.typeName=this.tsParseEntityName(!1),!this.hasPrecedingLineBreak()&&this.match(43)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();return this.expect(81),this.match(77)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(!0),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsEatThenParseType(75),e.default=this.tsEatThenParseType(27),this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.match(43))return this.tsParseTypeParameters()}tsParseTypeParameters(){const e=this.startNode();this.match(43)||this.match(132)?this.next():this.unexpected();const t={value:-1};return e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),!1,!0,t),0===e.params.length&&this.raise(e.start,vs.EmptyTypeParameters),-1!==t.value&&this.addExtra(e,"trailingComma",t.value),this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){return 69===this.lookahead().type?(this.next(),this.tsParseTypeReference()):null}tsFillSignature(e,t){const r=19===e;t.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(r||this.match(e))&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return this.parseBindingList(11,41).map((e=>("Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type&&this.raise(e.start,vs.UnsupportedSignatureParameterKind,e.type),e)))}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(e,t){return this.tsFillSignature(14,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!or(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(e){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];const r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){this.eat(17)&&(e.optional=!0);const r=e;if(this.match(10)||this.match(43)){t&&this.raise(e.start,vs.ReadonlyForMethodSignature);const s=r;if(s.kind&&this.match(43)&&this.raise(this.state.pos,vs.AccesorCannotHaveTypeParameters),this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon(),"get"===s.kind)s.parameters.length>0&&(this.raise(this.state.pos,Lt.BadGetterArity),this.isThisParam(s.parameters[0])&&this.raise(this.state.pos,vs.AccesorCannotDeclareThisParameter));else if("set"===s.kind){if(1!==s.parameters.length)this.raise(this.state.pos,Lt.BadSetterArity);else{const e=s.parameters[0];this.isThisParam(e)&&this.raise(this.state.pos,vs.AccesorCannotDeclareThisParameter),"Identifier"===e.type&&e.optional&&this.raise(this.state.pos,vs.SetAccesorCannotHaveOptionalParameter),"RestElement"===e.type&&this.raise(this.state.pos,vs.SetAccesorCannotHaveRestParameter)}s.typeAnnotation&&this.raise(s.typeAnnotation.start,vs.SetAccesorCannotHaveReturnType)}else s.kind="method";return this.finishNode(s,"TSMethodSignature")}{const e=r;t&&(e.readonly=!0);const s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(43))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(71)){const t=this.startNode();return this.next(),this.match(10)||this.match(43)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],vs.InvalidModifierOnTypeMember);return this.tsTryParseIndexSignature(e)||(this.parsePropertyName(e),e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||!this.tsTokenCanFollowModifier()||(e.kind=e.key.name,this.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){const e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(47)?this.isContextual(112):(this.isContextual(112)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(52))))}tsParseMappedTypeParameter(){const e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(52),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();return this.expect(5),this.match(47)?(e.readonly=this.state.value,this.next(),this.expectContextual(112)):this.eatContextual(112)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(87)?this.tsParseType():null,this.expect(3),this.match(47)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let t=!1,r=null;return e.elementTypes.forEach((e=>{var s;let{type:n}=e;!t||"TSRestType"===n||"TSOptionalType"===n||"TSNamedTupleMember"===n&&e.optional||this.raise(e.start,vs.OptionalTypeBeforeRequired),t=t||"TSNamedTupleMember"===n&&e.optional||"TSOptionalType"===n,"TSRestType"===n&&(n=(e=e.typeAnnotation).type);const i="TSNamedTupleMember"===n;r=null!=(s=r)?s:i,r!==i&&this.raise(e.start,vs.MixedLabeledAndUnlabeledElements)})),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state,r=this.eat(21);let s=this.tsParseType();const n=this.eat(17);if(this.eat(14)){const e=this.startNodeAtNode(s);e.optional=n,"TSTypeReference"!==s.type||s.typeParameters||"Identifier"!==s.typeName.type?(this.raise(s.start,vs.InvalidTupleMemberLabel),e.label=s):e.label=s.typeName,e.elementType=this.tsParseType(),s=this.finishNode(e,"TSNamedTupleMember")}else if(n){const e=this.startNodeAtNode(s);e.typeAnnotation=s,s=this.finishNode(e,"TSOptionalType")}if(r){const r=this.startNodeAt(e,t);r.typeAnnotation=s,s=this.finishNode(r,"TSRestType")}return s}tsParseParenthesizedType(){const e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();return"TSConstructorType"===e&&(r.abstract=!!t,t&&this.next(),this.next()),this.tsFillSignature(19,r),this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();return e.literal=(()=>{switch(this.state.type){case 124:case 125:case 123:case 79:case 80:return this.parseExprAtom();default:throw this.unexpected()}})(),this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();return e.literal=this.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();return this.isContextual(107)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 123:case 124:case 125:case 79:case 80:return this.tsParseLiteralTypeNode();case 47:if("-"===this.state.value){const e=this.startNode(),t=this.lookahead();if(124!==t.type&&125!==t.type)throw this.unexpected();return e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 72:return this.tsParseThisTypeOrThisTypePredicate();case 81:return this.tsParseTypeQuery();case 77:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 22:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if(or(e)||82===e||78===e){const t=82===e?"TSVoidKeyword":78===e?"TSNullKeyword":function(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}(this.state.value);if(void 0!==t&&46!==this.lookaheadCharCode()){const e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const t=this.startNodeAtNode(e);t.elementType=e,this.expect(3),e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e,t.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(t,"TSIndexedAccessType")}return e}tsParseTypeOperator(){const e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,vs.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual(106);const t=this.startNode();return t.name=this.tsParseTypeParameterName(),e.typeParameter=this.finishNode(t,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){var e;return(e=this.state.type)>=111&&e<=113&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(106)?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,r){const s=this.startNode(),n=this.eat(r),i=[];do{i.push(t())}while(this.eat(r));return 1!==i.length||n?(s.types=i,this.finishNode(s,e)):i[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),41)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),39)}tsIsStartOfFunctionType(){return!!this.match(43)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(or(this.state.type)||this.match(72))return this.next(),!0;if(this.match(5)){let e=1;for(this.next();e>0;)this.match(5)?++e:this.match(8)&&--e,this.next();return!0}if(this.match(0)){let e=1;for(this.next();e>0;)this.match(0)?++e:this.match(3)&&--e,this.next();return!0}return!1}tsIsUnambiguouslyStartOfFunctionType(){if(this.next(),this.match(11)||this.match(21))return!0;if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(27))return!0;if(this.match(11)&&(this.next(),this.match(19)))return!0}return!1}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType((()=>{const t=this.startNode();this.expect(e);const r=this.startNode(),s=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(s&&this.match(72)){let e=this.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===e.type?(r.parameterName=e,r.asserts=!0,r.typeAnnotation=null,e=this.finishNode(r,"TSTypePredicate")):(this.resetStartLocationFromNode(e,r),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,"TSTypeAnnotation")}const n=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!n)return s?(r.parameterName=this.parseIdentifier(),r.asserts=s,r.typeAnnotation=null,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,t);const i=this.tsParseTypeAnnotation(!1);return r.parameterName=n,r.typeAnnotation=i,r.asserts=s,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")}))}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(107)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(100!==this.state.type)return!1;const e=this.state.containsEsc;return this.next(),!(!or(this.state.type)&&!this.match(72)||(e&&this.raise(this.state.lastTokStart,Lt.InvalidEscapedReservedWord,"asserts"),0))}tsParseTypeAnnotation(e=!0,t=this.startNode()){return this.tsInType((()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()})),this.finishNode(t,"TSTypeAnnotation")}tsParseType(){bs(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(75))return e;const t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsParseNonConditionalType(),this.expect(17),t.trueType=this.tsParseType(),this.expect(14),t.falseType=this.tsParseType(),this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(114)&&71===this.lookahead().type}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(71)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(this.state.start,vs.ReservedTypeAssertion);const e=this.startNode(),t=this.tsTryNextParseConstantContext();return e.typeAnnotation=t||this.tsNextThenParseType(),this.expect(44),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start,r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));return r.length||this.raise(t,vs.EmptyHeritageClauseType,e),r}tsParseExpressionWithTypeArguments(){const e=this.startNode();return e.expression=this.tsParseEntityName(!1),this.match(43)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){or(this.state.type)?(e.id=this.parseIdentifier(),this.checkLVal(e.id,"typescript interface declaration",130)):(e.id=null,this.raise(this.state.start,vs.MissingInterfaceName)),e.typeParameters=this.tsTryParseTypeParameters(),this.eat(75)&&(e.extends=this.tsParseHeritageClause("extends"));const t=this.startNode();return t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(t,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkLVal(e.id,"typescript type alias",2),e.typeParameters=this.tsTryParseTypeParameters(),e.typeAnnotation=this.tsInType((()=>{if(this.expect(27),this.isContextual(105)&&16!==this.lookahead().type){const e=this.startNode();return this.next(),this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()})),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return this.match(e)?this.tsNextThenParseType():void 0}tsExpectThenParseType(e){return this.tsDoThenParseType((()=>this.expect(e)))}tsNextThenParseType(){return this.tsDoThenParseType((()=>this.next()))}tsDoThenParseType(e){return this.tsInType((()=>(e(),this.tsParseType())))}tsParseEnumMember(){const e=this.startNode();return e.id=this.match(123)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(27)&&(e.initializer=this.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){return t&&(e.const=!0),e.id=this.parseIdentifier(),this.checkLVal(e.id,"typescript enum declaration",t?779:267),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();return this.scope.enter(0),this.expect(5),this.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=!1){if(e.id=this.parseIdentifier(),t||this.checkLVal(e.id,"module or namespace declaration",1024),this.eat(16)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(103)?(e.global=!0,e.id=this.parseIdentifier()):this.match(123)?e.id=this.parseExprAtom():this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||!1,e.id=this.parseIdentifier(),this.checkLVal(e.id,"import equals declaration",9),this.expect(27);const r=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==r.type&&this.raise(r.start,vs.ImportAliasHasImportType),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(110)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const e=this.startNode();if(this.expectContextual(110),this.expect(10),!this.match(123))throw this.unexpected();return e.expression=this.parseExprAtom(),this.expect(11),this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone(),r=e();return this.state=t,r}tsTryParseAndCatch(e){const t=this.tryParse((t=>e()||t()));if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node}tsTryParse(e){const t=this.state.clone(),r=e();return void 0!==r&&!1!==r?r:void(this.state=t)}tsTryParseDeclare(e){if(this.isLineTerminator())return;let t,r=this.state.type;return this.isContextual(93)&&(r=68,t="let"),this.tsInAmbientContext((()=>{switch(r){case 62:return e.declare=!0,this.parseFunctionStatement(e,!1,!0);case 74:return e.declare=!0,this.parseClass(e,!0,!1);case 69:if(this.match(69)&&this.isLookaheadContextual("enum"))return this.expect(69),this.expectContextual(116),this.tsParseEnumDeclaration(e,!0);case 68:return t=t||this.state.value,this.parseVarStatement(e,t);case 103:return this.tsParseAmbientExternalModuleDeclaration(e);default:if(or(r))return this.tsParseDeclaration(e,this.state.value,!0)}}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t)return t.declare=!0,t;break}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);const r=e;return r.global=!0,r.id=t,r.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(74)||or(this.state.type)))return this.tsParseAbstractDeclaration(e);break;case"enum":if(r||or(this.state.type))return r&&this.next(),this.tsParseEnumDeclaration(e,!1);break;case"interface":if(this.tsCheckLineTerminator(r)&&or(this.state.type))return this.tsParseInterfaceDeclaration(e);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(123))return this.tsParseAmbientExternalModuleDeclaration(e);if(or(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&or(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&or(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.match(43))return;const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const s=this.tsTryParseAndCatch((()=>{const r=this.startNodeAt(e,t);return r.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams(r),r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),r}));return this.state.maybeInArrowParameters=r,s?this.parseArrowExpression(s,null,!0):void 0}tsParseTypeArguments(){const e=this.startNode();return e.params=this.tsInType((()=>this.tsInNoContext((()=>(this.expect(43),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))))),0===e.params.length&&this.raise(e.start,vs.EmptyTypeArguments),this.expect(44),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(e=this.state.type)>=114&&e<=120;var e}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start,s=this.state.startLoc;let n,i=!1,o=!1;if(void 0!==e){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]),n=t.accessibility,o=t.override,i=t.readonly,!1===e&&(n||i||o)&&this.raise(r,vs.UnexpectedParameterModifier)}const a=this.parseMaybeDefault();this.parseAssignableListItemTypes(a);const c=this.parseMaybeDefault(a.start,a.loc.start,a);if(n||i||o){const e=this.startNodeAt(r,s);return t.length&&(e.decorators=t),n&&(e.accessibility=n),i&&(e.readonly=i),o&&(e.override=o),"Identifier"!==c.type&&"AssignmentPattern"!==c.type&&this.raise(e.start,vs.UnsupportedParameterPropertyKind),e.parameter=c,this.finishNode(e,"TSParameterProperty")}return t.length&&(a.decorators=t),c}parseFunctionBodyAndFinish(e,t,r=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const s="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;s&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,s):"TSDeclareFunction"===s&&this.state.isAmbientContext&&(this.raise(e.start,vs.DeclareFunctionHasImplementation),e.declare)?super.parseFunctionBodyAndFinish(e,s,r):super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){!e.body&&e.id?this.checkLVal(e.id,"function name",1024):super.registerFunctionStatementId(...arguments)}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{"TSTypeCastExpression"===(null==e?void 0:e.type)&&this.raise(e.typeAnnotation.start,vs.UnexpectedTypeAnnotation)}))}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(...e){const t=super.parseArrayLike(...e);return"ArrayExpression"===t.type&&this.tsCheckForInvalidTypeCasts(t.elements),t}parseSubscript(e,t,r,s,n){if(!this.hasPrecedingLineBreak()&&this.match(33)){this.state.canStartJSXElement=!1,this.next();const s=this.startNodeAt(t,r);return s.expression=e,this.finishNode(s,"TSNonNullExpression")}let i=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(s)return n.stop=!0,e;n.optionalChainMember=i=!0,this.next()}if(this.match(43)){let o;const a=this.tsTryParseAndCatch((()=>{if(!s&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e)return e}const a=this.startNodeAt(t,r);a.callee=e;const c=this.tsParseTypeArguments();if(c){if(i&&!this.match(10)&&(o=this.state.pos,this.unexpected()),!s&&this.eat(10))return a.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(a.arguments),a.typeParameters=c,n.optionalChainMember&&(a.optional=i),this.finishCallExpression(a,n.optionalChainMember);if(this.match(22)){const s=this.parseTaggedTemplateExpression(e,t,r,n);return s.typeParameters=c,s}}this.unexpected()}));if(o&&this.unexpected(o,10),a)return a}return super.parseSubscript(e,t,r,s,n)}parseNewArguments(e){if(this.match(43)){const t=this.tsTryParseAndCatch((()=>{const e=this.tsParseTypeArguments();return this.match(10)||this.unexpected(),e}));t&&(e.typeParameters=t)}super.parseNewArguments(e)}parseExprOp(e,t,r,s){if(dr(52)>s&&!this.hasPrecedingLineBreak()&&this.isContextual(87)){const n=this.startNodeAt(t,r);n.expression=e;const i=this.tsTryNextParseConstantContext();return n.typeAnnotation=i||this.tsNextThenParseType(),this.finishNode(n,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(n,t,r,s)}return super.parseExprOp(e,t,r,s)}checkReservedWord(e,t,r,s){}checkDuplicateExports(){}parseImport(e){if(e.importKind="value",or(this.state.type)||this.match(49)||this.match(5)){let t=this.lookahead();if(this.isContextual(120)&&12!==t.type&&91!==t.type&&27!==t.type&&(e.importKind="type",this.next(),t=this.lookahead()),or(this.state.type)&&27===t.type)return this.tsParseImportEqualsDeclaration(e)}const t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(t.start,vs.TypeImportCannotSpecifyDefaultAndNamed),t}parseExport(e){if(this.match(77))return this.next(),this.isContextual(120)&&61!==this.lookaheadCharCode()?(e.importKind="type",this.next()):e.importKind="value",this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(27)){const t=e;return t.expression=this.parseExpression(),this.semicolon(),this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(87)){const t=e;return this.expectContextual(118),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}return this.isContextual(120)&&5===this.lookahead().type?(this.next(),e.exportKind="type"):e.exportKind="value",super.parseExport(e)}isAbstractClass(){return this.isContextual(114)&&74===this.lookahead().type}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0),e}if(this.match(119)){const e=this.startNode();this.next();const t=this.tsParseInterfaceDeclaration(e);if(t)return t}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(69===this.state.type&&116===this.lookahead().type){const e=this.startNode();return this.next(),this.expectContextual(116),this.tsParseEnumDeclaration(e,!0)}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some((t=>xs(t)?e.accessibility===t:!!e[t]))}tsIsStartOfStaticBlocks(){return this.isContextual(98)&&123===this.lookaheadCharCode()}parseClassMember(e,t,r){const s=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers(t,s,void 0,void 0,!0);const n=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,s)&&this.raise(this.state.pos,vs.StaticBlockCannotHaveModifier),this.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,r,!!t.static)};t.declare?this.tsInAmbientContext(n):n()}parseClassMemberWithIsStatic(e,t,r,s){const n=this.tsTryParseIndexSignature(t);if(n)return e.body.push(n),t.abstract&&this.raise(t.start,vs.IndexSignatureHasAbstract),t.accessibility&&this.raise(t.start,vs.IndexSignatureHasAccessibility,t.accessibility),t.declare&&this.raise(t.start,vs.IndexSignatureHasDeclare),void(t.override&&this.raise(t.start,vs.IndexSignatureHasOverride));!this.state.inAbstractClass&&t.abstract&&this.raise(t.start,vs.NonAbstractClassHasAbstractMethod),t.override&&(r.hadSuperClass||this.raise(t.start,vs.OverrideNotInSubClass)),super.parseClassMemberWithIsStatic(e,t,r,s)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(e.start,vs.ClassMethodHasReadonly),e.declare&&this.match(10)&&this.raise(e.start,vs.ClassMethodHasDeclare)}parseExpressionStatement(e,t){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t):void 0)||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,r,s){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,r,s);const n=this.tryParse((()=>super.parseConditional(e,t,r)));return n.node?(n.error&&(this.state=n.failState),n.node):(n.error&&super.setOptionalParametersError(s,n.error),e)}parseParenItem(e,t,r){if(e=super.parseParenItem(e,t,r),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const s=this.startNodeAt(t,r);return s.expression=e,s.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(s,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start,r=this.state.startLoc,s=this.eatContextual(115);if(s&&(this.isContextual(115)||!this.shouldParseExportDeclaration()))throw this.raise(this.state.start,vs.ExpectedAmbientAfterExportDeclare);let n;return or(this.state.type)&&(n=this.tsTryParseExportDeclaration()),n||(n=super.parseExportDeclaration(e)),n&&("TSInterfaceDeclaration"===n.type||"TSTypeAliasDeclaration"===n.type||s)&&(e.exportKind="type"),n&&s&&(this.resetStartLocation(n,t,r),n.declare=!0),n}parseClassId(e,t,r){if((!t||r)&&this.isContextual(104))return;super.parseClassId(e,t,r,e.declare?1024:139);const s=this.tsTryParseTypeParameters();s&&(e.typeParameters=s)}parseClassPropertyAnnotation(e){!e.optional&&this.eat(33)&&(e.definite=!0);const t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&this.match(27)&&this.raise(this.state.start,vs.DeclareClassFieldHasInitializer),e.abstract&&this.match(27)){const{key:t}=e;this.raise(this.state.start,vs.AbstractPropertyHasInitializer,"Identifier"!==t.type||e.computed?`[${this.input.slice(t.start,t.end)}]`:t.name)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(e.start,vs.PrivateElementHasAbstract),e.accessibility&&this.raise(e.start,vs.PrivateElementHasAccessibility,e.accessibility),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,s,n,i){const o=this.tsTryParseTypeParameters();o&&n&&this.raise(o.start,vs.ConstructorHasTypeParameters),!t.declare||"get"!==t.kind&&"set"!==t.kind||this.raise(t.start,vs.DeclareAccessor,t.kind),o&&(t.typeParameters=o),super.pushClassMethod(e,t,r,s,n,i)}pushClassPrivateMethod(e,t,r,s){const n=this.tsTryParseTypeParameters();n&&(t.typeParameters=n),super.pushClassPrivateMethod(e,t,r,s)}declareClassPrivateMethodInScope(e,t){"TSDeclareMethod"!==e.type&&("MethodDefinition"!==e.type||e.value.body)&&super.declareClassPrivateMethodInScope(e,t)}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&this.match(43)&&(e.superTypeParameters=this.tsParseTypeArguments()),this.eatContextual(104)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();r&&(e.typeParameters=r),super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();r&&(e.typeParameters=r),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),"Identifier"===e.id.type&&this.eat(33)&&(e.definite=!0);const r=this.tsTryParseTypeAnnotation();r&&(e.id.typeAnnotation=r,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,s,n,i,o,a;let c,l,h,u;if(this.hasPlugin("jsx")&&(this.match(132)||this.match(43))){if(c=this.state.clone(),l=this.tryParse((()=>super.parseMaybeAssign(...e)),c),!l.error)return l.node;const{context:t}=this.state;t[t.length-1]===Ut.j_oTag?t.length-=2:t[t.length-1]===Ut.j_expr&&(t.length-=1)}if(!(null!=(t=l)&&t.error||this.match(43)))return super.parseMaybeAssign(...e);c=c||this.state.clone();const p=this.tryParse((t=>{var r,s;u=this.tsParseTypeParameters();const n=super.parseMaybeAssign(...e);return("ArrowFunctionExpression"!==n.type||null!=(r=n.extra)&&r.parenthesized)&&t(),0!==(null==(s=u)?void 0:s.params.length)&&this.resetStartLocationFromNode(n,u),n.typeParameters=u,n}),c);if(!p.error&&!p.aborted)return u&&this.reportReservedArrowTypeParam(u),p.node;if(!l&&(bs(!this.hasPlugin("jsx")),h=this.tryParse((()=>super.parseMaybeAssign(...e)),c),!h.error))return h.node;if(null!=(r=l)&&r.node)return this.state=l.failState,l.node;if(p.node)return this.state=p.failState,u&&this.reportReservedArrowTypeParam(u),p.node;if(null!=(s=h)&&s.node)return this.state=h.failState,h.node;if(null!=(n=l)&&n.thrown)throw l.error;if(p.thrown)throw p.error;if(null!=(i=h)&&i.thrown)throw h.error;throw(null==(o=l)?void 0:o.error)||p.error||(null==(a=h)?void 0:a.error)}reportReservedArrowTypeParam(e){var t;1!==e.params.length||null!=(t=e.extra)&&t.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(e.start,vs.ReservedArrowTypeParam)}parseMaybeUnary(e){return!this.hasPlugin("jsx")&&this.match(43)?this.tsParseTypeAssertion():super.parseMaybeUnary(e)}parseArrow(e){if(this.match(14)){const t=this.tryParse((e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||e(),t}));if(t.aborted)return;t.thrown||(t.error&&(this.state=t.failState),e.returnType=t.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e){this.eat(17)&&("Identifier"===e.type||this.state.isAmbientContext||this.state.inType||this.raise(e.start,vs.PatternIsOptional),e.optional=!0);const t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),this.resetEndLocation(e),e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return!0;default:return super.isAssignable(e,t)}}toAssignable(e,t=!1){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":default:return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":return e.expression=this.toAssignable(e.expression,t),e}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":return e.expression=this.toAssignable(e.expression,t),e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var s;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":return void this.checkLVal(e.parameter,"parameter property",...r);case"TSAsExpression":case"TSTypeAssertion":if(!(r[0]||"parenthesized expression"===t||null!=(s=e.extra)&&s.parenthesized)){this.raise(e.start,Lt.InvalidLhs,t);break}return void this.checkLVal(e.expression,"parenthesized expression",...r);case"TSNonNullExpression":return void this.checkLVal(e.expression,t,...r);default:return void super.checkLVal(e,t,...r)}}parseBindingAtom(){return 72===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(43)){const t=this.tsParseTypeArguments();if(this.match(10)){const r=super.parseMaybeDecoratorArguments(e);return r.typeParameters=t,r}this.unexpected(this.state.start,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?this.next():super.checkCommaAfterRest(e)}isClassMethod(){return this.match(43)||super.isClassMethod()}isClassProperty(){return this.match(33)||this.match(14)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);return"AssignmentPattern"===t.type&&t.typeAnnotation&&t.right.start<t.typeAnnotation.start&&this.raise(t.typeAnnotation.start,vs.TypeAnnotationAfterAssign),t}getTokenFromCode(e){if(this.state.inType){if(62===e)return this.finishOp(44,1);if(60===e)return this.finishOp(43,1)}return super.getTokenFromCode(e)}reScan_lt_gt(){const{type:e}=this.state;43===e?(this.state.pos-=1,this.readToken_lt()):44===e&&(this.state.pos-=1,this.readToken_gt())}toAssignableList(e){for(let t=0;t<e.length;t++){const r=e[t];if(r)switch(r.type){case"TSTypeCastExpression":e[t]=this.typeCastToParameter(r);break;case"TSAsExpression":case"TSTypeAssertion":this.state.maybeInArrowParameters?this.raise(r.start,vs.UnexpectedTypeCastInParameter):e[t]=this.typeCastToParameter(r)}}return super.toAssignableList(...arguments)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.end,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every((e=>this.isAssignable(e,!0))):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(43)){const t=this.tsTryParseAndCatch((()=>this.tsParseTypeArguments()));t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e)[0];return r&&this.isThisParam(r)?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e){if(this.match(74))return e.abstract=!0,this.parseClass(e,!0,!1);if(this.isContextual(119)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(e.start,vs.NonClassMethodPropertyHasAbstractModifer),this.next(),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,74)}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract&&(this.hasPlugin("estree")?t.value.body:t.body)){const{key:e}=t;this.raise(t.start,vs.AbstractMethodHasImplementation,"Identifier"!==e.type||t.computed?`[${this.input.slice(e.start,e.end)}]`:e.name)}return t}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,t,r,s){return!t&&s?(this.parseTypeOnlyImportExportSpecifier(e,!1,r),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,t,r,s))}parseImportSpecifier(e,t,r,s){return!t&&s?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,r,s))}parseTypeOnlyImportExportSpecifier(e,t,r){const s=t?"imported":"local",n=t?"local":"exported";let i,o=e[s],a=!1,c=!0;const l=o.start;if(this.isContextual(87)){const e=this.parseIdentifier();if(this.isContextual(87)){const t=this.parseIdentifier();ar(this.state.type)?(a=!0,o=e,i=this.parseIdentifier(),c=!1):(i=t,c=!1)}else ar(this.state.type)?(c=!1,i=this.parseIdentifier()):(a=!0,o=e)}else ar(this.state.type)&&(a=!0,o=this.parseIdentifier());a&&r&&this.raise(l,t?vs.TypeModifierIsUsedInTypeImports:vs.TypeModifierIsUsedInTypeExports),e[s]=o,e[n]=i,e[t?"importKind":"exportKind"]=a?"type":"value",c&&this.eatContextual(87)&&(e[n]=t?this.parseIdentifier():this.parseModuleExportName()),e[n]||(e[n]=rs(e[s])),t&&this.checkLVal(e[n],"import specifier",9)}},v8intrinsic:e=>class extends e{parseV8Intrinsic(){if(this.match(48)){const e=this.state.start,t=this.startNode();if(this.next(),or(this.state.type)){const e=this.parseIdentifierName(this.state.start),r=this.createIdentifier(t,e);if(r.type="V8IntrinsicIdentifier",this.match(10))return r}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}},placeholders:e=>class extends e{parsePlaceholder(e){if(this.match(134)){const t=this.startNode();return this.next(),this.assertNoSpace("Unexpected space in placeholder."),t.name=super.parseIdentifier(!0),this.assertNoSpace("Unexpected space in placeholder."),this.expect(134),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!(!e.expectedNode||"Placeholder"!==e.type);return e.expectedNode=t,r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){return 37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(134,2):super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){void 0!==e&&super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){"Placeholder"!==e.type&&super.checkLVal(...arguments)}toAssignable(e){return e&&"Placeholder"===e.type&&"Expression"===e.expectedNode?(e.expectedNode="Pattern",e):super.toAssignable(...arguments)}isLet(e){return!!super.isLet(e)||!!this.isContextual(93)&&(!e&&134===this.lookahead().type)}verifyBreakContinue(e){e.label&&"Placeholder"===e.label.type||super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if("Placeholder"!==t.type||t.extra&&t.extra.parenthesized)return super.parseExpressionStatement(...arguments);if(this.match(14)){const r=e;return r.label=this.finishPlaceholder(t,"Identifier"),this.next(),r.body=this.parseStatement("label"),this.finishNode(r,"LabeledStatement")}return this.semicolon(),e.name=t.name,this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,r){const s=t?"ClassDeclaration":"ClassExpression";this.next(),this.takeDecorators(e);const n=this.state.strict,i=this.parsePlaceholder("Identifier");if(i)if(this.match(75)||this.match(134)||this.match(5))e.id=i;else{if(r||!t)return e.id=null,e.body=this.finishPlaceholder(i,"ClassBody"),this.finishNode(e,s);this.unexpected(null,ws.ClassNameIsRequired)}else this.parseClassId(e,t,r);return this.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,n),this.finishNode(e,s)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual(91)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(t,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const r=this.startNode();return r.exported=t,e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(59)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(pr(134),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){return!!(e.specifiers&&e.specifiers.length>0)||super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;null!=t&&t.length&&(e.specifiers=t.filter((e=>"Placeholder"===e.exported.type))),super.checkExport(e),e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);if(e.specifiers=[],!this.isContextual(91)&&!this.match(12))return e.source=this.finishPlaceholder(t,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");const r=this.startNodeAtNode(t);return r.local=t,this.finishNode(r,"ImportDefaultSpecifier"),e.specifiers.push(r),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(91),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}}},Cs=Object.keys(As),ks={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0},Os=e=>"ParenthesizedExpression"===e.type?Os(e.expression):e;class Ns extends ss{toAssignable(e,t=!1){var r,s;let n;switch(("ParenthesizedExpression"===e.type||null!=(r=e.extra)&&r.parenthesized)&&(n=Os(e),t?"Identifier"===n.type?this.expressionScope.recordParenthesizedIdentifierError(e.start,Lt.InvalidParenthesizedAssignment):"MemberExpression"!==n.type&&this.raise(e.start,Lt.InvalidParenthesizedAssignment):this.raise(e.start,Lt.InvalidParenthesizedAssignment)),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,s=e.properties.length,n=s-1;r<s;r++){var i;const s=e.properties[r],o=r===n;this.toAssignableObjectExpressionProp(s,o,t),o&&"RestElement"===s.type&&null!=(i=e.extra)&&i.trailingComma&&this.raiseRestNotLast(e.extra.trailingComma)}break;case"ObjectProperty":this.toAssignable(e.value,t);break;case"SpreadElement":{this.checkToRestConversion(e),e.type="RestElement";const r=e.argument;this.toAssignable(r,t);break}case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,null==(s=e.extra)?void 0:s.trailingComma,t);break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,Lt.MissingEqInAssignment),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(n,t)}return e}toAssignableObjectExpressionProp(e,t,r){if("ObjectMethod"===e.type){const t="get"===e.kind||"set"===e.kind?Lt.PatternHasAccessor:Lt.PatternHasMethod;this.raise(e.key.start,t)}else"SpreadElement"!==e.type||t?this.toAssignable(e,r):this.raiseRestNotLast(e.start)}toAssignableList(e,t,r){let s=e.length;if(s){const n=e[s-1];if("RestElement"===(null==n?void 0:n.type))--s;else if("SpreadElement"===(null==n?void 0:n.type)){n.type="RestElement";let e=n.argument;this.toAssignable(e,r),e=Os(e),"Identifier"!==e.type&&"MemberExpression"!==e.type&&"ArrayPattern"!==e.type&&"ObjectPattern"!==e.type&&this.unexpected(e.start),t&&this.raiseTrailingCommaAfterRest(t),--s}}for(let t=0;t<s;t++){const s=e[t];s&&(this.toAssignable(s,r),"RestElement"===s.type&&this.raiseRestNotLast(s.start))}return e}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every(((e,r)=>"ObjectMethod"!==e.type&&(r===t||"SpreadElement"!==e.type)&&this.isAssignable(e)))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every((e=>null===e||this.isAssignable(e)));case"AssignmentExpression":return"="===e.operator;case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(const t of e)"ArrayExpression"===(null==t?void 0:t.type)&&this.toReferencedListDeep(t.elements)}parseSpread(e,t){const r=this.startNode();return this.next(),r.argument=this.parseMaybeAssignAllowIn(e,void 0,t),this.finishNode(r,"SpreadElement")}parseRestBinding(){const e=this.startNode();return this.next(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,!0),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,r,s){const n=[];let i=!0;for(;!this.eat(e);)if(i?i=!1:this.expect(12),r&&this.match(12))n.push(null);else{if(this.eat(e))break;if(this.match(21)){n.push(this.parseAssignableListItemTypes(this.parseRestBinding())),this.checkCommaAfterRest(t),this.expect(e);break}{const e=[];for(this.match(24)&&this.hasPlugin("decorators")&&this.raise(this.state.start,Lt.UnsupportedParameterDecorator);this.match(24);)e.push(this.parseDecorator());n.push(this.parseAssignableListItem(s,e))}}return n}parseBindingRestProperty(e){return this.next(),e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){const e=this.startNode(),{type:t,start:r,startLoc:s}=this.state;return 21===t?this.parseBindingRestProperty(e):(this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,r,s,!1,!1,!0,!1),e)}parseAssignableListItem(e,t){const r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r);const s=this.parseMaybeDefault(r.start,r.loc.start,r);return t.length&&(r.decorators=t),s}parseAssignableListItemTypes(e){return e}parseMaybeDefault(e,t,r){var s,n,i;if(t=null!=(s=t)?s:this.state.startLoc,e=null!=(n=e)?n:this.state.start,r=null!=(i=r)?i:this.parseBindingAtom(),!this.eat(27))return r;const o=this.startNodeAt(e,t);return o.left=r,o.right=this.parseMaybeAssignAllowIn(),this.finishNode(o,"AssignmentPattern")}checkLVal(e,t,r=64,s,n,i=!1){switch(e.type){case"Identifier":{const{name:t}=e;this.state.strict&&(i?Or(t,this.inModule):kr(t))&&this.raise(e.start,64===r?Lt.StrictEvalArguments:Lt.StrictEvalArgumentsBinding,t),s&&(s.has(t)?this.raise(e.start,Lt.ParamDupe):s.add(t)),n&&"let"===t&&this.raise(e.start,Lt.LetInLexicalBinding),64&r||this.scope.declareName(t,r,e.start);break}case"MemberExpression":64!==r&&this.raise(e.start,Lt.InvalidPropertyBindingPattern);break;case"ObjectPattern":for(let t of e.properties){if(this.isObjectProperty(t))t=t.value;else if(this.isObjectMethod(t))continue;this.checkLVal(t,"object destructuring pattern",r,s,n)}break;case"ArrayPattern":for(const t of e.elements)t&&this.checkLVal(t,"array destructuring pattern",r,s,n);break;case"AssignmentPattern":this.checkLVal(e.left,"assignment pattern",r,s);break;case"RestElement":this.checkLVal(e.argument,"rest element",r,s);break;case"ParenthesizedExpression":this.checkLVal(e.expression,"parenthesized expression",r,s);break;default:this.raise(e.start,64===r?Lt.InvalidLhs:Lt.InvalidLhsBinding,t)}}checkToRestConversion(e){"Identifier"!==e.argument.type&&"MemberExpression"!==e.argument.type&&this.raise(e.argument.start,Lt.InvalidRestAssignmentPattern)}checkCommaAfterRest(e){this.match(12)&&(this.lookaheadCharCode()===e?this.raiseTrailingCommaAfterRest(this.state.start):this.raiseRestNotLast(this.state.start))}raiseRestNotLast(e){throw this.raise(e,Lt.ElementAfterRest)}raiseTrailingCommaAfterRest(e){this.raise(e,Lt.RestTrailingComma)}}const Is=new Map([["ArrowFunctionExpression","arrow function"],["AssignmentExpression","assignment"],["ConditionalExpression","conditional"],["YieldExpression","yield"]]);class Rs extends Ns{checkProto(e,t,r,s){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return;const n=e.key;if("__proto__"===("Identifier"===n.type?n.name:n.value)){if(t)return void this.raise(n.start,Lt.RecordNoProto);r.used&&(s?-1===s.doubleProto&&(s.doubleProto=n.start):this.raise(n.start,Lt.DuplicateProto)),r.used=!0}}shouldExitDescending(e,t){return"ArrowFunctionExpression"===e.type&&e.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();const e=this.parseExpression();return this.match(129)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.state.comments,e.errors=this.state.errors,this.options.tokens&&(e.tokens=this.tokens),e}parseExpression(e,t){return e?this.disallowInAnd((()=>this.parseExpressionBase(t))):this.allowInAnd((()=>this.parseExpressionBase(t)))}parseExpressionBase(e){const t=this.state.start,r=this.state.startLoc,s=this.parseMaybeAssign(e);if(this.match(12)){const n=this.startNodeAt(t,r);for(n.expressions=[s];this.eat(12);)n.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(n.expressions),this.finishNode(n,"SequenceExpression")}return s}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd((()=>this.parseMaybeAssign(e,t)))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd((()=>this.parseMaybeAssign(e,t)))}setOptionalParametersError(e,t){var r;e.optionalParameters=null!=(r=null==t?void 0:t.pos)?r:this.state.start}parseMaybeAssign(e,t){const r=this.state.start,s=this.state.startLoc;if(this.isContextual(99)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,r,s)),e}let n;e?n=!1:(e=new Zr,n=!0);const{type:i}=this.state;(10===i||or(i))&&(this.state.potentialArrowAt=this.state.start);let o=this.parseMaybeConditional(e);if(t&&(o=t.call(this,o,r,s)),(a=this.state.type)>=27&&a<=31){const t=this.startNodeAt(r,s),n=this.state.value;return t.operator=n,this.match(27)?(t.left=this.toAssignable(o,!0),e.doubleProto>=r&&(e.doubleProto=-1),e.shorthandAssign>=r&&(e.shorthandAssign=-1)):t.left=o,this.checkLVal(o,"assignment expression"),this.next(),t.right=this.parseMaybeAssign(),this.finishNode(t,"AssignmentExpression")}var a;return n&&this.checkExpressionErrors(e,!0),o}parseMaybeConditional(e){const t=this.state.start,r=this.state.startLoc,s=this.state.potentialArrowAt,n=this.parseExprOps(e);return this.shouldExitDescending(n,s)?n:this.parseConditional(n,t,r,e)}parseConditional(e,t,r,s){if(this.eat(17)){const s=this.startNodeAt(t,r);return s.test=e,s.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),s.alternate=this.parseMaybeAssign(),this.finishNode(s,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(128)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){const t=this.state.start,r=this.state.startLoc,s=this.state.potentialArrowAt,n=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(n,s)?n:this.parseExprOp(n,t,r,-1)}parseExprOp(e,t,r,s){if(this.isPrivateName(e)){const t=this.getPrivateNameSV(e),{start:r}=e;(s>=dr(52)||!this.prodParam.hasIn||!this.match(52))&&this.raise(r,Lt.PrivateInExpectedIn,t),this.classScope.usePrivateName(t,r)}const n=this.state.type;if((i=n)>=35&&i<=53&&(this.prodParam.hasIn||!this.match(52))){let i=dr(n);if(i>s){if(35===n){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}const o=this.startNodeAt(t,r);o.left=e,o.operator=this.state.value;const a=37===n||38===n,c=36===n;if(c&&(i=dr(38)),this.next(),35===n&&"minimal"===this.getPluginOption("pipelineOperator","proposal")&&90===this.state.type&&this.prodParam.hasAwait)throw this.raise(this.state.start,Lt.UnexpectedAwaitAfterPipelineBody);o.right=this.parseExprOpRightExpr(n,i),this.finishNode(o,a||c?"LogicalExpression":"BinaryExpression");const l=this.state.type;if(c&&(37===l||38===l)||a&&36===l)throw this.raise(this.state.start,Lt.MixingCoalesceWithLogical);return this.parseExprOp(o,t,r,s)}}var i;return e}parseExprOpRightExpr(e,t){const r=this.state.start,s=this.state.startLoc;if(35===e)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((()=>this.parseHackPipeBody()));case"smart":return this.withTopicBindingContext((()=>{if(this.prodParam.hasYield&&this.isContextual(99))throw this.raise(this.state.start,Lt.PipeBodyIsTighter,this.state.value);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),r,s)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){const r=this.state.start,s=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,s,51===e?t-1:t)}parseHackPipeBody(){var e;const{start:t}=this.state,r=this.parseMaybeAssign();return!Is.has(r.type)||null!=(e=r.extra)&&e.parenthesized||this.raise(t,Lt.PipeUnparenthesizedBody,Is.get(r.type)),this.topicReferenceWasUsedInCurrentContext()||this.raise(t,Lt.PipeTopicUnused),r}checkExponentialAfterUnary(e){this.match(51)&&this.raise(e.argument.start,Lt.UnexpectedTokenUnaryExponentiation)}parseMaybeUnary(e,t){const r=this.state.start,s=this.state.startLoc,n=this.isContextual(90);if(n&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,s);return t||this.checkExponentialAfterUnary(e),e}const i=this.match(32),o=this.startNode();if(a=this.state.type,rr[a]){o.operator=this.state.value,o.prefix=!0,this.match(66)&&this.expectPlugin("throwExpressions");const r=this.match(83);if(this.next(),o.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&r){const e=o.argument;"Identifier"===e.type?this.raise(o.start,Lt.StrictDelete):this.hasPropertyAsPrivateName(e)&&this.raise(o.start,Lt.DeletePrivateField)}if(!i)return t||this.checkExponentialAfterUnary(o),this.finishNode(o,"UnaryExpression")}var a;const c=this.parseUpdate(o,i,e);if(n){const{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?lr(e):lr(e)&&!this.match(48))&&!this.isAmbiguousAwait())return this.raiseOverwrite(r,Lt.AwaitNotInAsyncContext),this.parseAwait(r,s)}return c}parseUpdate(e,t,r){if(t)return this.checkLVal(e.argument,"prefix operation"),this.finishNode(e,"UpdateExpression");const s=this.state.start,n=this.state.startLoc;let i=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return i;for(;32===this.state.type&&!this.canInsertSemicolon();){const e=this.startNodeAt(s,n);e.operator=this.state.value,e.prefix=!1,e.argument=i,this.checkLVal(i,"postfix operation"),this.next(),i=this.finishNode(e,"UpdateExpression")}return i}parseExprSubscripts(e){const t=this.state.start,r=this.state.startLoc,s=this.state.potentialArrowAt,n=this.parseExprAtom(e);return this.shouldExitDescending(n,s)?n:this.parseSubscripts(n,t,r)}parseSubscripts(e,t,r,s){const n={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,r,s,n),n.maybeAsyncArrow=!1}while(!n.stop);return e}parseSubscript(e,t,r,s,n){if(!s&&this.eat(15))return this.parseBind(e,t,r,s,n);if(this.match(22))return this.parseTaggedTemplateExpression(e,t,r,n);let i=!1;if(this.match(18)){if(s&&40===this.lookaheadCharCode())return n.stop=!0,e;n.optionalChainMember=i=!0,this.next()}if(!s&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,r,n,i);{const s=this.eat(0);return s||i||this.eat(16)?this.parseMember(e,t,r,n,s,i):(n.stop=!0,e)}}parseMember(e,t,r,s,n,i){const o=this.startNodeAt(t,r);o.object=e,o.computed=n;const a=!n&&this.match(128)&&this.state.value,c=n?this.parseExpression():a?this.parsePrivateName():this.parseIdentifier(!0);return!1!==a&&("Super"===o.object.type&&this.raise(t,Lt.SuperPrivateField),this.classScope.usePrivateName(a,c.start)),o.property=c,n&&this.expect(3),s.optionalChainMember?(o.optional=i,this.finishNode(o,"OptionalMemberExpression")):this.finishNode(o,"MemberExpression")}parseBind(e,t,r,s,n){const i=this.startNodeAt(t,r);return i.object=e,i.callee=this.parseNoCallExpr(),n.stop=!0,this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r,s)}parseCoverCallAndAsyncArrowHead(e,t,r,s,n){const i=this.state.maybeInArrowParameters;let o=null;this.state.maybeInArrowParameters=!0,this.next();let a=this.startNodeAt(t,r);return a.callee=e,s.maybeAsyncArrow&&(this.expressionScope.enter(new Gr(2)),o=new Zr),s.optionalChainMember&&(a.optional=n),a.arguments=n?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,a,o),this.finishCallExpression(a,s.optionalChainMember),s.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!n?(s.stop=!0,this.expressionScope.validateAsPattern(),this.expressionScope.exit(),a=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),a)):(s.maybeAsyncArrow&&(this.checkExpressionErrors(o,!0),this.expressionScope.exit()),this.toReferencedArguments(a)),this.state.maybeInArrowParameters=i,a}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,s){const n=this.startNodeAt(t,r);return n.tag=e,n.quasi=this.parseTemplate(!0),s.optionalChainMember&&this.raise(t,Lt.OptionalChainingNoTemplate),this.finishNode(n,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if("Import"===e.callee.type)if(2===e.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),0===e.arguments.length||e.arguments.length>2)this.raise(e.start,Lt.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument");else for(const t of e.arguments)"SpreadElement"===t.type&&this.raise(t.start,Lt.ImportCallSpreadArgument);return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,s,n){const i=[];let o=!0;const a=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){!t||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(this.state.lastTokStart,Lt.ImportCallArgumentTrailingComma),s&&this.addExtra(s,"trailingComma",this.state.lastTokStart),this.next();break}i.push(this.parseExprListItem(!1,n,r))}return this.state.inFSharpPipelineDirectBody=a,i}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,null==(r=t.extra)?void 0:r.trailingComma),t.innerComments&&Ot(e,t.innerComments),t.callee.trailingComments&&Ot(e,t.callee.trailingComments),e}parseNoCallExpr(){const e=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,!0)}parseExprAtom(e){let t;const{type:r}=this.state;switch(r){case 73:return this.parseSuper();case 77:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(this.state.lastTokStart,Lt.UnsupportedImport),this.finishNode(t,"Import"));case 72:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 84:return this.parseDo(this.startNode(),!1);case 50:case 29:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 124:return this.parseNumericLiteral(this.state.value);case 125:return this.parseBigIntLiteral(this.state.value);case 126:return this.parseDecimalLiteral(this.state.value);case 123:return this.parseStringLiteral(this.state.value);case 78:return this.parseNullLiteral();case 79:return this.parseBooleanLiteral(!0);case 80:return this.parseBooleanLiteral(!1);case 10:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:return this.parseArrayLike(2===this.state.type?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,e);case 6:case 7:return this.parseObjectLike(6===this.state.type?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,e);case 62:return this.parseFunctionOrFunctionSent();case 24:this.parseDecorators();case 74:return t=this.startNode(),this.takeDecorators(t),this.parseClass(t,!1);case 71:return this.parseNewOrNewTarget();case 22:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;const e=t.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(t,"BindExpression");throw this.raise(e.start,Lt.UnsupportedBind)}case 128:return this.raise(this.state.start,Lt.PrivateInExpectedIn,this.state.value),this.parsePrivateName();case 31:return this.parseTopicReferenceThenEqualsSign(48,"%");case 30:return this.parseTopicReferenceThenEqualsSign(40,"^");case 40:case 48:case 25:{const e=this.getPluginOption("pipelineOperator","proposal");if(e)return this.parseTopicReference(e);throw this.unexpected()}case 43:{const e=this.input.codePointAt(this.nextTokenStart());if(Er(e)||62===e){this.expectOnePlugin(["jsx","flow","typescript"]);break}throw this.unexpected()}default:if(or(r)){if(this.isContextual(117)&&123===this.lookaheadCharCode()&&!this.hasFollowingLineBreak())return this.parseModuleExpression();const e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,r=this.parseIdentifier();if(!t&&"async"===r.name&&!this.canInsertSemicolon()){const{type:e}=this.state;if(62===e)return this.resetPreviousNodeTrailingComments(r),this.next(),this.parseFunction(this.startNodeAtNode(r),void 0,!0);if(or(e))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(r)):r;if(84===e)return this.resetPreviousNodeTrailingComments(r),this.parseDo(this.startNodeAtNode(r),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(r),[r],!1)):r}throw this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){const r=this.getPluginOption("pipelineOperator","proposal");if(r)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc.column--,this.parseTopicReference(r);throw this.unexpected()}parseTopicReference(e){const t=this.startNode(),r=this.state.start,s=this.state.type;return this.next(),this.finishTopicReference(t,r,e,s)}finishTopicReference(e,t,r,s){if(this.testTopicReferenceConfiguration(r,t,s)){let s;return s="smart"===r?"PipelinePrimaryTopicReference":"TopicReference",this.topicReferenceIsAllowedInCurrentContext()||("smart"===r?this.raise(t,Lt.PrimaryTopicNotAllowed):this.raise(t,Lt.PipeTopicUnbound)),this.registerTopicReference(),this.finishNode(e,s)}throw this.raise(t,Lt.PipeTopicUnconfiguredToken,pr(s))}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":{const e=this.getPluginOption("pipelineOperator","topicToken");return pr(r)===e}case"smart":return 25===r;default:throw this.raise(t,Lt.PipeTopicRequiresHackPipes)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(Xr(!0,this.prodParam.hasYield));const t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(this.state.pos,Lt.LineTerminatorBeforeArrow),this.expect(19),this.parseArrowExpression(e,t,!0),e}parseDo(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();const r=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(Yr),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=r,this.finishNode(e,"DoExpression")}parseSuper(){const e=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(e.start,Lt.UnexpectedSuper):this.raise(e.start,Lt.SuperNotAllowed),this.match(10)||this.match(0)||this.match(16)||this.raise(e.start,Lt.UnsupportedSuper),this.finishNode(e,"Super")}parsePrivateName(){const e=this.startNode(),t=this.startNodeAt(this.state.start+1,new Pt(this.state.curLine,this.state.start+1-this.state.lineStart)),r=this.state.value;return this.next(),e.id=this.createIdentifier(t,r),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(96)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;const s=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==r||s)&&this.raise(e.property.start,Lt.UnsupportedMetaProperty,t.name,r),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");return this.next(),this.isContextual(94)&&(this.inModule||this.raise(t.start,Mt.ImportMetaOutsideModule),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){return this.addExtra(r,"rawValue",e),this.addExtra(r,"raw",this.input.slice(r.start,this.state.end)),r.value=e,this.next(),this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");return t.pattern=e.pattern,t.flags=e.flags,t}parseBooleanLiteral(e){const t=this.startNode();return t.value=e,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start,r=this.state.startLoc;let s;this.next(),this.expressionScope.enter(new Gr(1));const n=this.state.maybeInArrowParameters,i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const o=this.state.start,a=this.state.startLoc,c=[],l=new Zr;let h,u,p=!0;for(;!this.match(11);){if(p)p=!1;else if(this.expect(12,-1===l.optionalParameters?null:l.optionalParameters),this.match(11)){u=this.state.start;break}if(this.match(21)){const e=this.state.start,t=this.state.startLoc;h=this.state.start,c.push(this.parseParenItem(this.parseRestBinding(),e,t)),this.checkCommaAfterRest(41);break}c.push(this.parseMaybeAssignAllowIn(l,this.parseParenItem))}const d=this.state.lastTokEnd,f=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=n,this.state.inFSharpPipelineDirectBody=i;let m=this.startNodeAt(t,r);if(e&&this.shouldParseArrow(c)&&(m=this.parseArrow(m)))return this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(m,c,!1),m;if(this.expressionScope.exit(),c.length||this.unexpected(this.state.lastTokStart),u&&this.unexpected(u),h&&this.unexpected(h),this.checkExpressionErrors(l,!0),this.toReferencedListDeep(c,!0),c.length>1?(s=this.startNodeAt(o,a),s.expressions=c,this.finishNode(s,"SequenceExpression"),this.resetEndLocation(s,d,f)):s=c[0],!this.options.createParenthesizedExpressions)return this.addExtra(s,"parenthesized",!0),this.addExtra(s,"parenStart",t),this.takeSurroundingComments(s,t,this.state.lastTokEnd),s;const g=this.startNodeAt(t,r);return g.expression=s,this.finishNode(g,"ParenthesizedExpression"),g}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();if(this.next(),this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.raise(r.start,Lt.UnexpectedNewTarget),r}return this.parseNew(e)}parseNew(e){return e.callee=this.parseNoCallExpr(),"Import"===e.callee.type?this.raise(e.callee.start,Lt.ImportCallNotNewExpression):this.isOptionalChain(e.callee)?this.raise(this.state.lastTokEnd,Lt.OptionalChainingNoNew):this.eat(18)&&this.raise(this.state.start,Lt.OptionalChainingNoNew),this.parseNewArguments(e),this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(10)){const t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[]}parseTemplateElement(e){const t=this.startNode();return null===this.state.value&&(e||this.raise(this.state.start+1,Lt.InvalidEscapeSequenceTemplate)),t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value},this.next(),t.tail=this.match(22),this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next(),t.expressions=[];let r=this.parseTemplateElement(e);for(t.quasis=[r];!r.tail;)this.expect(23),t.expressions.push(this.parseTemplateSubstitution()),this.expect(8),t.quasis.push(r=this.parseTemplateElement(e));return this.next(),this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,s){r&&this.expectPlugin("recordAndTuple");const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const i=Object.create(null);let o=!0;const a=this.startNode();for(a.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addExtra(a,"trailingComma",this.state.lastTokStart);break}let n;t?n=this.parseBindingProperty():(n=this.parsePropertyDefinition(s),this.checkProto(n,r,i,s)),r&&!this.isObjectProperty(n)&&"SpreadElement"!==n.type&&this.raise(n.start,Lt.InvalidRecordProperty),n.shorthand&&this.addExtra(n,"shorthand",!0),a.properties.push(n)}this.next(),this.state.inFSharpPipelineDirectBody=n;let c="ObjectExpression";return t?c="ObjectPattern":r&&(c="RecordExpression"),this.finishNode(a,c)}maybeAsyncOrAccessorProp(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(49))}parsePropertyDefinition(e){let t=[];if(this.match(24))for(this.hasPlugin("decorators")&&this.raise(this.state.start,Lt.UnsupportedPropertyDecorator);this.match(24);)t.push(this.parseDecorator());const r=this.startNode();let s,n,i=!1,o=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(r.decorators=t,t=[]),r.method=!1,e&&(s=this.state.start,n=this.state.startLoc);let a=this.eat(49);this.parsePropertyNamePrefixOperator(r);const c=this.state.containsEsc,l=this.parsePropertyName(r);if(!a&&!c&&this.maybeAsyncOrAccessorProp(r)){const e=l.name;"async"!==e||this.hasPrecedingLineBreak()||(i=!0,this.resetPreviousNodeTrailingComments(l),a=this.eat(49),this.parsePropertyName(r)),"get"!==e&&"set"!==e||(o=!0,this.resetPreviousNodeTrailingComments(l),r.kind=e,this.match(49)&&(a=!0,this.raise(this.state.pos,Lt.AccessorIsGenerator,e),this.next()),this.parsePropertyName(r))}return this.parseObjPropValue(r,s,n,a,i,!1,o,e),r}getGetterSetterExpectedParamCount(e){return"get"===e.kind?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e),s=this.getObjectOrClassMethodParams(e),n=e.start;s.length!==r&&("get"===e.kind?this.raise(n,Lt.BadGetterArity):this.raise(n,Lt.BadSetterArity)),"set"===e.kind&&"RestElement"===(null==(t=s[s.length-1])?void 0:t.type)&&this.raise(n,Lt.BadSetterRestParameter)}parseObjectMethod(e,t,r,s,n){return n?(this.parseMethod(e,t,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(e),e):r||t||this.match(10)?(s&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")):void 0}parseObjectProperty(e,t,r,s,n){return e.shorthand=!1,this.eat(14)?(e.value=s?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(n),this.finishNode(e,"ObjectProperty")):e.computed||"Identifier"!==e.key.type?void 0:(this.checkReservedWord(e.key.name,e.key.start,!0,!1),s?e.value=this.parseMaybeDefault(t,r,rs(e.key)):this.match(27)&&n?(-1===n.shorthandAssign&&(n.shorthandAssign=this.state.start),e.value=this.parseMaybeDefault(t,r,rs(e.key))):e.value=rs(e.key),e.shorthand=!0,this.finishNode(e,"ObjectProperty"))}parseObjPropValue(e,t,r,s,n,i,o,a){const c=this.parseObjectMethod(e,s,n,i,o)||this.parseObjectProperty(e,t,r,i,a);return c||this.unexpected(),c}parsePropertyName(e){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:t,value:r}=this.state;let s;if(ar(t))s=this.parseIdentifier(!0);else switch(t){case 124:s=this.parseNumericLiteral(r);break;case 123:s=this.parseStringLiteral(r);break;case 125:s=this.parseBigIntLiteral(r);break;case 126:s=this.parseDecimalLiteral(r);break;case 128:{const e=this.state.start+1;this.raise(e,Lt.UnexpectedPrivateField),s=this.parsePrivateName();break}default:throw this.unexpected()}e.key=s,128!==t&&(e.computed=!1)}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=!!t}parseMethod(e,t,r,s,n,i,o=!1){this.initFunction(e,r),e.generator=!!t;const a=s;return this.scope.enter(18|(o?64:0)|(n?32:0)),this.prodParam.enter(Xr(r,e.generator)),this.parseFunctionParams(e,a),this.parseFunctionBodyAndFinish(e,i,!0),this.prodParam.exit(),this.scope.exit(),e}parseArrayLike(e,t,r,s){r&&this.expectPlugin("recordAndTuple");const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const i=this.startNode();return this.next(),i.elements=this.parseExprList(e,!r,s,i),this.state.inFSharpPipelineDirectBody=n,this.finishNode(i,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,s){this.scope.enter(6);let n=Xr(r,!1);!this.match(0)&&this.prodParam.hasIn&&(n|=8),this.prodParam.enter(n),this.initFunction(e,r);const i=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,s)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=i,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,!1)}parseFunctionBodyAndFinish(e,t,r=!1){this.parseFunctionBody(e,!1,r),this.finishNode(e,t)}parseFunctionBody(e,t,r=!1){const s=t&&!this.match(5);if(this.expressionScope.enter(Kr()),s)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{const s=this.state.strict,n=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),e.body=this.parseBlock(!0,!1,(n=>{const i=!this.isSimpleParamList(e.params);if(n&&i){const t="method"!==e.kind&&"constructor"!==e.kind||!e.key?e.start:e.key.end;this.raise(t,Lt.IllegalLanguageModeDirective)}const o=!s&&this.state.strict;this.checkParams(e,!(this.state.strict||t||r||i),t,o),this.state.strict&&e.id&&this.checkLVal(e.id,"function name",65,void 0,void 0,o)})),this.prodParam.exit(),this.state.labels=n}this.expressionScope.exit()}isSimpleParamList(e){for(let t=0,r=e.length;t<r;t++)if("Identifier"!==e[t].type)return!1;return!0}checkParams(e,t,r,s=!0){const n=new Set;for(const r of e.params)this.checkLVal(r,"function parameter list",5,t?null:n,void 0,s)}parseExprList(e,t,r,s){const n=[];let i=!0;for(;!this.eat(e);){if(i)i=!1;else if(this.expect(12),this.match(e)){s&&this.addExtra(s,"trailingComma",this.state.lastTokStart),this.next();break}n.push(this.parseExprListItem(t,r))}return n}parseExprListItem(e,t,r){let s;if(this.match(12))e||this.raise(this.state.pos,Lt.UnexpectedToken,","),s=null;else if(this.match(21)){const e=this.state.start,r=this.state.startLoc;s=this.parseParenItem(this.parseSpread(t),e,r)}else if(this.match(17)){this.expectPlugin("partialApplication"),r||this.raise(this.state.start,Lt.UnexpectedArgumentPlaceholder);const e=this.startNode();this.next(),s=this.finishNode(e,"ArgumentPlaceholder")}else s=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return s}parseIdentifier(e){const t=this.startNode(),r=this.parseIdentifierName(t.start,e);return this.createIdentifier(t,r)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e,t){let r;const{start:s,type:n}=this.state;if(!ar(n))throw this.unexpected();r=this.state.value;const i=n<=86;return t?i&&this.replaceToken(122):this.checkReservedWord(r,s,i,!1),this.next(),r}checkReservedWord(e,t,r,s){if(!(e.length>10)&&function(e){return Nr.has(e)}(e)){if("yield"===e){if(this.prodParam.hasYield)return void this.raise(t,Lt.YieldBindingIdentifier)}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(t,Lt.AwaitBindingIdentifier);if(this.scope.inStaticBlock)return void this.raise(t,Lt.AwaitBindingIdentifierInStaticBlock);this.expressionScope.recordAsyncArrowParametersError(t,Lt.AwaitBindingIdentifier)}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(t,Lt.ArgumentsInClass);r&&function(e){return _r.has(e)}(e)?this.raise(t,Lt.UnexpectedKeyword,e):(this.state.strict?s?Or:Cr:Ar)(e,this.inModule)&&this.raise(t,Lt.UnexpectedReservedWord,e)}}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(e,t){const r=this.startNodeAt(e,t);return this.expressionScope.recordParameterInitializerError(r.start,Lt.AwaitExpressionFormalParameter),this.eat(49)&&this.raise(r.start,Lt.ObsoleteAwaitStar),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(r.argument=this.parseMaybeUnary(null,!0)),this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(47)||this.match(10)||this.match(0)||this.match(22)||this.match(127)||this.match(50)||this.hasPlugin("v8intrinsic")&&this.match(48)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,Lt.YieldInParameter),this.next();let t=!1,r=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(49),this.state.type){case 13:case 129:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:r=this.parseMaybeAssign()}return e.delegate=t,e.argument=r,this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){"smart"===this.getPluginOption("pipelineOperator","proposal")&&"SequenceExpression"===e.type&&this.raise(t,Lt.PipelineHeadSequenceExpression)}checkHackPipeBodyEarlyErrors(e){this.topicReferenceWasUsedInCurrentContext()||this.raise(e,Lt.PipeTopicUnused)}parseSmartPipelineBodyInStyle(e,t,r){const s=this.startNodeAt(t,r);return this.isSimpleReference(e)?(s.callee=e,this.finishNode(s,"PipelineBareFunction")):(this.checkSmartPipeTopicBodyEarlyErrors(t),s.expression=e,this.finishNode(s,"PipelineTopicExpression"))}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(this.state.start,Lt.PipelineBodyNoArrow);this.topicReferenceWasUsedInCurrentContext()||this.raise(e,Lt.PipelineTopicUnused)}withTopicBindingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if("smart"!==this.getPluginOption("pipelineOperator","proposal"))return e();{const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();if(8&~t){this.prodParam.enter(8|t);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();if(8&t){this.prodParam.enter(-9&t);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start,r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const n=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,r,e);return this.state.inFSharpPipelineDirectBody=s,n}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next(),this.eat(5);const t=this.initializeScopes(!0);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,8,"module")}finally{t()}return this.eat(8),this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}}const Ls={kind:"loop"},Ms={kind:"switch"},Ds=/[\uD800-\uDFFF]/u,js=/in(?:stanceof)?/y;class Fs extends Rs{parseTopLevel(e,t){return e.program=this.parseProgram(t),e.comments=this.state.comments,this.options.tokens&&(e.tokens=function(e){for(let t=0;t<e.length;t++){const r=e[t],{type:s}=r;if(128!==s)"number"==typeof s&&(r.type=fr(s));else{const{loc:s,start:n,value:i,end:o}=r,a=n+1,c=new Pt(s.start.line,s.start.column+1);e.splice(t,1,new qr({type:fr(25),value:"#",start:n,end:a,startLoc:s.start,endLoc:c}),new qr({type:fr(122),value:i,start:a,end:o,startLoc:c,endLoc:s.end})),t++}}return e}(this.tokens)),this.finishNode(e,"File")}parseProgram(e,t=129,r=this.options.sourceType){if(e.sourceType=r,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,Lt.ModuleExportUndefined,e)}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e;t.type="Directive",t.value=t.expression,delete t.expression;const r=t.value,s=r.value,n=this.input.slice(r.start,r.end),i=r.value=n.slice(1,-1);return this.addExtra(r,"raw",n),this.addExtra(r,"rawValue",i),this.addExtra(r,"expressionValue",s),r.type="DirectiveLiteral",t}parseInterpreterDirective(){if(!this.match(26))return null;const e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(e){return!!this.isContextual(93)&&this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart(),r=this.codePointAtPos(t);if(92===r||91===r)return!0;if(e)return!1;if(123===r)return!0;if(Er(r)){if(js.lastIndex=t,js.test(this.input)){const e=this.codePointAtPos(js.lastIndex);if(!Sr(e)&&92!==e)return!1}return!0}return!1}parseStatement(e,t){return this.match(24)&&this.parseDecorators(!0),this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const s=this.startNode();let n;switch(this.isLet(e)&&(r=68,n="let"),r){case 54:return this.parseBreakContinueStatement(s,!0);case 57:return this.parseBreakContinueStatement(s,!1);case 58:return this.parseDebuggerStatement(s);case 84:return this.parseDoStatement(s);case 85:return this.parseForStatement(s);case 62:if(46===this.lookaheadCharCode())break;return e&&(this.state.strict?this.raise(this.state.start,Lt.StrictFunction):"if"!==e&&"label"!==e&&this.raise(this.state.start,Lt.SloppyFunction)),this.parseFunctionStatement(s,!1,!e);case 74:return e&&this.unexpected(),this.parseClass(s,!0);case 63:return this.parseIfStatement(s);case 64:return this.parseReturnStatement(s);case 65:return this.parseSwitchStatement(s);case 66:return this.parseThrowStatement(s);case 67:return this.parseTryStatement(s);case 69:case 68:return n=n||this.state.value,e&&"var"!==n&&this.raise(this.state.start,Lt.UnexpectedLexicalDeclaration),this.parseVarStatement(s,n);case 86:return this.parseWhileStatement(s);case 70:return this.parseWithStatement(s);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(s);case 77:{const e=this.lookaheadCharCode();if(40===e||46===e)break}case 76:{let e;return this.options.allowImportExportEverywhere||t||this.raise(this.state.start,Lt.UnexpectedImportExport),this.next(),77===r?(e=this.parseImport(s),"ImportDeclaration"!==e.type||e.importKind&&"value"!==e.importKind||(this.sawUnambiguousESM=!0)):(e=this.parseExport(s),("ExportNamedDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&("ExportAllDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&"ExportDefaultDeclaration"!==e.type||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(s),e}default:if(this.isAsyncFunction())return e&&this.raise(this.state.start,Lt.AsyncFunctionInSingleStatementContext),this.next(),this.parseFunctionStatement(s,!0,!e)}const i=this.state.value,o=this.parseExpression();return or(r)&&"Identifier"===o.type&&this.eat(14)?this.parseLabeledStatement(s,i,o,e):this.parseExpressionStatement(s,o)}assertModuleNodeAllowed(e){this.options.allowImportExportEverywhere||this.inModule||this.raise(e.start,Mt.ImportOutsideModule)}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];t.length&&(e.decorators=t,this.resetStartLocationFromNode(e,t[0]),this.state.decoratorStack[this.state.decoratorStack.length-1]=[])}canHaveLeadingDecorator(){return this.match(74)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];for(;this.match(24);){const e=this.parseDecorator();t.push(e)}if(this.match(76))e||this.unexpected(),this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(this.state.start,Lt.DecoratorExportClass);else if(!this.canHaveLeadingDecorator())throw this.raise(this.state.start,Lt.UnexpectedLeadingDecorator)}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();if(this.next(),this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start,r=this.state.startLoc;let s;if(this.eat(10))s=this.parseExpression(),this.expect(11);else for(s=this.parseIdentifier(!1);this.eat(16);){const e=this.startNodeAt(t,r);e.object=s,e.property=this.parseIdentifier(!0),e.computed=!1,s=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(s),this.state.decoratorStack.pop()}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){const t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let r;for(r=0;r<this.state.labels.length;++r){const s=this.state.labels[r];if(null==e.label||s.name===e.label.name){if(null!=s.kind&&(t||"loop"===s.kind))break;if(e.label&&t)break}}r===this.state.labels.length&&this.raise(e.start,Lt.IllegalBreakContinue,t?"break":"continue")}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const e=this.parseExpression();return this.expect(11),e}parseDoStatement(e){return this.next(),this.state.labels.push(Ls),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("do"))),this.state.labels.pop(),this.expect(86),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(Ls);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual(90)&&(t=this.state.lastTokStart),this.scope.enter(0),this.expect(10),this.match(13))return t>-1&&this.unexpected(t),this.parseFor(e,null);const r=this.isContextual(93),s=r&&this.isLetKeyword();if(this.match(68)||this.match(69)||s){const r=this.startNode(),n=s?"let":this.state.value;return this.next(),this.parseVar(r,!0,n),this.finishNode(r,"VariableDeclaration"),(this.match(52)||this.isContextual(95))&&1===r.declarations.length?this.parseForIn(e,r,t):(t>-1&&this.unexpected(t),this.parseFor(e,r))}const n=this.isContextual(89),i=new Zr,o=this.parseExpression(!0,i),a=this.isContextual(95);if(a&&(r?this.raise(o.start,Lt.ForOfLet):-1===t&&n&&"Identifier"===o.type&&this.raise(o.start,Lt.ForOfAsync)),a||this.match(52)){this.toAssignable(o,!0);const r=a?"for-of statement":"for-in statement";return this.checkLVal(o,r),this.parseForIn(e,o,t)}return this.checkExpressionErrors(i,!0),t>-1&&this.unexpected(t),this.parseFor(e,o)}parseFunctionStatement(e,t,r){return this.next(),this.parseFunction(e,1|(r?0:2),t)}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(60)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(this.state.start,Lt.IllegalReturn),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();const t=e.cases=[];let r;this.expect(5),this.state.labels.push(Ms),this.scope.enter(0);for(let e;!this.match(8);)if(this.match(55)||this.match(59)){const s=this.match(55);r&&this.finishNode(r,"SwitchCase"),t.push(r=this.startNode()),r.consequent=[],this.next(),s?r.test=this.parseExpression():(e&&this.raise(this.state.lastTokStart,Lt.MultipleDefaultsInSwitch),e=!0,r.test=null),this.expect(14)}else r?r.consequent.push(this.parseStatement(null)):this.unexpected();return this.scope.exit(),r&&this.finishNode(r,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(this.state.lastTokEnd,Lt.NewlineAfterThrow),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom(),t="Identifier"===e.type;return this.scope.enter(t?8:0),this.checkLVal(e,"catch clause",9),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(56)){const t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(0)),t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseBlock(!1,!1))),this.scope.exit(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(61)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,Lt.NoCatchOrFinally),this.finishNode(e,"TryStatement")}parseVarStatement(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(Ls),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("while"))),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(this.state.start,Lt.StrictWith),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("with"))),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,s){for(const e of this.state.labels)e.name===t&&this.raise(r.start,Lt.LabelRedeclaration,t);const n=(i=this.state.type)>=84&&i<=86?"loop":this.match(65)?"switch":null;var i;for(let t=this.state.labels.length-1;t>=0;t--){const r=this.state.labels[t];if(r.statementStart!==e.start)break;r.statementStart=this.state.start,r.kind=n}return this.state.labels.push({name:t,kind:n,statementStart:this.state.start}),e.body=this.parseStatement(s?-1===s.indexOf("label")?s+"label":s:"label"),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(e=!1,t=!0,r){const s=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(0),this.parseBlockBody(s,e,!1,8,r),t&&this.scope.exit(),this.finishNode(s,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,s,n){const i=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?o:void 0,r,s,n)}parseBlockOrModuleBlockBody(e,t,r,s,n){const i=this.state.strict;let o=!1,a=!1;for(;!this.match(s);){const s=this.parseStatement(null,r);if(t&&!a){if(this.isValidDirective(s)){const e=this.stmtToDirective(s);t.push(e),o||"use strict"!==e.value.value||(o=!0,this.setStrict(!0));continue}a=!0,this.state.strictErrors.clear()}e.push(s)}n&&n.call(this,o),i||this.setStrict(!1),this.next()}parseFor(e,t){return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("for"))),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const s=this.match(52);return this.next(),s?r>-1&&this.unexpected(r):e.await=r>-1,"VariableDeclaration"!==t.type||null==t.declarations[0].init||s&&!this.state.strict&&"var"===t.kind&&"Identifier"===t.declarations[0].id.type?"AssignmentPattern"===t.type&&this.raise(t.start,Lt.InvalidLhs,"for-loop"):this.raise(t.start,Lt.ForInOfLoopInitializer,s?"for-in":"for-of"),e.left=t,e.right=s?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("for"))),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,s?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const s=e.declarations=[],n=this.hasPlugin("typescript");for(e.kind=r;;){const e=this.startNode();if(this.parseVarId(e,r),this.eat(27)?e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():("const"!==r||this.match(52)||this.isContextual(95)?"Identifier"===e.id.type||t&&(this.match(52)||this.isContextual(95))||this.raise(this.state.lastTokEnd,Lt.DeclarationMissingInitializer,"Complex binding patterns"):n||this.raise(this.state.lastTokEnd,Lt.DeclarationMissingInitializer,"Const declarations"),e.init=null),s.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,"variable declaration","var"===t?5:9,void 0,"var"!==t)}parseFunction(e,t=0,r=!1){const s=1&t,n=2&t,i=!(!s||4&t);this.initFunction(e,r),this.match(49)&&n&&this.raise(this.state.start,Lt.GeneratorInSingleStatementContext),e.generator=this.eat(49),s&&(e.id=this.parseFunctionId(i));const o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(Xr(r,e.generator)),s||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(e,s?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),s&&!n&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=o,e}parseFunctionId(e){return e||or(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(new Wr(3)),e.params=this.parseBindingList(11,41,!1,t),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:9:17,e.id.start)}parseClass(e,t,r){this.next(),this.takeDecorators(e);const s=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,r),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,s),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(27)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(e){return!(e.computed||e.static||"constructor"!==e.key.name&&"constructor"!==e.key.value)}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:!1,hadSuperClass:e};let s=[];const n=this.startNode();if(n.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((()=>{for(;!this.match(8);){if(this.eat(13)){if(s.length>0)throw this.raise(this.state.lastTokEnd,Lt.DecoratorSemicolon);continue}if(this.match(24)){s.push(this.parseDecorator());continue}const e=this.startNode();s.length&&(e.decorators=s,this.resetStartLocationFromNode(e,s[0]),s=[]),this.parseClassMember(n,e,r),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(e.start,Lt.DecoratorConstructor)}})),this.state.strict=t,this.next(),s.length)throw this.raise(this.state.start,Lt.TrailingDecorator);return this.classScope.exit(),this.finishNode(n,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(!0);if(this.isClassMethod()){const s=t;return s.kind="method",s.computed=!1,s.key=r,s.static=!1,this.pushClassMethod(e,s,!1,!1,!1,!1),!0}if(this.isClassProperty()){const s=t;return s.computed=!1,s.key=r,s.static=!1,e.body.push(this.parseClassProperty(s)),!0}return this.resetPreviousNodeTrailingComments(r),!1}parseClassMember(e,t,r){const s=this.isContextual(98);if(s){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,r,s)}parseClassMemberWithIsStatic(e,t,r,s){const n=t,i=t,o=t,a=t,c=n,l=n;if(t.static=s,this.parsePropertyNamePrefixOperator(t),this.eat(49)){c.kind="method";const t=this.match(128);return this.parseClassElementName(c),t?void this.pushClassPrivateMethod(e,i,!0,!1):(this.isNonstaticConstructor(n)&&this.raise(n.key.start,Lt.ConstructorIsGenerator),void this.pushClassMethod(e,n,!0,!1,!1,!1))}const h=or(this.state.type)&&!this.state.containsEsc,u=this.match(128),p=this.parseClassElementName(t),d=this.state.start;if(this.parsePostMemberNameModifiers(l),this.isClassMethod()){if(c.kind="method",u)return void this.pushClassPrivateMethod(e,i,!1,!1);const s=this.isNonstaticConstructor(n);let o=!1;s&&(n.kind="constructor",r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(p.start,Lt.DuplicateConstructor),s&&this.hasPlugin("typescript")&&t.override&&this.raise(p.start,Lt.OverrideOnConstructor),r.hadConstructor=!0,o=r.hadSuperClass),this.pushClassMethod(e,n,!1,!1,s,o)}else if(this.isClassProperty())u?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o);else if(h&&"async"===p.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(p);const t=this.eat(49);l.optional&&this.unexpected(d),c.kind="method";const r=this.match(128);this.parseClassElementName(c),this.parsePostMemberNameModifiers(l),r?this.pushClassPrivateMethod(e,i,t,!0):(this.isNonstaticConstructor(n)&&this.raise(n.key.start,Lt.ConstructorIsAsync),this.pushClassMethod(e,n,t,!0,!1,!1))}else if(!h||"get"!==p.name&&"set"!==p.name||this.match(49)&&this.isLineTerminator())this.isLineTerminator()?u?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o):this.unexpected();else{this.resetPreviousNodeTrailingComments(p),c.kind=p.name;const t=this.match(128);this.parseClassElementName(n),t?this.pushClassPrivateMethod(e,i,!1,!1):(this.isNonstaticConstructor(n)&&this.raise(n.key.start,Lt.ConstructorIsAccessor),this.pushClassMethod(e,n,!1,!1,!1,!1)),this.checkGetterSetterParams(n)}}parseClassElementName(e){const{type:t,value:r,start:s}=this.state;if(122!==t&&123!==t||!e.static||"prototype"!==r||this.raise(s,Lt.StaticPrototype),128===t){"constructor"===r&&this.raise(s,Lt.ConstructorClassPrivateField);const t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var r;this.scope.enter(208);const s=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const n=t.body=[];this.parseBlockOrModuleBlockBody(n,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=s,e.body.push(this.finishNode(t,"StaticBlock")),null!=(r=t.decorators)&&r.length&&this.raise(t.start,Lt.DecoratorStaticBlock)}pushClassProperty(e,t){t.computed||"constructor"!==t.key.name&&"constructor"!==t.key.value||this.raise(t.key.start,Lt.ConstructorClassField),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const r=this.parseClassPrivateProperty(t);e.body.push(r),this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.start)}pushClassMethod(e,t,r,s,n,i){e.body.push(this.parseMethod(t,r,s,n,i,"ClassMethod",!0))}pushClassPrivateMethod(e,t,r,s){const n=this.parseMethod(t,r,s,!1,!1,"ClassPrivateMethod",!0);e.body.push(n);const i="get"===n.kind?n.static?6:2:"set"===n.kind?n.static?5:1:0;this.declareClassPrivateMethodInScope(n,i)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(80),this.expressionScope.enter(Kr()),this.prodParam.enter(0),e.value=this.eat(27)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,r,s=139){or(this.state.type)?(e.id=this.parseIdentifier(),t&&this.checkLVal(e.id,"class name",s)):r||!t?e.id=null:this.unexpected(null,Lt.MissingClassName)}parseClassSuper(e){e.superClass=this.eat(75)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e),r=!t||this.eat(12),s=r&&this.eatExportStar(e),n=s&&this.maybeParseExportNamespaceSpecifier(e),i=r&&(!n||this.eat(12)),o=t||s;if(s&&!n)return t&&this.unexpected(),this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration");const a=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!s&&!a||n&&i&&!a)throw this.unexpected(null,5);let c;if(o||a?(c=!1,this.parseExportFrom(e,o)):c=this.maybeParseExportDeclaration(e),o||a||c)return this.checkExport(e,!0,!1,!!e.source),this.finishNode(e,"ExportNamedDeclaration");if(this.eat(59))return e.declaration=this.parseExportDefaultExpression(),this.checkExport(e,!0,!0),this.finishNode(e,"ExportDefaultDeclaration");throw this.unexpected(null,5)}eatExportStar(e){return this.eat(49)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();return t.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(87)){e.specifiers||(e.specifiers=[]);const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){e.specifiers||(e.specifiers=[]);const t="type"===e.exportKind;return e.specifiers.push(...this.parseExportSpecifiers(t)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),e.declaration=this.parseExportDeclaration(e),!0)}isAsyncFunction(){if(!this.isContextual(89))return!1;const e=this.nextTokenStart();return!xt.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode(),t=this.isAsyncFunction();if(this.match(62)||t)return this.next(),t&&this.next(),this.parseFunction(e,5,t);if(this.match(74))return this.parseClass(e,!0,!0);if(this.match(24))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(this.state.start,Lt.DecoratorBeforeExport),this.parseDecorators(!1),this.parseClass(e,!0,!0);if(this.match(69)||this.match(68)||this.isLet())throw this.raise(this.state.start,Lt.UnsupportedDefaultExport);{const e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){const{type:e}=this.state;if(or(e)){if(89===e&&!this.state.containsEsc||93===e)return!1;if((120===e||119===e)&&!this.state.containsEsc){const{type:e}=this.lookahead();if(or(e)&&91!==e||5===e)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(59))return!1;const t=this.nextTokenStart(),r=this.isUnparsedContextual(t,"from");if(44===this.input.charCodeAt(t)||or(this.state.type)&&r)return!0;if(this.match(59)&&r){const e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return 34===e||39===e}return!1}parseExportFrom(e,t){if(this.eatContextual(91)){e.source=this.parseImportSource(),this.checkExport(e);const t=this.maybeParseImportAssertions();t&&(e.assertions=t)}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){const{type:e}=this.state;if(24===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(!this.getPluginOption("decorators","decoratorsBeforeExport"))return!0;this.unexpected(this.state.start,Lt.DecoratorBeforeExport)}return 68===e||69===e||62===e||74===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,s){if(t)if(r){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var n;const t=e.declaration;"Identifier"!==t.type||"from"!==t.name||t.end-t.start!=4||null!=(n=t.extra)&&n.parenthesized||this.raise(t.start,Lt.ExportDefaultFromAsIdentifier)}}else if(e.specifiers&&e.specifiers.length)for(const t of e.specifiers){const{exported:e}=t,r="Identifier"===e.type?e.name:e.value;if(this.checkDuplicateExports(t,r),!s&&t.local){const{local:e}=t;"Identifier"!==e.type?this.raise(t.start,Lt.ExportBindingIsString,e.value,r):(this.checkReservedWord(e.name,e.start,!0,!1),this.scope.checkLocalExport(e))}}else if(e.declaration)if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if("VariableDeclaration"===e.declaration.type)for(const t of e.declaration.declarations)this.checkDeclaration(t.id);if(this.state.decoratorStack[this.state.decoratorStack.length-1].length)throw this.raise(e.start,Lt.UnsupportedDecoratorExport)}checkDeclaration(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type)for(const t of e.properties)this.checkDeclaration(t);else if("ArrayPattern"===e.type)for(const t of e.elements)t&&this.checkDeclaration(t);else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"AssignmentPattern"===e.type&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.exportedIdentifiers.has(t)&&this.raise(e.start,"default"===t?Lt.DuplicateDefaultExport:Lt.DuplicateExport,t),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){const t=[];let r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else if(this.expect(12),this.eat(8))break;const s=this.isContextual(120),n=this.match(123),i=this.startNode();i.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(i,n,e,s))}return t}parseExportSpecifier(e,t,r,s){return this.eatContextual(87)?e.exported=this.parseModuleExportName():t?e.exported=function(e){const{type:t,start:r,end:s,loc:n,range:i,extra:o}=e;if("Placeholder"===t)return function(e){return rs(e)}(e);const a=Object.create(ts);return a.type="StringLiteral",a.start=r,a.end=s,a.loc=n,a.range=i,a.extra=o,a.value=e.value,a}(e.local):e.exported||(e.exported=rs(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(123)){const e=this.parseStringLiteral(this.state.value),t=e.value.match(Ds);return t&&this.raise(e.start,Lt.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16)),e}return this.parseIdentifier(!0)}parseImport(e){if(e.specifiers=[],!this.match(123)){const t=!this.maybeParseDefaultImportSpecifier(e)||this.eat(12),r=t&&this.maybeParseStarImportSpecifier(e);t&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(91)}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t)e.assertions=t;else{const t=this.maybeParseModuleAttributes();t&&(e.attributes=t)}return this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(123)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return or(this.state.type)}parseImportSpecifierLocal(e,t,r,s){t.local=this.parseIdentifier(),this.checkLVal(t.local,s,9),e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[],t=new Set;do{if(this.match(8))break;const r=this.startNode(),s=this.state.value;if(t.has(s)&&this.raise(this.state.start,Lt.ModuleAttributesWithDuplicateKeys,s),t.add(s),this.match(123)?r.key=this.parseStringLiteral(s):r.key=this.parseIdentifier(!0),this.expect(14),!this.match(123))throw this.unexpected(this.state.start,Lt.ModuleAttributeInvalidValue);r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),e.push(r)}while(this.eat(12));return e}maybeParseModuleAttributes(){if(!this.match(70)||this.hasPrecedingLineBreak())return this.hasPlugin("moduleAttributes")?[]:null;this.expectPlugin("moduleAttributes"),this.next();const e=[],t=new Set;do{const r=this.startNode();if(r.key=this.parseIdentifier(!0),"type"!==r.key.name&&this.raise(r.key.start,Lt.ModuleAttributeDifferentFromType,r.key.name),t.has(r.key.name)&&this.raise(r.key.start,Lt.ModuleAttributesWithDuplicateKeys,r.key.name),t.add(r.key.name),this.expect(14),!this.match(123))throw this.unexpected(this.state.start,Lt.ModuleAttributeInvalidValue);r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),e.push(r)}while(this.eat(12));return e}maybeParseImportAssertions(){if(!this.isContextual(88)||this.hasPrecedingLineBreak())return this.hasPlugin("importAssertions")?[]:null;this.expectPlugin("importAssertions"),this.next(),this.eat(5);const e=this.parseAssertEntries();return this.eat(8),e}maybeParseDefaultImportSpecifier(e){return!!this.shouldParseDefaultImport(e)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier"),!0)}maybeParseStarImportSpecifier(e){if(this.match(49)){const t=this.startNode();return this.next(),this.expectContextual(87),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier"),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(this.state.start,Lt.DestructureNamedImport);if(this.expect(12),this.eat(8))break}const r=this.startNode(),s=this.match(123),n=this.isContextual(120);r.imported=this.parseModuleExportName();const i=this.parseImportSpecifier(r,s,"type"===e.importKind||"typeof"===e.importKind,n);e.specifiers.push(i)}}parseImportSpecifier(e,t,r,s){if(this.eatContextual(87))e.local=this.parseIdentifier();else{const{imported:r}=e;if(t)throw this.raise(e.start,Lt.ImportBindingIsString,r.value);this.checkReservedWord(r.name,e.start,!0,!0),e.local||(e.local=rs(r))}return this.checkLVal(e.local,"import specifier",9),this.finishNode(e,"ImportSpecifier")}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}}let Bs=class extends Fs{constructor(e,t){super(e=function(e){const t={};for(const r of Object.keys(ks))t[r]=e&&null!=e[r]?e[r]:ks[r];return t}(e),t),this.options=e,this.initializeScopes(),this.plugins=function(e){const t=new Map;for(const r of e){const[e,s]=Array.isArray(r)?r:[r,{}];t.has(e)||t.set(e,s||{})}return t}(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return Rr}parse(){this.enterInitialScopes();const e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e}};const Us=function(e){const t={};for(const r of Object.keys(e))t[r]=fr(e[r]);return t}(ir);function qs(e,t){let r=Bs;return null!=e&&e.plugins&&(function(e){if(Es(e,"decorators")){if(Es(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const t=Ss(e,"decorators","decoratorsBeforeExport");if(null==t)throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.");if("boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean.")}if(Es(e,"flow")&&Es(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(Es(e,"placeholders")&&Es(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(Es(e,"pipelineOperator")){const t=Ss(e,"pipelineOperator","proposal");if(!_s.includes(t)){const e=_s.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const r=Es(e,"recordAndTuple")&&"hash"===Ss(e,"recordAndTuple","syntaxType");if("hack"===t){if(Es(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(Es(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const t=Ss(e,"pipelineOperator","topicToken");if(!Ts.includes(t)){const e=Ts.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if("#"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if("smart"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(Es(e,"moduleAttributes")){if(Es(e,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if("may-2020"!==Ss(e,"moduleAttributes","version"))throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(Es(e,"recordAndTuple")&&!Ps.includes(Ss(e,"recordAndTuple","syntaxType")))throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ps.map((e=>`'${e}'`)).join(", "));if(Es(e,"asyncDoExpressions")&&!Es(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}}(e.plugins),r=function(e){const t=Cs.filter((t=>Es(e,t))),r=t.join("/");let s=$s[r];if(!s){s=Bs;for(const e of t)s=As[e](s);$s[r]=s}return s}(e.plugins)),new r(e,t)}const $s={};var Hs=vt.parse=function(e,t){var r;if("unambiguous"!==(null==(r=t)?void 0:r.sourceType))return qs(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";const r=qs(t,e),s=r.parse();if(r.sawUnambiguousESM)return s;if(r.ambiguousScriptDifferentAst)try{return t.sourceType="script",qs(t,e).parse()}catch(e){}else s.program.sourceType="script";return s}catch(r){try{return t.sourceType="script",qs(t,e).parse()}catch(e){}throw r}},Vs=vt.parseExpression=function(e,t){const r=qs(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()};vt.tokTypes=Us;const Ws=e=>4===e.type&&e.isStatic,Gs=(e,t)=>e===t||e===ce(t);function zs(e){return Gs(e,"Teleport")?be:Gs(e,"Suspense")?ve:Gs(e,"KeepAlive")?xe:Gs(e,"BaseTransition")?we:void 0}const Ks=/^\d|[^\$\w]/,Ys=e=>!Ks.test(e),Js=/[A-Za-z_$\xA0-\uFFFF]/,Xs=/[\.\?\w$\xA0-\uFFFF]/,Qs=/\s+[.[]\s*|\s*[.[]\s+/g,Zs=(e,t)=>{try{let r=Vs(e,{plugins:t.expressionPlugins});return"TSAsExpression"!==r.type&&"TSTypeAssertion"!==r.type||(r=r.expression),"MemberExpression"===r.type||"OptionalMemberExpression"===r.type||"Identifier"===r.type}catch(e){return!1}},en=Zs;function tn(e,t,r){const s={source:e.source.slice(t,t+r),start:rn(e.start,e.source,t),end:e.end};return null!=r&&(s.end=rn(e.start,e.source,t+r)),s}function rn(e,t,r=t.length){return sn(H({},e),t,r)}function sn(e,t,r=t.length){let s=0,n=-1;for(let e=0;e<r;e++)10===t.charCodeAt(e)&&(s++,n=e);return e.offset+=r,e.line+=s,e.column=-1===n?e.column+r:r-n,e}function nn(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function on(e,t,r=!1){for(let s=0;s<e.props.length;s++){const n=e.props[s];if(7===n.type&&(r||n.exp)&&(J(t)?n.name===t:t.test(n.name)))return n}}function an(e,t,r=!1,s=!1){for(let n=0;n<e.props.length;n++){const i=e.props[n];if(6===i.type){if(r)continue;if(i.name===t&&(i.value||s))return i}else if("bind"===i.name&&(i.exp||s)&&cn(i.arg,t))return i}}function cn(e,t){return!(!e||!Ws(e)||e.content!==t)}function ln(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function hn(e){return 5===e.type||2===e.type}function un(e){return 7===e.type&&"slot"===e.name}function pn(e){return 1===e.type&&3===e.tagType}function dn(e){return 1===e.type&&2===e.tagType}function fn(e,t){return e||t?Te:Pe}function mn(e,t){return e||t?Se:_e}const gn=new Set([$e,He]);function yn(e,t=[]){if(e&&!J(e)&&14===e.type){const r=e.callee;if(!J(r)&&gn.has(r))return yn(e.arguments[0],t.concat(e))}return[e,t]}function bn(e,t,r){let s,n,i=13===e.type?e.props:e.arguments[2],o=[];if(i&&!J(i)&&14===i.type){const e=yn(i);i=e[0],o=e[1],n=o[o.length-1]}if(null==i||J(i))s=ct([t]);else if(14===i.type){const e=i.arguments[0];J(e)||15!==e.type?i.callee===Ve?s=pt(r.helper(Be),[ct([t]),i]):i.arguments.unshift(ct([t])):vn(t,e)||e.properties.unshift(t),!s&&(s=i)}else 15===i.type?(vn(t,i)||i.properties.unshift(t),s=i):(s=pt(r.helper(Be),[ct([t]),i]),n&&n.callee===He&&(n=o[o.length-2]));13===e.type?n?n.arguments[0]=s:e.props=s:n?n.arguments[0]=s:e.arguments[2]=s}function vn(e,t){let r=!1;if(4===e.key.type){const s=e.key.content;r=t.properties.some((e=>4===e.key.type&&e.key.content===s))}return r}function xn(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,r)=>"-"===t?"_":e.charCodeAt(r).toString()))}`}function wn(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&(wn(s.arg,t)||wn(s.exp,t)))return!0}return e.children.some((e=>wn(e,t)));case 11:return!!wn(e.source,t)||e.children.some((e=>wn(e,t)));case 9:return e.branches.some((e=>wn(e,t)));case 10:return!!wn(e.condition,t)||e.children.some((e=>wn(e,t)));case 4:return!e.isStatic&&Ys(e.content)&&!!t[e.content];case 8:return e.children.some((e=>Q(e)&&wn(e,t)));case 5:case 12:return wn(e.content,t);default:return!1}}function En(e){return 14===e.type&&e.callee===et?e.arguments[1].returns:e}function Sn(e,{helper:t,removeHelper:r,inSSR:s}){e.isBlock||(e.isBlock=!0,r(fn(s,e.isComponent)),t(Ee),t(mn(s,e.isComponent)))}const _n={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function Tn(e,t){const r=t.options?t.options.compatConfig:t.compatConfig,s=r&&r[e];return"MODE"===e?s||3:s}function Pn(e,t,r,...s){if("suppress-warning"===Tn(e,t))return;const{message:n,link:i}=_n[e],o=`(deprecation ${e}) ${"function"==typeof n?n(...s):n}${i?`\n Details: ${i}`:""}`,a=new SyntaxError(o);a.code=e,r&&(a.loc=r),t.onWarn(a)}const An=/&(gt|lt|amp|apos|quot);/g,Cn={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},kn={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:U,isPreTag:U,isCustomElement:U,decodeEntities:e=>e.replace(An,((e,t)=>Cn[t])),onError:de,onWarn:fe,comments:!0};function On(e,t={}){const r=function(e,t){const r=H({},kn);let s;for(s in t)r[s]=void 0===t[s]?kn[s]:t[s];return{options:r,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:r.onWarn}}(e,t),s=Vn(r);return it(Nn(r,0,[]),Wn(r,s))}function Nn(e,t,r){const s=Gn(r),n=s?s.ns:0,i=[];for(;!Qn(e,t,r);){const o=e.source;let a;if(0===t||1===t)if(!e.inVPre&&zn(o,e.options.delimiters[0]))a=qn(e,t);else if(0===t&&"<"===o[0])if(1===o.length)Xn(e,5,1);else if("!"===o[1])zn(o,"\x3c!--")?a=Ln(e):zn(o,"<!DOCTYPE")?a=Mn(e):zn(o,"<![CDATA[")?0!==n?a=Rn(e,r):(Xn(e,1),a=Mn(e)):(Xn(e,11),a=Mn(e));else if("/"===o[1])if(2===o.length)Xn(e,5,2);else{if(">"===o[2]){Xn(e,14,2),Kn(e,3);continue}if(/[a-z]/i.test(o[2])){Xn(e,23),Fn(e,1,s);continue}Xn(e,12,2),a=Mn(e)}else/[a-z]/i.test(o[1])?a=Dn(e,r):"?"===o[1]?(Xn(e,21,1),a=Mn(e)):Xn(e,12,1);if(a||(a=$n(e,t)),G(a))for(let e=0;e<a.length;e++)In(i,a[e]);else In(i,a)}let o=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let r=0;r<i.length;r++){const s=i[r];if(2===s.type)if(e.inPre)s.content=s.content.replace(/\r\n/g,"\n");else if(/[^\t\r\n\f ]/.test(s.content))t&&(s.content=s.content.replace(/[\t\r\n\f ]+/g," "));else{const e=i[r-1],n=i[r+1];!e||!n||t&&(3===e.type&&3===n.type||3===e.type&&1===n.type||1===e.type&&3===n.type||1===e.type&&1===n.type&&/[\r\n]/.test(s.content))?(o=!0,i[r]=null):s.content=" "}else 3!==s.type||e.options.comments||(o=!0,i[r]=null)}if(e.inPre&&s&&e.options.isPreTag(s.tag)){const e=i[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return o?i.filter(Boolean):i}function In(e,t){if(2===t.type){const r=Gn(e);if(r&&2===r.type&&r.loc.end.offset===t.loc.start.offset)return r.content+=t.content,r.loc.end=t.loc.end,void(r.loc.source+=t.loc.source)}e.push(t)}function Rn(e,t){Kn(e,9);const r=Nn(e,3,t);return 0===e.source.length?Xn(e,6):Kn(e,3),r}function Ln(e){const t=Vn(e);let r;const s=/--(\!)?>/.exec(e.source);if(s){s.index<=3&&Xn(e,0),s[1]&&Xn(e,10),r=e.source.slice(4,s.index);const t=e.source.slice(0,s.index);let n=1,i=0;for(;-1!==(i=t.indexOf("\x3c!--",n));)Kn(e,i-n+1),i+4<t.length&&Xn(e,16),n=i+1;Kn(e,s.index+s[0].length-n+1)}else r=e.source.slice(4),Kn(e,e.source.length),Xn(e,7);return{type:3,content:r,loc:Wn(e,t)}}function Mn(e){const t=Vn(e),r="?"===e.source[1]?1:2;let s;const n=e.source.indexOf(">");return-1===n?(s=e.source.slice(r),Kn(e,e.source.length)):(s=e.source.slice(r,n),Kn(e,n+1)),{type:3,content:s,loc:Wn(e,t)}}function Dn(e,t){const r=e.inPre,s=e.inVPre,n=Gn(t),i=Fn(e,0,n),o=e.inPre&&!r,a=e.inVPre&&!s;if(i.isSelfClosing||e.options.isVoidTag(i.tag))return o&&(e.inPre=!1),a&&(e.inVPre=!1),i;t.push(i);const c=e.options.getTextMode(i,n),l=Nn(e,c,t);if(t.pop(),i.children=l,Zn(e.source,i.tag))Fn(e,1,n);else if(Xn(e,24,0,i.loc.start),0===e.source.length&&"script"===i.tag.toLowerCase()){const t=l[0];t&&zn(t.loc.source,"\x3c!--")&&Xn(e,8)}return i.loc=Wn(e,i.loc.start),o&&(e.inPre=!1),a&&(e.inVPre=!1),i}const jn=y("if,else,else-if,for,slot");function Fn(e,t,r){const s=Vn(e),n=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),i=n[1],o=e.options.getNamespace(i,r);Kn(e,n[0].length),Yn(e);const a=Vn(e),c=e.source;e.options.isPreTag(i)&&(e.inPre=!0);let l=Bn(e,t);0===t&&!e.inVPre&&l.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,H(e,a),e.source=c,l=Bn(e,t).filter((e=>"v-pre"!==e.name)));let h=!1;if(0===e.source.length?Xn(e,9):(h=zn(e.source,"/>"),1===t&&h&&Xn(e,4),Kn(e,h?2:1)),1===t)return;let u=0;return e.inVPre||("slot"===i?u=2:"template"===i?l.some((e=>7===e.type&&jn(e.name)))&&(u=3):function(e,t,r){const s=r.options;if(s.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||zs(e)||s.isBuiltInComponent&&s.isBuiltInComponent(e)||s.isNativeTag&&!s.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){const r=t[e];if(6===r.type){if("is"===r.name&&r.value&&r.value.content.startsWith("vue:"))return!0}else{if("is"===r.name)return!0;"bind"===r.name&&cn(r.arg,"is")}}}(i,l,e)&&(u=1)),{type:1,ns:o,tag:i,tagType:u,props:l,isSelfClosing:h,children:[],loc:Wn(e,s),codegenNode:void 0}}function Bn(e,t){const r=[],s=new Set;for(;e.source.length>0&&!zn(e.source,">")&&!zn(e.source,"/>");){if(zn(e.source,"/")){Xn(e,22),Kn(e,1),Yn(e);continue}1===t&&Xn(e,3);const n=Un(e,s);6===n.type&&n.value&&"class"===n.name&&(n.value.content=n.value.content.replace(/\s+/g," ").trim()),0===t&&r.push(n),/^[^\t\r\n\f />]/.test(e.source)&&Xn(e,15),Yn(e)}return r}function Un(e,t){const r=Vn(e),s=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(s)&&Xn(e,2),t.add(s),"="===s[0]&&Xn(e,19);{const t=/["'<]/g;let r;for(;r=t.exec(s);)Xn(e,17,r.index)}let n;Kn(e,s.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Yn(e),Kn(e,1),Yn(e),n=function(e){const t=Vn(e);let r;const s=e.source[0],n='"'===s||"'"===s;if(n){Kn(e,1);const t=e.source.indexOf(s);-1===t?r=Hn(e,e.source.length,4):(r=Hn(e,t,4),Kn(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const s=/["'<=`]/g;let n;for(;n=s.exec(t[0]);)Xn(e,18,n.index);r=Hn(e,t[0].length,4)}return{content:r,isQuoted:n,loc:Wn(e,t)}}(e),n||Xn(e,13));const i=Wn(e,r);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(s)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(s);let o,a=zn(s,"."),c=t[1]||(a||zn(s,":")?"bind":zn(s,"@")?"on":"slot");if(t[2]){const n="slot"===c,i=s.lastIndexOf(t[2]),a=Wn(e,Jn(e,r,i),Jn(e,r,i+t[2].length+(n&&t[3]||"").length));let l=t[2],h=!0;l.startsWith("[")?(h=!1,l.endsWith("]")?l=l.slice(1,l.length-1):(Xn(e,27),l=l.slice(1))):n&&(l+=t[3]||""),o={type:4,content:l,isStatic:h,constType:h?3:0,loc:a}}if(n&&n.isQuoted){const e=n.loc;e.start.offset++,e.start.column++,e.end=rn(e.start,n.content),e.source=e.source.slice(1,-1)}const l=t[3]?t[3].slice(1).split("."):[];return a&&l.push("prop"),{type:7,name:c,exp:n&&{type:4,content:n.content,isStatic:!1,constType:0,loc:n.loc},arg:o,modifiers:l,loc:i}}return!e.inVPre&&zn(s,"v-")&&Xn(e,26),{type:6,name:s,value:n&&{type:2,content:n.content,loc:n.loc},loc:i}}function qn(e,t){const[r,s]=e.options.delimiters,n=e.source.indexOf(s,r.length);if(-1===n)return void Xn(e,25);const i=Vn(e);Kn(e,r.length);const o=Vn(e),a=Vn(e),c=n-r.length,l=e.source.slice(0,c),h=Hn(e,c,t),u=h.trim(),p=h.indexOf(u);return p>0&&sn(o,l,p),sn(a,l,c-(h.length-u.length-p)),Kn(e,s.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Wn(e,o,a)},loc:Wn(e,i)}}function $n(e,t){const r=3===t?["]]>"]:["<",e.options.delimiters[0]];let s=e.source.length;for(let t=0;t<r.length;t++){const n=e.source.indexOf(r[t],1);-1!==n&&s>n&&(s=n)}const n=Vn(e);return{type:2,content:Hn(e,s,t),loc:Wn(e,n)}}function Hn(e,t,r){const s=e.source.slice(0,t);return Kn(e,t),2!==r&&3!==r&&s.includes("&")?e.options.decodeEntities(s,4===r):s}function Vn(e){const{column:t,line:r,offset:s}=e;return{column:t,line:r,offset:s}}function Wn(e,t,r){return{start:t,end:r=r||Vn(e),source:e.originalSource.slice(t.offset,r.offset)}}function Gn(e){return e[e.length-1]}function zn(e,t){return e.startsWith(t)}function Kn(e,t){const{source:r}=e;sn(e,r,t),e.source=r.slice(t)}function Yn(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Kn(e,t[0].length)}function Jn(e,t,r){return rn(t,e.originalSource.slice(t.offset,r),r)}function Xn(e,t,r,s=Vn(e)){r&&(s.offset+=r,s.column+=r),e.options.onError(me(t,{start:s,end:s,source:""}))}function Qn(e,t,r){const s=e.source;switch(t){case 0:if(zn(s,"</"))for(let e=r.length-1;e>=0;--e)if(Zn(s,r[e].tag))return!0;break;case 1:case 2:{const e=Gn(r);if(e&&Zn(s,e.tag))return!0;break}case 3:if(zn(s,"]]>"))return!0}return!s}function Zn(e,t){return zn(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function ei(e,t){ri(e,t,ti(e,e.children[0]))}function ti(e,t){const{children:r}=e;return 1===r.length&&1===t.type&&!dn(t)}function ri(e,t,r=!1){const{children:s}=e,n=s.length;let i=0;for(let e=0;e<s.length;e++){const n=s[e];if(1===n.type&&0===n.tagType){const e=r?0:si(n,t);if(e>0){if(e>=2){n.codegenNode.patchFlag="-1 /* HOISTED */",n.codegenNode=t.hoist(n.codegenNode),i++;continue}}else{const e=n.codegenNode;if(13===e.type){const r=ci(e);if((!r||512===r||1===r)&&oi(n,t)>=2){const r=ai(n);r&&(e.props=t.hoist(r))}e.dynamicProps&&(e.dynamicProps=t.hoist(e.dynamicProps))}}}if(1===n.type){const e=1===n.tagType;e&&t.scopes.vSlot++,ri(n,t),e&&t.scopes.vSlot--}else if(11===n.type)ri(n,t,1===n.children.length);else if(9===n.type)for(let e=0;e<n.branches.length;e++)ri(n.branches[e],t,1===n.branches[e].children.length)}i&&t.transformHoist&&t.transformHoist(s,t,e),i&&i===n&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&G(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(at(e.codegenNode.children)))}function si(e,t){const{constantCache:r}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const s=r.get(e);if(void 0!==s)return s;const n=e.codegenNode;if(13!==n.type)return 0;if(n.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if(ci(n))return r.set(e,0),0;{let s=3;const i=oi(e,t);if(0===i)return r.set(e,0),0;i<s&&(s=i);for(let n=0;n<e.children.length;n++){const i=si(e.children[n],t);if(0===i)return r.set(e,0),0;i<s&&(s=i)}if(s>1)for(let n=0;n<e.props.length;n++){const i=e.props[n];if(7===i.type&&"bind"===i.name&&i.exp){const n=si(i.exp,t);if(0===n)return r.set(e,0),0;n<s&&(s=n)}}if(n.isBlock){for(let t=0;t<e.props.length;t++)if(7===e.props[t].type)return r.set(e,0),0;t.removeHelper(Ee),t.removeHelper(mn(t.inSSR,n.isComponent)),n.isBlock=!1,t.helper(fn(t.inSSR,n.isComponent))}return r.set(e,s),s}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return si(e.content,t);case 4:return e.constType;case 8:let i=3;for(let r=0;r<e.children.length;r++){const s=e.children[r];if(J(s)||X(s))continue;const n=si(s,t);if(0===n)return 0;n<i&&(i=n)}return i}}const ni=new Set([Ue,qe,$e,He]);function ii(e,t){if(14===e.type&&!J(e.callee)&&ni.has(e.callee)){const r=e.arguments[0];if(4===r.type)return si(r,t);if(14===r.type)return ii(r,t)}return 0}function oi(e,t){let r=3;const s=ai(e);if(s&&15===s.type){const{properties:e}=s;for(let s=0;s<e.length;s++){const{key:n,value:i}=e[s],o=si(n,t);if(0===o)return o;let a;if(o<r&&(r=o),a=4===i.type?si(i,t):14===i.type?ii(i,t):0,0===a)return a;a<r&&(r=a)}}return r}function ai(e){const t=e.codegenNode;if(13===t.type)return t.props}function ci(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function li(e,{filename:t="",prefixIdentifiers:r=!1,hoistStatic:s=!1,cacheHandlers:n=!1,nodeTransforms:i=[],directiveTransforms:o={},transformHoist:a=null,isBuiltInComponent:c=B,isCustomElement:l=B,expressionPlugins:h=[],scopeId:u=null,slotted:p=!0,ssr:d=!1,inSSR:f=!1,ssrCssVars:m="",bindingMetadata:g=F,inline:y=!1,isTS:b=!1,onError:v=de,onWarn:x=fe,compatConfig:w}){const E=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),S={selfName:E&&le(oe(E[1])),prefixIdentifiers:r,hoistStatic:s,cacheHandlers:n,nodeTransforms:i,directiveTransforms:o,transformHoist:a,isBuiltInComponent:c,isCustomElement:l,expressionPlugins:h,scopeId:u,slotted:p,ssr:d,inSSR:f,ssrCssVars:m,bindingMetadata:g,inline:y,isTS:b,onError:v,onWarn:x,compatConfig:w,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=S.helpers.get(e)||0;return S.helpers.set(e,t+1),e},removeHelper(e){const t=S.helpers.get(e);if(t){const r=t-1;r?S.helpers.set(e,r):S.helpers.delete(e)}},helperString:e=>`_${rt[S.helper(e)]}`,replaceNode(e){if(!S.currentNode)throw new Error("Node being replaced is already removed.");if(!S.parent)throw new Error("Cannot replace root node.");S.parent.children[S.childIndex]=S.currentNode=e},removeNode(e){if(!S.parent)throw new Error("Cannot remove root node.");const t=S.parent.children,r=e?t.indexOf(e):S.currentNode?S.childIndex:-1;if(r<0)throw new Error("node being removed is not a child of current parent");e&&e!==S.currentNode?S.childIndex>r&&(S.childIndex--,S.onNodeRemoved()):(S.currentNode=null,S.onNodeRemoved()),S.parent.children.splice(r,1)},onNodeRemoved:()=>{},addIdentifiers(e){J(e)?_(e):e.identifiers?e.identifiers.forEach(_):4===e.type&&_(e.content)},removeIdentifiers(e){J(e)?T(e):e.identifiers?e.identifiers.forEach(T):4===e.type&&T(e.content)},hoist(e){J(e)&&(e=ht(e)),S.hoists.push(e);const t=ht(`_hoisted_${S.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>mt(S.cached++,e,t)};function _(e){const{identifiers:t}=S;void 0===t[e]&&(t[e]=0),t[e]++}function T(e){S.identifiers[e]--}return S}function hi(e,t){const r=li(e,t);ui(e,r),t.hoistStatic&&ei(e,r),t.ssr||function(e,t){const{helper:r}=t,{children:s}=e;if(1===s.length){const r=s[0];if(ti(e,r)&&r.codegenNode){const s=r.codegenNode;13===s.type&&Sn(s,t),e.codegenNode=s}else e.codegenNode=r}else if(s.length>1){let n=64,i=b[64];1===s.filter((e=>3!==e.type)).length&&(n|=2048,i+=`, ${b[2048]}`),e.codegenNode=ot(t,r(ye),void 0,e.children,n+` /* ${i} */`,void 0,void 0,!0,void 0,!1)}}(e,r),e.helpers=new Set([...r.helpers.keys()]),e.components=[...r.components],e.directives=[...r.directives],e.imports=r.imports,e.hoists=r.hoists,e.temps=r.temps,e.cached=r.cached}function ui(e,t){t.currentNode=e;const{nodeTransforms:r}=t,s=[];for(let n=0;n<r.length;n++){const i=r[n](e,t);if(i&&(G(i)?s.push(...i):s.push(i)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(Ae);break;case 5:t.ssr||t.helper(Fe);break;case 9:for(let r=0;r<e.branches.length;r++)ui(e.branches[r],t);break;case 10:case 11:case 1:case 0:!function(e,t){let r=0;const s=()=>{r--};for(;r<e.children.length;r++){const n=e.children[r];J(n)||(t.parent=e,t.childIndex=r,t.onNodeRemoved=s,ui(n,t))}}(e,t)}t.currentNode=e;let n=s.length;for(;n--;)s[n]()}function pi(e,t){const r=J(e)?t=>t===e:t=>e.test(t);return(e,s)=>{if(1===e.type){const{props:n}=e;if(3===e.tagType&&n.some(un))return;const i=[];for(let o=0;o<n.length;o++){const a=n[o];if(7===a.type&&r(a.name)){n.splice(o,1),o--;const r=t(e,a,s);r&&i.push(r)}}return i}}}var di={},fi={},mi={},gi={},yi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");gi.encode=function(e){if(0<=e&&e<yi.length)return yi[e];throw new TypeError("Must be between 0 and 63: "+e)},gi.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1};var bi=gi;mi.encode=function(e){var t,r="",s=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&s,(s>>>=5)>0&&(t|=32),r+=bi.encode(t)}while(s>0);return r},mi.decode=function(e,t,r){var s,n,i,o,a=e.length,c=0,l=0;do{if(t>=a)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(n=bi.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));s=!!(32&n),c+=(n&=31)<<l,l+=5}while(s);r.value=(o=(i=c)>>1,1==(1&i)?-o:o),r.rest=t};var vi={};!function(e){e.getArg=function(e,t,r){if(t in e)return e[t];if(3===arguments.length)return r;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function s(e){var r=e.match(t);return r?{scheme:r[1],auth:r[2],host:r[3],port:r[4],path:r[5]}:null}function n(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function i(t){var r=t,i=s(t);if(i){if(!i.path)return t;r=i.path}for(var o,a=e.isAbsolute(r),c=r.split(/\/+/),l=0,h=c.length-1;h>=0;h--)"."===(o=c[h])?c.splice(h,1):".."===o?l++:l>0&&(""===o?(c.splice(h+1,l),l=0):(c.splice(h,2),l--));return""===(r=c.join("/"))&&(r=a?"/":"."),i?(i.path=r,n(i)):r}function o(e,t){""===e&&(e="."),""===t&&(t=".");var o=s(t),a=s(e);if(a&&(e=a.path||"/"),o&&!o.scheme)return a&&(o.scheme=a.scheme),n(o);if(o||t.match(r))return t;if(a&&!a.host&&!a.path)return a.host=t,n(a);var c="/"===t.charAt(0)?t:i(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=c,n(a)):c}e.urlParse=s,e.urlGenerate=n,e.normalize=i,e.join=o,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==t.indexOf(e+"/");){var s=e.lastIndexOf("/");if(s<0)return t;if((e=e.slice(0,s)).match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)};var a=!("__proto__"in Object.create(null));function c(e){return e}function l(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var r=t-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function h(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=a?c:function(e){return l(e)?"$"+e:e},e.fromSetString=a?c:function(e){return l(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,r){var s=h(e.source,t.source);return 0!==s||0!=(s=e.originalLine-t.originalLine)||0!=(s=e.originalColumn-t.originalColumn)||r||0!=(s=e.generatedColumn-t.generatedColumn)||0!=(s=e.generatedLine-t.generatedLine)?s:h(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,r){var s=e.generatedLine-t.generatedLine;return 0!==s||0!=(s=e.generatedColumn-t.generatedColumn)||r||0!==(s=h(e.source,t.source))||0!=(s=e.originalLine-t.originalLine)||0!=(s=e.originalColumn-t.originalColumn)?s:h(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r||0!=(r=e.generatedColumn-t.generatedColumn)||0!==(r=h(e.source,t.source))||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)?r:h(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,r){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),r){var a=s(r);if(!a)throw new Error("sourceMapURL could not be parsed");if(a.path){var c=a.path.lastIndexOf("/");c>=0&&(a.path=a.path.substring(0,c+1))}t=o(n(a),t)}return i(t)}}(vi);var xi={},wi=vi,Ei=Object.prototype.hasOwnProperty,Si="undefined"!=typeof Map;function _i(){this._array=[],this._set=Si?new Map:Object.create(null)}_i.fromArray=function(e,t){for(var r=new _i,s=0,n=e.length;s<n;s++)r.add(e[s],t);return r},_i.prototype.size=function(){return Si?this._set.size:Object.getOwnPropertyNames(this._set).length},_i.prototype.add=function(e,t){var r=Si?e:wi.toSetString(e),s=Si?this.has(e):Ei.call(this._set,r),n=this._array.length;s&&!t||this._array.push(e),s||(Si?this._set.set(e,n):this._set[r]=n)},_i.prototype.has=function(e){if(Si)return this._set.has(e);var t=wi.toSetString(e);return Ei.call(this._set,t)},_i.prototype.indexOf=function(e){if(Si){var t=this._set.get(e);if(t>=0)return t}else{var r=wi.toSetString(e);if(Ei.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},_i.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},_i.prototype.toArray=function(){return this._array.slice()},xi.ArraySet=_i;var Ti={},Pi=vi;function Ai(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Ai.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},Ai.prototype.add=function(e){var t,r,s,n,i,o;r=e,s=(t=this._last).generatedLine,n=r.generatedLine,i=t.generatedColumn,o=r.generatedColumn,n>s||n==s&&o>=i||Pi.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},Ai.prototype.toArray=function(){return this._sorted||(this._array.sort(Pi.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Ti.MappingList=Ai;var Ci=mi,ki=vi,Oi=xi.ArraySet,Ni=Ti.MappingList;function Ii(e){e||(e={}),this._file=ki.getArg(e,"file",null),this._sourceRoot=ki.getArg(e,"sourceRoot",null),this._skipValidation=ki.getArg(e,"skipValidation",!1),this._sources=new Oi,this._names=new Oi,this._mappings=new Ni,this._sourcesContents=null}Ii.prototype._version=3,Ii.fromSourceMap=function(e){var t=e.sourceRoot,r=new Ii({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var s={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(s.source=e.source,null!=t&&(s.source=ki.relative(t,s.source)),s.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(s.name=e.name)),r.addMapping(s)})),e.sources.forEach((function(s){var n=s;null!==t&&(n=ki.relative(t,s)),r._sources.has(n)||r._sources.add(n);var i=e.sourceContentFor(s);null!=i&&r.setSourceContent(s,i)})),r},Ii.prototype.addMapping=function(e){var t=ki.getArg(e,"generated"),r=ki.getArg(e,"original",null),s=ki.getArg(e,"source",null),n=ki.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,s,n),null!=s&&(s=String(s),this._sources.has(s)||this._sources.add(s)),null!=n&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:s,name:n})},Ii.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=ki.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[ki.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[ki.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},Ii.prototype.applySourceMap=function(e,t,r){var s=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');s=e.file}var n=this._sourceRoot;null!=n&&(s=ki.relative(n,s));var i=new Oi,o=new Oi;this._mappings.unsortedForEach((function(t){if(t.source===s&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=r&&(t.source=ki.join(r,t.source)),null!=n&&(t.source=ki.relative(n,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var c=t.source;null==c||i.has(c)||i.add(c);var l=t.name;null==l||o.has(l)||o.add(l)}),this),this._sources=i,this._names=o,e.sources.forEach((function(t){var s=e.sourceContentFor(t);null!=s&&(null!=r&&(t=ki.join(r,t)),null!=n&&(t=ki.relative(n,t)),this.setSourceContent(t,s))}),this)},Ii.prototype._validateMapping=function(e,t,r,s){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||r||s)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:s}))},Ii.prototype._serializeMappings=function(){for(var e,t,r,s,n=0,i=1,o=0,a=0,c=0,l=0,h="",u=this._mappings.toArray(),p=0,d=u.length;p<d;p++){if(e="",(t=u[p]).generatedLine!==i)for(n=0;t.generatedLine!==i;)e+=";",i++;else if(p>0){if(!ki.compareByGeneratedPositionsInflated(t,u[p-1]))continue;e+=","}e+=Ci.encode(t.generatedColumn-n),n=t.generatedColumn,null!=t.source&&(s=this._sources.indexOf(t.source),e+=Ci.encode(s-l),l=s,e+=Ci.encode(t.originalLine-1-a),a=t.originalLine-1,e+=Ci.encode(t.originalColumn-o),o=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=Ci.encode(r-c),c=r)),h+=e}return h},Ii.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=ki.relative(t,e));var r=ki.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},Ii.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},Ii.prototype.toString=function(){return JSON.stringify(this.toJSON())},fi.SourceMapGenerator=Ii;var Ri={},Li={};!function(e){function t(r,s,n,i,o,a){var c=Math.floor((s-r)/2)+r,l=o(n,i[c],!0);return 0===l?c:l>0?s-c>1?t(c,s,n,i,o,a):a==e.LEAST_UPPER_BOUND?s<i.length?s:-1:c:c-r>1?t(r,c,n,i,o,a):a==e.LEAST_UPPER_BOUND?c:r<0?-1:r}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(r,s,n,i){if(0===s.length)return-1;var o=t(-1,s.length,r,s,n,i||e.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===n(s[o],s[o-1],!0);)--o;return o}}(Li);var Mi={};function Di(e,t,r){var s=e[t];e[t]=e[r],e[r]=s}function ji(e,t,r,s){if(r<s){var n=r-1;Di(e,(c=r,l=s,Math.round(c+Math.random()*(l-c))),s);for(var i=e[s],o=r;o<s;o++)t(e[o],i)<=0&&Di(e,n+=1,o);Di(e,n+1,o);var a=n+1;ji(e,t,r,a-1),ji(e,t,a+1,s)}var c,l}Mi.quickSort=function(e,t){ji(e,t,0,e.length-1)};var Fi=vi,Bi=Li,Ui=xi.ArraySet,qi=mi,$i=Mi.quickSort;function Hi(e,t){var r=e;return"string"==typeof e&&(r=Fi.parseSourceMapInput(e)),null!=r.sections?new Gi(r,t):new Vi(r,t)}function Vi(e,t){var r=e;"string"==typeof e&&(r=Fi.parseSourceMapInput(e));var s=Fi.getArg(r,"version"),n=Fi.getArg(r,"sources"),i=Fi.getArg(r,"names",[]),o=Fi.getArg(r,"sourceRoot",null),a=Fi.getArg(r,"sourcesContent",null),c=Fi.getArg(r,"mappings"),l=Fi.getArg(r,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);o&&(o=Fi.normalize(o)),n=n.map(String).map(Fi.normalize).map((function(e){return o&&Fi.isAbsolute(o)&&Fi.isAbsolute(e)?Fi.relative(o,e):e})),this._names=Ui.fromArray(i.map(String),!0),this._sources=Ui.fromArray(n,!0),this._absoluteSources=this._sources.toArray().map((function(e){return Fi.computeSourceURL(o,e,t)})),this.sourceRoot=o,this.sourcesContent=a,this._mappings=c,this._sourceMapURL=t,this.file=l}function Wi(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function Gi(e,t){var r=e;"string"==typeof e&&(r=Fi.parseSourceMapInput(e));var s=Fi.getArg(r,"version"),n=Fi.getArg(r,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new Ui,this._names=new Ui;var i={line:-1,column:0};this._sections=n.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var r=Fi.getArg(e,"offset"),s=Fi.getArg(r,"line"),n=Fi.getArg(r,"column");if(s<i.line||s===i.line&&n<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=r,{generatedOffset:{generatedLine:s+1,generatedColumn:n+1},consumer:new Hi(Fi.getArg(e,"map"),t)}}))}Hi.fromSourceMap=function(e,t){return Vi.fromSourceMap(e,t)},Hi.prototype._version=3,Hi.prototype.__generatedMappings=null,Object.defineProperty(Hi.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),Hi.prototype.__originalMappings=null,Object.defineProperty(Hi.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),Hi.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return";"===r||","===r},Hi.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},Hi.GENERATED_ORDER=1,Hi.ORIGINAL_ORDER=2,Hi.GREATEST_LOWER_BOUND=1,Hi.LEAST_UPPER_BOUND=2,Hi.prototype.eachMapping=function(e,t,r){var s,n=t||null;switch(r||Hi.GENERATED_ORDER){case Hi.GENERATED_ORDER:s=this._generatedMappings;break;case Hi.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var i=this.sourceRoot;s.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:t=Fi.computeSourceURL(i,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,n)},Hi.prototype.allGeneratedPositionsFor=function(e){var t=Fi.getArg(e,"line"),r={source:Fi.getArg(e,"source"),originalLine:t,originalColumn:Fi.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var s=[],n=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",Fi.compareByOriginalPositions,Bi.LEAST_UPPER_BOUND);if(n>=0){var i=this._originalMappings[n];if(void 0===e.column)for(var o=i.originalLine;i&&i.originalLine===o;)s.push({line:Fi.getArg(i,"generatedLine",null),column:Fi.getArg(i,"generatedColumn",null),lastColumn:Fi.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n];else for(var a=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==a;)s.push({line:Fi.getArg(i,"generatedLine",null),column:Fi.getArg(i,"generatedColumn",null),lastColumn:Fi.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n]}return s},Ri.SourceMapConsumer=Hi,Vi.prototype=Object.create(Hi.prototype),Vi.prototype.consumer=Hi,Vi.prototype._findSourceIndex=function(e){var t,r=e;if(null!=this.sourceRoot&&(r=Fi.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},Vi.fromSourceMap=function(e,t){var r=Object.create(Vi.prototype),s=r._names=Ui.fromArray(e._names.toArray(),!0),n=r._sources=Ui.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=t,r._absoluteSources=r._sources.toArray().map((function(e){return Fi.computeSourceURL(r.sourceRoot,e,t)}));for(var i=e._mappings.toArray().slice(),o=r.__generatedMappings=[],a=r.__originalMappings=[],c=0,l=i.length;c<l;c++){var h=i[c],u=new Wi;u.generatedLine=h.generatedLine,u.generatedColumn=h.generatedColumn,h.source&&(u.source=n.indexOf(h.source),u.originalLine=h.originalLine,u.originalColumn=h.originalColumn,h.name&&(u.name=s.indexOf(h.name)),a.push(u)),o.push(u)}return $i(r.__originalMappings,Fi.compareByOriginalPositions),r},Vi.prototype._version=3,Object.defineProperty(Vi.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),Vi.prototype._parseMappings=function(e,t){for(var r,s,n,i,o,a=1,c=0,l=0,h=0,u=0,p=0,d=e.length,f=0,m={},g={},y=[],b=[];f<d;)if(";"===e.charAt(f))a++,f++,c=0;else if(","===e.charAt(f))f++;else{for((r=new Wi).generatedLine=a,i=f;i<d&&!this._charIsMappingSeparator(e,i);i++);if(n=m[s=e.slice(f,i)])f+=s.length;else{for(n=[];f<i;)qi.decode(e,f,g),o=g.value,f=g.rest,n.push(o);if(2===n.length)throw new Error("Found a source, but no line and column");if(3===n.length)throw new Error("Found a source and line, but no column");m[s]=n}r.generatedColumn=c+n[0],c=r.generatedColumn,n.length>1&&(r.source=u+n[1],u+=n[1],r.originalLine=l+n[2],l=r.originalLine,r.originalLine+=1,r.originalColumn=h+n[3],h=r.originalColumn,n.length>4&&(r.name=p+n[4],p+=n[4])),b.push(r),"number"==typeof r.originalLine&&y.push(r)}$i(b,Fi.compareByGeneratedPositionsDeflated),this.__generatedMappings=b,$i(y,Fi.compareByOriginalPositions),this.__originalMappings=y},Vi.prototype._findMapping=function(e,t,r,s,n,i){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return Bi.search(e,t,n,i)},Vi.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},Vi.prototype.originalPositionFor=function(e){var t={generatedLine:Fi.getArg(e,"line"),generatedColumn:Fi.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",Fi.compareByGeneratedPositionsDeflated,Fi.getArg(e,"bias",Hi.GREATEST_LOWER_BOUND));if(r>=0){var s=this._generatedMappings[r];if(s.generatedLine===t.generatedLine){var n=Fi.getArg(s,"source",null);null!==n&&(n=this._sources.at(n),n=Fi.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var i=Fi.getArg(s,"name",null);return null!==i&&(i=this._names.at(i)),{source:n,line:Fi.getArg(s,"originalLine",null),column:Fi.getArg(s,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},Vi.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e}))},Vi.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var s,n=e;if(null!=this.sourceRoot&&(n=Fi.relative(this.sourceRoot,n)),null!=this.sourceRoot&&(s=Fi.urlParse(this.sourceRoot))){var i=n.replace(/^file:\/\//,"");if("file"==s.scheme&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!s.path||"/"==s.path)&&this._sources.has("/"+n))return this.sourcesContent[this._sources.indexOf("/"+n)]}if(t)return null;throw new Error('"'+n+'" is not in the SourceMap.')},Vi.prototype.generatedPositionFor=function(e){var t=Fi.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:Fi.getArg(e,"line"),originalColumn:Fi.getArg(e,"column")},s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",Fi.compareByOriginalPositions,Fi.getArg(e,"bias",Hi.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===r.source)return{line:Fi.getArg(n,"generatedLine",null),column:Fi.getArg(n,"generatedColumn",null),lastColumn:Fi.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Ri.BasicSourceMapConsumer=Vi,Gi.prototype=Object.create(Hi.prototype),Gi.prototype.constructor=Hi,Gi.prototype._version=3,Object.defineProperty(Gi.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var r=0;r<this._sections[t].consumer.sources.length;r++)e.push(this._sections[t].consumer.sources[r]);return e}}),Gi.prototype.originalPositionFor=function(e){var t={generatedLine:Fi.getArg(e,"line"),generatedColumn:Fi.getArg(e,"column")},r=Bi.search(t,this._sections,(function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn})),s=this._sections[r];return s?s.consumer.originalPositionFor({line:t.generatedLine-(s.generatedOffset.generatedLine-1),column:t.generatedColumn-(s.generatedOffset.generatedLine===t.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},Gi.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},Gi.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var s=this._sections[r].consumer.sourceContentFor(e,!0);if(s)return s}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},Gi.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(-1!==r.consumer._findSourceIndex(Fi.getArg(e,"source"))){var s=r.consumer.generatedPositionFor(e);if(s)return{line:s.line+(r.generatedOffset.generatedLine-1),column:s.column+(r.generatedOffset.generatedLine===s.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},Gi.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var s=this._sections[r],n=s.consumer._generatedMappings,i=0;i<n.length;i++){var o=n[i],a=s.consumer._sources.at(o.source);a=Fi.computeSourceURL(s.consumer.sourceRoot,a,this._sourceMapURL),this._sources.add(a),a=this._sources.indexOf(a);var c=null;o.name&&(c=s.consumer._names.at(o.name),this._names.add(c),c=this._names.indexOf(c));var l={source:a,generatedLine:o.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(s.generatedOffset.generatedLine===o.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:c};this.__generatedMappings.push(l),"number"==typeof l.originalLine&&this.__originalMappings.push(l)}$i(this.__generatedMappings,Fi.compareByGeneratedPositionsDeflated),$i(this.__originalMappings,Fi.compareByOriginalPositions)},Ri.IndexedSourceMapConsumer=Gi;var zi={},Ki=fi.SourceMapGenerator,Yi=vi,Ji=/(\r?\n)/,Xi="$$$isSourceNode$$$";function Qi(e,t,r,s,n){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==r?null:r,this.name=null==n?null:n,this[Xi]=!0,null!=s&&this.add(s)}Qi.fromStringWithSourceMap=function(e,t,r){var s=new Qi,n=e.split(Ji),i=0,o=function(){return e()+(e()||"");function e(){return i<n.length?n[i++]:void 0}},a=1,c=0,l=null;return t.eachMapping((function(e){if(null!==l){if(!(a<e.generatedLine)){var t=(r=n[i]||"").substr(0,e.generatedColumn-c);return n[i]=r.substr(e.generatedColumn-c),c=e.generatedColumn,h(l,t),void(l=e)}h(l,o()),a++,c=0}for(;a<e.generatedLine;)s.add(o()),a++;if(c<e.generatedColumn){var r=n[i]||"";s.add(r.substr(0,e.generatedColumn)),n[i]=r.substr(e.generatedColumn),c=e.generatedColumn}l=e}),this),i<n.length&&(l&&h(l,o()),s.add(n.splice(i).join(""))),t.sources.forEach((function(e){var n=t.sourceContentFor(e);null!=n&&(null!=r&&(e=Yi.join(r,e)),s.setSourceContent(e,n))})),s;function h(e,t){if(null===e||void 0===e.source)s.add(t);else{var n=r?Yi.join(r,e.source):e.source;s.add(new Qi(e.originalLine,e.originalColumn,n,t,e.name))}}},Qi.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[Xi]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},Qi.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[Xi]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},Qi.prototype.walk=function(e){for(var t,r=0,s=this.children.length;r<s;r++)(t=this.children[r])[Xi]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},Qi.prototype.join=function(e){var t,r,s=this.children.length;if(s>0){for(t=[],r=0;r<s-1;r++)t.push(this.children[r]),t.push(e);t.push(this.children[r]),this.children=t}return this},Qi.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[Xi]?r.replaceRight(e,t):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this},Qi.prototype.setSourceContent=function(e,t){this.sourceContents[Yi.toSetString(e)]=t},Qi.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][Xi]&&this.children[t].walkSourceContents(e);var s=Object.keys(this.sourceContents);for(t=0,r=s.length;t<r;t++)e(Yi.fromSetString(s[t]),this.sourceContents[s[t]])},Qi.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},Qi.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new Ki(e),s=!1,n=null,i=null,o=null,a=null;return this.walk((function(e,c){t.code+=e,null!==c.source&&null!==c.line&&null!==c.column?(n===c.source&&i===c.line&&o===c.column&&a===c.name||r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name}),n=c.source,i=c.line,o=c.column,a=c.name,s=!0):s&&(r.addMapping({generated:{line:t.line,column:t.column}}),n=null,s=!1);for(var l=0,h=e.length;l<h;l++)10===e.charCodeAt(l)?(t.line++,t.column=0,l+1===h?(n=null,s=!1):s&&r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name})):t.column++})),this.walkSourceContents((function(e,t){r.setSourceContent(e,t)})),{code:t.code,map:r}},zi.SourceNode=Qi;var Zi=di.SourceMapGenerator=fi.SourceMapGenerator;di.SourceMapConsumer=Ri.SourceMapConsumer,di.SourceNode=zi.SourceNode;const eo="/*#__PURE__*/",to=e=>`${rt[e]}: _${rt[e]}`;function ro(e,{mode:t="function",prefixIdentifiers:r="module"===t,sourceMap:s=!1,filename:n="template.vue.html",scopeId:i=null,optimizeImports:o=!1,runtimeGlobalName:a="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:l="vue/server-renderer",ssr:h=!1,isTS:u=!1,inSSR:p=!1}){const d={mode:t,prefixIdentifiers:r,sourceMap:s,filename:n,scopeId:i,optimizeImports:o,runtimeGlobalName:a,runtimeModuleName:c,ssrRuntimeModuleName:l,ssr:h,isTS:u,inSSR:p,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${rt[e]}`,push(e,t){if(d.code+=e,d.map){if(t){let e;if(4===t.type&&!t.isStatic){const r=t.content.replace(/^_ctx\./,"");r!==t.content&&Ys(r)&&(e=r)}m(t.loc.start,e)}sn(d,e),t&&t.loc!==nt&&m(t.loc.end)}},indent(){f(++d.indentLevel)},deindent(e=!1){e?--d.indentLevel:f(--d.indentLevel)},newline(){f(d.indentLevel)}};function f(e){d.push("\n"+" ".repeat(e))}function m(e,t){d.map.addMapping({name:t,source:d.filename,original:{line:e.line,column:e.column-1},generated:{line:d.line,column:d.column-1}})}return s&&(d.map=new Zi,d.map.setSourceContent(n,d.source)),d}function so(e,t={}){const r=ro(e,t);t.onContextCreated&&t.onContextCreated(r);const{mode:s,push:n,prefixIdentifiers:i,indent:o,deindent:a,newline:c,scopeId:l,ssr:h}=r,u=Array.from(e.helpers),p=u.length>0,d=!i&&"module"!==s,f=null!=l&&"module"===s,m=!!t.inline,g=m?ro(e,t):r;"module"===s?function(e,t,r,s){const{push:n,newline:i,optimizeImports:o,runtimeModuleName:a,ssrRuntimeModuleName:c}=t;if(r&&e.hoists.length&&(e.helpers.add(Ye),e.helpers.add(Je)),e.helpers.size){const t=Array.from(e.helpers);o?(n(`import { ${t.map((e=>rt[e])).join(", ")} } from ${JSON.stringify(a)}\n`),n(`\n// Binding optimization for webpack code-split\nconst ${t.map((e=>`_${rt[e]} = ${rt[e]}`)).join(", ")}\n`)):n(`import { ${t.map((e=>`${rt[e]} as _${rt[e]}`)).join(", ")} } from ${JSON.stringify(a)}\n`)}e.ssrHelpers&&e.ssrHelpers.length&&n(`import { ${e.ssrHelpers.map((e=>`${rt[e]} as _${rt[e]}`)).join(", ")} } from "${c}"\n`),e.imports.length&&(function(e,t){e.length&&e.forEach((e=>{t.push("import "),co(e.exp,t),t.push(` from '${e.path}'`),t.newline()}))}(e.imports,t),i()),io(e.hoists,t),i(),s||n("export ")}(e,g,f,m):function(e,t){const{ssr:r,prefixIdentifiers:s,push:n,newline:i,runtimeModuleName:o,runtimeGlobalName:a,ssrRuntimeModuleName:c}=t,l=r?`require(${JSON.stringify(o)})`:a,h=Array.from(e.helpers);h.length>0&&(s?n(`const { ${h.map(to).join(", ")} } = ${l}\n`):(n(`const _Vue = ${l}\n`),e.hoists.length&&n(`const { ${[Te,Pe,Ae,Ce,ke].filter((e=>h.includes(e))).map(to).join(", ")} } = _Vue\n`))),e.ssrHelpers&&e.ssrHelpers.length&&n(`const { ${e.ssrHelpers.map(to).join(", ")} } = require("${c}")\n`),io(e.hoists,t),i(),n("return ")}(e,g);const y=h?"ssrRender":"render",b=h?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"];t.bindingMetadata&&!t.inline&&b.push("$props","$setup","$data","$options");const v=t.isTS?b.map((e=>`${e}: any`)).join(","):b.join(", ");if(n(m?`(${v}) => {`:`function ${y}(${v}) {`),o(),d&&(n("with (_ctx) {"),o(),p&&(n(`const { ${u.map(to).join(", ")} } = _Vue`),n("\n"),c())),e.components.length&&(no(e.components,"component",r),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(no(e.directives,"directive",r),e.temps>0&&c()),e.temps>0){n("let ");for(let t=0;t<e.temps;t++)n(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(n("\n"),c()),h||n("return "),e.codegenNode?co(e.codegenNode,r):n("null"),d&&(a(),n("}")),a(),n("}"),{ast:e,code:r.code,preamble:m?g.code:"",map:r.map?r.map.toJSON():void 0}}function no(e,t,{helper:r,push:s,newline:n,isTS:i}){const o=r("component"===t?Oe:Ie);for(let r=0;r<e.length;r++){let a=e[r];const c=a.endsWith("__self");c&&(a=a.slice(0,-6)),s(`const ${xn(a,t)} = ${o}(${JSON.stringify(a)}${c?", true":""})${i?"!":""}`),r<e.length-1&&n()}}function io(e,t){if(!e.length)return;t.pure=!0;const{push:r,newline:s,helper:n,scopeId:i,mode:o}=t,a=null!=i&&"function"!==o;s(),a&&(r(`const _withScopeId = n => (${n(Ye)}("${i}"),n=n(),${n(Je)}(),n)`),s());for(let n=0;n<e.length;n++){const i=e[n];if(i){const e=a&&13===i.type;r(`const _hoisted_${n+1} = ${e?`${eo} _withScopeId(() => `:""}`),co(i,t),e&&r(")"),s()}}t.pure=!1}function oo(e,t){const r=e.length>3||e.some((e=>G(e)||!function(e){return J(e)||4===e.type||2===e.type||5===e.type||8===e.type}(e)));t.push("["),r&&t.indent(),ao(e,t,r),r&&t.deindent(),t.push("]")}function ao(e,t,r=!1,s=!0){const{push:n,newline:i}=t;for(let o=0;o<e.length;o++){const a=e[o];J(a)?n(a):G(a)?oo(a,t):co(a,t),o<e.length-1&&(r?(s&&n(","),i()):s&&n(", "))}}function co(e,t){if(J(e))t.push(e);else if(X(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:nn(null!=e.codegenNode,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),co(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:lo(e,t);break;case 5:!function(e,t){const{push:r,helper:s,pure:n}=t;n&&r(eo),r(`${s(Fe)}(`),co(e.content,t),r(")")}(e,t);break;case 12:co(e.codegenNode,t);break;case 8:ho(e,t);break;case 3:!function(e,t){const{push:r,helper:s,pure:n}=t;n&&r(eo),r(`${s(Ae)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:r,helper:s,pure:n}=t,{tag:i,props:o,children:a,patchFlag:c,dynamicProps:l,directives:h,isBlock:u,disableTracking:p,isComponent:d}=e;h&&r(s(Le)+"("),u&&r(`(${s(Ee)}(${p?"true":""}), `),n&&r(eo);r(s(u?mn(t.inSSR,d):fn(t.inSSR,d))+"(",e),ao(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([i,o,a,c,l]),t),r(")"),u&&r(")"),h&&(r(", "),co(h,t),r(")"))}(e,t);break;case 14:!function(e,t){const{push:r,helper:s,pure:n}=t,i=J(e.callee)?e.callee:s(e.callee);n&&r(eo),r(i+"(",e),ao(e.arguments,t),r(")")}(e,t);break;case 15:!function(e,t){const{push:r,indent:s,deindent:n,newline:i}=t,{properties:o}=e;if(!o.length)return void r("{}",e);const a=o.length>1||o.some((e=>4!==e.value.type));r(a?"{":"{ "),a&&s();for(let e=0;e<o.length;e++){const{key:s,value:n}=o[e];uo(s,t),r(": "),co(n,t),e<o.length-1&&(r(","),i())}a&&n(),r(a?"}":" }")}(e,t);break;case 17:!function(e,t){oo(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:r,indent:s,deindent:n}=t,{params:i,returns:o,body:a,newline:c,isSlot:l}=e;l&&r(`_${rt[Xe]}(`),r("(",e),G(i)?ao(i,t):i&&co(i,t),r(") => "),(c||a)&&(r("{"),s()),o?(c&&r("return "),G(o)?oo(o,t):co(o,t)):a&&co(a,t),(c||a)&&(n(),r("}")),l&&r(")")}(e,t);break;case 19:!function(e,t){const{test:r,consequent:s,alternate:n,newline:i}=e,{push:o,indent:a,deindent:c,newline:l}=t;if(4===r.type){const e=!Ys(r.content);e&&o("("),lo(r,t),e&&o(")")}else o("("),co(r,t),o(")");i&&a(),t.indentLevel++,i||o(" "),o("? "),co(s,t),t.indentLevel--,i&&l(),i||o(" "),o(": ");const h=19===n.type;h||t.indentLevel++,co(n,t),h||t.indentLevel--,i&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:r,helper:s,indent:n,deindent:i,newline:o}=t;r(`_cache[${e.index}] || (`),e.isVNode&&(n(),r(`${s(Ke)}(-1),`),o()),r(`_cache[${e.index}] = `),co(e.value,t),e.isVNode&&(r(","),o(),r(`${s(Ke)}(1),`),o(),r(`_cache[${e.index}]`),i()),r(")")}(e,t);break;case 21:ao(e.body,t,!0,!1);break;case 22:!function(e,t){const{push:r,indent:s,deindent:n}=t;r("`");const i=e.elements.length,o=i>3;for(let a=0;a<i;a++){const i=e.elements[a];J(i)?r(i.replace(/(`|\$|\\)/g,"\\$1")):(r("${"),o&&s(),co(i,t),o&&n(),r("}"))}r("`")}(e,t);break;case 23:po(e,t);break;case 24:!function(e,t){co(e.left,t),t.push(" = "),co(e.right,t)}(e,t);break;case 25:!function(e,t){t.push("("),ao(e.expressions,t),t.push(")")}(e,t);break;case 26:!function({returns:e},t){t.push("return "),G(e)?oo(e,t):co(e,t)}(e,t);break;case 10:break;default:return nn(!1,`unhandled codegen node type: ${e.type}`),e}}function lo(e,t){const{content:r,isStatic:s}=e;t.push(s?JSON.stringify(r):r,e)}function ho(e,t){for(let r=0;r<e.children.length;r++){const s=e.children[r];J(s)?t.push(s):co(s,t)}}function uo(e,t){const{push:r}=t;8===e.type?(r("["),ho(e,t),r("]")):e.isStatic?r(Ys(e.content)?e.content:JSON.stringify(e.content),e):r(`[${e.content}]`,e)}function po(e,t){const{push:r,indent:s,deindent:n}=t,{test:i,consequent:o,alternate:a}=e;r("if ("),co(i,t),r(") {"),s(),co(o,t),n(),r("}"),a&&(r(" else "),23===a.type?po(a,t):(r("{"),s(),co(a,t),n(),r("}")))}class fo{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e}}replace(e,t,r,s){e&&(null!==r?e[t][r]=s:e[t]=s)}remove(e,t,r){e&&(null!==r?e[t].splice(r,1):delete e[t])}}class mo extends fo{constructor(e,t){super(),this.enter=e,this.leave=t}visit(e,t,r,s){if(e){if(this.enter){const n=this.should_skip,i=this.should_remove,o=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,t,r,s),this.replacement&&(e=this.replacement,this.replace(t,r,s,e)),this.should_remove&&this.remove(t,r,s);const a=this.should_skip,c=this.should_remove;if(this.should_skip=n,this.should_remove=i,this.replacement=o,a)return e;if(c)return null}for(const t in e){const r=e[t];if("object"==typeof r)if(Array.isArray(r))for(let s=0;s<r.length;s+=1)null!==r[s]&&"string"==typeof r[s].type&&(this.visit(r[s],e,t,s)||s--);else null!==r&&"string"==typeof r.type&&this.visit(r,e,t,null)}if(this.leave){const n=this.replacement,i=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,t,r,s),this.replacement&&(e=this.replacement,this.replace(t,r,s,e)),this.should_remove&&this.remove(t,r,s);const o=this.should_remove;if(this.replacement=n,this.should_remove=i,o)return null}}return e}}function go(e,t,r=!1,s=[],n=Object.create(null)){const i="Program"===e.type&&"ExpressionStatement"===e.body[0].type&&e.body[0].expression;!function(e,{enter:t,leave:r}){new mo(t,r).visit(e,null)}(e,{enter(e,i){if(i&&s.push(i),i&&i.type.startsWith("TS")&&"TSAsExpression"!==i.type&&"TSNonNullExpression"!==i.type&&"TSTypeAssertion"!==i.type)return this.skip();if("Identifier"===e.type){const o=!!n[e.name],a=yo(e,i,s);(r||a&&!o)&&t(e,i,s,a,o)}else"ObjectProperty"===e.type&&"ObjectPattern"===i.type?e.inPattern=!0:So(e)?vo(e,(t=>Eo(e,t,n))):"BlockStatement"===e.type&&xo(e,(t=>Eo(e,t,n)))},leave(e,t){if(t&&s.pop(),e!==i&&e.scopeIds)for(const t of e.scopeIds)n[t]--,0===n[t]&&delete n[t]}})}function yo(e,t,r){if(!t)return!0;if("arguments"===e.name)return!1;if(function(e,t,r){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":case"LabeledStatement":case"CatchClause":case"RestElement":case"BreakStatement":case"ContinueStatement":case"FunctionDeclaration":case"FunctionExpression":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportAttribute":case"JSXAttribute":case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===e&&!!t.computed;case"ObjectProperty":case"ClassProperty":case"TSPropertySignature":return t.key!==e||!!t.computed;case"ClassPrivateProperty":case"ObjectTypeProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return t.right===e;case"ExportSpecifier":return t.local===e;case"TSEnumMember":return t.id!==e}return!0}(e,t))return!0;switch(t.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectPattern":case"ArrayPattern":return bo(t,r)}return!1}function bo(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const r=t[e];if("AssignmentExpression"===r.type)return!0;if("ObjectProperty"!==r.type&&!r.type.endsWith("Pattern"))break}}return!1}function vo(e,t){for(const r of e.params)for(const e of wo(r))t(e)}function xo(e,t){for(const r of e.body)if("VariableDeclaration"===r.type){if(r.declare)continue;for(const e of r.declarations)for(const r of wo(e.id))t(r)}else if("FunctionDeclaration"===r.type||"ClassDeclaration"===r.type){if(r.declare||!r.id)continue;t(r.id)}}function wo(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let r=e;for(;"MemberExpression"===r.type;)r=r.object;t.push(r);break;case"ObjectPattern":for(const r of e.properties)"RestElement"===r.type?wo(r.argument,t):wo(r.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&wo(e,t)}));break;case"RestElement":wo(e.argument,t);break;case"AssignmentPattern":wo(e.left,t)}return t}function Eo(e,t,r){const{name:s}=t;e.scopeIds&&e.scopeIds.has(s)||(s in r?r[s]++:r[s]=1,(e.scopeIds||(e.scopeIds=new Set)).add(s))}const So=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),_o=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,To=(e,t)=>_o(t)&&t.key===e,Po=y("true,false,null,this"),Ao=(e,t)=>{if(5===e.type)e.content=Co(e.content,t);else if(1===e.type)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"for"!==s.name){const e=s.exp,r=s.arg;!e||4!==e.type||"on"===s.name&&r||(s.exp=Co(e,t,"slot"===s.name)),r&&4===r.type&&!r.isStatic&&(s.arg=Co(r,t))}}};function Co(e,t,r=!1,s=!1,n=Object.create(t.identifiers)){if(!t.prefixIdentifiers||!e.content.trim())return e;const{inline:i,bindingMetadata:o}=t,a=(e,r,s)=>{const a=W(o,e)&&o[e];if(i){const i=r&&"AssignmentExpression"===r.type&&r.left===s,l=r&&"UpdateExpression"===r.type&&r.argument===s,h=r&&bo(r,d);if("setup-const"===a||"setup-reactive-const"===a||n[e])return e;if("setup-ref"===a)return`${e}.value`;if("setup-maybe-ref"===a)return i||l||h?`${e}.value`:`${t.helperString(Qe)}(${e})`;if("setup-let"===a){if(i){const{right:s,operator:n}=r,i=ko(Co(ht(c.slice(s.start-1,s.end-1),!1),t,!1,!1,f));return`${t.helperString(Ze)}(${e})${t.isTS?" //@ts-ignore\n":""} ? ${e}.value ${n} ${i} : ${e}`}if(l){s.start=r.start,s.end=r.end;const{prefix:n,operator:i}=r,o=n?i:"",a=n?"":i;return`${t.helperString(Ze)}(${e})${t.isTS?" //@ts-ignore\n":""} ? ${o}${e}.value${a} : ${o}${e}${a}`}return h?e:`${t.helperString(Qe)}(${e})`}if("props"===a)return pe(e);if("props-aliased"===a)return pe(o.__propsAliases[e])}else{if(a&&a.startsWith("setup"))return`$setup.${e}`;if("props-aliased"===a)return`$props['${o.__propsAliases[e]}']`;if(a)return`$${a}.${e}`}return`_ctx.${e}`},c=e.content,l=c.indexOf("(")>-1||c.indexOf(".")>0;if(Ys(c)){const s=t.identifiers[c],n=x(c),i=Po(c);return r||s||n||i?s||(e.constType=i?3:2):("setup-const"===o[e.content]&&(e.constType=1),e.content=a(c)),e}let h;const u=s?` ${c} `:`(${c})${r?"=>{}":""}`;try{h=Hs(u,{plugins:t.expressionPlugins}).program}catch(r){return t.onError(me(45,e.loc,void 0,r.message)),e}const p=[],d=[],f=Object.create(t.identifiers);go(h,((e,t,r,s,n)=>{if(To(e,t))return;const i=s&&(!x((o=e).name)&&"require"!==o.name);var o;i&&!n?(_o(t)&&t.shorthand&&(e.prefix=`${e.name}: `),e.name=a(e.name,t,e),p.push(e)):(i&&n||l||(e.isConstant=!0),p.push(e))}),!0,d,f);const m=[];let g;return p.sort(((e,t)=>e.start-t.start)),p.forEach(((t,r)=>{const s=t.start-1,n=t.end-1,i=p[r-1],o=c.slice(i?i.end-1:0,s);(o.length||t.prefix)&&m.push(o+(t.prefix||""));const a=c.slice(s,n);m.push(ht(t.name,!1,{source:a,start:rn(e.loc.start,a,s),end:rn(e.loc.start,a,n)},t.isConstant?3:0)),r===p.length-1&&n<c.length&&m.push(c.slice(n))})),m.length?g=ut(m,e.loc):(g=e,g.constType=l?0:3),g.identifiers=Object.keys(f),g}function ko(e){return J(e)?e:4===e.type?e.content:e.children.map(ko).join("")}const Oo=pi(/^(if|else|else-if)$/,((e,t,r)=>No(e,t,r,((e,t,s)=>{const n=r.parent.children;let i=n.indexOf(e),o=0;for(;i-- >=0;){const e=n[i];e&&9===e.type&&(o+=e.branches.length)}return()=>{if(s)e.codegenNode=Ro(t,o,r);else{const s=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);s.alternate=Ro(t,o+e.branches.length-1,r)}}}))));function No(e,t,r,s){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const s=t.exp?t.exp.loc:e.loc;r.onError(me(28,t.loc)),t.exp=ht("true",!1,s)}if(r.prefixIdentifiers&&t.exp&&(t.exp=Co(t.exp,r)),"if"===t.name){const n=Io(e,t),i={type:9,loc:e.loc,branches:[n]};if(r.replaceNode(i),s)return s(i,n,!0)}else{const n=r.parent.children,i=[];let o=n.indexOf(e);for(;o-- >=-1;){const a=n[o];if(a&&3===a.type)r.removeNode(a),i.unshift(a);else{if(!a||2!==a.type||a.content.trim().length){if(a&&9===a.type){"else-if"===t.name&&void 0===a.branches[a.branches.length-1].condition&&r.onError(me(30,e.loc)),r.removeNode();const n=Io(e,t);!i.length||r.parent&&1===r.parent.type&&Gs(r.parent.tag,"transition")||(n.children=[...i,...n.children]);{const e=n.userKey;e&&a.branches.forEach((({userKey:t})=>{Mo(t,e)&&r.onError(me(29,n.userKey.loc))}))}a.branches.push(n);const o=s&&s(a,n,!1);ui(n,r),o&&o(),r.currentNode=null}else r.onError(me(30,e.loc));break}r.removeNode(a)}}}}function Io(e,t){const r=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:r&&!on(e,"for")?e.children:[e],userKey:an(e,"key"),isTemplateIf:r}}function Ro(e,t,r){return e.condition?ft(e.condition,Lo(e,t,r),pt(r.helper(Ae),['"v-if"',"true"])):Lo(e,t,r)}function Lo(e,t,r){const{helper:s}=r,n=lt("key",ht(`${t}`,!1,nt,2)),{children:i}=e,o=i[0];if(1!==i.length||1!==o.type){if(1===i.length&&11===o.type){const e=o.codegenNode;return bn(e,n,r),e}{let t=64,o=b[64];return e.isTemplateIf||1!==i.filter((e=>3!==e.type)).length||(t|=2048,o+=`, ${b[2048]}`),ot(r,s(ye),ct([n]),i,t+` /* ${o} */`,void 0,void 0,!0,!1,!1,e.loc)}}{const e=o.codegenNode,t=En(e);return 13===t.type&&Sn(t,r),bn(t,n,r),e}}function Mo(e,t){if(!e||e.type!==t.type)return!1;if(6===e.type){if(e.value.content!==t.value.content)return!1}else{const r=e.exp,s=t.exp;if(r.type!==s.type)return!1;if(4!==r.type||r.isStatic!==s.isStatic||r.content!==s.content)return!1}return!0}const Do=pi("for",((e,t,r)=>{const{helper:s,removeHelper:n}=r;return jo(e,t,r,(t=>{const i=pt(s(Me),[t.source]),o=pn(e),a=on(e,"memo"),c=an(e,"key"),l=c&&(6===c.type?ht(c.value.content,!0):c.exp),h=c?lt("key",l):null;o&&(a&&(a.exp=Co(a.exp,r)),h&&6!==c.type&&(h.value=Co(h.value,r)));const u=4===t.source.type&&t.source.constType>0,p=u?64:c?128:256;return t.codegenNode=ot(r,s(ye),void 0,i,p+` /* ${b[p]} */`,void 0,void 0,!0,!u,!1,e.loc),()=>{let c;const{children:p}=t;o&&e.children.some((e=>{if(1===e.type){const t=an(e,"key");if(t)return r.onError(me(33,t.loc)),!0}}));const d=1!==p.length||1!==p[0].type,f=dn(e)?e:o&&1===e.children.length&&dn(e.children[0])?e.children[0]:null;if(f?(c=f.codegenNode,o&&h&&bn(c,h,r)):d?c=ot(r,s(ye),h?ct([h]):void 0,e.children,`64 /* ${b[64]} */`,void 0,void 0,!0,void 0,!1):(c=p[0].codegenNode,o&&h&&bn(c,h,r),c.isBlock!==!u&&(c.isBlock?(n(Ee),n(mn(r.inSSR,c.isComponent))):n(fn(r.inSSR,c.isComponent))),c.isBlock=!u,c.isBlock?(s(Ee),s(mn(r.inSSR,c.isComponent))):s(fn(r.inSSR,c.isComponent))),a){const e=dt(Ho(t.parseResult,[ht("_cached")]));e.body=gt([ut(["const _memo = (",a.exp,")"]),ut(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${r.helperString(tt)}(_cached, _memo)) return _cached`]),ut(["const _item = ",c]),ht("_item.memo = _memo"),ht("return _item")]),i.arguments.push(e,ht("_cache"),ht(String(r.cached++)))}else i.arguments.push(dt(Ho(t.parseResult),c,!0))}}))}));function jo(e,t,r,s){if(!t.exp)return void r.onError(me(31,t.loc));const n=qo(t.exp,r);if(!n)return void r.onError(me(32,t.loc));const{addIdentifiers:i,removeIdentifiers:o,scopes:a}=r,{source:c,value:l,key:h,index:u}=n,p={type:11,loc:t.loc,source:c,valueAlias:l,keyAlias:h,objectIndexAlias:u,parseResult:n,children:pn(e)?e.children:[e]};r.replaceNode(p),a.vFor++,r.prefixIdentifiers&&(l&&i(l),h&&i(h),u&&i(u));const d=s&&s(p);return()=>{a.vFor--,r.prefixIdentifiers&&(l&&o(l),h&&o(h),u&&o(u)),d&&d()}}const Fo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Bo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Uo=/^\(|\)$/g;function qo(e,t){const r=e.loc,s=e.content,n=s.match(Fo);if(!n)return;const[,i,o]=n,a={source:$o(r,o.trim(),s.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0};t.prefixIdentifiers&&(a.source=Co(a.source,t));let c=i.trim().replace(Uo,"").trim();const l=i.indexOf(c),h=c.match(Bo);if(h){c=c.replace(Bo,"").trim();const e=h[1].trim();let n;if(e&&(n=s.indexOf(e,l+c.length),a.key=$o(r,e,n),t.prefixIdentifiers&&(a.key=Co(a.key,t,!0))),h[2]){const i=h[2].trim();i&&(a.index=$o(r,i,s.indexOf(i,a.key?n+e.length:l+c.length)),t.prefixIdentifiers&&(a.index=Co(a.index,t,!0)))}}return c&&(a.value=$o(r,c,l),t.prefixIdentifiers&&(a.value=Co(a.value,t,!0))),a}function $o(e,t,r){return ht(t,!1,tn(e,r,t.length))}function Ho({value:e,key:t,index:r},s=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||ht("_".repeat(t+1),!1)))}([e,t,r,...s])}const Vo=ht("undefined",!1),Wo=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const r=on(e,"slot");if(r){const e=r.exp;return t.prefixIdentifiers&&e&&t.addIdentifiers(e),t.scopes.vSlot++,()=>{t.prefixIdentifiers&&e&&t.removeIdentifiers(e),t.scopes.vSlot--}}}},Go=(e,t)=>{let r;if(pn(e)&&e.props.some(un)&&(r=on(e,"for"))){const e=r.parseResult=qo(r.exp,t);if(e){const{value:r,key:s,index:n}=e,{addIdentifiers:i,removeIdentifiers:o}=t;return r&&i(r),s&&i(s),n&&i(n),()=>{r&&o(r),s&&o(s),n&&o(n)}}}},zo=(e,t,r)=>dt(e,t,!1,!0,t.length?t[0].loc:r);function Ko(e,t,r=zo){t.helper(Xe);const{children:s,loc:n}=e,i=[],o=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;!t.ssr&&t.prefixIdentifiers&&(a=wn(e,t.identifiers));const c=on(e,"slot",!0);if(c){const{arg:e,exp:t}=c;e&&!Ws(e)&&(a=!0),i.push(lt(e||ht("default",!0),r(t,s,n)))}let l=!1,h=!1;const u=[],p=new Set;let d=0;for(let e=0;e<s.length;e++){const n=s[e];let f;if(!pn(n)||!(f=on(n,"slot",!0))){3!==n.type&&u.push(n);continue}if(c){t.onError(me(37,f.loc));break}l=!0;const{children:m,loc:g}=n,{arg:y=ht("default",!0),exp:b,loc:v}=f;let x;Ws(y)?x=y?y.content:"default":a=!0;const w=r(b,m,g);let E,S,_;if(E=on(n,"if"))a=!0,o.push(ft(E.exp,Yo(y,w,d++),Vo));else if(S=on(n,/^else(-if)?$/,!0)){let r,n=e;for(;n--&&(r=s[n],3===r.type););if(r&&pn(r)&&on(r,"if")){s.splice(e,1),e--;let t=o[o.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=S.exp?ft(S.exp,Yo(y,w,d++),Vo):Yo(y,w,d++)}else t.onError(me(30,S.loc))}else if(_=on(n,"for")){a=!0;const e=_.parseResult||qo(_.exp,t);e?o.push(pt(t.helper(Me),[e.source,dt(Ho(e),Yo(y,w),!0)])):t.onError(me(32,_.loc))}else{if(x){if(p.has(x)){t.onError(me(38,v));continue}p.add(x),"default"===x&&(h=!0)}i.push(lt(y,w))}}if(!c){const e=(e,t)=>lt("default",r(e,t,n));l?u.length&&u.some((e=>Xo(e)))&&(h?t.onError(me(39,u[0].loc)):i.push(e(void 0,u))):i.push(e(void 0,s))}const f=a?2:Jo(e.children)?3:1;let m=ct(i.concat(lt("_",ht(f+` /* ${v[f]} */`,!1))),n);return o.length&&(m=pt(t.helper(je),[m,at(o)])),{slots:m,hasDynamicSlots:a}}function Yo(e,t,r){const s=[lt("name",e),lt("fn",t)];return null!=r&&s.push(lt("key",ht(String(r),!0))),ct(s)}function Jo(e){for(let t=0;t<e.length;t++){const r=e[t];switch(r.type){case 1:if(2===r.tagType||Jo(r.children))return!0;break;case 9:if(Jo(r.branches))return!0;break;case 10:case 11:if(Jo(r.children))return!0}}return!1}function Xo(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Xo(e.content))}const Qo=new WeakMap,Zo=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:r,props:s}=e,n=1===e.tagType;let i=n?ea(e,t):`"${r}"`;const o=Q(i)&&i.callee===Ne;let a,c,l,h,u,p,d=0,f=o||i===be||i===ve||!n&&("svg"===r||"foreignObject"===r);if(s.length>0){const r=ra(e,t,void 0,n,o);a=r.props,d=r.patchFlag,u=r.dynamicPropNames;const s=r.directives;p=s&&s.length?at(s.map((e=>ia(e,t)))):void 0,r.shouldUseBlock&&(f=!0)}if(e.children.length>0)if(i===xe&&(f=!0,d|=1024,e.children.length>1&&t.onError(me(46,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}))),n&&i!==be&&i!==xe){const{slots:r,hasDynamicSlots:s}=Ko(e,t);c=r,s&&(d|=1024)}else if(1===e.children.length&&i!==be){const r=e.children[0],s=r.type,n=5===s||8===s;n&&0===si(r,t)&&(d|=1),c=n||2===s?r:e.children}else c=e.children;if(0!==d){if(d<0)l=d+` /* ${b[d]} */`;else{const e=Object.keys(b).map(Number).filter((e=>e>0&&d&e)).map((e=>b[e])).join(", ");l=d+` /* ${e} */`}u&&u.length&&(h=function(e){let t="[";for(let r=0,s=e.length;r<s;r++)t+=JSON.stringify(e[r]),r<s-1&&(t+=", ");return t+"]"}(u))}e.codegenNode=ot(t,i,a,c,l,h,p,!!f,!1,n,e.loc)};function ea(e,t,r=!1){let{tag:s}=e;const n=oa(s),i=an(e,"is");if(i)if(n){const e=6===i.type?i.value&&ht(i.value.content,!0):i.exp;if(e)return pt(t.helper(Ne),[e])}else 6===i.type&&i.value.content.startsWith("vue:")&&(s=i.value.content.slice(4));const o=!n&&on(e,"is");if(o&&o.exp)return pt(t.helper(Ne),[o.exp]);const a=zs(s)||t.isBuiltInComponent(s);if(a)return r||t.helper(a),a;{const e=ta(s,t);if(e)return e;const r=s.indexOf(".");if(r>0){const e=ta(s.slice(0,r),t);if(e)return e+s.slice(r)}}return t.selfName&&le(oe(s))===t.selfName?(t.helper(Oe),t.components.add(s+"__self"),xn(s,"component")):(t.helper(Oe),t.components.add(s),xn(s,"component"))}function ta(e,t){const r=t.bindingMetadata;if(!r||!1===r.__isScriptSetup)return;const s=oe(e),n=le(s),i=t=>r[e]===t?e:r[s]===t?s:r[n]===t?n:void 0,o=i("setup-const")||i("setup-reactive-const");if(o)return t.inline?o:`$setup[${JSON.stringify(o)}]`;const a=i("setup-let")||i("setup-ref")||i("setup-maybe-ref");return a?t.inline?`${t.helperString(Qe)}(${a})`:`$setup[${JSON.stringify(a)}]`:void 0}function ra(e,t,r=e.props,s,n,i=!1){const{tag:o,loc:a,children:c}=e;let l=[];const h=[],u=[],p=c.length>0;let d=!1,f=0,m=!1,g=!1,y=!1,b=!1,v=!1,x=!1;const w=[],E=e=>{l.length&&(h.push(ct(sa(l),a)),l=[]),e&&h.push(e)},S=({key:e,value:r})=>{if(Ws(e)){const i=e.content,o=$(i);if(!o||s&&!n||"onclick"===i.toLowerCase()||"onUpdate:modelValue"===i||re(i)||(b=!0),o&&re(i)&&(x=!0),20===r.type||(4===r.type||8===r.type)&&si(r,t)>0)return;"ref"===i?m=!0:"class"===i?g=!0:"style"===i?y=!0:"key"===i||w.includes(i)||w.push(i),!s||"class"!==i&&"style"!==i||w.includes(i)||w.push(i)}else v=!0};for(let n=0;n<r.length;n++){const c=r[n];if(6===c.type){const{loc:e,name:r,value:s}=c;let n=!0;if("ref"===r&&(m=!0,t.scopes.vFor>0&&l.push(lt(ht("ref_for",!0),ht("true"))),s&&t.inline)){const e=t.bindingMetadata[s.content];"setup-let"!==e&&"setup-ref"!==e&&"setup-maybe-ref"!==e||(n=!1,l.push(lt(ht("ref_key",!0),ht(s.content,!0,s.loc))))}if("is"===r&&(oa(o)||s&&s.content.startsWith("vue:")))continue;l.push(lt(ht(r,!0,tn(e,0,r.length)),ht(s?s.content:"",n,s?s.loc:e)))}else{const{name:r,arg:n,exp:f,loc:m}=c,g="bind"===r,y="on"===r;if("slot"===r){s||t.onError(me(40,m));continue}if("once"===r||"memo"===r)continue;if("is"===r||g&&cn(n,"is")&&oa(o))continue;if(y&&i)continue;if((g&&cn(n,"key")||y&&p&&cn(n,"vue:before-update"))&&(d=!0),g&&cn(n,"ref")&&t.scopes.vFor>0&&l.push(lt(ht("ref_for",!0),ht("true"))),!n&&(g||y)){v=!0,f?g?(E(),h.push(f)):E({type:14,loc:m,callee:t.helper(Ve),arguments:s?[f]:[f,"true"]}):t.onError(me(g?34:35,m));continue}const b=t.directiveTransforms[r];if(b){const{props:r,needRuntime:s}=b(c,e,t);!i&&r.forEach(S),y&&n&&!Ws(n)?E(ct(r,a)):l.push(...r),s&&(u.push(c),X(s)&&Qo.set(c,s))}else se(r)||(u.push(c),p&&(d=!0))}}let _;if(h.length?(E(),_=h.length>1?pt(t.helper(Be),h,a):h[0]):l.length&&(_=ct(sa(l),a)),v?f|=16:(g&&!s&&(f|=2),y&&!s&&(f|=4),w.length&&(f|=8),b&&(f|=32)),d||0!==f&&32!==f||!(m||x||u.length>0)||(f|=512),!t.inSSR&&_)switch(_.type){case 15:let e=-1,r=-1,s=!1;for(let t=0;t<_.properties.length;t++){const n=_.properties[t].key;Ws(n)?"class"===n.content?e=t:"style"===n.content&&(r=t):n.isHandlerKey||(s=!0)}const n=_.properties[e],i=_.properties[r];s?_=pt(t.helper($e),[_]):(n&&!Ws(n.value)&&(n.value=pt(t.helper(Ue),[n.value])),i&&(y||4===i.value.type&&"["===i.value.content.trim()[0]||17===i.value.type)&&(i.value=pt(t.helper(qe),[i.value])));break;case 14:break;default:_=pt(t.helper($e),[pt(t.helper(He),[_])])}return{props:_,directives:u,patchFlag:f,dynamicPropNames:w,shouldUseBlock:d}}function sa(e){const t=new Map,r=[];for(let s=0;s<e.length;s++){const n=e[s];if(8===n.key.type||!n.key.isStatic){r.push(n);continue}const i=n.key.content,o=t.get(i);o?("style"===i||"class"===i||$(i))&&na(o,n):(t.set(i,n),r.push(n))}return r}function na(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=at([e.value,t.value],e.loc)}function ia(e,t){const r=[],s=Qo.get(e);if(s)r.push(t.helperString(s));else{const s=ta("v-"+e.name,t);s?r.push(s):(t.helper(Ie),t.directives.add(e.name),r.push(xn(e.name,"directive")))}const{loc:n}=e;if(e.exp&&r.push(e.exp),e.arg&&(e.exp||r.push("void 0"),r.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||r.push("void 0"),r.push("void 0"));const t=ht("true",!1,n);r.push(ct(e.modifiers.map((e=>lt(e,t))),n))}return at(r,e.loc)}function oa(e){return"component"===e||"Component"===e}const aa=(e,t)=>{if(dn(e)){const{children:r,loc:s}=e,{slotName:n,slotProps:i}=ca(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",n,"{}","undefined","true"];let a=2;i&&(o[2]=i,a=3),r.length&&(o[3]=dt([],r,!1,!1,s),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=pt(t.helper(De),o,s)}};function ca(e,t){let r,s='"default"';const n=[];for(let t=0;t<e.props.length;t++){const r=e.props[t];6===r.type?r.value&&("name"===r.name?s=JSON.stringify(r.value.content):(r.name=oe(r.name),n.push(r))):"bind"===r.name&&cn(r.arg,"name")?r.exp&&(s=r.exp):("bind"===r.name&&r.arg&&Ws(r.arg)&&(r.arg.content=oe(r.arg.content)),n.push(r))}if(n.length>0){const{props:s,directives:i}=ra(e,t,n,!1,!1);r=s,i.length&&t.onError(me(36,i[0].loc))}return{slotName:s,slotProps:r}}const la=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,ha=(e,t,r,s)=>{const{loc:n,modifiers:i,arg:o}=e;let a;if(e.exp||i.length||r.onError(me(35,n)),4===o.type)if(o.isStatic){let e=o.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),a=ht(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?he(oe(e)):`on:${e}`,!0,o.loc)}else a=ut([`${r.helperString(ze)}(`,o,")"]);else a=o,a.children.unshift(`${r.helperString(ze)}(`),a.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let l=r.cacheHandlers&&!c&&!r.inVOnce;if(c){const s=en(c.content,r),n=!(s||la.test(c.content)),i=c.content.includes(";");r.prefixIdentifiers&&(n&&r.addIdentifiers("$event"),c=e.exp=Co(c,r,!1,i),n&&r.removeIdentifiers("$event"),l=r.cacheHandlers&&!r.inVOnce&&!(4===c.type&&c.constType>0)&&!(s&&1===t.tagType)&&!wn(c,r.identifiers),l&&s&&(4===c.type?c.content=`${c.content} && ${c.content}(...args)`:c.children=[...c.children," && ",...c.children,"(...args)"])),(n||l&&s)&&(c=ut([`${n?r.isTS?"($event: any)":"$event":(r.isTS?"\n//@ts-ignore\n":"")+"(...args)"} => ${i?"{":"("}`,c,i?"}":")"]))}let h={props:[lt(a,c||ht("() => {}",!1,n))]};return s&&(h=s(h)),l&&(h.props[0].value=r.cache(h.props[0].value)),h.props.forEach((e=>e.key.isHandlerKey=!0)),h},ua=(e,t,r)=>{const{exp:s,modifiers:n,loc:i}=e,o=e.arg;return 4!==o.type?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),n.includes("camel")&&(4===o.type?o.isStatic?o.content=oe(o.content):o.content=`${r.helperString(We)}(${o.content})`:(o.children.unshift(`${r.helperString(We)}(`),o.children.push(")"))),r.inSSR||(n.includes("prop")&&pa(o,"."),n.includes("attr")&&pa(o,"^")),!s||4===s.type&&!s.content.trim()?(r.onError(me(34,i)),{props:[lt(o,ht("",!0,i))]}):{props:[lt(o,s)]}},pa=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},da=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const r=e.children;let s,n=!1;for(let e=0;e<r.length;e++){const t=r[e];if(hn(t)){n=!0;for(let n=e+1;n<r.length;n++){const i=r[n];if(!hn(i)){s=void 0;break}s||(s=r[e]=ut([t],t.loc)),s.children.push(" + ",i),r.splice(n,1),n--}}}if(n&&(1!==r.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name])))))for(let e=0;e<r.length;e++){const s=r[e];if(hn(s)||8===s.type){const n=[];2===s.type&&" "===s.content||n.push(s),t.ssr||0!==si(s,t)||n.push(`1 /* ${b[1]} */`),r[e]={type:12,content:s,loc:s.loc,codegenNode:pt(t.helper(Ce),n)}}}}},fa=new WeakSet,ma=(e,t)=>{if(1===e.type&&on(e,"once",!0)){if(fa.has(e)||t.inVOnce)return;return fa.add(e),t.inVOnce=!0,t.helper(Ke),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},ga=(e,t,r)=>{const{exp:s,arg:n}=e;if(!s)return r.onError(me(41,e.loc)),ya();const i=s.loc.source,o=4===s.type?s.content:i,a=r.bindingMetadata[i];if("props"===a||"props-aliased"===a)return r.onError(me(44,s.loc)),ya();const c=r.inline&&("setup-let"===a||"setup-ref"===a||"setup-maybe-ref"===a);if(!o.trim()||!en(o,r)&&!c)return r.onError(me(42,s.loc)),ya();if(r.prefixIdentifiers&&Ys(o)&&r.identifiers[o])return r.onError(me(43,s.loc)),ya();const l=n||ht("modelValue",!0),h=n?Ws(n)?`onUpdate:${oe(n.content)}`:ut(['"onUpdate:" + ',n]):"onUpdate:modelValue";let u;const p=r.isTS?"($event: any)":"$event";if(c)if("setup-ref"===a)u=ut([`${p} => ((`,ht(i,!1,s.loc),").value = $event)"]);else{const e="setup-let"===a?`${i} = $event`:"null";u=ut([`${p} => (${r.helperString(Ze)}(${i}) ? (`,ht(i,!1,s.loc),`).value = $event : ${e})`])}else u=ut([`${p} => ((`,s,") = $event)"]);const d=[lt(l,e.exp),lt(h,u)];if(r.prefixIdentifiers&&!r.inVOnce&&r.cacheHandlers&&!wn(s,r.identifiers)&&(d[1].value=r.cache(d[1].value)),e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Ys(e)?e:JSON.stringify(e))+": true")).join(", "),r=n?Ws(n)?`${n.content}Modifiers`:ut([n,' + "Modifiers"']):"modelModifiers";d.push(lt(r,ht(`{ ${t} }`,!1,e.loc,2)))}return ya(d)};function ya(e=[]){return{props:e}}const ba=new WeakSet,va=(e,t)=>{if(1===e.type){const r=on(e,"memo");if(!r||ba.has(e))return;return ba.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&13===s.type&&(1!==e.tagType&&Sn(s,t),e.codegenNode=pt(t.helper(et),[r.exp,dt(void 0,s),"_cache",String(t.cached++)]))}}};function xa(e){return[[ma,Oo,va,Do,...e?[Go,Ao]:[],aa,Zo,Wo,da],{on:ha,bind:ua,model:ga}]}function wa(e,t={}){const r=t.onError||de,s="module"===t.mode,n=!0===t.prefixIdentifiers||s;!n&&t.cacheHandlers&&r(me(49)),t.scopeId&&!s&&r(me(50));const i=J(e)?On(e,t):e,[o,a]=xa(n);if(t.isTS){const{expressionPlugins:e}=t;e&&e.includes("typescript")||(t.expressionPlugins=[...e||[],"typescript"])}return hi(i,H({},t,{prefixIdentifiers:n,nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:H({},a,t.directiveTransforms||{})})),so(i,H({},t,{prefixIdentifiers:n}))}const Ea=()=>({props:[]}),Sa=Symbol("vModelRadio"),_a=Symbol("vModelCheckbox"),Ta=Symbol("vModelText"),Pa=Symbol("vModelSelect"),Aa=Symbol("vModelDynamic"),Ca=Symbol("vOnModifiersGuard"),ka=Symbol("vOnKeysGuard"),Oa=Symbol("vShow"),Na=Symbol("Transition"),Ia=Symbol("TransitionGroup");st({[Sa]:"vModelRadio",[_a]:"vModelCheckbox",[Ta]:"vModelText",[Pa]:"vModelSelect",[Aa]:"vModelDynamic",[Ca]:"withModifiers",[ka]:"withKeys",[Oa]:"vShow",[Na]:"Transition",[Ia]:"TransitionGroup"});var Ra={GT:">",gt:">",LT:"<",lt:"<","ac;":"∾","af;":"",AMP:"&",amp:"&","ap;":"≈","DD;":"ⅅ","dd;":"ⅆ",deg:"°","ee;":"ⅇ","eg;":"⪚","el;":"⪙",ETH:"Ð",eth:"ð","gE;":"≧","ge;":"≥","Gg;":"⋙","gg;":"≫","gl;":"≷","GT;":">","Gt;":"≫","gt;":">","ic;":"","ii;":"ⅈ","Im;":"ℑ","in;":"∈","it;":"","lE;":"≦","le;":"≤","lg;":"≶","Ll;":"⋘","ll;":"≪","LT;":"<","Lt;":"≪","lt;":"<","mp;":"∓","Mu;":"Μ","mu;":"μ","ne;":"≠","ni;":"∋",not:"¬","Nu;":"Ν","nu;":"ν","Or;":"⩔","or;":"∨","oS;":"Ⓢ","Pi;":"Π","pi;":"π","pm;":"±","Pr;":"⪻","pr;":"≺","Re;":"ℜ",REG:"®",reg:"®","rx;":"℞","Sc;":"⪼","sc;":"≻",shy:"",uml:"¨","wp;":"℘","wr;":"≀","Xi;":"Ξ","xi;":"ξ",yen:"¥","acd;":"∿","acE;":"∾̳","Acy;":"А","acy;":"а","Afr;":"𝔄","afr;":"𝔞","AMP;":"&","amp;":"&","And;":"⩓","and;":"∧","ang;":"∠","apE;":"⩰","ape;":"≊","ast;":"*",Auml:"Ä",auml:"ä","Bcy;":"Б","bcy;":"б","Bfr;":"𝔅","bfr;":"𝔟","bne;":"=⃥","bot;":"⊥","Cap;":"⋒","cap;":"∩",cent:"¢","Cfr;":"ℭ","cfr;":"𝔠","Chi;":"Χ","chi;":"χ","cir;":"○",COPY:"©",copy:"©","Cup;":"⋓","cup;":"∪","Dcy;":"Д","dcy;":"д","deg;":"°","Del;":"∇","Dfr;":"𝔇","dfr;":"𝔡","die;":"¨","div;":"÷","Dot;":"¨","dot;":"˙","Ecy;":"Э","ecy;":"э","Efr;":"𝔈","efr;":"𝔢","egs;":"⪖","ell;":"ℓ","els;":"⪕","ENG;":"Ŋ","eng;":"ŋ","Eta;":"Η","eta;":"η","ETH;":"Ð","eth;":"ð",Euml:"Ë",euml:"ë","Fcy;":"Ф","fcy;":"ф","Ffr;":"𝔉","ffr;":"𝔣","gap;":"⪆","Gcy;":"Г","gcy;":"г","gEl;":"⪌","gel;":"⋛","geq;":"≥","ges;":"⩾","Gfr;":"𝔊","gfr;":"𝔤","ggg;":"⋙","gla;":"⪥","glE;":"⪒","glj;":"⪤","gnE;":"≩","gne;":"⪈","Hat;":"^","Hfr;":"ℌ","hfr;":"𝔥","Icy;":"И","icy;":"и","iff;":"⇔","Ifr;":"ℑ","ifr;":"𝔦","Int;":"∬","int;":"∫",Iuml:"Ï",iuml:"ï","Jcy;":"Й","jcy;":"й","Jfr;":"𝔍","jfr;":"𝔧","Kcy;":"К","kcy;":"к","Kfr;":"𝔎","kfr;":"𝔨","lap;":"⪅","lat;":"⪫","Lcy;":"Л","lcy;":"л","lEg;":"⪋","leg;":"⋚","leq;":"≤","les;":"⩽","Lfr;":"𝔏","lfr;":"𝔩","lgE;":"⪑","lnE;":"≨","lne;":"⪇","loz;":"◊","lrm;":"","Lsh;":"↰","lsh;":"↰",macr:"¯","Map;":"⤅","map;":"↦","Mcy;":"М","mcy;":"м","Mfr;":"𝔐","mfr;":"𝔪","mho;":"℧","mid;":"∣","nap;":"≉",nbsp:" ","Ncy;":"Н","ncy;":"н","Nfr;":"𝔑","nfr;":"𝔫","ngE;":"≧̸","nge;":"≱","nGg;":"⋙̸","nGt;":"≫⃒","ngt;":"≯","nis;":"⋼","niv;":"∋","nlE;":"≦̸","nle;":"≰","nLl;":"⋘̸","nLt;":"≪⃒","nlt;":"≮","Not;":"⫬","not;":"¬","npr;":"⊀","nsc;":"⊁","num;":"#","Ocy;":"О","ocy;":"о","Ofr;":"𝔒","ofr;":"𝔬","ogt;":"⧁","ohm;":"Ω","olt;":"⧀","ord;":"⩝",ordf:"ª",ordm:"º","orv;":"⩛",Ouml:"Ö",ouml:"ö","par;":"∥",para:"¶","Pcy;":"П","pcy;":"п","Pfr;":"𝔓","pfr;":"𝔭","Phi;":"Φ","phi;":"φ","piv;":"ϖ","prE;":"⪳","pre;":"⪯","Psi;":"Ψ","psi;":"ψ","Qfr;":"𝔔","qfr;":"𝔮",QUOT:'"',quot:'"',"Rcy;":"Р","rcy;":"р","REG;":"®","reg;":"®","Rfr;":"ℜ","rfr;":"𝔯","Rho;":"Ρ","rho;":"ρ","rlm;":"","Rsh;":"↱","rsh;":"↱","scE;":"⪴","sce;":"⪰","Scy;":"С","scy;":"с",sect:"§","Sfr;":"𝔖","sfr;":"𝔰","shy;":"","sim;":"∼","smt;":"⪪","sol;":"/","squ;":"□","Sub;":"⋐","sub;":"⊂","Sum;":"∑","sum;":"∑","Sup;":"⋑","sup;":"⊃",sup1:"¹",sup2:"²",sup3:"³","Tab;":"\t","Tau;":"Τ","tau;":"τ","Tcy;":"Т","tcy;":"т","Tfr;":"𝔗","tfr;":"𝔱","top;":"⊤","Ucy;":"У","ucy;":"у","Ufr;":"𝔘","ufr;":"𝔲","uml;":"¨",Uuml:"Ü",uuml:"ü","Vcy;":"В","vcy;":"в","Vee;":"⋁","vee;":"∨","Vfr;":"𝔙","vfr;":"𝔳","Wfr;":"𝔚","wfr;":"𝔴","Xfr;":"𝔛","xfr;":"𝔵","Ycy;":"Ы","ycy;":"ы","yen;":"¥","Yfr;":"𝔜","yfr;":"𝔶",yuml:"ÿ","Zcy;":"З","zcy;":"з","Zfr;":"ℨ","zfr;":"𝔷","zwj;":"",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ","andd;":"⩜","andv;":"⩚","ange;":"⦤","Aopf;":"𝔸","aopf;":"𝕒","apid;":"≋","apos;":"'",Aring:"Å",aring:"å","Ascr;":"𝒜","ascr;":"𝒶","Auml;":"Ä","auml;":"ä","Barv;":"⫧","bbrk;":"⎵","Beta;":"Β","beta;":"β","beth;":"ℶ","bNot;":"⫭","bnot;":"⌐","Bopf;":"𝔹","bopf;":"𝕓","boxH;":"═","boxh;":"─","boxV;":"║","boxv;":"│","Bscr;":"ℬ","bscr;":"𝒷","bsim;":"∽","bsol;":"\\","bull;":"•","bump;":"≎","caps;":"∩︀","Cdot;":"Ċ","cdot;":"ċ",cedil:"¸","cent;":"¢","CHcy;":"Ч","chcy;":"ч","circ;":"ˆ","cirE;":"⧃","cire;":"≗","comp;":"∁","cong;":"≅","Copf;":"ℂ","copf;":"𝕔","COPY;":"©","copy;":"©","Cscr;":"𝒞","cscr;":"𝒸","csub;":"⫏","csup;":"⫐","cups;":"∪︀","Darr;":"↡","dArr;":"⇓","darr;":"↓","dash;":"‐","dHar;":"⥥","diam;":"⋄","DJcy;":"Ђ","djcy;":"ђ","Dopf;":"𝔻","dopf;":"𝕕","Dscr;":"𝒟","dscr;":"𝒹","DScy;":"Ѕ","dscy;":"ѕ","dsol;":"⧶","dtri;":"▿","DZcy;":"Џ","dzcy;":"џ","ecir;":"≖",Ecirc:"Ê",ecirc:"ê","Edot;":"Ė","eDot;":"≑","edot;":"ė","emsp;":" ","ensp;":" ","Eopf;":"𝔼","eopf;":"𝕖","epar;":"⋕","epsi;":"ε","Escr;":"ℰ","escr;":"ℯ","Esim;":"⩳","esim;":"≂","Euml;":"Ë","euml;":"ë","euro;":"€","excl;":"!","flat;":"♭","fnof;":"ƒ","Fopf;":"𝔽","fopf;":"𝕗","fork;":"⋔","Fscr;":"ℱ","fscr;":"𝒻","Gdot;":"Ġ","gdot;":"ġ","geqq;":"≧","gesl;":"⋛︀","GJcy;":"Ѓ","gjcy;":"ѓ","gnap;":"⪊","gneq;":"⪈","Gopf;":"𝔾","gopf;":"𝕘","Gscr;":"𝒢","gscr;":"ℊ","gsim;":"≳","gtcc;":"⪧","gvnE;":"≩︀","half;":"½","hArr;":"⇔","harr;":"↔","hbar;":"ℏ","Hopf;":"ℍ","hopf;":"𝕙","Hscr;":"ℋ","hscr;":"𝒽",Icirc:"Î",icirc:"î","Idot;":"İ","IEcy;":"Е","iecy;":"е",iexcl:"¡","imof;":"⊷","IOcy;":"Ё","iocy;":"ё","Iopf;":"𝕀","iopf;":"𝕚","Iota;":"Ι","iota;":"ι","Iscr;":"ℐ","iscr;":"𝒾","isin;":"∈","Iuml;":"Ï","iuml;":"ï","Jopf;":"𝕁","jopf;":"𝕛","Jscr;":"𝒥","jscr;":"𝒿","KHcy;":"Х","khcy;":"х","KJcy;":"Ќ","kjcy;":"ќ","Kopf;":"𝕂","kopf;":"𝕜","Kscr;":"𝒦","kscr;":"𝓀","Lang;":"⟪","lang;":"⟨",laquo:"«","Larr;":"↞","lArr;":"⇐","larr;":"←","late;":"⪭","lcub;":"{","ldca;":"⤶","ldsh;":"↲","leqq;":"≦","lesg;":"⋚︀","lHar;":"⥢","LJcy;":"Љ","ljcy;":"љ","lnap;":"⪉","lneq;":"⪇","Lopf;":"𝕃","lopf;":"𝕝","lozf;":"⧫","lpar;":"(","Lscr;":"ℒ","lscr;":"𝓁","lsim;":"≲","lsqb;":"[","ltcc;":"⪦","ltri;":"◃","lvnE;":"≨︀","macr;":"¯","male;":"♂","malt;":"✠",micro:"µ","mlcp;":"⫛","mldr;":"…","Mopf;":"𝕄","mopf;":"𝕞","Mscr;":"ℳ","mscr;":"𝓂","nang;":"∠⃒","napE;":"⩰̸","nbsp;":" ","ncap;":"⩃","ncup;":"⩂","ngeq;":"≱","nges;":"⩾̸","ngtr;":"≯","nGtv;":"≫̸","nisd;":"⋺","NJcy;":"Њ","njcy;":"њ","nldr;":"‥","nleq;":"≰","nles;":"⩽̸","nLtv;":"≪̸","nmid;":"∤","Nopf;":"ℕ","nopf;":"𝕟","npar;":"∦","npre;":"⪯̸","nsce;":"⪰̸","Nscr;":"𝒩","nscr;":"𝓃","nsim;":"≁","nsub;":"⊄","nsup;":"⊅","ntgl;":"≹","ntlg;":"≸","nvap;":"≍⃒","nvge;":"≥⃒","nvgt;":">⃒","nvle;":"≤⃒","nvlt;":"<⃒","oast;":"⊛","ocir;":"⊚",Ocirc:"Ô",ocirc:"ô","odiv;":"⨸","odot;":"⊙","ogon;":"˛","oint;":"∮","omid;":"⦶","Oopf;":"𝕆","oopf;":"𝕠","opar;":"⦷","ordf;":"ª","ordm;":"º","oror;":"⩖","Oscr;":"𝒪","oscr;":"ℴ","osol;":"⊘","Ouml;":"Ö","ouml;":"ö","para;":"¶","part;":"∂","perp;":"⊥","phiv;":"ϕ","plus;":"+","Popf;":"ℙ","popf;":"𝕡",pound:"£","prap;":"⪷","prec;":"≺","prnE;":"⪵","prod;":"∏","prop;":"∝","Pscr;":"𝒫","pscr;":"𝓅","qint;":"⨌","Qopf;":"ℚ","qopf;":"𝕢","Qscr;":"𝒬","qscr;":"𝓆","QUOT;":'"',"quot;":'"',"race;":"∽̱","Rang;":"⟫","rang;":"⟩",raquo:"»","Rarr;":"↠","rArr;":"⇒","rarr;":"→","rcub;":"}","rdca;":"⤷","rdsh;":"↳","real;":"ℜ","rect;":"▭","rHar;":"⥤","rhov;":"ϱ","ring;":"˚","Ropf;":"ℝ","ropf;":"𝕣","rpar;":")","Rscr;":"ℛ","rscr;":"𝓇","rsqb;":"]","rtri;":"▹","scap;":"⪸","scnE;":"⪶","sdot;":"⋅","sect;":"§","semi;":";","sext;":"✶","SHcy;":"Ш","shcy;":"ш","sime;":"≃","simg;":"⪞","siml;":"⪝","smid;":"∣","smte;":"⪬","solb;":"⧄","Sopf;":"𝕊","sopf;":"𝕤","spar;":"∥","Sqrt;":"√","squf;":"▪","Sscr;":"𝒮","sscr;":"𝓈","Star;":"⋆","star;":"☆","subE;":"⫅","sube;":"⊆","succ;":"≻","sung;":"♪","sup1;":"¹","sup2;":"²","sup3;":"³","supE;":"⫆","supe;":"⊇",szlig:"ß","tbrk;":"⎴","tdot;":"⃛",THORN:"Þ",thorn:"þ",times:"×","tint;":"∭","toea;":"⤨","Topf;":"𝕋","topf;":"𝕥","tosa;":"⤩","trie;":"≜","Tscr;":"𝒯","tscr;":"𝓉","TScy;":"Ц","tscy;":"ц","Uarr;":"↟","uArr;":"⇑","uarr;":"↑",Ucirc:"Û",ucirc:"û","uHar;":"⥣","Uopf;":"𝕌","uopf;":"𝕦","Upsi;":"ϒ","upsi;":"υ","Uscr;":"𝒰","uscr;":"𝓊","utri;":"▵","Uuml;":"Ü","uuml;":"ü","vArr;":"⇕","varr;":"↕","Vbar;":"⫫","vBar;":"⫨","Vert;":"‖","vert;":"|","Vopf;":"𝕍","vopf;":"𝕧","Vscr;":"𝒱","vscr;":"𝓋","Wopf;":"𝕎","wopf;":"𝕨","Wscr;":"𝒲","wscr;":"𝓌","xcap;":"⋂","xcup;":"⋃","xmap;":"⟼","xnis;":"⋻","Xopf;":"𝕏","xopf;":"𝕩","Xscr;":"𝒳","xscr;":"𝓍","xvee;":"⋁","YAcy;":"Я","yacy;":"я","YIcy;":"Ї","yicy;":"ї","Yopf;":"𝕐","yopf;":"𝕪","Yscr;":"𝒴","yscr;":"𝓎","YUcy;":"Ю","yucy;":"ю","Yuml;":"Ÿ","yuml;":"ÿ","Zdot;":"Ż","zdot;":"ż","Zeta;":"Ζ","zeta;":"ζ","ZHcy;":"Ж","zhcy;":"ж","Zopf;":"ℤ","zopf;":"𝕫","Zscr;":"𝒵","zscr;":"𝓏","zwnj;":"",Aacute:"Á",aacute:"á","Acirc;":"Â","acirc;":"â","acute;":"´","AElig;":"Æ","aelig;":"æ",Agrave:"À",agrave:"à","aleph;":"ℵ","Alpha;":"Α","alpha;":"α","Amacr;":"Ā","amacr;":"ā","amalg;":"⨿","angle;":"∠","angrt;":"∟","angst;":"Å","Aogon;":"Ą","aogon;":"ą","Aring;":"Å","aring;":"å","asymp;":"≈",Atilde:"Ã",atilde:"ã","awint;":"⨑","bcong;":"≌","bdquo;":"„","bepsi;":"϶","blank;":"␣","blk12;":"▒","blk14;":"░","blk34;":"▓","block;":"█","boxDL;":"╗","boxDl;":"╖","boxdL;":"╕","boxdl;":"┐","boxDR;":"╔","boxDr;":"╓","boxdR;":"╒","boxdr;":"┌","boxHD;":"╦","boxHd;":"╤","boxhD;":"╥","boxhd;":"┬","boxHU;":"╩","boxHu;":"╧","boxhU;":"╨","boxhu;":"┴","boxUL;":"╝","boxUl;":"╜","boxuL;":"╛","boxul;":"┘","boxUR;":"╚","boxUr;":"╙","boxuR;":"╘","boxur;":"└","boxVH;":"╬","boxVh;":"╫","boxvH;":"╪","boxvh;":"┼","boxVL;":"╣","boxVl;":"╢","boxvL;":"╡","boxvl;":"┤","boxVR;":"╠","boxVr;":"╟","boxvR;":"╞","boxvr;":"├","Breve;":"˘","breve;":"˘",brvbar:"¦","bsemi;":"⁏","bsime;":"⋍","bsolb;":"⧅","bumpE;":"⪮","bumpe;":"≏","caret;":"⁁","caron;":"ˇ","ccaps;":"⩍",Ccedil:"Ç",ccedil:"ç","Ccirc;":"Ĉ","ccirc;":"ĉ","ccups;":"⩌","cedil;":"¸","check;":"✓","clubs;":"♣","Colon;":"∷","colon;":":","comma;":",","crarr;":"↵","Cross;":"⨯","cross;":"✗","csube;":"⫑","csupe;":"⫒","ctdot;":"⋯","cuepr;":"⋞","cuesc;":"⋟","cupor;":"⩅",curren:"¤","cuvee;":"⋎","cuwed;":"⋏","cwint;":"∱","Dashv;":"⫤","dashv;":"⊣","dblac;":"˝","ddarr;":"⇊","Delta;":"Δ","delta;":"δ","dharl;":"⇃","dharr;":"⇂","diams;":"♦","disin;":"⋲",divide:"÷","doteq;":"≐","dtdot;":"⋱","dtrif;":"▾","duarr;":"⇵","duhar;":"⥯",Eacute:"É",eacute:"é","Ecirc;":"Ê","ecirc;":"ê","eDDot;":"⩷","efDot;":"≒",Egrave:"È",egrave:"è","Emacr;":"Ē","emacr;":"ē","empty;":"∅","Eogon;":"Ę","eogon;":"ę","eplus;":"⩱","epsiv;":"ϵ","eqsim;":"≂","Equal;":"⩵","equiv;":"≡","erarr;":"⥱","erDot;":"≓","esdot;":"≐","exist;":"∃","fflig;":"ff","filig;":"fi","fjlig;":"fj","fllig;":"fl","fltns;":"▱","forkv;":"⫙",frac12:"½",frac14:"¼",frac34:"¾","frasl;":"⁄","frown;":"⌢","Gamma;":"Γ","gamma;":"γ","Gcirc;":"Ĝ","gcirc;":"ĝ","gescc;":"⪩","gimel;":"ℷ","gneqq;":"≩","gnsim;":"⋧","grave;":"`","gsime;":"⪎","gsiml;":"⪐","gtcir;":"⩺","gtdot;":"⋗","Hacek;":"ˇ","harrw;":"↭","Hcirc;":"Ĥ","hcirc;":"ĥ","hoarr;":"⇿",Iacute:"Í",iacute:"í","Icirc;":"Î","icirc;":"î","iexcl;":"¡",Igrave:"Ì",igrave:"ì","iiint;":"∭","iiota;":"℩","IJlig;":"IJ","ijlig;":"ij","Imacr;":"Ī","imacr;":"ī","image;":"ℑ","imath;":"ı","imped;":"Ƶ","infin;":"∞","Iogon;":"Į","iogon;":"į","iprod;":"⨼",iquest:"¿","isinE;":"⋹","isins;":"⋴","isinv;":"∈","Iukcy;":"І","iukcy;":"і","Jcirc;":"Ĵ","jcirc;":"ĵ","jmath;":"ȷ","Jukcy;":"Є","jukcy;":"є","Kappa;":"Κ","kappa;":"κ","lAarr;":"⇚","langd;":"⦑","laquo;":"«","larrb;":"⇤","lates;":"⪭︀","lBarr;":"⤎","lbarr;":"⤌","lbbrk;":"❲","lbrke;":"⦋","lceil;":"⌈","ldquo;":"“","lescc;":"⪨","lhard;":"↽","lharu;":"↼","lhblk;":"▄","llarr;":"⇇","lltri;":"◺","lneqq;":"≨","lnsim;":"⋦","loang;":"⟬","loarr;":"⇽","lobrk;":"⟦","lopar;":"⦅","lrarr;":"⇆","lrhar;":"⇋","lrtri;":"⊿","lsime;":"⪍","lsimg;":"⪏","lsquo;":"‘","ltcir;":"⩹","ltdot;":"⋖","ltrie;":"⊴","ltrif;":"◂","mdash;":"—","mDDot;":"∺","micro;":"µ",middot:"·","minus;":"−","mumap;":"⊸","nabla;":"∇","napid;":"≋̸","napos;":"ʼn","natur;":"♮","nbump;":"≎̸","ncong;":"≇","ndash;":"–","neArr;":"⇗","nearr;":"↗","nedot;":"≐̸","nesim;":"≂̸","ngeqq;":"≧̸","ngsim;":"≵","nhArr;":"⇎","nharr;":"↮","nhpar;":"⫲","nlArr;":"⇍","nlarr;":"↚","nleqq;":"≦̸","nless;":"≮","nlsim;":"≴","nltri;":"⋪","notin;":"∉","notni;":"∌","npart;":"∂̸","nprec;":"⊀","nrArr;":"⇏","nrarr;":"↛","nrtri;":"⋫","nsime;":"≄","nsmid;":"∤","nspar;":"∦","nsubE;":"⫅̸","nsube;":"⊈","nsucc;":"⊁","nsupE;":"⫆̸","nsupe;":"⊉",Ntilde:"Ñ",ntilde:"ñ","numsp;":" ","nvsim;":"∼⃒","nwArr;":"⇖","nwarr;":"↖",Oacute:"Ó",oacute:"ó","Ocirc;":"Ô","ocirc;":"ô","odash;":"⊝","OElig;":"Œ","oelig;":"œ","ofcir;":"⦿",Ograve:"Ò",ograve:"ò","ohbar;":"⦵","olarr;":"↺","olcir;":"⦾","oline;":"‾","Omacr;":"Ō","omacr;":"ō","Omega;":"Ω","omega;":"ω","operp;":"⦹","oplus;":"⊕","orarr;":"↻","order;":"ℴ",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ","ovbar;":"⌽","parsl;":"⫽","phone;":"☎","plusb;":"⊞","pluse;":"⩲",plusmn:"±","pound;":"£","prcue;":"≼","Prime;":"″","prime;":"′","prnap;":"⪹","prsim;":"≾","quest;":"?","rAarr;":"⇛","radic;":"√","rangd;":"⦒","range;":"⦥","raquo;":"»","rarrb;":"⇥","rarrc;":"⤳","rarrw;":"↝","ratio;":"∶","RBarr;":"⤐","rBarr;":"⤏","rbarr;":"⤍","rbbrk;":"❳","rbrke;":"⦌","rceil;":"⌉","rdquo;":"”","reals;":"ℝ","rhard;":"⇁","rharu;":"⇀","rlarr;":"⇄","rlhar;":"⇌","rnmid;":"⫮","roang;":"⟭","roarr;":"⇾","robrk;":"⟧","ropar;":"⦆","rrarr;":"⇉","rsquo;":"’","rtrie;":"⊵","rtrif;":"▸","sbquo;":"‚","sccue;":"≽","Scirc;":"Ŝ","scirc;":"ŝ","scnap;":"⪺","scsim;":"≿","sdotb;":"⊡","sdote;":"⩦","seArr;":"⇘","searr;":"↘","setmn;":"∖","sharp;":"♯","Sigma;":"Σ","sigma;":"σ","simeq;":"≃","simgE;":"⪠","simlE;":"⪟","simne;":"≆","slarr;":"←","smile;":"⌣","smtes;":"⪬︀","sqcap;":"⊓","sqcup;":"⊔","sqsub;":"⊏","sqsup;":"⊐","srarr;":"→","starf;":"★","strns;":"¯","subnE;":"⫋","subne;":"⊊","supnE;":"⫌","supne;":"⊋","swArr;":"⇙","swarr;":"↙","szlig;":"ß","Theta;":"Θ","theta;":"θ","thkap;":"≈","THORN;":"Þ","thorn;":"þ","Tilde;":"∼","tilde;":"˜","times;":"×","TRADE;":"™","trade;":"™","trisb;":"⧍","TSHcy;":"Ћ","tshcy;":"ћ","twixt;":"≬",Uacute:"Ú",uacute:"ú","Ubrcy;":"Ў","ubrcy;":"ў","Ucirc;":"Û","ucirc;":"û","udarr;":"⇅","udhar;":"⥮",Ugrave:"Ù",ugrave:"ù","uharl;":"↿","uharr;":"↾","uhblk;":"▀","ultri;":"◸","Umacr;":"Ū","umacr;":"ū","Union;":"⋃","Uogon;":"Ų","uogon;":"ų","uplus;":"⊎","upsih;":"ϒ","UpTee;":"⊥","Uring;":"Ů","uring;":"ů","urtri;":"◹","utdot;":"⋰","utrif;":"▴","uuarr;":"⇈","varpi;":"ϖ","vBarv;":"⫩","VDash;":"⊫","Vdash;":"⊩","vDash;":"⊨","vdash;":"⊢","veeeq;":"≚","vltri;":"⊲","vnsub;":"⊂⃒","vnsup;":"⊃⃒","vprop;":"∝","vrtri;":"⊳","Wcirc;":"Ŵ","wcirc;":"ŵ","Wedge;":"⋀","wedge;":"∧","xcirc;":"◯","xdtri;":"▽","xhArr;":"⟺","xharr;":"⟷","xlArr;":"⟸","xlarr;":"⟵","xodot;":"⨀","xrArr;":"⟹","xrarr;":"⟶","xutri;":"△",Yacute:"Ý",yacute:"ý","Ycirc;":"Ŷ","ycirc;":"ŷ","Aacute;":"Á","aacute;":"á","Abreve;":"Ă","abreve;":"ă","Agrave;":"À","agrave;":"à","andand;":"⩕","angmsd;":"∡","angsph;":"∢","apacir;":"⩯","approx;":"≈","Assign;":"≔","Atilde;":"Ã","atilde;":"ã","barvee;":"⊽","Barwed;":"⌆","barwed;":"⌅","becaus;":"∵","bernou;":"ℬ","bigcap;":"⋂","bigcup;":"⋃","bigvee;":"⋁","bkarow;":"⤍","bottom;":"⊥","bowtie;":"⋈","boxbox;":"⧉","bprime;":"‵","brvbar;":"¦","bullet;":"•","Bumpeq;":"≎","bumpeq;":"≏","Cacute;":"Ć","cacute;":"ć","capand;":"⩄","capcap;":"⩋","capcup;":"⩇","capdot;":"⩀","Ccaron;":"Č","ccaron;":"č","Ccedil;":"Ç","ccedil;":"ç","circeq;":"≗","cirmid;":"⫯","Colone;":"⩴","colone;":"≔","commat;":"@","compfn;":"∘","Conint;":"∯","conint;":"∮","coprod;":"∐","copysr;":"℗","cularr;":"↶","CupCap;":"≍","cupcap;":"⩆","cupcup;":"⩊","cupdot;":"⊍","curarr;":"↷","curren;":"¤","cylcty;":"⌭","Dagger;":"‡","dagger;":"†","daleth;":"ℸ","Dcaron;":"Ď","dcaron;":"ď","dfisht;":"⥿","divide;":"÷","divonx;":"⋇","dlcorn;":"⌞","dlcrop;":"⌍","dollar;":"$","DotDot;":"⃜","drcorn;":"⌟","drcrop;":"⌌","Dstrok;":"Đ","dstrok;":"đ","Eacute;":"É","eacute;":"é","easter;":"⩮","Ecaron;":"Ě","ecaron;":"ě","ecolon;":"≕","Egrave;":"È","egrave;":"è","egsdot;":"⪘","elsdot;":"⪗","emptyv;":"∅","emsp13;":" ","emsp14;":" ","eparsl;":"⧣","eqcirc;":"≖","equals;":"=","equest;":"≟","Exists;":"∃","female;":"♀","ffilig;":"ffi","ffllig;":"ffl","ForAll;":"∀","forall;":"∀","frac12;":"½","frac13;":"⅓","frac14;":"¼","frac15;":"⅕","frac16;":"⅙","frac18;":"⅛","frac23;":"⅔","frac25;":"⅖","frac34;":"¾","frac35;":"⅗","frac38;":"⅜","frac45;":"⅘","frac56;":"⅚","frac58;":"⅝","frac78;":"⅞","gacute;":"ǵ","Gammad;":"Ϝ","gammad;":"ϝ","Gbreve;":"Ğ","gbreve;":"ğ","Gcedil;":"Ģ","gesdot;":"⪀","gesles;":"⪔","gtlPar;":"⦕","gtrarr;":"⥸","gtrdot;":"⋗","gtrsim;":"≳","hairsp;":" ","hamilt;":"ℋ","HARDcy;":"Ъ","hardcy;":"ъ","hearts;":"♥","hellip;":"…","hercon;":"⊹","homtht;":"∻","horbar;":"―","hslash;":"ℏ","Hstrok;":"Ħ","hstrok;":"ħ","hybull;":"⁃","hyphen;":"‐","Iacute;":"Í","iacute;":"í","Igrave;":"Ì","igrave;":"ì","iiiint;":"⨌","iinfin;":"⧜","incare;":"℅","inodot;":"ı","intcal;":"⊺","iquest;":"¿","isinsv;":"⋳","Itilde;":"Ĩ","itilde;":"ĩ","Jsercy;":"Ј","jsercy;":"ј","kappav;":"ϰ","Kcedil;":"Ķ","kcedil;":"ķ","kgreen;":"ĸ","Lacute;":"Ĺ","lacute;":"ĺ","lagran;":"ℒ","Lambda;":"Λ","lambda;":"λ","langle;":"⟨","larrfs;":"⤝","larrhk;":"↩","larrlp;":"↫","larrpl;":"⤹","larrtl;":"↢","lAtail;":"⤛","latail;":"⤙","lbrace;":"{","lbrack;":"[","Lcaron;":"Ľ","lcaron;":"ľ","Lcedil;":"Ļ","lcedil;":"ļ","ldquor;":"„","lesdot;":"⩿","lesges;":"⪓","lfisht;":"⥼","lfloor;":"⌊","lharul;":"⥪","llhard;":"⥫","Lmidot;":"Ŀ","lmidot;":"ŀ","lmoust;":"⎰","loplus;":"⨭","lowast;":"∗","lowbar;":"_","lparlt;":"⦓","lrhard;":"⥭","lsaquo;":"‹","lsquor;":"‚","Lstrok;":"Ł","lstrok;":"ł","lthree;":"⋋","ltimes;":"⋉","ltlarr;":"⥶","ltrPar;":"⦖","mapsto;":"↦","marker;":"▮","mcomma;":"⨩","midast;":"*","midcir;":"⫰","middot;":"·","minusb;":"⊟","minusd;":"∸","mnplus;":"∓","models;":"⊧","mstpos;":"∾","Nacute;":"Ń","nacute;":"ń","nbumpe;":"≏̸","Ncaron;":"Ň","ncaron;":"ň","Ncedil;":"Ņ","ncedil;":"ņ","nearhk;":"⤤","nequiv;":"≢","nesear;":"⤨","nexist;":"∄","nltrie;":"⋬","notinE;":"⋹̸","nparsl;":"⫽⃥","nprcue;":"⋠","nrarrc;":"⤳̸","nrarrw;":"↝̸","nrtrie;":"⋭","nsccue;":"⋡","nsimeq;":"≄","Ntilde;":"Ñ","ntilde;":"ñ","numero;":"№","nVDash;":"⊯","nVdash;":"⊮","nvDash;":"⊭","nvdash;":"⊬","nvHarr;":"⤄","nvlArr;":"⤂","nvrArr;":"⤃","nwarhk;":"⤣","nwnear;":"⤧","Oacute;":"Ó","oacute;":"ó","Odblac;":"Ő","odblac;":"ő","odsold;":"⦼","Ograve;":"Ò","ograve;":"ò","ominus;":"⊖","origof;":"⊶","Oslash;":"Ø","oslash;":"ø","Otilde;":"Õ","otilde;":"õ","Otimes;":"⨷","otimes;":"⊗","parsim;":"⫳","percnt;":"%","period;":".","permil;":"‰","phmmat;":"ℳ","planck;":"ℏ","plankv;":"ℏ","plusdo;":"∔","plusdu;":"⨥","plusmn;":"±","preceq;":"⪯","primes;":"ℙ","prnsim;":"⋨","propto;":"∝","prurel;":"⊰","puncsp;":" ","qprime;":"⁗","Racute;":"Ŕ","racute;":"ŕ","rangle;":"⟩","rarrap;":"⥵","rarrfs;":"⤞","rarrhk;":"↪","rarrlp;":"↬","rarrpl;":"⥅","Rarrtl;":"⤖","rarrtl;":"↣","rAtail;":"⤜","ratail;":"⤚","rbrace;":"}","rbrack;":"]","Rcaron;":"Ř","rcaron;":"ř","Rcedil;":"Ŗ","rcedil;":"ŗ","rdquor;":"”","rfisht;":"⥽","rfloor;":"⌋","rharul;":"⥬","rmoust;":"⎱","roplus;":"⨮","rpargt;":"⦔","rsaquo;":"›","rsquor;":"’","rthree;":"⋌","rtimes;":"⋊","Sacute;":"Ś","sacute;":"ś","Scaron;":"Š","scaron;":"š","Scedil;":"Ş","scedil;":"ş","scnsim;":"⋩","searhk;":"⤥","seswar;":"⤩","sfrown;":"⌢","SHCHcy;":"Щ","shchcy;":"щ","sigmaf;":"ς","sigmav;":"ς","simdot;":"⩪","smashp;":"⨳","SOFTcy;":"Ь","softcy;":"ь","solbar;":"⌿","spades;":"♠","sqcaps;":"⊓︀","sqcups;":"⊔︀","sqsube;":"⊑","sqsupe;":"⊒","Square;":"□","square;":"□","squarf;":"▪","ssetmn;":"∖","ssmile;":"⌣","sstarf;":"⋆","subdot;":"⪽","Subset;":"⋐","subset;":"⊂","subsim;":"⫇","subsub;":"⫕","subsup;":"⫓","succeq;":"⪰","supdot;":"⪾","Supset;":"⋑","supset;":"⊃","supsim;":"⫈","supsub;":"⫔","supsup;":"⫖","swarhk;":"⤦","swnwar;":"⤪","target;":"⌖","Tcaron;":"Ť","tcaron;":"ť","Tcedil;":"Ţ","tcedil;":"ţ","telrec;":"⌕","there4;":"∴","thetav;":"ϑ","thinsp;":" ","thksim;":"∼","timesb;":"⊠","timesd;":"⨰","topbot;":"⌶","topcir;":"⫱","tprime;":"‴","tridot;":"◬","Tstrok;":"Ŧ","tstrok;":"ŧ","Uacute;":"Ú","uacute;":"ú","Ubreve;":"Ŭ","ubreve;":"ŭ","Udblac;":"Ű","udblac;":"ű","ufisht;":"⥾","Ugrave;":"Ù","ugrave;":"ù","ulcorn;":"⌜","ulcrop;":"⌏","urcorn;":"⌝","urcrop;":"⌎","Utilde;":"Ũ","utilde;":"ũ","vangrt;":"⦜","varphi;":"ϕ","varrho;":"ϱ","Vdashl;":"⫦","veebar;":"⊻","vellip;":"⋮","Verbar;":"‖","verbar;":"|","vsubnE;":"⫋︀","vsubne;":"⊊︀","vsupnE;":"⫌︀","vsupne;":"⊋︀","Vvdash;":"⊪","wedbar;":"⩟","wedgeq;":"≙","weierp;":"℘","wreath;":"≀","xoplus;":"⨁","xotime;":"⨂","xsqcup;":"⨆","xuplus;":"⨄","xwedge;":"⋀","Yacute;":"Ý","yacute;":"ý","Zacute;":"Ź","zacute;":"ź","Zcaron;":"Ž","zcaron;":"ž","zeetrf;":"ℨ","alefsym;":"ℵ","angrtvb;":"⊾","angzarr;":"⍼","asympeq;":"≍","backsim;":"∽","Because;":"∵","because;":"∵","bemptyv;":"⦰","between;":"≬","bigcirc;":"◯","bigodot;":"⨀","bigstar;":"★","bnequiv;":"≡⃥","boxplus;":"⊞","Cayleys;":"ℭ","Cconint;":"∰","ccupssm;":"⩐","Cedilla;":"¸","cemptyv;":"⦲","cirscir;":"⧂","coloneq;":"≔","congdot;":"⩭","cudarrl;":"⤸","cudarrr;":"⤵","cularrp;":"⤽","curarrm;":"⤼","dbkarow;":"⤏","ddagger;":"‡","ddotseq;":"⩷","demptyv;":"⦱","Diamond;":"⋄","diamond;":"⋄","digamma;":"ϝ","dotplus;":"∔","DownTee;":"⊤","dwangle;":"⦦","Element;":"∈","Epsilon;":"Ε","epsilon;":"ε","eqcolon;":"≕","equivDD;":"⩸","gesdoto;":"⪂","gtquest;":"⩼","gtrless;":"≷","harrcir;":"⥈","Implies;":"⇒","intprod;":"⨼","isindot;":"⋵","larrbfs;":"⤟","larrsim;":"⥳","lbrksld;":"⦏","lbrkslu;":"⦍","ldrdhar;":"⥧","LeftTee;":"⊣","lesdoto;":"⪁","lessdot;":"⋖","lessgtr;":"≶","lesssim;":"≲","lotimes;":"⨴","lozenge;":"◊","ltquest;":"⩻","luruhar;":"⥦","maltese;":"✠","minusdu;":"⨪","napprox;":"≉","natural;":"♮","nearrow;":"↗","NewLine;":"\n","nexists;":"∄","NoBreak;":"","notinva;":"∉","notinvb;":"⋷","notinvc;":"⋶","NotLess;":"≮","notniva;":"∌","notnivb;":"⋾","notnivc;":"⋽","npolint;":"⨔","npreceq;":"⪯̸","nsqsube;":"⋢","nsqsupe;":"⋣","nsubset;":"⊂⃒","nsucceq;":"⪰̸","nsupset;":"⊃⃒","nvinfin;":"⧞","nvltrie;":"⊴⃒","nvrtrie;":"⊵⃒","nwarrow;":"↖","olcross;":"⦻","Omicron;":"Ο","omicron;":"ο","orderof;":"ℴ","orslope;":"⩗","OverBar;":"‾","pertenk;":"‱","planckh;":"ℎ","pluscir;":"⨢","plussim;":"⨦","plustwo;":"⨧","precsim;":"≾","Product;":"∏","quatint;":"⨖","questeq;":"≟","rarrbfs;":"⤠","rarrsim;":"⥴","rbrksld;":"⦎","rbrkslu;":"⦐","rdldhar;":"⥩","realine;":"ℛ","rotimes;":"⨵","ruluhar;":"⥨","searrow;":"↘","simplus;":"⨤","simrarr;":"⥲","subedot;":"⫃","submult;":"⫁","subplus;":"⪿","subrarr;":"⥹","succsim;":"≿","supdsub;":"⫘","supedot;":"⫄","suphsol;":"⟉","suphsub;":"⫗","suplarr;":"⥻","supmult;":"⫂","supplus;":"⫀","swarrow;":"↙","topfork;":"⫚","triplus;":"⨹","tritime;":"⨻","UpArrow;":"↑","Uparrow;":"⇑","uparrow;":"↑","Upsilon;":"Υ","upsilon;":"υ","uwangle;":"⦧","vzigzag;":"⦚","zigrarr;":"⇝","andslope;":"⩘","angmsdaa;":"⦨","angmsdab;":"⦩","angmsdac;":"⦪","angmsdad;":"⦫","angmsdae;":"⦬","angmsdaf;":"⦭","angmsdag;":"⦮","angmsdah;":"⦯","angrtvbd;":"⦝","approxeq;":"≊","awconint;":"∳","backcong;":"≌","barwedge;":"⌅","bbrktbrk;":"⎶","bigoplus;":"⨁","bigsqcup;":"⨆","biguplus;":"⨄","bigwedge;":"⋀","boxminus;":"⊟","boxtimes;":"⊠","bsolhsub;":"⟈","capbrcup;":"⩉","circledR;":"®","circledS;":"Ⓢ","cirfnint;":"⨐","clubsuit;":"♣","cupbrcap;":"⩈","curlyvee;":"⋎","cwconint;":"∲","DDotrahd;":"⤑","doteqdot;":"≑","DotEqual;":"≐","dotminus;":"∸","drbkarow;":"⤐","dzigrarr;":"⟿","elinters;":"⏧","emptyset;":"∅","eqvparsl;":"⧥","fpartint;":"⨍","geqslant;":"⩾","gesdotol;":"⪄","gnapprox;":"⪊","hksearow;":"⤥","hkswarow;":"⤦","imagline;":"ℐ","imagpart;":"ℑ","infintie;":"⧝","integers;":"ℤ","Integral;":"∫","intercal;":"⊺","intlarhk;":"⨗","laemptyv;":"⦴","ldrushar;":"⥋","leqslant;":"⩽","lesdotor;":"⪃","LessLess;":"⪡","llcorner;":"⌞","lnapprox;":"⪉","lrcorner;":"⌟","lurdshar;":"⥊","mapstoup;":"↥","multimap;":"⊸","naturals;":"ℕ","ncongdot;":"⩭̸","NotEqual;":"≠","notindot;":"⋵̸","NotTilde;":"≁","otimesas;":"⨶","parallel;":"∥","PartialD;":"∂","plusacir;":"⨣","pointint;":"⨕","Precedes;":"≺","precneqq;":"⪵","precnsim;":"⋨","profalar;":"⌮","profline;":"⌒","profsurf;":"⌓","raemptyv;":"⦳","realpart;":"ℜ","RightTee;":"⊢","rppolint;":"⨒","rtriltri;":"⧎","scpolint;":"⨓","setminus;":"∖","shortmid;":"∣","smeparsl;":"⧤","sqsubset;":"⊏","sqsupset;":"⊐","subseteq;":"⊆","Succeeds;":"≻","succneqq;":"⪶","succnsim;":"⋩","SuchThat;":"∋","Superset;":"⊃","supseteq;":"⊇","thetasym;":"ϑ","thicksim;":"∼","timesbar;":"⨱","triangle;":"▵","triminus;":"⨺","trpezium;":"⏢","Uarrocir;":"⥉","ulcorner;":"⌜","UnderBar;":"_","urcorner;":"⌝","varkappa;":"ϰ","varsigma;":"ς","vartheta;":"ϑ","backprime;":"‵","backsimeq;":"⋍","Backslash;":"∖","bigotimes;":"⨂","CenterDot;":"·","centerdot;":"·","checkmark;":"✓","CircleDot;":"⊙","complexes;":"ℂ","Congruent;":"≡","Coproduct;":"∐","dotsquare;":"⊡","DoubleDot;":"¨","DownArrow;":"↓","Downarrow;":"⇓","downarrow;":"↓","DownBreve;":"̑","gtrapprox;":"⪆","gtreqless;":"⋛","gvertneqq;":"≩︀","heartsuit;":"♥","HumpEqual;":"≏","LeftArrow;":"←","Leftarrow;":"⇐","leftarrow;":"←","LeftFloor;":"⌊","lesseqgtr;":"⋚","LessTilde;":"≲","lvertneqq;":"≨︀","Mellintrf;":"ℳ","MinusPlus;":"∓","ngeqslant;":"⩾̸","nleqslant;":"⩽̸","NotCupCap;":"≭","NotExists;":"∄","NotSubset;":"⊂⃒","nparallel;":"∦","nshortmid;":"∤","nsubseteq;":"⊈","nsupseteq;":"⊉","OverBrace;":"⏞","pitchfork;":"⋔","PlusMinus;":"±","rationals;":"ℚ","spadesuit;":"♠","subseteqq;":"⫅","subsetneq;":"⊊","supseteqq;":"⫆","supsetneq;":"⊋","Therefore;":"∴","therefore;":"∴","ThinSpace;":" ","triangleq;":"≜","TripleDot;":"⃛","UnionPlus;":"⊎","varpropto;":"∝","Bernoullis;":"ℬ","circledast;":"⊛","CirclePlus;":"⊕","complement;":"∁","curlywedge;":"⋏","eqslantgtr;":"⪖","EqualTilde;":"≂","Fouriertrf;":"ℱ","gtreqqless;":"⪌","ImaginaryI;":"ⅈ","Laplacetrf;":"ℒ","LeftVector;":"↼","lessapprox;":"⪅","lesseqqgtr;":"⪋","Lleftarrow;":"⇚","lmoustache;":"⎰","longmapsto;":"⟼","mapstodown;":"↧","mapstoleft;":"↤","nLeftarrow;":"⇍","nleftarrow;":"↚","NotElement;":"∉","NotGreater;":"≯","nsubseteqq;":"⫅̸","nsupseteqq;":"⫆̸","precapprox;":"⪷","Proportion;":"∷","RightArrow;":"→","Rightarrow;":"⇒","rightarrow;":"→","RightFloor;":"⌋","rmoustache;":"⎱","sqsubseteq;":"⊑","sqsupseteq;":"⊒","subsetneqq;":"⫋","succapprox;":"⪸","supsetneqq;":"⫌","ThickSpace;":" ","TildeEqual;":"≃","TildeTilde;":"≈","UnderBrace;":"⏟","UpArrowBar;":"⤒","UpTeeArrow;":"↥","upuparrows;":"⇈","varepsilon;":"ϵ","varnothing;":"∅","backepsilon;":"϶","blacksquare;":"▪","circledcirc;":"⊚","circleddash;":"⊝","CircleMinus;":"⊖","CircleTimes;":"⊗","curlyeqprec;":"⋞","curlyeqsucc;":"⋟","diamondsuit;":"♦","eqslantless;":"⪕","Equilibrium;":"⇌","expectation;":"ℰ","GreaterLess;":"≷","LeftCeiling;":"⌈","LessGreater;":"≶","MediumSpace;":" ","NotLessLess;":"≪̸","NotPrecedes;":"⊀","NotSucceeds;":"⊁","NotSuperset;":"⊃⃒","nRightarrow;":"⇏","nrightarrow;":"↛","OverBracket;":"⎴","preccurlyeq;":"≼","precnapprox;":"⪹","quaternions;":"ℍ","RightVector;":"⇀","Rrightarrow;":"⇛","RuleDelayed;":"⧴","SmallCircle;":"∘","SquareUnion;":"⊔","straightphi;":"ϕ","SubsetEqual;":"⊆","succcurlyeq;":"≽","succnapprox;":"⪺","thickapprox;":"≈","UpDownArrow;":"↕","Updownarrow;":"⇕","updownarrow;":"↕","VerticalBar;":"∣","blacklozenge;":"⧫","DownArrowBar;":"⤓","DownTeeArrow;":"↧","ExponentialE;":"ⅇ","exponentiale;":"ⅇ","GreaterEqual;":"≥","GreaterTilde;":"≳","HilbertSpace;":"ℋ","HumpDownHump;":"≎","Intersection;":"⋂","LeftArrowBar;":"⇤","LeftTeeArrow;":"↤","LeftTriangle;":"⊲","LeftUpVector;":"↿","NotCongruent;":"≢","NotHumpEqual;":"≏̸","NotLessEqual;":"≰","NotLessTilde;":"≴","Proportional;":"∝","RightCeiling;":"⌉","risingdotseq;":"≓","RoundImplies;":"⥰","ShortUpArrow;":"↑","SquareSubset;":"⊏","triangledown;":"▿","triangleleft;":"◃","UnderBracket;":"⎵","varsubsetneq;":"⊊︀","varsupsetneq;":"⊋︀","VerticalLine;":"|","ApplyFunction;":"","bigtriangleup;":"△","blacktriangle;":"▴","DifferentialD;":"ⅆ","divideontimes;":"⋇","DoubleLeftTee;":"⫤","DoubleUpArrow;":"⇑","fallingdotseq;":"≒","hookleftarrow;":"↩","leftarrowtail;":"↢","leftharpoonup;":"↼","LeftTeeVector;":"⥚","LeftVectorBar;":"⥒","LessFullEqual;":"≦","LongLeftArrow;":"⟵","Longleftarrow;":"⟸","longleftarrow;":"⟵","looparrowleft;":"↫","measuredangle;":"∡","NotEqualTilde;":"≂̸","NotTildeEqual;":"≄","NotTildeTilde;":"≉","ntriangleleft;":"⋪","Poincareplane;":"ℌ","PrecedesEqual;":"⪯","PrecedesTilde;":"≾","RightArrowBar;":"⇥","RightTeeArrow;":"↦","RightTriangle;":"⊳","RightUpVector;":"↾","shortparallel;":"∥","smallsetminus;":"∖","SucceedsEqual;":"⪰","SucceedsTilde;":"≿","SupersetEqual;":"⊇","triangleright;":"▹","UpEquilibrium;":"⥮","upharpoonleft;":"↿","varsubsetneqq;":"⫋︀","varsupsetneqq;":"⫌︀","VerticalTilde;":"≀","VeryThinSpace;":" ","curvearrowleft;":"↶","DiacriticalDot;":"˙","doublebarwedge;":"⌆","DoubleRightTee;":"⊨","downdownarrows;":"⇊","DownLeftVector;":"↽","GreaterGreater;":"⪢","hookrightarrow;":"↪","HorizontalLine;":"─","InvisibleComma;":"","InvisibleTimes;":"","LeftDownVector;":"⇃","leftleftarrows;":"⇇","LeftRightArrow;":"↔","Leftrightarrow;":"⇔","leftrightarrow;":"↔","leftthreetimes;":"⋋","LessSlantEqual;":"⩽","LongRightArrow;":"⟶","Longrightarrow;":"⟹","longrightarrow;":"⟶","looparrowright;":"↬","LowerLeftArrow;":"↙","NestedLessLess;":"≪","NotGreaterLess;":"≹","NotLessGreater;":"≸","NotSubsetEqual;":"⊈","NotVerticalBar;":"∤","nshortparallel;":"∦","ntriangleright;":"⋫","OpenCurlyQuote;":"‘","ReverseElement;":"∋","rightarrowtail;":"↣","rightharpoonup;":"⇀","RightTeeVector;":"⥛","RightVectorBar;":"⥓","ShortDownArrow;":"↓","ShortLeftArrow;":"←","SquareSuperset;":"⊐","TildeFullEqual;":"≅","trianglelefteq;":"⊴","upharpoonright;":"↾","UpperLeftArrow;":"↖","ZeroWidthSpace;":"","bigtriangledown;":"▽","circlearrowleft;":"↺","CloseCurlyQuote;":"’","ContourIntegral;":"∮","curvearrowright;":"↷","DoubleDownArrow;":"⇓","DoubleLeftArrow;":"⇐","downharpoonleft;":"⇃","DownRightVector;":"⇁","leftharpoondown;":"↽","leftrightarrows;":"⇆","LeftRightVector;":"⥎","LeftTriangleBar;":"⧏","LeftUpTeeVector;":"⥠","LeftUpVectorBar;":"⥘","LowerRightArrow;":"↘","nLeftrightarrow;":"⇎","nleftrightarrow;":"↮","NotGreaterEqual;":"≱","NotGreaterTilde;":"≵","NotHumpDownHump;":"≎̸","NotLeftTriangle;":"⋪","NotSquareSubset;":"⊏̸","ntrianglelefteq;":"⋬","OverParenthesis;":"⏜","RightDownVector;":"⇂","rightleftarrows;":"⇄","rightsquigarrow;":"↝","rightthreetimes;":"⋌","ShortRightArrow;":"→","straightepsilon;":"ϵ","trianglerighteq;":"⊵","UpperRightArrow;":"↗","vartriangleleft;":"⊲","circlearrowright;":"↻","DiacriticalAcute;":"´","DiacriticalGrave;":"`","DiacriticalTilde;":"˜","DoubleRightArrow;":"⇒","DownArrowUpArrow;":"⇵","downharpoonright;":"⇂","EmptySmallSquare;":"◻","GreaterEqualLess;":"⋛","GreaterFullEqual;":"≧","LeftAngleBracket;":"⟨","LeftUpDownVector;":"⥑","LessEqualGreater;":"⋚","NonBreakingSpace;":" ","NotPrecedesEqual;":"⪯̸","NotRightTriangle;":"⋫","NotSucceedsEqual;":"⪰̸","NotSucceedsTilde;":"≿̸","NotSupersetEqual;":"⊉","ntrianglerighteq;":"⋭","rightharpoondown;":"⇁","rightrightarrows;":"⇉","RightTriangleBar;":"⧐","RightUpTeeVector;":"⥜","RightUpVectorBar;":"⥔","twoheadleftarrow;":"↞","UnderParenthesis;":"⏝","UpArrowDownArrow;":"⇅","vartriangleright;":"⊳","blacktriangledown;":"▾","blacktriangleleft;":"◂","DoubleUpDownArrow;":"⇕","DoubleVerticalBar;":"∥","DownLeftTeeVector;":"⥞","DownLeftVectorBar;":"⥖","FilledSmallSquare;":"◼","GreaterSlantEqual;":"⩾","LeftDoubleBracket;":"⟦","LeftDownTeeVector;":"⥡","LeftDownVectorBar;":"⥙","leftrightharpoons;":"⇋","LeftTriangleEqual;":"⊴","NegativeThinSpace;":"","NotGreaterGreater;":"≫̸","NotLessSlantEqual;":"⩽̸","NotNestedLessLess;":"⪡̸","NotReverseElement;":"∌","NotSquareSuperset;":"⊐̸","NotTildeFullEqual;":"≇","RightAngleBracket;":"⟩","rightleftharpoons;":"⇌","RightUpDownVector;":"⥏","SquareSubsetEqual;":"⊑","twoheadrightarrow;":"↠","VerticalSeparator;":"❘","blacktriangleright;":"▸","DownRightTeeVector;":"⥟","DownRightVectorBar;":"⥗","LongLeftRightArrow;":"⟷","Longleftrightarrow;":"⟺","longleftrightarrow;":"⟷","NegativeThickSpace;":"","NotLeftTriangleBar;":"⧏̸","PrecedesSlantEqual;":"≼","ReverseEquilibrium;":"⇋","RightDoubleBracket;":"⟧","RightDownTeeVector;":"⥝","RightDownVectorBar;":"⥕","RightTriangleEqual;":"⊵","SquareIntersection;":"⊓","SucceedsSlantEqual;":"≽","DoubleLongLeftArrow;":"⟸","DownLeftRightVector;":"⥐","LeftArrowRightArrow;":"⇆","leftrightsquigarrow;":"↭","NegativeMediumSpace;":"","NotGreaterFullEqual;":"≧̸","NotRightTriangleBar;":"⧐̸","RightArrowLeftArrow;":"⇄","SquareSupersetEqual;":"⊒","CapitalDifferentialD;":"ⅅ","DoubleLeftRightArrow;":"⇔","DoubleLongRightArrow;":"⟹","EmptyVerySmallSquare;":"▫","NestedGreaterGreater;":"≫","NotDoubleVerticalBar;":"∦","NotGreaterSlantEqual;":"⩾̸","NotLeftTriangleEqual;":"⋬","NotSquareSubsetEqual;":"⋢","OpenCurlyDoubleQuote;":"“","ReverseUpEquilibrium;":"⥯","CloseCurlyDoubleQuote;":"”","DoubleContourIntegral;":"∯","FilledVerySmallSquare;":"▪","NegativeVeryThinSpace;":"","NotPrecedesSlantEqual;":"⋠","NotRightTriangleEqual;":"⋭","NotSucceedsSlantEqual;":"⋡","DiacriticalDoubleAcute;":"˝","NotSquareSupersetEqual;":"⋣","NotNestedGreaterGreater;":"⪢̸","ClockwiseContourIntegral;":"∲","DoubleLongLeftRightArrow;":"⟺","CounterClockwiseContourIntegral;":"∳"};let La;const Ma={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},Da=y("style,iframe,script,noscript",!0),ja={isVoidTag:O,isNativeTag:e=>C(e)||k(e),isPreTag:e=>"pre"===e,decodeEntities:(e,t)=>{let r=0;const s=e.length;let n="";function i(t){r+=t,e=e.slice(t)}for(;r<s;){const o=/&(?:#x?)?/i.exec(e);if(!o||r+o.index>=s){const t=s-r;n+=e.slice(0,t),i(t);break}if(n+=e.slice(0,o.index),i(o.index),"&"===o[0]){let r,s="";if(/[0-9a-z]/i.test(e[1])){La||(La=Object.keys(Ra).reduce(((e,t)=>Math.max(e,t.length)),0));for(let t=La;!r&&t>0;--t)s=e.slice(1,1+t),r=Ra[s];if(r){const o=s.endsWith(";");t&&!o&&/[=a-z0-9]/i.test(e[s.length+1]||"")?(n+="&"+s,i(1+s.length)):(n+=r,i(1+s.length))}else n+="&"+s,i(1+s.length)}else n+="&",i(1)}else{const t="&#x"===o[0],r=(t?/^&#x([0-9a-f]+);?/i:/^&#([0-9]+);?/).exec(e);if(r){let e=Number.parseInt(r[1],t?16:10);0===e||e>1114111||e>=55296&&e<=57343?e=65533:e>=64976&&e<=65007||65534==(65534&e)||(e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159)&&(e=Ma[e]||e),n+=String.fromCodePoint(e),i(r[0].length)}else n+=o[0],i(o[0].length)}}return n},isBuiltInComponent:e=>Gs(e,"Transition")?Na:Gs(e,"TransitionGroup")?Ia:void 0,getNamespace(e,t){let r=t?t.ns:0;if(t&&2===r)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(r=0);else t&&1===r&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(r=0));if(0===r){if("svg"===e)return 1;if("math"===e)return 2}return r},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Da(e))return 2}return 0}},Fa=e=>{1===e.type&&e.props.forEach(((t,r)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[r]={type:7,name:"bind",arg:ht("style",!0,t.loc),exp:Ba(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},Ba=(e,t)=>{const r=T(e);return ht(JSON.stringify(r),!1,t,3)};function Ua(e,t){return me(e,t,qa)}const qa={51:"v-html is missing expression.",52:"v-html will override element children.",53:"v-text is missing expression.",54:"v-text will override element children.",55:"v-model can only be used on <input>, <textarea> and <select> elements.",56:"v-model argument is not supported on plain elements.",57:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",58:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",59:"v-show is missing expression.",60:"<Transition> expects exactly one child element or component.",61:"Tags with side effect (<script> and <style>) are ignored in client component templates."},$a=y("passive,once,capture"),Ha=y("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Va=y("left,right"),Wa=y("onkeyup,onkeydown,onkeypress",!0),Ga=(e,t)=>Ws(e)&&"onclick"===e.content.toLowerCase()?ht(t,!0):4!==e.type?ut(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e;function za(e){const t=e.children=e.children.filter((e=>3!==e.type&&!(2===e.type&&!e.content.trim()))),r=t[0];return 1!==t.length||11===r.type||9===r.type&&r.branches.some(za)}const Ka=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,Ya=(e,t,r)=>{if(t.scopes.vSlot>0)return;let s=0,n=0;const i=[],o=r=>{if(s>=20||n>=5){const s=pt(t.helper(ke),[JSON.stringify(i.map((e=>rc(e,t))).join("")).replace(Ka,'" + $1 + "'),String(i.length)]);if(Za(i[0],s,t),i.length>1){for(let e=1;e<i.length;e++)Za(i[e],null,t);const s=i.length-1;return e.splice(r-i.length+1,s),s}}return 0};let a=0;for(;a<e.length;a++){const t=e[a];if(Ja(t)){const e=t,r=tc(e);if(r){s+=r[0],n+=r[1],i.push(e);continue}}a-=o(a),s=0,n=0,i.length=0}o(a)},Ja=e=>(1===e.type&&0===e.tagType||12==e.type)&&e.codegenNode&&4===e.codegenNode.type&&e.codegenNode.hoisted,Xa=/^(data|aria)-/,Qa=(e,t)=>(0===t?I(e):1===t&&R(e))||Xa.test(e),Za=(e,t,r)=>{const s=e.codegenNode.hoisted;r.hoists[r.hoists.indexOf(s)]=t},ec=y("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function tc(e){if(1===e.type&&ec(e.tag))return!1;if(12===e.type)return[1,0];let t=1,r=e.props.length>0?1:0,s=!1;const n=()=>(s=!0,!1);return!!function e(i){for(let e=0;e<i.props.length;e++){const t=i.props[e];if(6===t.type&&!Qa(t.name,i.ns))return n();if(7===t.type&&"bind"===t.name){if(t.arg&&(8===t.arg.type||t.arg.isStatic&&!Qa(t.arg.content,i.ns)))return n();if(t.exp&&(8===t.exp.type||t.exp.constType<3))return n()}}for(let n=0;n<i.children.length;n++){t++;const o=i.children[n];if(1===o.type&&(o.props.length>0&&r++,e(o),s))return!1}return!0}(e)&&[t,r]}function rc(e,t){if(J(e))return e;if(X(e))return"";switch(e.type){case 1:return function(e,t){let r=`<${e.tag}`,s="";for(let t=0;t<e.props.length;t++){const n=e.props[t];if(6===n.type)r+=` ${n.name}`,n.value&&(r+=`="${M(n.value.content)}"`);else if(7===n.type)if("bind"===n.name){const e=n.exp;if("_"===e.content[0]){r+=` ${n.arg.content}="__VUE_EXP_START__${e.content}__VUE_EXP_END__"`;continue}if(N(n.arg.content)&&"false"===e.content)continue;let t=sc(e);if(null!=t){const e=n.arg&&n.arg.content;"class"===e?t=A(t):"style"===e&&(t=P(w(t))),r+=` ${n.arg.content}="${M(t)}"`}}else"html"===n.name?s=sc(n.exp):"text"===n.name&&(s=M(D(sc(n.exp))))}if(t.scopeId&&(r+=` ${t.scopeId}`),r+=">",s)r+=s;else for(let s=0;s<e.children.length;s++)r+=rc(e.children[s],t);return O(e.tag)||(r+=`</${e.tag}>`),r}(e,t);case 2:return M(e.content);case 3:return`\x3c!--${M(e.content)}--\x3e`;case 5:return M(D(sc(e.content)));case 8:return M(sc(e));case 12:return rc(e.content,t);default:return""}}function sc(e){if(4===e.type)return new Function(`return ${e.content}`)();{let t="";return e.children.forEach((e=>{J(e)||X(e)||(2===e.type?t+=e.content:5===e.type?t+=D(sc(e.content)):t+=sc(e))})),t}}const nc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(Ua(61,e.loc)),t.removeNode())},ic=[Fa,(e,t)=>{if(1===e.type&&1===e.tagType&&t.isBuiltInComponent(e.tag)===Na)return()=>{if(!e.children.length)return;za(e)&&t.onError(Ua(60,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}));const r=e.children[0];if(1===r.type)for(const t of r.props)7===t.type&&"show"===t.name&&e.props.push({type:6,name:"persisted",value:void 0,loc:e.loc})}}],oc={cloak:Ea,html:(e,t,r)=>{const{exp:s,loc:n}=e;return s||r.onError(Ua(51,n)),t.children.length&&(r.onError(Ua(52,n)),t.children.length=0),{props:[lt(ht("innerHTML",!0,n),s||ht("",!0))]}},text:(e,t,r)=>{const{exp:s,loc:n}=e;return s||r.onError(Ua(53,n)),t.children.length&&(r.onError(Ua(54,n)),t.children.length=0),{props:[lt(ht("textContent",!0),s?si(s,r)>0?s:pt(r.helperString(Fe),[s],n):ht("",!0))]}},model:(e,t,r)=>{const s=ga(e,t,r);if(!s.props.length||1===t.tagType)return s;function n(){const e=an(t,"value");e&&r.onError(Ua(58,e.loc))}e.arg&&r.onError(Ua(56,e.arg.loc));const{tag:i}=t,o=r.isCustomElement(i);if("input"===i||"textarea"===i||"select"===i||o){let a=Ta,c=!1;if("input"===i||o){const s=an(t,"type");if(s){if(7===s.type)a=Aa;else if(s.value)switch(s.value.content){case"radio":a=Sa;break;case"checkbox":a=_a;break;case"file":c=!0,r.onError(Ua(57,e.loc));break;default:n()}}else ln(t)?a=Aa:n()}else"select"===i?a=Pa:n();c||(s.needRuntime=r.helper(a))}else r.onError(Ua(55,e.loc));return s.props=s.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),s},on:(e,t,r)=>ha(e,t,r,(t=>{const{modifiers:s}=e;if(!s.length)return t;let{key:n,value:i}=t.props[0];const{keyModifiers:o,nonKeyModifiers:a,eventOptionModifiers:c}=((e,t,r,s)=>{const n=[],i=[],o=[];for(let r=0;r<t.length;r++){const s=t[r];$a(s)?o.push(s):Va(s)?Ws(e)?Wa(e.content)?n.push(s):i.push(s):(n.push(s),i.push(s)):Ha(s)?i.push(s):n.push(s)}return{keyModifiers:n,nonKeyModifiers:i,eventOptionModifiers:o}})(n,s,0,e.loc);if(a.includes("right")&&(n=Ga(n,"onContextmenu")),a.includes("middle")&&(n=Ga(n,"onMouseup")),a.length&&(i=pt(r.helper(Ca),[i,JSON.stringify(a)])),!o.length||Ws(n)&&!Wa(n.content)||(i=pt(r.helper(ka),[i,JSON.stringify(o)])),c.length){const e=c.map(le).join("");n=Ws(n)?ht(`${n.content}${e}`,!0):ut(["(",n,`) + "${e}"`])}return{props:[lt(n,i)]}})),show:(e,t,r)=>{const{exp:s,loc:n}=e;return s||r.onError(Ua(59,n)),{props:[],needRuntime:r.helper(Oa)}}};var ac=Object.freeze({__proto__:null,BASE_TRANSITION:we,CAMELIZE:We,CAPITALIZE:Ge,CREATE_BLOCK:Se,CREATE_COMMENT:Ae,CREATE_ELEMENT_BLOCK:_e,CREATE_ELEMENT_VNODE:Pe,CREATE_SLOTS:je,CREATE_STATIC:ke,CREATE_TEXT:Ce,CREATE_VNODE:Te,DOMDirectiveTransforms:oc,DOMNodeTransforms:ic,FRAGMENT:ye,GUARD_REACTIVE_PROPS:He,IS_MEMO_SAME:tt,IS_REF:Ze,KEEP_ALIVE:xe,MERGE_PROPS:Be,NORMALIZE_CLASS:Ue,NORMALIZE_PROPS:$e,NORMALIZE_STYLE:qe,OPEN_BLOCK:Ee,POP_SCOPE_ID:Je,PUSH_SCOPE_ID:Ye,RENDER_LIST:Me,RENDER_SLOT:De,RESOLVE_COMPONENT:Oe,RESOLVE_DIRECTIVE:Ie,RESOLVE_DYNAMIC_COMPONENT:Ne,RESOLVE_FILTER:Re,SET_BLOCK_TRACKING:Ke,SUSPENSE:ve,TELEPORT:be,TO_DISPLAY_STRING:Fe,TO_HANDLERS:Ve,TO_HANDLER_KEY:ze,TRANSITION:Na,TRANSITION_GROUP:Ia,UNREF:Qe,V_MODEL_CHECKBOX:_a,V_MODEL_DYNAMIC:Aa,V_MODEL_RADIO:Sa,V_MODEL_SELECT:Pa,V_MODEL_TEXT:Ta,V_ON_WITH_KEYS:ka,V_ON_WITH_MODIFIERS:Ca,V_SHOW:Oa,WITH_CTX:Xe,WITH_DIRECTIVES:Le,WITH_MEMO:et,advancePositionWithClone:rn,advancePositionWithMutation:sn,assert:nn,baseCompile:wa,baseParse:On,buildDirectiveArgs:ia,buildProps:ra,buildSlots:Ko,checkCompatEnabled:function(e,t,r,...s){const n=function(e,t){const r=Tn("MODE",t),s=Tn(e,t);return 3===r?!0===s:!1!==s}(e,t);return n&&Pn(e,t,r,...s),n},compile:function(e,t={}){return wa(e,H({},ja,t,{nodeTransforms:[nc,...ic,...t.nodeTransforms||[]],directiveTransforms:H({},oc,t.directiveTransforms||{}),transformHoist:Ya}))},createArrayExpression:at,createAssignmentExpression:function(e,t){return{type:24,left:e,right:t,loc:nt}},createBlockStatement:gt,createCacheExpression:mt,createCallExpression:pt,createCompilerError:me,createCompoundExpression:ut,createConditionalExpression:ft,createDOMCompilerError:Ua,createForLoopParams:Ho,createFunctionExpression:dt,createIfStatement:function(e,t,r){return{type:23,test:e,consequent:t,alternate:r,loc:nt}},createInterpolation:function(e,t){return{type:5,loc:t,content:J(e)?ht(e,!1,t):e}},createObjectExpression:ct,createObjectProperty:lt,createReturnStatement:function(e){return{type:26,returns:e,loc:nt}},createRoot:it,createSequenceExpression:function(e){return{type:25,expressions:e,loc:nt}},createSimpleExpression:ht,createStructuralDirectiveTransform:pi,createTemplateLiteral:function(e){return{type:22,elements:e,loc:nt}},createTransformContext:li,createVNodeCall:ot,extractIdentifiers:wo,findDir:on,findProp:an,generate:so,generateCodeFrame:function(e,t=0,r=e.length){let s=e.split(/(\r?\n)/);const n=s.filter(((e,t)=>t%2==1));s=s.filter(((e,t)=>t%2==0));let i=0;const o=[];for(let e=0;e<s.length;e++)if(i+=s[e].length+(n[e]&&n[e].length||0),i>=t){for(let a=e-2;a<=e+2||r>i;a++){if(a<0||a>=s.length)continue;const c=a+1;o.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${s[a]}`);const l=s[a].length,h=n[a]&&n[a].length||0;if(a===e){const e=t-(i-(l+h)),s=Math.max(1,r>i?l-e:r-t);o.push(" | "+" ".repeat(e)+"^".repeat(s))}else if(a>e){if(r>i){const e=Math.max(Math.min(r-i,l),1);o.push(" | "+"^".repeat(e))}i+=l+h}}break}return o.join("\n")},getBaseTransformPreset:xa,getConstantType:si,getInnerRange:tn,getMemoedVNodeCall:En,getVNodeBlockHelper:mn,getVNodeHelper:fn,hasDynamicKeyVBind:ln,hasScopeRef:wn,helperNameMap:rt,injectProp:bn,isBuiltInType:Gs,isCoreComponent:zs,isFunctionType:So,isInDestructureAssignment:bo,isMemberExpression:en,isMemberExpressionBrowser:e=>{e=e.trim().replace(Qs,(e=>e.trim()));let t=0,r=[],s=0,n=0,i=null;for(let o=0;o<e.length;o++){const a=e.charAt(o);switch(t){case 0:if("["===a)r.push(t),t=1,s++;else if("("===a)r.push(t),t=2,n++;else if(!(0===o?Js:Xs).test(a))return!1;break;case 1:"'"===a||'"'===a||"`"===a?(r.push(t),t=3,i=a):"["===a?s++:"]"===a&&(--s||(t=r.pop()));break;case 2:if("'"===a||'"'===a||"`"===a)r.push(t),t=3,i=a;else if("("===a)n++;else if(")"===a){if(o===e.length-1)return!1;--n||(t=r.pop())}break;case 3:a===i&&(t=r.pop(),i=null)}}return!s&&!n},isMemberExpressionNode:Zs,isReferencedIdentifier:yo,isSimpleIdentifier:Ys,isSlotOutlet:dn,isStaticArgOf:cn,isStaticExp:Ws,isStaticProperty:_o,isStaticPropertyKey:To,isTemplateNode:pn,isText:hn,isVSlot:un,locStub:nt,makeBlock:Sn,noopDirectiveTransform:Ea,parse:function(e,t={}){return On(e,H({},ja,t))},parserOptions:ja,processExpression:Co,processFor:jo,processIf:No,processSlotOutlet:ca,registerRuntimeHelpers:st,resolveComponentType:ea,stringifyExpression:ko,toValidAssetId:xn,trackSlotScopes:Wo,trackVForSlotScopes:Go,transform:hi,transformBind:ua,transformElement:Zo,transformExpression:Ao,transformModel:ga,transformOn:ha,transformStyle:Fa,traverseNode:ui,walkBlockDeclarations:xo,walkFunctionParams:vo,walkIdentifiers:go,warnDeprecation:Pn});function cc(e){return"'"===(e=e.trim())[0]&&"'"===e[e.length-1]||'"'===e[0]&&'"'===e[e.length-1]?e.slice(1,-1):e}const lc=/v-bind\s*\(/g;function hc(e,t){let r=0,s=0;for(let n=t;n<e.length;n++){const t=e.charAt(n);switch(r){case 0:if("'"===t)r=1;else if('"'===t)r=2;else if("("===t)s++;else if(")"===t){if(!(s>0))return n;s--}break;case 1:"'"===t&&(r=0);break;case 2:'"'===t&&(r=0)}}return null}function uc(e=500){return new Map}var pc="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},dc=[],fc=[],mc="undefined"!=typeof Uint8Array?Uint8Array:Array,gc=!1;function yc(){gc=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,r=e.length;t<r;++t)dc[t]=e[t],fc[e.charCodeAt(t)]=t;fc["-".charCodeAt(0)]=62,fc["_".charCodeAt(0)]=63}function bc(e,t,r){for(var s,n,i=[],o=t;o<r;o+=3)s=(e[o]<<16)+(e[o+1]<<8)+e[o+2],i.push(dc[(n=s)>>18&63]+dc[n>>12&63]+dc[n>>6&63]+dc[63&n]);return i.join("")}function vc(e){var t;gc||yc();for(var r=e.length,s=r%3,n="",i=[],o=16383,a=0,c=r-s;a<c;a+=o)i.push(bc(e,a,a+o>c?c:a+o));return 1===s?(t=e[r-1],n+=dc[t>>2],n+=dc[t<<4&63],n+="=="):2===s&&(t=(e[r-2]<<8)+e[r-1],n+=dc[t>>10],n+=dc[t>>4&63],n+=dc[t<<2&63],n+="="),i.push(n),i.join("")}function xc(e,t,r,s,n){var i,o,a=8*n-s-1,c=(1<<a)-1,l=c>>1,h=-7,u=r?n-1:0,p=r?-1:1,d=e[t+u];for(u+=p,i=d&(1<<-h)-1,d>>=-h,h+=a;h>0;i=256*i+e[t+u],u+=p,h-=8);for(o=i&(1<<-h)-1,i>>=-h,h+=s;h>0;o=256*o+e[t+u],u+=p,h-=8);if(0===i)i=1-l;else{if(i===c)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,s),i-=l}return(d?-1:1)*o*Math.pow(2,i-s)}function wc(e,t,r,s,n,i){var o,a,c,l=8*i-n-1,h=(1<<l)-1,u=h>>1,p=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,d=s?0:i-1,f=s?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=h):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+u>=1?p/c:p*Math.pow(2,1-u))*c>=2&&(o++,c/=2),o+u>=h?(a=0,o=h):o+u>=1?(a=(t*c-1)*Math.pow(2,n),o+=u):(a=t*Math.pow(2,u-1)*Math.pow(2,n),o=0));n>=8;e[r+d]=255&a,d+=f,a/=256,n-=8);for(o=o<<n|a,l+=n;l>0;e[r+d]=255&o,d+=f,o/=256,l-=8);e[r+d-f]|=128*m}var Ec={}.toString,Sc=Array.isArray||function(e){return"[object Array]"==Ec.call(e)};function _c(){return Pc.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Tc(e,t){if(_c()<t)throw new RangeError("Invalid typed array length");return Pc.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=Pc.prototype:(null===e&&(e=new Pc(t)),e.length=t),e}function Pc(e,t,r){if(!(Pc.TYPED_ARRAY_SUPPORT||this instanceof Pc))return new Pc(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return kc(this,e)}return Ac(this,e,t,r)}function Ac(e,t,r,s){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,s){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(s||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===s?new Uint8Array(t):void 0===s?new Uint8Array(t,r):new Uint8Array(t,r,s),Pc.TYPED_ARRAY_SUPPORT?(e=t).__proto__=Pc.prototype:e=Oc(e,t),e}(e,t,r,s):"string"==typeof t?function(e,t,r){if("string"==typeof r&&""!==r||(r="utf8"),!Pc.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var s=0|Rc(t,r),n=(e=Tc(e,s)).write(t,r);return n!==s&&(e=e.slice(0,n)),e}(e,t,r):function(e,t){if(Ic(t)){var r=0|Nc(t.length);return 0===(e=Tc(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(s=t.length)!=s?Tc(e,0):Oc(e,t);if("Buffer"===t.type&&Sc(t.data))return Oc(e,t.data)}var s;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function Cc(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function kc(e,t){if(Cc(t),e=Tc(e,t<0?0:0|Nc(t)),!Pc.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function Oc(e,t){var r=t.length<0?0:0|Nc(t.length);e=Tc(e,r);for(var s=0;s<r;s+=1)e[s]=255&t[s];return e}function Nc(e){if(e>=_c())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+_c().toString(16)+" bytes");return 0|e}function Ic(e){return!(null==e||!e._isBuffer)}function Rc(e,t){if(Ic(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var s=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return ol(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return al(e).length;default:if(s)return ol(e).length;t=(""+t).toLowerCase(),s=!0}}function Lc(e,t,r){var s=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Yc(this,t,r);case"utf8":case"utf-8":return Wc(this,t,r);case"ascii":return zc(this,t,r);case"latin1":case"binary":return Kc(this,t,r);case"base64":return Vc(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Jc(this,t,r);default:if(s)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function Mc(e,t,r){var s=e[t];e[t]=e[r],e[r]=s}function Dc(e,t,r,s,n){if(0===e.length)return-1;if("string"==typeof r?(s=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof t&&(t=Pc.from(t,s)),Ic(t))return 0===t.length?-1:jc(e,t,r,s,n);if("number"==typeof t)return t&=255,Pc.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):jc(e,[t],r,s,n);throw new TypeError("val must be string, number or Buffer")}function jc(e,t,r,s,n){var i,o=1,a=e.length,c=t.length;if(void 0!==s&&("ucs2"===(s=String(s).toLowerCase())||"ucs-2"===s||"utf16le"===s||"utf-16le"===s)){if(e.length<2||t.length<2)return-1;o=2,a/=2,c/=2,r/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(n){var h=-1;for(i=r;i<a;i++)if(l(e,i)===l(t,-1===h?0:i-h)){if(-1===h&&(h=i),i-h+1===c)return h*o}else-1!==h&&(i-=i-h),h=-1}else for(r+c>a&&(r=a-c),i=r;i>=0;i--){for(var u=!0,p=0;p<c;p++)if(l(e,i+p)!==l(t,p)){u=!1;break}if(u)return i}return-1}function Fc(e,t,r,s){r=Number(r)||0;var n=e.length-r;s?(s=Number(s))>n&&(s=n):s=n;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");s>i/2&&(s=i/2);for(var o=0;o<s;++o){var a=parseInt(t.substr(2*o,2),16);if(isNaN(a))return o;e[r+o]=a}return o}function Bc(e,t,r,s){return cl(ol(t,e.length-r),e,r,s)}function Uc(e,t,r,s){return cl(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,s)}function qc(e,t,r,s){return Uc(e,t,r,s)}function $c(e,t,r,s){return cl(al(t),e,r,s)}function Hc(e,t,r,s){return cl(function(e,t){for(var r,s,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)s=(r=e.charCodeAt(o))>>8,n=r%256,i.push(n),i.push(s);return i}(t,e.length-r),e,r,s)}function Vc(e,t,r){return 0===t&&r===e.length?vc(e):vc(e.slice(t,r))}function Wc(e,t,r){r=Math.min(e.length,r);for(var s=[],n=t;n<r;){var i,o,a,c,l=e[n],h=null,u=l>239?4:l>223?3:l>191?2:1;if(n+u<=r)switch(u){case 1:l<128&&(h=l);break;case 2:128==(192&(i=e[n+1]))&&(c=(31&l)<<6|63&i)>127&&(h=c);break;case 3:i=e[n+1],o=e[n+2],128==(192&i)&&128==(192&o)&&(c=(15&l)<<12|(63&i)<<6|63&o)>2047&&(c<55296||c>57343)&&(h=c);break;case 4:i=e[n+1],o=e[n+2],a=e[n+3],128==(192&i)&&128==(192&o)&&128==(192&a)&&(c=(15&l)<<18|(63&i)<<12|(63&o)<<6|63&a)>65535&&c<1114112&&(h=c)}null===h?(h=65533,u=1):h>65535&&(h-=65536,s.push(h>>>10&1023|55296),h=56320|1023&h),s.push(h),n+=u}return function(e){var t=e.length;if(t<=Gc)return String.fromCharCode.apply(String,e);for(var r="",s=0;s<t;)r+=String.fromCharCode.apply(String,e.slice(s,s+=Gc));return r}(s)}Pc.TYPED_ARRAY_SUPPORT=void 0===pc.TYPED_ARRAY_SUPPORT||pc.TYPED_ARRAY_SUPPORT,_c(),Pc.poolSize=8192,Pc._augment=function(e){return e.__proto__=Pc.prototype,e},Pc.from=function(e,t,r){return Ac(null,e,t,r)},Pc.TYPED_ARRAY_SUPPORT&&(Pc.prototype.__proto__=Uint8Array.prototype,Pc.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Pc[Symbol.species]),Pc.alloc=function(e,t,r){return function(e,t,r,s){return Cc(t),t<=0?Tc(e,t):void 0!==r?"string"==typeof s?Tc(e,t).fill(r,s):Tc(e,t).fill(r):Tc(e,t)}(null,e,t,r)},Pc.allocUnsafe=function(e){return kc(null,e)},Pc.allocUnsafeSlow=function(e){return kc(null,e)},Pc.isBuffer=function(e){return null!=e&&(!!e._isBuffer||ll(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&ll(e.slice(0,0))}(e))},Pc.compare=function(e,t){if(!Ic(e)||!Ic(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,s=t.length,n=0,i=Math.min(r,s);n<i;++n)if(e[n]!==t[n]){r=e[n],s=t[n];break}return r<s?-1:s<r?1:0},Pc.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Pc.concat=function(e,t){if(!Sc(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Pc.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var s=Pc.allocUnsafe(t),n=0;for(r=0;r<e.length;++r){var i=e[r];if(!Ic(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(s,n),n+=i.length}return s},Pc.byteLength=Rc,Pc.prototype._isBuffer=!0,Pc.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Mc(this,t,t+1);return this},Pc.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Mc(this,t,t+3),Mc(this,t+1,t+2);return this},Pc.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Mc(this,t,t+7),Mc(this,t+1,t+6),Mc(this,t+2,t+5),Mc(this,t+3,t+4);return this},Pc.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?Wc(this,0,e):Lc.apply(this,arguments)},Pc.prototype.equals=function(e){if(!Ic(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Pc.compare(this,e)},Pc.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},Pc.prototype.compare=function(e,t,r,s,n){if(!Ic(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===s&&(s=0),void 0===n&&(n=this.length),t<0||r>e.length||s<0||n>this.length)throw new RangeError("out of range index");if(s>=n&&t>=r)return 0;if(s>=n)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(n>>>=0)-(s>>>=0),o=(r>>>=0)-(t>>>=0),a=Math.min(i,o),c=this.slice(s,n),l=e.slice(t,r),h=0;h<a;++h)if(c[h]!==l[h]){i=c[h],o=l[h];break}return i<o?-1:o<i?1:0},Pc.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},Pc.prototype.indexOf=function(e,t,r){return Dc(this,e,t,r,!0)},Pc.prototype.lastIndexOf=function(e,t,r){return Dc(this,e,t,r,!1)},Pc.prototype.write=function(e,t,r,s){if(void 0===t)s="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)s=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===s&&(s="utf8")):(s=r,r=void 0)}var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");s||(s="utf8");for(var i=!1;;)switch(s){case"hex":return Fc(this,e,t,r);case"utf8":case"utf-8":return Bc(this,e,t,r);case"ascii":return Uc(this,e,t,r);case"latin1":case"binary":return qc(this,e,t,r);case"base64":return $c(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Hc(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+s);s=(""+s).toLowerCase(),i=!0}},Pc.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Gc=4096;function zc(e,t,r){var s="";r=Math.min(e.length,r);for(var n=t;n<r;++n)s+=String.fromCharCode(127&e[n]);return s}function Kc(e,t,r){var s="";r=Math.min(e.length,r);for(var n=t;n<r;++n)s+=String.fromCharCode(e[n]);return s}function Yc(e,t,r){var s=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>s)&&(r=s);for(var n="",i=t;i<r;++i)n+=il(e[i]);return n}function Jc(e,t,r){for(var s=e.slice(t,r),n="",i=0;i<s.length;i+=2)n+=String.fromCharCode(s[i]+256*s[i+1]);return n}function Xc(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function Qc(e,t,r,s,n,i){if(!Ic(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<i)throw new RangeError('"value" argument is out of bounds');if(r+s>e.length)throw new RangeError("Index out of range")}function Zc(e,t,r,s){t<0&&(t=65535+t+1);for(var n=0,i=Math.min(e.length-r,2);n<i;++n)e[r+n]=(t&255<<8*(s?n:1-n))>>>8*(s?n:1-n)}function el(e,t,r,s){t<0&&(t=4294967295+t+1);for(var n=0,i=Math.min(e.length-r,4);n<i;++n)e[r+n]=t>>>8*(s?n:3-n)&255}function tl(e,t,r,s,n,i){if(r+s>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function rl(e,t,r,s,n){return n||tl(e,0,r,4),wc(e,t,r,s,23,4),r+4}function sl(e,t,r,s,n){return n||tl(e,0,r,8),wc(e,t,r,s,52,8),r+8}Pc.prototype.slice=function(e,t){var r,s=this.length;if((e=~~e)<0?(e+=s)<0&&(e=0):e>s&&(e=s),(t=void 0===t?s:~~t)<0?(t+=s)<0&&(t=0):t>s&&(t=s),t<e&&(t=e),Pc.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=Pc.prototype;else{var n=t-e;r=new Pc(n,void 0);for(var i=0;i<n;++i)r[i]=this[i+e]}return r},Pc.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||Xc(e,t,this.length);for(var s=this[e],n=1,i=0;++i<t&&(n*=256);)s+=this[e+i]*n;return s},Pc.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||Xc(e,t,this.length);for(var s=this[e+--t],n=1;t>0&&(n*=256);)s+=this[e+--t]*n;return s},Pc.prototype.readUInt8=function(e,t){return t||Xc(e,1,this.length),this[e]},Pc.prototype.readUInt16LE=function(e,t){return t||Xc(e,2,this.length),this[e]|this[e+1]<<8},Pc.prototype.readUInt16BE=function(e,t){return t||Xc(e,2,this.length),this[e]<<8|this[e+1]},Pc.prototype.readUInt32LE=function(e,t){return t||Xc(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Pc.prototype.readUInt32BE=function(e,t){return t||Xc(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Pc.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||Xc(e,t,this.length);for(var s=this[e],n=1,i=0;++i<t&&(n*=256);)s+=this[e+i]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*t)),s},Pc.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||Xc(e,t,this.length);for(var s=t,n=1,i=this[e+--s];s>0&&(n*=256);)i+=this[e+--s]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*t)),i},Pc.prototype.readInt8=function(e,t){return t||Xc(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Pc.prototype.readInt16LE=function(e,t){t||Xc(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},Pc.prototype.readInt16BE=function(e,t){t||Xc(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},Pc.prototype.readInt32LE=function(e,t){return t||Xc(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Pc.prototype.readInt32BE=function(e,t){return t||Xc(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Pc.prototype.readFloatLE=function(e,t){return t||Xc(e,4,this.length),xc(this,e,!0,23,4)},Pc.prototype.readFloatBE=function(e,t){return t||Xc(e,4,this.length),xc(this,e,!1,23,4)},Pc.prototype.readDoubleLE=function(e,t){return t||Xc(e,8,this.length),xc(this,e,!0,52,8)},Pc.prototype.readDoubleBE=function(e,t){return t||Xc(e,8,this.length),xc(this,e,!1,52,8)},Pc.prototype.writeUIntLE=function(e,t,r,s){e=+e,t|=0,r|=0,s||Qc(this,e,t,r,Math.pow(2,8*r)-1,0);var n=1,i=0;for(this[t]=255&e;++i<r&&(n*=256);)this[t+i]=e/n&255;return t+r},Pc.prototype.writeUIntBE=function(e,t,r,s){e=+e,t|=0,r|=0,s||Qc(this,e,t,r,Math.pow(2,8*r)-1,0);var n=r-1,i=1;for(this[t+n]=255&e;--n>=0&&(i*=256);)this[t+n]=e/i&255;return t+r},Pc.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||Qc(this,e,t,1,255,0),Pc.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Pc.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||Qc(this,e,t,2,65535,0),Pc.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Zc(this,e,t,!0),t+2},Pc.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||Qc(this,e,t,2,65535,0),Pc.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Zc(this,e,t,!1),t+2},Pc.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||Qc(this,e,t,4,4294967295,0),Pc.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):el(this,e,t,!0),t+4},Pc.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||Qc(this,e,t,4,4294967295,0),Pc.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):el(this,e,t,!1),t+4},Pc.prototype.writeIntLE=function(e,t,r,s){if(e=+e,t|=0,!s){var n=Math.pow(2,8*r-1);Qc(this,e,t,r,n-1,-n)}var i=0,o=1,a=0;for(this[t]=255&e;++i<r&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+r},Pc.prototype.writeIntBE=function(e,t,r,s){if(e=+e,t|=0,!s){var n=Math.pow(2,8*r-1);Qc(this,e,t,r,n-1,-n)}var i=r-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+r},Pc.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||Qc(this,e,t,1,127,-128),Pc.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Pc.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||Qc(this,e,t,2,32767,-32768),Pc.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Zc(this,e,t,!0),t+2},Pc.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||Qc(this,e,t,2,32767,-32768),Pc.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Zc(this,e,t,!1),t+2},Pc.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||Qc(this,e,t,4,2147483647,-2147483648),Pc.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):el(this,e,t,!0),t+4},Pc.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||Qc(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Pc.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):el(this,e,t,!1),t+4},Pc.prototype.writeFloatLE=function(e,t,r){return rl(this,e,t,!0,r)},Pc.prototype.writeFloatBE=function(e,t,r){return rl(this,e,t,!1,r)},Pc.prototype.writeDoubleLE=function(e,t,r){return sl(this,e,t,!0,r)},Pc.prototype.writeDoubleBE=function(e,t,r){return sl(this,e,t,!1,r)},Pc.prototype.copy=function(e,t,r,s){if(r||(r=0),s||0===s||(s=this.length),t>=e.length&&(t=e.length),t||(t=0),s>0&&s<r&&(s=r),s===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(s<0)throw new RangeError("sourceEnd out of bounds");s>this.length&&(s=this.length),e.length-t<s-r&&(s=e.length-t+r);var n,i=s-r;if(this===e&&r<t&&t<s)for(n=i-1;n>=0;--n)e[n+t]=this[n+r];else if(i<1e3||!Pc.TYPED_ARRAY_SUPPORT)for(n=0;n<i;++n)e[n+t]=this[n+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},Pc.prototype.fill=function(e,t,r,s){if("string"==typeof e){if("string"==typeof t?(s=t,t=0,r=this.length):"string"==typeof r&&(s=r,r=this.length),1===e.length){var n=e.charCodeAt(0);n<256&&(e=n)}if(void 0!==s&&"string"!=typeof s)throw new TypeError("encoding must be a string");if("string"==typeof s&&!Pc.isEncoding(s))throw new TypeError("Unknown encoding: "+s)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var o=Ic(e)?e:ol(new Pc(e,s).toString()),a=o.length;for(i=0;i<r-t;++i)this[i+t]=o[i%a]}return this};var nl=/[^+\/0-9A-Za-z-_]/g;function il(e){return e<16?"0"+e.toString(16):e.toString(16)}function ol(e,t){var r;t=t||1/0;for(var s=e.length,n=null,i=[],o=0;o<s;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===s){(t-=3)>-1&&i.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&i.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function al(e){return function(e){var t,r,s,n,i,o;gc||yc();var a=e.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[a-2]?2:"="===e[a-1]?1:0,o=new mc(3*a/4-i),s=i>0?a-4:a;var c=0;for(t=0,r=0;t<s;t+=4,r+=3)n=fc[e.charCodeAt(t)]<<18|fc[e.charCodeAt(t+1)]<<12|fc[e.charCodeAt(t+2)]<<6|fc[e.charCodeAt(t+3)],o[c++]=n>>16&255,o[c++]=n>>8&255,o[c++]=255&n;return 2===i?(n=fc[e.charCodeAt(t)]<<2|fc[e.charCodeAt(t+1)]>>4,o[c++]=255&n):1===i&&(n=fc[e.charCodeAt(t)]<<10|fc[e.charCodeAt(t+1)]<<4|fc[e.charCodeAt(t+2)]>>2,o[c++]=n>>8&255,o[c++]=255&n),o}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(nl,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function cl(e,t,r,s){for(var n=0;n<s&&!(n+r>=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function ll(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function hl(e){var t="";e=e<0?-e<<1|1:e<<1;do{var r=31&e;(e>>>=5)>0&&(r|=32),t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[r]}while(e>0);return t}var ul=function e(t){this.bits=t instanceof e?t.bits.slice():[]};ul.prototype.add=function(e){this.bits[e>>5]|=1<<(31&e)},ul.prototype.has=function(e){return!!(this.bits[e>>5]&1<<(31&e))};var pl=function(e,t,r){this.start=e,this.end=t,this.original=r,this.intro="",this.outro="",this.content=r,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})};pl.prototype.appendLeft=function(e){this.outro+=e},pl.prototype.appendRight=function(e){this.intro=this.intro+e},pl.prototype.clone=function(){var e=new pl(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e},pl.prototype.contains=function(e){return this.start<e&&e<this.end},pl.prototype.eachNext=function(e){for(var t=this;t;)e(t),t=t.next},pl.prototype.eachPrevious=function(e){for(var t=this;t;)e(t),t=t.previous},pl.prototype.edit=function(e,t,r){return this.content=e,r||(this.intro="",this.outro=""),this.storeName=t,this.edited=!0,this},pl.prototype.prependLeft=function(e){this.outro=e+this.outro},pl.prototype.prependRight=function(e){this.intro=e+this.intro},pl.prototype.split=function(e){var t=e-this.start,r=this.original.slice(0,t),s=this.original.slice(t);this.original=r;var n=new pl(e,this.end,s);return n.outro=this.outro,this.outro="",this.end=e,this.edited?(n.edit("",!1),this.content=""):this.content=r,n.next=this.next,n.next&&(n.next.previous=n),n.previous=this,this.next=n,n},pl.prototype.toString=function(){return this.intro+this.content+this.outro},pl.prototype.trimEnd=function(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;var t=this.content.replace(e,"");return t.length?(t!==this.content&&this.split(this.start+t.length).edit("",void 0,!0),!0):(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),!!this.intro.length||void 0)},pl.prototype.trimStart=function(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;var t=this.content.replace(e,"");return t.length?(t!==this.content&&(this.split(this.end-t.length),this.edit("",void 0,!0)),!0):(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),!!this.outro.length||void 0)};var dl=function(){throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")};dl="undefined"!=typeof window&&"function"==typeof window.btoa?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:function(e){return Pc.from(e,"utf-8").toString("base64")};var fl=function(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=function(e){for(var t=0,r=0,s=0,n=0,i="",o=0;o<e.length;o++){var a=e[o];if(o>0&&(i+=";"),0!==a.length){for(var c=0,l=[],h=0,u=a;h<u.length;h++){var p=u[h],d=hl(p[0]-c);c=p[0],p.length>1&&(d+=hl(p[1]-t)+hl(p[2]-r)+hl(p[3]-s),t=p[1],r=p[2],s=p[3]),5===p.length&&(d+=hl(p[4]-n),n=p[4]),l.push(d)}i+=l.join(",")}}return i}(e.mappings)};function ml(e){var t=e.split("\n"),r=t.filter((function(e){return/^\t+/.test(e)})),s=t.filter((function(e){return/^ {2,}/.test(e)}));if(0===r.length&&0===s.length)return null;if(r.length>=s.length)return"\t";var n=s.reduce((function(e,t){var r=/^ +/.exec(t)[0].length;return Math.min(r,e)}),1/0);return new Array(n+1).join(" ")}function gl(e,t){var r=e.split(/[/\\]/),s=t.split(/[/\\]/);for(r.pop();r[0]===s[0];)r.shift(),s.shift();if(r.length)for(var n=r.length;n--;)r[n]="..";return r.concat(s).join("/")}fl.prototype.toString=function(){return JSON.stringify(this)},fl.prototype.toUrl=function(){return"data:application/json;charset=utf-8;base64,"+dl(this.toString())};var yl=Object.prototype.toString;function bl(e){for(var t=e.split("\n"),r=[],s=0,n=0;s<t.length;s++)r.push(n),n+=t[s].length+1;return function(e){for(var t=0,s=r.length;t<s;){var n=t+s>>1;e<r[n]?s=n:t=n+1}var i=t-1;return{line:i,column:e-r[i]}}}var vl=function(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null};vl.prototype.addEdit=function(e,t,r,s){if(t.length){var n=[this.generatedCodeColumn,e,r.line,r.column];s>=0&&n.push(s),this.rawSegments.push(n)}else this.pending&&this.rawSegments.push(this.pending);this.advance(t),this.pending=null},vl.prototype.addUneditedChunk=function(e,t,r,s,n){for(var i=t.start,o=!0;i<t.end;)(this.hires||o||n.has(i))&&this.rawSegments.push([this.generatedCodeColumn,e,s.line,s.column]),"\n"===r[i]?(s.line+=1,s.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=!0):(s.column+=1,this.generatedCodeColumn+=1,o=!1),i+=1;this.pending=null},vl.prototype.advance=function(e){if(e){var t=e.split("\n");if(t.length>1){for(var r=0;r<t.length-1;r++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=t[t.length-1].length}};var xl="\n",wl={insertLeft:!1,insertRight:!1,storeName:!1},El=function(e,t){void 0===t&&(t={});var r=new pl(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:r},lastChunk:{writable:!0,value:r},lastSearchedChunk:{writable:!0,value:r},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:t.filename},indentExclusionRanges:{writable:!0,value:t.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new ul},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:ml(e)}}),this.byStart[0]=r,this.byEnd[e.length]=r};function Sl(e,t){for(var r=0,s=e.length-1;s>=0;s--){var n=e[s];"."===n?e.splice(s,1):".."===n?(e.splice(s,1),r++):r&&(e.splice(s,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}El.prototype.addSourcemapLocation=function(e){this.sourcemapLocations.add(e)},El.prototype.append=function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this},El.prototype.appendLeft=function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var r=this.byEnd[e];return r?r.appendLeft(t):this.intro+=t,this},El.prototype.appendRight=function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var r=this.byStart[e];return r?r.appendRight(t):this.outro+=t,this},El.prototype.clone=function(){for(var e=new El(this.original,{filename:this.filename}),t=this.firstChunk,r=e.firstChunk=e.lastSearchedChunk=t.clone();t;){e.byStart[r.start]=r,e.byEnd[r.end]=r;var s=t.next,n=s&&s.clone();n&&(r.next=n,n.previous=r,r=n),t=s}return e.lastChunk=r,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new ul(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e},El.prototype.generateDecodedMap=function(e){var t=this;e=e||{};var r=Object.keys(this.storedNames),s=new vl(e.hires),n=bl(this.original);return this.intro&&s.advance(this.intro),this.firstChunk.eachNext((function(e){var i=n(e.start);e.intro.length&&s.advance(e.intro),e.edited?s.addEdit(0,e.content,i,e.storeName?r.indexOf(e.original):-1):s.addUneditedChunk(0,e,t.original,i,t.sourcemapLocations),e.outro.length&&s.advance(e.outro)})),{file:e.file?e.file.split(/[/\\]/).pop():null,sources:[e.source?gl(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:r,mappings:s.raw}},El.prototype.generateMap=function(e){return new fl(this.generateDecodedMap(e))},El.prototype.getIndentString=function(){return null===this.indentStr?"\t":this.indentStr},El.prototype.indent=function(e,t){var r,s=/^[^\r\n]/gm;if(r=e,"[object Object]"===yl.call(r)&&(t=e,e=void 0),""===(e=void 0!==e?e:this.indentStr||"\t"))return this;var n={};(t=t||{}).exclude&&("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach((function(e){for(var t=e[0];t<e[1];t+=1)n[t]=!0}));var i=!1!==t.indentStart,o=function(t){return i?""+e+t:(i=!0,t)};this.intro=this.intro.replace(s,o);for(var a=0,c=this.firstChunk;c;){var l=c.end;if(c.edited)n[a]||(c.content=c.content.replace(s,o),c.content.length&&(i="\n"===c.content[c.content.length-1]));else for(a=c.start;a<l;){if(!n[a]){var h=this.original[a];"\n"===h?i=!0:"\r"!==h&&i&&(i=!1,a===c.start?c.prependRight(e):(this._splitChunk(c,a),(c=c.next).prependRight(e)))}a+=1}a=c.end,c=c.next}return this.outro=this.outro.replace(s,o),this},El.prototype.insert=function(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")},El.prototype.insertLeft=function(e,t){return wl.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),wl.insertLeft=!0),this.appendLeft(e,t)},El.prototype.insertRight=function(e,t){return wl.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),wl.insertRight=!0),this.prependRight(e,t)},El.prototype.move=function(e,t,r){if(r>=e&&r<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(r);var s=this.byStart[e],n=this.byEnd[t],i=s.previous,o=n.next,a=this.byStart[r];if(!a&&n===this.lastChunk)return this;var c=a?a.previous:this.lastChunk;return i&&(i.next=o),o&&(o.previous=i),c&&(c.next=s),a&&(a.previous=n),s.previous||(this.firstChunk=n.next),n.next||(this.lastChunk=s.previous,this.lastChunk.next=null),s.previous=c,n.next=a||null,c||(this.firstChunk=s),a||(this.lastChunk=n),this},El.prototype.overwrite=function(e,t,r,s){if("string"!=typeof r)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===s&&(wl.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),wl.storeName=!0),s={storeName:!0});var n=void 0!==s&&s.storeName,i=void 0!==s&&s.contentOnly;if(n){var o=this.original.slice(e,t);this.storedNames[o]=!0}var a=this.byStart[e],c=this.byEnd[t];if(a){if(t>a.end&&a.next!==this.byStart[a.end])throw new Error("Cannot overwrite across a split point");if(a.edit(r,n,i),a!==c){for(var l=a.next;l!==c;)l.edit("",!1),l=l.next;l.edit("",!1)}}else{var h=new pl(e,t,"").edit(r,n);c.next=h,h.previous=c}return this},El.prototype.prepend=function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},El.prototype.prependLeft=function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var r=this.byEnd[e];return r?r.prependLeft(t):this.intro=t+this.intro,this},El.prototype.prependRight=function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var r=this.byStart[e];return r?r.prependRight(t):this.outro=t+this.outro,this},El.prototype.remove=function(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);for(var r=this.byStart[e];r;)r.intro="",r.outro="",r.edit(""),r=t>r.end?this.byStart[r.end]:null;return this},El.prototype.lastChar=function(){if(this.outro.length)return this.outro[this.outro.length-1];var e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""},El.prototype.lastLine=function(){var e=this.outro.lastIndexOf(xl);if(-1!==e)return this.outro.substr(e+1);var t=this.outro,r=this.lastChunk;do{if(r.outro.length>0){if(-1!==(e=r.outro.lastIndexOf(xl)))return r.outro.substr(e+1)+t;t=r.outro+t}if(r.content.length>0){if(-1!==(e=r.content.lastIndexOf(xl)))return r.content.substr(e+1)+t;t=r.content+t}if(r.intro.length>0){if(-1!==(e=r.intro.lastIndexOf(xl)))return r.intro.substr(e+1)+t;t=r.intro+t}}while(r=r.previous);return-1!==(e=this.intro.lastIndexOf(xl))?this.intro.substr(e+1)+t:this.intro+t},El.prototype.slice=function(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var r="",s=this.firstChunk;s&&(s.start>e||s.end<=e);){if(s.start<t&&s.end>=t)return r;s=s.next}if(s&&s.edited&&s.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var n=s;s;){!s.intro||n===s&&s.start!==e||(r+=s.intro);var i=s.start<t&&s.end>=t;if(i&&s.edited&&s.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var o=n===s?e-s.start:0,a=i?s.content.length+t-s.end:s.content.length;if(r+=s.content.slice(o,a),!s.outro||i&&s.end!==t||(r+=s.outro),i)break;s=s.next}return r},El.prototype.snip=function(e,t){var r=this.clone();return r.remove(0,e),r.remove(t,r.original.length),r},El.prototype._split=function(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,r=e>t.end;t;){if(t.contains(e))return this._splitChunk(t,e);t=r?this.byStart[t.end]:this.byEnd[t.start]}},El.prototype._splitChunk=function(e,t){if(e.edited&&e.content.length){var r=bl(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+r.line+":"+r.column+' – "'+e.original+'")')}var s=e.split(t);return this.byEnd[t]=e,this.byStart[t]=s,this.byEnd[s.end]=s,e===this.lastChunk&&(this.lastChunk=s),this.lastSearchedChunk=e,!0},El.prototype.toString=function(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},El.prototype.isEmpty=function(){var e=this.firstChunk;do{if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1}while(e=e.next);return!0},El.prototype.length=function(){var e=this.firstChunk,t=0;do{t+=e.intro.length+e.content.length+e.outro.length}while(e=e.next);return t},El.prototype.trimLines=function(){return this.trim("[\\r\\n]")},El.prototype.trim=function(e){return this.trimStart(e).trimEnd(e)},El.prototype.trimEndAborted=function(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;var r=this.lastChunk;do{var s=r.end,n=r.trimEnd(t);if(r.end!==s&&(this.lastChunk===r&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),n)return!0;r=r.previous}while(r);return!1},El.prototype.trimEnd=function(e){return this.trimEndAborted(e),this},El.prototype.trimStartAborted=function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;var r=this.firstChunk;do{var s=r.end,n=r.trimStart(t);if(r.end!==s&&(r===this.lastChunk&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),n)return!0;r=r.next}while(r);return!1},El.prototype.trimStart=function(e){return this.trimStartAborted(e),this};var _l=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Tl=function(e){return _l.exec(e).slice(1)};function Pl(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var s=r>=0?arguments[r]:"/";if("string"!=typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(e=s+"/"+e,t="/"===s.charAt(0))}return(t?"/":"")+(e=Sl(Ml(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function Al(e){var t=Cl(e),r="/"===Dl(e,-1);return(e=Sl(Ml(e.split("/"),(function(e){return!!e})),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function Cl(e){return"/"===e.charAt(0)}function kl(){return Al(Ml(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function Ol(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=Pl(e).substr(1),t=Pl(t).substr(1);for(var s=r(e.split("/")),n=r(t.split("/")),i=Math.min(s.length,n.length),o=i,a=0;a<i;a++)if(s[a]!==n[a]){o=a;break}var c=[];for(a=o;a<s.length;a++)c.push("..");return(c=c.concat(n.slice(o))).join("/")}function Nl(e){var t=Tl(e),r=t[0],s=t[1];return r||s?(s&&(s=s.substr(0,s.length-1)),r+s):"."}function Il(e,t){var r=Tl(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r}function Rl(e){return Tl(e)[3]}var Ll={extname:Rl,basename:Il,dirname:Nl,sep:"/",delimiter:":",relative:Ol,join:kl,isAbsolute:Cl,normalize:Al,resolve:Pl};function Ml(e,t){if(e.filter)return e.filter(t);for(var r=[],s=0;s<e.length;s++)t(e[s],s,e)&&r.push(e[s]);return r}var Dl=function(e,t,r){return e.substr(t,r)},jl=Object.freeze({__proto__:null,basename:Il,default:Ll,delimiter:":",dirname:Nl,extname:Rl,isAbsolute:Cl,join:kl,normalize:Al,relative:Ol,resolve:Pl,sep:"/"}),Fl=2147483647,Bl=36,Ul=1,ql=26,$l=38,Hl=700,Vl=72,Wl=128,Gl="-",zl=/[^\x20-\x7E]/,Kl=/[\x2E\u3002\uFF0E\uFF61]/g,Yl={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Jl=Bl-Ul,Xl=Math.floor,Ql=String.fromCharCode;function Zl(e){throw new RangeError(Yl[e])}function eh(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function th(e,t,r){var s=0;for(e=r?Xl(e/Hl):e>>1,e+=Xl(e/t);e>Jl*ql>>1;s+=Bl)e=Xl(e/Jl);return Xl(s+(Jl+1)*e/(e+$l))}function rh(e){return function(e,t){var r=e.split("@"),s="";r.length>1&&(s=r[0]+"@",e=r[1]);var n=function(e,t){for(var r=e.length,s=[];r--;)s[r]=t(e[r]);return s}((e=e.replace(Kl,".")).split("."),(function(e){return zl.test(e)?"xn--"+function(e){var t,r,s,n,i,o,a,c,l,h,u,p,d,f,m,g=[];for(e=function(e){for(var t,r,s=[],n=0,i=e.length;n<i;)(t=e.charCodeAt(n++))>=55296&&t<=56319&&n<i?56320==(64512&(r=e.charCodeAt(n++)))?s.push(((1023&t)<<10)+(1023&r)+65536):(s.push(t),n--):s.push(t);return s}(e),p=e.length,t=Wl,r=0,i=Vl,o=0;o<p;++o)(u=e[o])<128&&g.push(Ql(u));for(s=n=g.length,n&&g.push(Gl);s<p;){for(a=Fl,o=0;o<p;++o)(u=e[o])>=t&&u<a&&(a=u);for(a-t>Xl((Fl-r)/(d=s+1))&&Zl("overflow"),r+=(a-t)*d,t=a,o=0;o<p;++o)if((u=e[o])<t&&++r>Fl&&Zl("overflow"),u==t){for(c=r,l=Bl;!(c<(h=l<=i?Ul:l>=i+ql?ql:l-i));l+=Bl)m=c-h,f=Bl-h,g.push(Ql(eh(h+m%f,0))),c=Xl(m/f);g.push(Ql(eh(c,0))),i=th(r,d,s==n),r=0,++s}++r,++t}return g.join("")}(e):e})).join(".");return s+n}(e)}function sh(){throw new Error("setTimeout has not been defined")}function nh(){throw new Error("clearTimeout has not been defined")}var ih=sh,oh=nh;function ah(e){if(ih===setTimeout)return setTimeout(e,0);if((ih===sh||!ih)&&setTimeout)return ih=setTimeout,setTimeout(e,0);try{return ih(e,0)}catch(t){try{return ih.call(null,e,0)}catch(t){return ih.call(this,e,0)}}}"function"==typeof pc.setTimeout&&(ih=setTimeout),"function"==typeof pc.clearTimeout&&(oh=clearTimeout);var ch,lh=[],hh=!1,uh=-1;function ph(){hh&&ch&&(hh=!1,ch.length?lh=ch.concat(lh):uh=-1,lh.length&&dh())}function dh(){if(!hh){var e=ah(ph);hh=!0;for(var t=lh.length;t;){for(ch=lh,lh=[];++uh<t;)ch&&ch[uh].run();uh=-1,t=lh.length}ch=null,hh=!1,function(e){if(oh===clearTimeout)return clearTimeout(e);if((oh===nh||!oh)&&clearTimeout)return oh=clearTimeout,clearTimeout(e);try{return oh(e)}catch(t){try{return oh.call(null,e)}catch(t){return oh.call(this,e)}}}(e)}}function fh(e,t){this.fun=e,this.array=t}function mh(){}fh.prototype.run=function(){this.fun.apply(null,this.array)};var gh=mh,yh=mh,bh=mh,vh=mh,xh=mh,wh=mh,Eh=mh,Sh=pc.performance||{},_h=Sh.now||Sh.mozNow||Sh.msNow||Sh.oNow||Sh.webkitNow||function(){return(new Date).getTime()},Th=new Date,Ph={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];lh.push(new fh(e,t)),1!==lh.length||hh||ah(dh)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:gh,addListener:yh,once:bh,off:vh,removeListener:xh,removeAllListeners:wh,emit:Eh,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*_h.call(Sh),r=Math.floor(t),s=Math.floor(t%1*1e9);return e&&(r-=e[0],(s-=e[1])<0&&(r--,s+=1e9)),[r,s]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Th)/1e3}},Ah="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e},Ch=/%[sdj%]/g;function kh(e){if(!Wh(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(Lh(arguments[r]));return t.join(" ")}r=1;for(var s=arguments,n=s.length,i=String(e).replace(Ch,(function(e){if("%%"===e)return"%";if(r>=n)return e;switch(e){case"%s":return String(s[r++]);case"%d":return Number(s[r++]);case"%j":try{return JSON.stringify(s[r++])}catch(e){return"[Circular]"}default:return e}})),o=s[r];r<n;o=s[++r])$h(o)||!Yh(o)?i+=" "+o:i+=" "+Lh(o);return i}function Oh(e,t){if(zh(pc.process))return function(){return Oh(e,t).apply(this,arguments)};if(!0===Ph.noDeprecation)return e;var r=!1;return function(){if(!r){if(Ph.throwDeprecation)throw new Error(t);Ph.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}}var Nh,Ih={};function Rh(e){return zh(Nh)&&(Nh=Ph.env.NODE_DEBUG||""),e=e.toUpperCase(),Ih[e]||(new RegExp("\\b"+e+"\\b","i").test(Nh)?Ih[e]=function(){var t=kh.apply(null,arguments);console.error("%s %d: %s",e,0,t)}:Ih[e]=function(){}),Ih[e]}function Lh(e,t){var r={seen:[],stylize:Dh};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),qh(t)?r.showHidden=t:t&&iu(r,t),zh(r.showHidden)&&(r.showHidden=!1),zh(r.depth)&&(r.depth=2),zh(r.colors)&&(r.colors=!1),zh(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=Mh),jh(r,e,r.depth)}function Mh(e,t){var r=Lh.styles[t];return r?"["+Lh.colors[r][0]+"m"+e+"["+Lh.colors[r][1]+"m":e}function Dh(e,t){return e}function jh(e,t,r){if(e.customInspect&&t&&Qh(t.inspect)&&t.inspect!==Lh&&(!t.constructor||t.constructor.prototype!==t)){var s=t.inspect(r,e);return Wh(s)||(s=jh(e,s,r)),s}var n=function(e,t){if(zh(t))return e.stylize("undefined","undefined");if(Wh(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return Vh(t)?e.stylize(""+t,"number"):qh(t)?e.stylize(""+t,"boolean"):$h(t)?e.stylize("null","null"):void 0}(e,t);if(n)return n;var i=Object.keys(t),o=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),Xh(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return Fh(t);if(0===i.length){if(Qh(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(Kh(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Jh(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Xh(t))return Fh(t)}var c,l="",h=!1,u=["{","}"];return Uh(t)&&(h=!0,u=["[","]"]),Qh(t)&&(l=" [Function"+(t.name?": "+t.name:"")+"]"),Kh(t)&&(l=" "+RegExp.prototype.toString.call(t)),Jh(t)&&(l=" "+Date.prototype.toUTCString.call(t)),Xh(t)&&(l=" "+Fh(t)),0!==i.length||h&&0!=t.length?r<0?Kh(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=h?function(e,t,r,s,n){for(var i=[],o=0,a=t.length;o<a;++o)ou(t,String(o))?i.push(Bh(e,t,r,s,String(o),!0)):i.push("");return n.forEach((function(n){n.match(/^\d+$/)||i.push(Bh(e,t,r,s,n,!0))})),i}(e,t,r,o,i):i.map((function(s){return Bh(e,t,r,o,s,h)})),e.seen.pop(),function(e,t,r){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}(c,l,u)):u[0]+l+u[1]}function Fh(e){return"["+Error.prototype.toString.call(e)+"]"}function Bh(e,t,r,s,n,i){var o,a,c;if((c=Object.getOwnPropertyDescriptor(t,n)||{value:t[n]}).get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),ou(s,n)||(o="["+n+"]"),a||(e.seen.indexOf(c.value)<0?(a=$h(r)?jh(e,c.value,null):jh(e,c.value,r-1)).indexOf("\n")>-1&&(a=i?a.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),zh(o)){if(i&&n.match(/^\d+$/))return a;(o=JSON.stringify(""+n)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+a}function Uh(e){return Array.isArray(e)}function qh(e){return"boolean"==typeof e}function $h(e){return null===e}function Hh(e){return null==e}function Vh(e){return"number"==typeof e}function Wh(e){return"string"==typeof e}function Gh(e){return"symbol"==typeof e}function zh(e){return void 0===e}function Kh(e){return Yh(e)&&"[object RegExp]"===tu(e)}function Yh(e){return"object"==typeof e&&null!==e}function Jh(e){return Yh(e)&&"[object Date]"===tu(e)}function Xh(e){return Yh(e)&&("[object Error]"===tu(e)||e instanceof Error)}function Qh(e){return"function"==typeof e}function Zh(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function eu(e){return Pc.isBuffer(e)}function tu(e){return Object.prototype.toString.call(e)}function ru(e){return e<10?"0"+e.toString(10):e.toString(10)}Lh.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Lh.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var su=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function nu(){var e,t;console.log("%s - %s",(t=[ru((e=new Date).getHours()),ru(e.getMinutes()),ru(e.getSeconds())].join(":"),[e.getDate(),su[e.getMonth()],t].join(" ")),kh.apply(null,arguments))}function iu(e,t){if(!t||!Yh(t))return e;for(var r=Object.keys(t),s=r.length;s--;)e[r[s]]=t[r[s]];return e}function ou(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var au={inherits:Ah,_extend:iu,log:nu,isBuffer:eu,isPrimitive:Zh,isFunction:Qh,isError:Xh,isDate:Jh,isObject:Yh,isRegExp:Kh,isUndefined:zh,isSymbol:Gh,isString:Wh,isNumber:Vh,isNullOrUndefined:Hh,isNull:$h,isBoolean:qh,isArray:Uh,inspect:Lh,deprecate:Oh,format:kh,debuglog:Rh},cu=Object.freeze({__proto__:null,_extend:iu,debuglog:Rh,default:au,deprecate:Oh,format:kh,inherits:Ah,inspect:Lh,isArray:Uh,isBoolean:qh,isBuffer:eu,isDate:Jh,isError:Xh,isFunction:Qh,isNull:$h,isNullOrUndefined:Hh,isNumber:Vh,isObject:Yh,isPrimitive:Zh,isRegExp:Kh,isString:Wh,isSymbol:Gh,isUndefined:zh,log:nu});function lu(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var hu=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function uu(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}}function pu(e,t){if(e.map)return e.map(t);for(var r=[],s=0;s<e.length;s++)r.push(t(e[s],s));return r}var du=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t};function fu(e,t,r,s){t=t||"&",r=r||"=";var n={};if("string"!=typeof e||0===e.length)return n;var i=/\+/g;e=e.split(t);var o=1e3;s&&"number"==typeof s.maxKeys&&(o=s.maxKeys);var a=e.length;o>0&&a>o&&(a=o);for(var c=0;c<a;++c){var l,h,u,p,d=e[c].replace(i,"%20"),f=d.indexOf(r);f>=0?(l=d.substr(0,f),h=d.substr(f+1)):(l=d,h=""),u=decodeURIComponent(l),p=decodeURIComponent(h),lu(n,u)?hu(n[u])?n[u].push(p):n[u]=[n[u],p]:n[u]=p}return n}const mu=pc.URL,gu=pc.URLSearchParams;var yu={parse:Iu,resolve:ju,resolveObject:Fu,fileURLToPath:Lu,format:Mu,Url:bu,URL:mu,URLSearchParams:gu};function bu(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var vu=/^([a-z0-9.+-]+:)/i,xu=/:[0-9]*$/,wu=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Eu=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),Su=["'"].concat(Eu),_u=["%","/","?",";","#"].concat(Su),Tu=["/","?","#"],Pu=255,Au=/^[+a-z0-9A-Z_-]{0,63}$/,Cu=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ku={javascript:!0,"javascript:":!0},Ou={javascript:!0,"javascript:":!0},Nu={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Iu(e,t,r){if(e&&Yh(e)&&e instanceof bu)return e;var s=new bu;return s.parse(e,t,r),s}function Ru(e,t,r,s){if(!Wh(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),i=-1!==n&&n<t.indexOf("#")?"?":"#",o=t.split(i);o[0]=o[0].replace(/\\/g,"/");var a=t=o.join(i);if(a=a.trim(),!s&&1===t.split("#").length){var c=wu.exec(a);if(c)return e.path=a,e.href=a,e.pathname=c[1],c[2]?(e.search=c[2],e.query=r?fu(e.search.substr(1)):e.search.substr(1)):r&&(e.search="",e.query={}),e}var l,h,u,p,d=vu.exec(a);if(d){var f=(d=d[0]).toLowerCase();e.protocol=f,a=a.substr(d.length)}if(s||d||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var m="//"===a.substr(0,2);!m||d&&Ou[d]||(a=a.substr(2),e.slashes=!0)}if(!Ou[d]&&(m||d&&!Nu[d])){var g,y,b=-1;for(l=0;l<Tu.length;l++)-1!==(h=a.indexOf(Tu[l]))&&(-1===b||h<b)&&(b=h);for(-1!==(y=-1===b?a.lastIndexOf("@"):a.lastIndexOf("@",b))&&(g=a.slice(0,y),a=a.slice(y+1),e.auth=decodeURIComponent(g)),b=-1,l=0;l<_u.length;l++)-1!==(h=a.indexOf(_u[l]))&&(-1===b||h<b)&&(b=h);-1===b&&(b=a.length),e.host=a.slice(0,b),a=a.slice(b),Bu(e),e.hostname=e.hostname||"";var v="["===e.hostname[0]&&"]"===e.hostname[e.hostname.length-1];if(!v){var x=e.hostname.split(/\./);for(l=0,u=x.length;l<u;l++){var w=x[l];if(w&&!w.match(Au)){for(var E="",S=0,_=w.length;S<_;S++)w.charCodeAt(S)>127?E+="x":E+=w[S];if(!E.match(Au)){var T=x.slice(0,l),P=x.slice(l+1),A=w.match(Cu);A&&(T.push(A[1]),P.unshift(A[2])),P.length&&(a="/"+P.join(".")+a),e.hostname=T.join(".");break}}}}e.hostname.length>Pu?e.hostname="":e.hostname=e.hostname.toLowerCase(),v||(e.hostname=rh(e.hostname)),p=e.port?":"+e.port:"";var C=e.hostname||"";e.host=C+p,e.href+=e.host,v&&(e.hostname=e.hostname.substr(1,e.hostname.length-2),"/"!==a[0]&&(a="/"+a))}if(!ku[f])for(l=0,u=Su.length;l<u;l++){var k=Su[l];if(-1!==a.indexOf(k)){var O=encodeURIComponent(k);O===k&&(O=escape(k)),a=a.split(k).join(O)}}var N=a.indexOf("#");-1!==N&&(e.hash=a.substr(N),a=a.slice(0,N));var I=a.indexOf("?");if(-1!==I?(e.search=a.substr(I),e.query=a.substr(I+1),r&&(e.query=fu(e.query)),a=a.slice(0,I)):r&&(e.search="",e.query={}),a&&(e.pathname=a),Nu[f]&&e.hostname&&!e.pathname&&(e.pathname="/"),e.pathname||e.search){p=e.pathname||"";var R=e.search||"";e.path=p+R}return e.href=Du(e),e}function Lu(e){if("string"==typeof e)e=(new bu).parse(e);else if(!(e instanceof bu))throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof e+String(e));if("file:"!==e.protocol)throw new TypeError("The URL must be of scheme file");return function(e){const t=e.pathname;for(let e=0;e<t.length;e++)if("%"===t[e]){const r=32|t.codePointAt(e+2);if("2"===t[e+1]&&102===r)throw new TypeError("must not include encoded / characters")}return decodeURIComponent(t)}(e)}function Mu(e){return Wh(e)&&(e=Ru({},e)),Du(e)}function Du(e){var t=e.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var r=e.protocol||"",s=e.pathname||"",n=e.hash||"",i=!1,o="";e.host?i=t+e.host:e.hostname&&(i=t+(-1===e.hostname.indexOf(":")?e.hostname:"["+this.hostname+"]"),e.port&&(i+=":"+e.port)),e.query&&Yh(e.query)&&Object.keys(e.query).length&&(o=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?pu(du(e),(function(s){var n=encodeURIComponent(uu(s))+r;return hu(e[s])?pu(e[s],(function(e){return n+encodeURIComponent(uu(e))})).join(t):n+encodeURIComponent(uu(e[s]))})).join(t):""}(e.query));var a=e.search||o&&"?"+o||"";return r&&":"!==r.substr(-1)&&(r+=":"),e.slashes||(!r||Nu[r])&&!1!==i?(i="//"+(i||""),s&&"/"!==s.charAt(0)&&(s="/"+s)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),a&&"?"!==a.charAt(0)&&(a="?"+a),r+i+(s=s.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(a=a.replace("#","%23"))+n}function ju(e,t){return Iu(e,!1,!0).resolve(t)}function Fu(e,t){return e?Iu(e,!1,!0).resolveObject(t):t}function Bu(e){var t=e.host,r=xu.exec(t);r&&(":"!==(r=r[0])&&(e.port=r.substr(1)),t=t.substr(0,t.length-r.length)),t&&(e.hostname=t)}bu.prototype.parse=function(e,t,r){return Ru(this,e,t,r)},bu.prototype.format=function(){return Du(this)},bu.prototype.resolve=function(e){return this.resolveObject(Iu(e,!1,!0)).format()},bu.prototype.resolveObject=function(e){if(Wh(e)){var t=new bu;t.parse(e,!1,!0),e=t}for(var r,s=new bu,n=Object.keys(this),i=0;i<n.length;i++){var o=n[i];s[o]=this[o]}if(s.hash=e.hash,""===e.href)return s.href=s.format(),s;if(e.slashes&&!e.protocol){for(var a=Object.keys(e),c=0;c<a.length;c++){var l=a[c];"protocol"!==l&&(s[l]=e[l])}return Nu[s.protocol]&&s.hostname&&!s.pathname&&(s.path=s.pathname="/"),s.href=s.format(),s}if(e.protocol&&e.protocol!==s.protocol){if(!Nu[e.protocol]){for(var h=Object.keys(e),u=0;u<h.length;u++){var p=h[u];s[p]=e[p]}return s.href=s.format(),s}if(s.protocol=e.protocol,e.host||Ou[e.protocol])s.pathname=e.pathname;else{for(r=(e.pathname||"").split("/");r.length&&!(e.host=r.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==r[0]&&r.unshift(""),r.length<2&&r.unshift(""),s.pathname=r.join("/")}if(s.search=e.search,s.query=e.query,s.host=e.host||"",s.auth=e.auth,s.hostname=e.hostname||e.host,s.port=e.port,s.pathname||s.search){var d=s.pathname||"",f=s.search||"";s.path=d+f}return s.slashes=s.slashes||e.slashes,s.href=s.format(),s}var m,g=s.pathname&&"/"===s.pathname.charAt(0),y=e.host||e.pathname&&"/"===e.pathname.charAt(0),b=y||g||s.host&&e.pathname,v=b,x=s.pathname&&s.pathname.split("/")||[],w=s.protocol&&!Nu[s.protocol];if(r=e.pathname&&e.pathname.split("/")||[],w&&(s.hostname="",s.port=null,s.host&&(""===x[0]?x[0]=s.host:x.unshift(s.host)),s.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===r[0]?r[0]=e.host:r.unshift(e.host)),e.host=null),b=b&&(""===r[0]||""===x[0])),y)s.host=e.host||""===e.host?e.host:s.host,s.hostname=e.hostname||""===e.hostname?e.hostname:s.hostname,s.search=e.search,s.query=e.query,x=r;else if(r.length)x||(x=[]),x.pop(),x=x.concat(r),s.search=e.search,s.query=e.query;else if(!Hh(e.search))return w&&(s.hostname=s.host=x.shift(),(m=!!(s.host&&s.host.indexOf("@")>0)&&s.host.split("@"))&&(s.auth=m.shift(),s.host=s.hostname=m.shift())),s.search=e.search,s.query=e.query,$h(s.pathname)&&$h(s.search)||(s.path=(s.pathname?s.pathname:"")+(s.search?s.search:"")),s.href=s.format(),s;if(!x.length)return s.pathname=null,s.search?s.path="/"+s.search:s.path=null,s.href=s.format(),s;for(var E=x.slice(-1)[0],S=(s.host||e.host||x.length>1)&&("."===E||".."===E)||""===E,_=0,T=x.length;T>=0;T--)"."===(E=x[T])?x.splice(T,1):".."===E?(x.splice(T,1),_++):_&&(x.splice(T,1),_--);if(!b&&!v)for(;_--;_)x.unshift("..");!b||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),S&&"/"!==x.join("/").substr(-1)&&x.push("");var P=""===x[0]||x[0]&&"/"===x[0].charAt(0);return w&&(s.hostname=s.host=P?"":x.length?x.shift():"",(m=!!(s.host&&s.host.indexOf("@")>0)&&s.host.split("@"))&&(s.auth=m.shift(),s.host=s.hostname=m.shift())),(b=b||s.host&&x.length)&&!P&&x.unshift(""),x.length?s.pathname=x.join("/"):(s.pathname=null,s.path=null),$h(s.pathname)&&$h(s.search)||(s.path=(s.pathname?s.pathname:"")+(s.search?s.search:"")),s.auth=e.auth||s.auth,s.slashes=s.slashes||e.slashes,s.href=s.format(),s},bu.prototype.parseHost=function(){return Bu(this)};var Uu=Object.freeze({__proto__:null,URL:mu,URLSearchParams:gu,Url:bu,default:yu,fileURLToPath:Lu,format:Mu,parse:Iu,resolve:ju,resolveObject:Fu});st({[Symbol("ssrInterpolate")]:"ssrInterpolate",[Symbol("ssrRenderVNode")]:"ssrRenderVNode",[Symbol("ssrRenderComponent")]:"ssrRenderComponent",[Symbol("ssrRenderSlot")]:"ssrRenderSlot",[Symbol("ssrRenderSlotInner")]:"ssrRenderSlotInner",[Symbol("ssrRenderClass")]:"ssrRenderClass",[Symbol("ssrRenderStyle")]:"ssrRenderStyle",[Symbol("ssrRenderAttrs")]:"ssrRenderAttrs",[Symbol("ssrRenderAttr")]:"ssrRenderAttr",[Symbol("ssrRenderDynamicAttr")]:"ssrRenderDynamicAttr",[Symbol("ssrRenderList")]:"ssrRenderList",[Symbol("ssrIncludeBooleanAttr")]:"ssrIncludeBooleanAttr",[Symbol("ssrLooseEqual")]:"ssrLooseEqual",[Symbol("ssrLooseContain")]:"ssrLooseContain",[Symbol("ssrRenderDynamicModel")]:"ssrRenderDynamicModel",[Symbol("ssrGetDynamicModelProps")]:"ssrGetDynamicModelProps",[Symbol("ssrRenderTeleport")]:"ssrRenderTeleport",[Symbol("ssrRenderSuspense")]:"ssrRenderSuspense",[Symbol("ssrGetDirectiveProps")]:"ssrGetDirectiveProps"}),pi(/^(if|else|else-if)$/,No),pi("for",jo),new WeakMap,new WeakMap,new WeakMap,new WeakMap,Symbol(),new WeakMap,new WeakMap;const[qu,$u]=xa(!0);Object.assign(Object.assign({},$u),oc);var Hu=bt(Object.freeze({__proto__:null,default:{}})),Vu=bt(jl),Wu=bt(cu);function Gu(e){console.warn(`[1m[33m[@vue/compiler-sfc][0m[33m ${e}[0m\n`)}const zu=y("once,memo,if,for,else,else-if,slot,text,html,on,bind,model,show,cloak,is"),Ku=uc(),Yu=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/;function Ju(e,t){if(/ as\s+\w|<.*>|:/.test(e)){if("slot"===t)e=`(${e})=>{}`;else if("on"===t)e=`()=>{return ${e}}`;else if("for"===t){const t=e.match(Yu);if(t){const[,e,r]=t;return Ju(`(${e})=>{}`)+Ju(r)}}let r="";return go(Vs(e,{plugins:["typescript"]}),(e=>{r+=","+e.name})),r}return function(e){return e.replace(/'[^']*'|"[^"]*"/g,"").replace(/`[^`]+`/g,Xu)}(e)}function Xu(e){const t=e.match(/\${[^}]+}/g);return t?t.map((e=>e.slice(2,-1))).join(","):""}const Qu=uc();function Zu(e,t=!1){const r=new SyntaxError(`Single file component can contain only one <${e.tag}${t?" setup":""}> element`);return r.loc=e.loc,r}function ep(e,t,r){const s=e.tag;let{start:n,end:i}=e.loc,o="";if(e.children.length)n=e.children[0].loc.start,i=e.children[e.children.length-1].loc.end,o=t.slice(n.offset,i.offset);else{const t=e.loc.source.indexOf("</");t>-1&&(n={line:n.line,column:n.column+t,offset:n.offset+t}),i=Object.assign({},n)}const a={},c={type:s,content:o,loc:{source:o,start:n,end:i},attrs:a};return r&&(c.content=function(e,t,r){if(e=e.slice(0,t.loc.start.offset),"space"===r)return e.replace(sp," ");{const r=e.split(tp).length,s="script"!==t.type||t.lang?"\n":"//\n";return Array(r).join(s)}}(t,c,r)+c.content),e.props.forEach((e=>{6===e.type&&(a[e.name]=e.value&&e.value.content||!0,"lang"===e.name?c.lang=e.value&&e.value.content:"src"===e.name?c.src=e.value&&e.value.content:"style"===s?"scoped"===e.name?c.scoped=!0:"module"===e.name&&(c.module=a[e.name]):"script"===s&&"setup"===e.name&&(c.setup=a.setup))})),c}const tp=/\r?\n/g,rp=/^(?:\/\/)?\s*$/,sp=/./g;var np={exports:{}};function ip(){return!1}function op(){throw new Error("tty.ReadStream is not implemented")}function ap(){throw new Error("tty.ReadStream is not implemented")}var cp={isatty:ip,ReadStream:op,WriteStream:ap};let lp=bt(Object.freeze({__proto__:null,ReadStream:op,WriteStream:ap,default:cp,isatty:ip})),hp=!("NO_COLOR"in{}||Ph.argv.includes("--no-color"))&&("FORCE_COLOR"in{}||Ph.argv.includes("--color")||lp.isatty(1)&&"dumb"!==Ph.env.TERM||"CI"in{}),up=(e,t,r=e)=>s=>{let n=""+s,i=n.indexOf(t,e.length);return~i?e+pp(n,t,r,i)+t:e+n+t},pp=(e,t,r,s)=>{let n=e.substring(0,s)+r,i=e.substring(s+t.length),o=i.indexOf(t);return~o?n+pp(i,t,r,o):n+i},dp=(e=hp)=>({isColorSupported:e,reset:e?e=>`[0m${e}[0m`:String,bold:e?up("[1m","[22m","[22m[1m"):String,dim:e?up("[2m","[22m","[22m[2m"):String,italic:e?up("[3m","[23m"):String,underline:e?up("[4m","[24m"):String,inverse:e?up("[7m","[27m"):String,hidden:e?up("[8m","[28m"):String,strikethrough:e?up("[9m","[29m"):String,black:e?up("[30m","[39m"):String,red:e?up("[31m","[39m"):String,green:e?up("[32m","[39m"):String,yellow:e?up("[33m","[39m"):String,blue:e?up("[34m","[39m"):String,magenta:e?up("[35m","[39m"):String,cyan:e?up("[36m","[39m"):String,white:e?up("[37m","[39m"):String,gray:e?up("[90m","[39m"):String,bgBlack:e?up("[40m","[49m"):String,bgRed:e?up("[41m","[49m"):String,bgGreen:e?up("[42m","[49m"):String,bgYellow:e?up("[43m","[49m"):String,bgBlue:e?up("[44m","[49m"):String,bgMagenta:e?up("[45m","[49m"):String,bgCyan:e?up("[46m","[49m"):String,bgWhite:e?up("[47m","[49m"):String});np.exports=dp(),np.exports.createColors=dp;const fp="'".charCodeAt(0),mp='"'.charCodeAt(0),gp="\\".charCodeAt(0),yp="/".charCodeAt(0),bp="\n".charCodeAt(0),vp=" ".charCodeAt(0),xp="\f".charCodeAt(0),wp="\t".charCodeAt(0),Ep="\r".charCodeAt(0),Sp="[".charCodeAt(0),_p="]".charCodeAt(0),Tp="(".charCodeAt(0),Pp=")".charCodeAt(0),Ap="{".charCodeAt(0),Cp="}".charCodeAt(0),kp=";".charCodeAt(0),Op="*".charCodeAt(0),Np=":".charCodeAt(0),Ip="@".charCodeAt(0),Rp=/[\t\n\f\r "#'()/;[\\\]{}]/g,Lp=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Mp=/.[\n"'(/\\]/,Dp=/[\da-f]/i;var jp=function(e,t={}){let r,s,n,i,o,a,c,l,h,u,p=e.css.valueOf(),d=t.ignoreErrors,f=p.length,m=0,g=[],y=[];function b(t){throw e.error("Unclosed "+t,m)}return{back:function(e){y.push(e)},nextToken:function(e){if(y.length)return y.pop();if(m>=f)return;let t=!!e&&e.ignoreUnclosed;switch(r=p.charCodeAt(m),r){case bp:case vp:case wp:case Ep:case xp:s=m;do{s+=1,r=p.charCodeAt(s)}while(r===vp||r===bp||r===wp||r===Ep||r===xp);u=["space",p.slice(m,s)],m=s-1;break;case Sp:case _p:case Ap:case Cp:case Np:case kp:case Pp:{let e=String.fromCharCode(r);u=[e,e,m];break}case Tp:if(l=g.length?g.pop()[1]:"",h=p.charCodeAt(m+1),"url"===l&&h!==fp&&h!==mp&&h!==vp&&h!==bp&&h!==wp&&h!==xp&&h!==Ep){s=m;do{if(a=!1,s=p.indexOf(")",s+1),-1===s){if(d||t){s=m;break}b("bracket")}for(c=s;p.charCodeAt(c-1)===gp;)c-=1,a=!a}while(a);u=["brackets",p.slice(m,s+1),m,s],m=s}else s=p.indexOf(")",m+1),i=p.slice(m,s+1),-1===s||Mp.test(i)?u=["(","(",m]:(u=["brackets",i,m,s],m=s);break;case fp:case mp:n=r===fp?"'":'"',s=m;do{if(a=!1,s=p.indexOf(n,s+1),-1===s){if(d||t){s=m+1;break}b("string")}for(c=s;p.charCodeAt(c-1)===gp;)c-=1,a=!a}while(a);u=["string",p.slice(m,s+1),m,s],m=s;break;case Ip:Rp.lastIndex=m+1,Rp.test(p),s=0===Rp.lastIndex?p.length-1:Rp.lastIndex-2,u=["at-word",p.slice(m,s+1),m,s],m=s;break;case gp:for(s=m,o=!0;p.charCodeAt(s+1)===gp;)s+=1,o=!o;if(r=p.charCodeAt(s+1),o&&r!==yp&&r!==vp&&r!==bp&&r!==wp&&r!==Ep&&r!==xp&&(s+=1,Dp.test(p.charAt(s)))){for(;Dp.test(p.charAt(s+1));)s+=1;p.charCodeAt(s+1)===vp&&(s+=1)}u=["word",p.slice(m,s+1),m,s],m=s;break;default:r===yp&&p.charCodeAt(m+1)===Op?(s=p.indexOf("*/",m+2)+1,0===s&&(d||t?s=p.length:b("comment")),u=["comment",p.slice(m,s+1),m,s],m=s):(Lp.lastIndex=m+1,Lp.test(p),s=0===Lp.lastIndex?p.length-1:Lp.lastIndex-2,u=["word",p.slice(m,s+1),m,s],g.push(u),m=s)}return m++,u},endOfFile:function(){return 0===y.length&&m>=f},position:function(){return m}}};let Fp,Bp=np.exports,Up=jp;const qp={brackets:Bp.cyan,"at-word":Bp.cyan,comment:Bp.gray,string:Bp.green,class:Bp.yellow,hash:Bp.magenta,call:Bp.cyan,"(":Bp.cyan,")":Bp.cyan,"{":Bp.yellow,"}":Bp.yellow,"[":Bp.yellow,"]":Bp.yellow,":":Bp.yellow,";":Bp.yellow};function $p([e,t],r){if("word"===e){if("."===t[0])return"class";if("#"===t[0])return"hash"}if(!r.endOfFile()){let e=r.nextToken();if(r.back(e),"brackets"===e[0]||"("===e[0])return"call"}return e}function Hp(e){let t=Up(new Fp(e),{ignoreErrors:!0}),r="";for(;!t.endOfFile();){let e=t.nextToken(),s=qp[$p(e,t)];r+=s?e[1].split(/\r?\n/).map((e=>s(e))).join("\n"):e[1]}return r}Hp.registerInput=function(e){Fp=e};var Vp=Hp;let Wp=np.exports,Gp=Vp,zp=class extends Error{constructor(e,t,r,s,n,i){super(e),this.name="CssSyntaxError",this.reason=e,n&&(this.file=n),s&&(this.source=s),i&&(this.plugin=i),void 0!==t&&void 0!==r&&("number"==typeof t?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,zp)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=Wp.isColorSupported),Gp&&e&&(t=Gp(t));let r,s,n=t.split(/\r?\n/),i=Math.max(this.line-3,0),o=Math.min(this.line+2,n.length),a=String(o).length;if(e){let{bold:e,red:t,gray:n}=Wp.createColors(!0);r=r=>e(t(r)),s=e=>n(e)}else r=s=e=>e;return n.slice(i,o).map(((e,t)=>{let n=i+1+t,o=" "+(" "+n).slice(-a)+" | ";if(n===this.line){let t=s(o.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return r(">")+s(o)+e+"\n "+t+r("^")}return" "+s(o)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}};var Kp=zp;zp.default=zp;var Yp={};Yp.isClean=Symbol("isClean"),Yp.my=Symbol("my");const Jp={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};let Xp=class{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),s=e.prop+r+this.rawValue(e,"value");e.important&&(s+=e.raws.important||" !important"),t&&(s+=";"),this.builder(s,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,t){let r="@"+e.name,s=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:s&&(r+=" "),e.nodes)this.block(e,r+s);else{let n=(e.raws.between||"")+(t?";":"");this.builder(r+s+n,e)}}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let r=this.raw(e,"semicolon");for(let s=0;s<e.nodes.length;s++){let n=e.nodes[s],i=this.raw(n,"before");i&&this.builder(i),this.stringify(n,t!==s||r)}}block(e,t){let r,s=this.raw(e,"between","beforeOpen");this.builder(t+s+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")}raw(e,t,r){let s;if(r||(r=t),t&&(s=e.raws[t],void 0!==s))return s;let n=e.parent;if("before"===r){if(!n||"root"===n.type&&n.first===e)return"";if(n&&"document"===n.type)return""}if(!n)return Jp[r];let i=e.root();if(i.rawCache||(i.rawCache={}),void 0!==i.rawCache[r])return i.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);{let n="raw"+((o=r)[0].toUpperCase()+o.slice(1));this[n]?s=this[n](i,e):i.walk((e=>{if(s=e.raws[t],void 0!==s)return!1}))}var o;return void 0===s&&(s=Jp[r]),i.rawCache[r]=s,s}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawBeforeComment(e,t){let r;return e.walkComments((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeRule(e){let t;return e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return t=r.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}beforeAfter(e,t){let r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let s=e.parent,n=0;for(;s&&"root"!==s.type;)n+=1,s=s.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<n;e++)r+=t}return r}rawValue(e,t){let r=e[t],s=e.raws[t];return s&&s.value===r?s.raw:r}};var Qp=Xp;Xp.default=Xp;let Zp=Qp;function ed(e,t){new Zp(t).stringify(e)}var td=ed;ed.default=ed;let{isClean:rd,my:sd}=Yp,nd=Kp,id=Qp,od=td;function ad(e,t){let r=new e.constructor;for(let s in e){if(!Object.prototype.hasOwnProperty.call(e,s))continue;if("proxyCache"===s)continue;let n=e[s],i=typeof n;"parent"===s&&"object"===i?t&&(r[s]=t):"source"===s?r[s]=n:Array.isArray(n)?r[s]=n.map((e=>ad(e,r))):("object"===i&&null!==n&&(n=ad(n)),r[s]=n)}return r}let cd=class{constructor(e={}){this.raws={},this[rd]=!1,this[sd]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let r of e[t])"function"==typeof r.clone?this.append(r.clone()):this.append(r)}else this[t]=e[t]}error(e,t={}){if(this.source){let{start:r,end:s}=this.rangeBy(t);return this.source.input.error(e,{line:r.line,column:r.column},{line:s.line,column:s.column},t)}return new nd(e)}warn(e,t,r){let s={node:this};for(let e in r)s[e]=r[e];return e.warn(t,s)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=od){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}assign(e={}){for(let t in e)this[t]=e[t];return this}clone(e={}){let t=ad(this);for(let r in e)t[r]=e[r];return t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let s of e)s===this?r=!0:r?(this.parent.insertAfter(t,s),t=s):this.parent.insertBefore(t,s);r||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}raw(e,t){return(new id).raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,t){let r={},s=null==t;t=t||new Map;let n=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let s=this[e];if(Array.isArray(s))r[e]=s.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof s&&s.toJSON)r[e]=s.toJSON(null,t);else if("source"===e){let i=t.get(s.input);null==i&&(i=n,t.set(s.input,n),n++),r[e]={inputId:i,start:s.start,end:s.end}}else r[e]=s}return s&&(r.inputs=[...t.keys()].map((e=>e.toJSON()))),r}positionInside(e){let t=this.toString(),r=this.source.start.column,s=this.source.start.line;for(let n=0;n<e;n++)"\n"===t[n]?(r=1,s+=1):r+=1;return{line:s,column:r}}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let r=this.toString().indexOf(e.word);-1!==r&&(t=this.positionInside(r))}return t}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column},r=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let s=this.toString().indexOf(e.word);-1!==s&&(t=this.positionInside(s),r=this.positionInside(s+e.word.length))}else e.start?t={line:e.start.line,column:e.start.column}:e.index&&(t=this.positionInside(e.index)),e.end?r={line:e.end.line,column:e.end.column}:e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={line:t.line,column:t.column+1}),{start:t,end:r}}getProxyProcessor(){return{set:(e,t,r)=>(e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t]}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[rd]){this[rd]=!1;let e=this;for(;e=e.parent;)e[rd]=!1}}get proxyOf(){return this}};var ld=cd;cd.default=cd;let hd=ld,ud=class extends hd{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}};var pd=ud;ud.default=ud;var dd={},fd={},md={},gd={},yd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");gd.encode=function(e){if(0<=e&&e<yd.length)return yd[e];throw new TypeError("Must be between 0 and 63: "+e)},gd.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1};var bd=gd;md.encode=function(e){var t,r="",s=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&s,(s>>>=5)>0&&(t|=32),r+=bd.encode(t)}while(s>0);return r},md.decode=function(e,t,r){var s,n,i,o,a=e.length,c=0,l=0;do{if(t>=a)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(n=bd.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));s=!!(32&n),c+=(n&=31)<<l,l+=5}while(s);r.value=(o=(i=c)>>1,1==(1&i)?-o:o),r.rest=t};var vd={};!function(e){e.getArg=function(e,t,r){if(t in e)return e[t];if(3===arguments.length)return r;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function s(e){var r=e.match(t);return r?{scheme:r[1],auth:r[2],host:r[3],port:r[4],path:r[5]}:null}function n(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}e.urlParse=s,e.urlGenerate=n;var i,o,a=(i=function(t){var r=t,i=s(t);if(i){if(!i.path)return t;r=i.path}for(var o=e.isAbsolute(r),a=[],c=0,l=0;;){if(c=l,-1===(l=r.indexOf("/",c))){a.push(r.slice(c));break}for(a.push(r.slice(c,l));l<r.length&&"/"===r[l];)l++}var h,u=0;for(l=a.length-1;l>=0;l--)"."===(h=a[l])?a.splice(l,1):".."===h?u++:u>0&&(""===h?(a.splice(l+1,u),u=0):(a.splice(l,2),u--));return""===(r=a.join("/"))&&(r=o?"/":"."),i?(i.path=r,n(i)):r},o=[],function(e){for(var t=0;t<o.length;t++)if(o[t].input===e){var r=o[0];return o[0]=o[t],o[t]=r,o[0].result}var s=i(e);return o.unshift({input:e,result:s}),o.length>32&&o.pop(),s});function c(e,t){""===e&&(e="."),""===t&&(t=".");var i=s(t),o=s(e);if(o&&(e=o.path||"/"),i&&!i.scheme)return o&&(i.scheme=o.scheme),n(i);if(i||t.match(r))return t;if(o&&!o.host&&!o.path)return o.host=t,n(o);var c="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return o?(o.path=c,n(o)):c}e.normalize=a,e.join=c,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==t.indexOf(e+"/");){var s=e.lastIndexOf("/");if(s<0)return t;if((e=e.slice(0,s)).match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)};var l=!("__proto__"in Object.create(null));function h(e){return e}function u(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var r=t-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function p(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=l?h:function(e){return u(e)?"$"+e:e},e.fromSetString=l?h:function(e){return u(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,r){var s=p(e.source,t.source);return 0!==s||0!=(s=e.originalLine-t.originalLine)||0!=(s=e.originalColumn-t.originalColumn)||r||0!=(s=e.generatedColumn-t.generatedColumn)||0!=(s=e.generatedLine-t.generatedLine)?s:p(e.name,t.name)},e.compareByOriginalPositionsNoSource=function(e,t,r){var s;return 0!=(s=e.originalLine-t.originalLine)||0!=(s=e.originalColumn-t.originalColumn)||r||0!=(s=e.generatedColumn-t.generatedColumn)||0!=(s=e.generatedLine-t.generatedLine)?s:p(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,r){var s=e.generatedLine-t.generatedLine;return 0!==s||0!=(s=e.generatedColumn-t.generatedColumn)||r||0!==(s=p(e.source,t.source))||0!=(s=e.originalLine-t.originalLine)||0!=(s=e.originalColumn-t.originalColumn)?s:p(e.name,t.name)},e.compareByGeneratedPositionsDeflatedNoLine=function(e,t,r){var s=e.generatedColumn-t.generatedColumn;return 0!==s||r||0!==(s=p(e.source,t.source))||0!=(s=e.originalLine-t.originalLine)||0!=(s=e.originalColumn-t.originalColumn)?s:p(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r||0!=(r=e.generatedColumn-t.generatedColumn)||0!==(r=p(e.source,t.source))||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)?r:p(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,r){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),r){var i=s(r);if(!i)throw new Error("sourceMapURL could not be parsed");if(i.path){var o=i.path.lastIndexOf("/");o>=0&&(i.path=i.path.substring(0,o+1))}t=c(n(i),t)}return a(t)}}(vd);var xd={},wd=vd,Ed=Object.prototype.hasOwnProperty,Sd="undefined"!=typeof Map;function _d(){this._array=[],this._set=Sd?new Map:Object.create(null)}_d.fromArray=function(e,t){for(var r=new _d,s=0,n=e.length;s<n;s++)r.add(e[s],t);return r},_d.prototype.size=function(){return Sd?this._set.size:Object.getOwnPropertyNames(this._set).length},_d.prototype.add=function(e,t){var r=Sd?e:wd.toSetString(e),s=Sd?this.has(e):Ed.call(this._set,r),n=this._array.length;s&&!t||this._array.push(e),s||(Sd?this._set.set(e,n):this._set[r]=n)},_d.prototype.has=function(e){if(Sd)return this._set.has(e);var t=wd.toSetString(e);return Ed.call(this._set,t)},_d.prototype.indexOf=function(e){if(Sd){var t=this._set.get(e);if(t>=0)return t}else{var r=wd.toSetString(e);if(Ed.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},_d.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},_d.prototype.toArray=function(){return this._array.slice()},xd.ArraySet=_d;var Td={},Pd=vd;function Ad(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Ad.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},Ad.prototype.add=function(e){var t,r,s,n,i,o;r=e,s=(t=this._last).generatedLine,n=r.generatedLine,i=t.generatedColumn,o=r.generatedColumn,n>s||n==s&&o>=i||Pd.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},Ad.prototype.toArray=function(){return this._sorted||(this._array.sort(Pd.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Td.MappingList=Ad;var Cd=md,kd=vd,Od=xd.ArraySet,Nd=Td.MappingList;function Id(e){e||(e={}),this._file=kd.getArg(e,"file",null),this._sourceRoot=kd.getArg(e,"sourceRoot",null),this._skipValidation=kd.getArg(e,"skipValidation",!1),this._sources=new Od,this._names=new Od,this._mappings=new Nd,this._sourcesContents=null}Id.prototype._version=3,Id.fromSourceMap=function(e){var t=e.sourceRoot,r=new Id({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var s={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(s.source=e.source,null!=t&&(s.source=kd.relative(t,s.source)),s.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(s.name=e.name)),r.addMapping(s)})),e.sources.forEach((function(s){var n=s;null!==t&&(n=kd.relative(t,s)),r._sources.has(n)||r._sources.add(n);var i=e.sourceContentFor(s);null!=i&&r.setSourceContent(s,i)})),r},Id.prototype.addMapping=function(e){var t=kd.getArg(e,"generated"),r=kd.getArg(e,"original",null),s=kd.getArg(e,"source",null),n=kd.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,s,n),null!=s&&(s=String(s),this._sources.has(s)||this._sources.add(s)),null!=n&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:s,name:n})},Id.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=kd.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[kd.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[kd.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},Id.prototype.applySourceMap=function(e,t,r){var s=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');s=e.file}var n=this._sourceRoot;null!=n&&(s=kd.relative(n,s));var i=new Od,o=new Od;this._mappings.unsortedForEach((function(t){if(t.source===s&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=r&&(t.source=kd.join(r,t.source)),null!=n&&(t.source=kd.relative(n,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var c=t.source;null==c||i.has(c)||i.add(c);var l=t.name;null==l||o.has(l)||o.add(l)}),this),this._sources=i,this._names=o,e.sources.forEach((function(t){var s=e.sourceContentFor(t);null!=s&&(null!=r&&(t=kd.join(r,t)),null!=n&&(t=kd.relative(n,t)),this.setSourceContent(t,s))}),this)},Id.prototype._validateMapping=function(e,t,r,s){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||r||s)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:s}))},Id.prototype._serializeMappings=function(){for(var e,t,r,s,n=0,i=1,o=0,a=0,c=0,l=0,h="",u=this._mappings.toArray(),p=0,d=u.length;p<d;p++){if(e="",(t=u[p]).generatedLine!==i)for(n=0;t.generatedLine!==i;)e+=";",i++;else if(p>0){if(!kd.compareByGeneratedPositionsInflated(t,u[p-1]))continue;e+=","}e+=Cd.encode(t.generatedColumn-n),n=t.generatedColumn,null!=t.source&&(s=this._sources.indexOf(t.source),e+=Cd.encode(s-l),l=s,e+=Cd.encode(t.originalLine-1-a),a=t.originalLine-1,e+=Cd.encode(t.originalColumn-o),o=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=Cd.encode(r-c),c=r)),h+=e}return h},Id.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=kd.relative(t,e));var r=kd.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},Id.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},Id.prototype.toString=function(){return JSON.stringify(this.toJSON())},fd.SourceMapGenerator=Id;var Rd={},Ld={};!function(e){function t(r,s,n,i,o,a){var c=Math.floor((s-r)/2)+r,l=o(n,i[c],!0);return 0===l?c:l>0?s-c>1?t(c,s,n,i,o,a):a==e.LEAST_UPPER_BOUND?s<i.length?s:-1:c:c-r>1?t(r,c,n,i,o,a):a==e.LEAST_UPPER_BOUND?c:r<0?-1:r}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(r,s,n,i){if(0===s.length)return-1;var o=t(-1,s.length,r,s,n,i||e.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===n(s[o],s[o-1],!0);)--o;return o}}(Ld);var Md={};function Dd(e){function t(e,t,r){var s=e[t];e[t]=e[r],e[r]=s}return function e(r,s,n,i){if(n<i){var o=n-1;t(r,(h=n,u=i,Math.round(h+Math.random()*(u-h))),i);for(var a=r[i],c=n;c<i;c++)s(r[c],a,!1)<=0&&t(r,o+=1,c);t(r,o+1,c);var l=o+1;e(r,s,n,l-1),e(r,s,l+1,i)}var h,u}}let jd=new WeakMap;Md.quickSort=function(e,t,r=0){let s=jd.get(t);void 0===s&&(s=function(e){let t=Dd.toString();return new Function(`return ${t}`)()(e)}(t),jd.set(t,s)),s(e,t,r,e.length-1)};var Fd=vd,Bd=Ld,Ud=xd.ArraySet,qd=md,$d=Md.quickSort;function Hd(e,t){var r=e;return"string"==typeof e&&(r=Fd.parseSourceMapInput(e)),null!=r.sections?new Kd(r,t):new Vd(r,t)}function Vd(e,t){var r=e;"string"==typeof e&&(r=Fd.parseSourceMapInput(e));var s=Fd.getArg(r,"version"),n=Fd.getArg(r,"sources"),i=Fd.getArg(r,"names",[]),o=Fd.getArg(r,"sourceRoot",null),a=Fd.getArg(r,"sourcesContent",null),c=Fd.getArg(r,"mappings"),l=Fd.getArg(r,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);o&&(o=Fd.normalize(o)),n=n.map(String).map(Fd.normalize).map((function(e){return o&&Fd.isAbsolute(o)&&Fd.isAbsolute(e)?Fd.relative(o,e):e})),this._names=Ud.fromArray(i.map(String),!0),this._sources=Ud.fromArray(n,!0),this._absoluteSources=this._sources.toArray().map((function(e){return Fd.computeSourceURL(o,e,t)})),this.sourceRoot=o,this.sourcesContent=a,this._mappings=c,this._sourceMapURL=t,this.file=l}function Wd(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}Hd.fromSourceMap=function(e,t){return Vd.fromSourceMap(e,t)},Hd.prototype._version=3,Hd.prototype.__generatedMappings=null,Object.defineProperty(Hd.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),Hd.prototype.__originalMappings=null,Object.defineProperty(Hd.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),Hd.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return";"===r||","===r},Hd.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},Hd.GENERATED_ORDER=1,Hd.ORIGINAL_ORDER=2,Hd.GREATEST_LOWER_BOUND=1,Hd.LEAST_UPPER_BOUND=2,Hd.prototype.eachMapping=function(e,t,r){var s,n=t||null;switch(r||Hd.GENERATED_ORDER){case Hd.GENERATED_ORDER:s=this._generatedMappings;break;case Hd.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var i=this.sourceRoot,o=e.bind(n),a=this._names,c=this._sources,l=this._sourceMapURL,h=0,u=s.length;h<u;h++){var p=s[h],d=null===p.source?null:c.at(p.source);o({source:d=Fd.computeSourceURL(i,d,l),generatedLine:p.generatedLine,generatedColumn:p.generatedColumn,originalLine:p.originalLine,originalColumn:p.originalColumn,name:null===p.name?null:a.at(p.name)})}},Hd.prototype.allGeneratedPositionsFor=function(e){var t=Fd.getArg(e,"line"),r={source:Fd.getArg(e,"source"),originalLine:t,originalColumn:Fd.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var s=[],n=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",Fd.compareByOriginalPositions,Bd.LEAST_UPPER_BOUND);if(n>=0){var i=this._originalMappings[n];if(void 0===e.column)for(var o=i.originalLine;i&&i.originalLine===o;)s.push({line:Fd.getArg(i,"generatedLine",null),column:Fd.getArg(i,"generatedColumn",null),lastColumn:Fd.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n];else for(var a=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==a;)s.push({line:Fd.getArg(i,"generatedLine",null),column:Fd.getArg(i,"generatedColumn",null),lastColumn:Fd.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n]}return s},Rd.SourceMapConsumer=Hd,Vd.prototype=Object.create(Hd.prototype),Vd.prototype.consumer=Hd,Vd.prototype._findSourceIndex=function(e){var t,r=e;if(null!=this.sourceRoot&&(r=Fd.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},Vd.fromSourceMap=function(e,t){var r=Object.create(Vd.prototype),s=r._names=Ud.fromArray(e._names.toArray(),!0),n=r._sources=Ud.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=t,r._absoluteSources=r._sources.toArray().map((function(e){return Fd.computeSourceURL(r.sourceRoot,e,t)}));for(var i=e._mappings.toArray().slice(),o=r.__generatedMappings=[],a=r.__originalMappings=[],c=0,l=i.length;c<l;c++){var h=i[c],u=new Wd;u.generatedLine=h.generatedLine,u.generatedColumn=h.generatedColumn,h.source&&(u.source=n.indexOf(h.source),u.originalLine=h.originalLine,u.originalColumn=h.originalColumn,h.name&&(u.name=s.indexOf(h.name)),a.push(u)),o.push(u)}return $d(r.__originalMappings,Fd.compareByOriginalPositions),r},Vd.prototype._version=3,Object.defineProperty(Vd.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});const Gd=Fd.compareByGeneratedPositionsDeflatedNoLine;function zd(e,t){let r=e.length,s=e.length-t;if(!(s<=1))if(2==s){let r=e[t],s=e[t+1];Gd(r,s)>0&&(e[t]=s,e[t+1]=r)}else if(s<20)for(let s=t;s<r;s++)for(let r=s;r>t;r--){let t=e[r-1],s=e[r];if(Gd(t,s)<=0)break;e[r-1]=s,e[r]=t}else $d(e,Gd,t)}function Kd(e,t){var r=e;"string"==typeof e&&(r=Fd.parseSourceMapInput(e));var s=Fd.getArg(r,"version"),n=Fd.getArg(r,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new Ud,this._names=new Ud;var i={line:-1,column:0};this._sections=n.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var r=Fd.getArg(e,"offset"),s=Fd.getArg(r,"line"),n=Fd.getArg(r,"column");if(s<i.line||s===i.line&&n<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=r,{generatedOffset:{generatedLine:s+1,generatedColumn:n+1},consumer:new Hd(Fd.getArg(e,"map"),t)}}))}Vd.prototype._parseMappings=function(e,t){var r,s,n,i,o=1,a=0,c=0,l=0,h=0,u=0,p=e.length,d=0,f={},m=[],g=[];let y=0;for(;d<p;)if(";"===e.charAt(d))o++,d++,a=0,zd(g,y),y=g.length;else if(","===e.charAt(d))d++;else{for((r=new Wd).generatedLine=o,n=d;n<p&&!this._charIsMappingSeparator(e,n);n++);for(e.slice(d,n),s=[];d<n;)qd.decode(e,d,f),i=f.value,d=f.rest,s.push(i);if(2===s.length)throw new Error("Found a source, but no line and column");if(3===s.length)throw new Error("Found a source and line, but no column");if(r.generatedColumn=a+s[0],a=r.generatedColumn,s.length>1&&(r.source=h+s[1],h+=s[1],r.originalLine=c+s[2],c=r.originalLine,r.originalLine+=1,r.originalColumn=l+s[3],l=r.originalColumn,s.length>4&&(r.name=u+s[4],u+=s[4])),g.push(r),"number"==typeof r.originalLine){let e=r.source;for(;m.length<=e;)m.push(null);null===m[e]&&(m[e]=[]),m[e].push(r)}}zd(g,y),this.__generatedMappings=g;for(var b=0;b<m.length;b++)null!=m[b]&&$d(m[b],Fd.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...m)},Vd.prototype._findMapping=function(e,t,r,s,n,i){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return Bd.search(e,t,n,i)},Vd.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},Vd.prototype.originalPositionFor=function(e){var t={generatedLine:Fd.getArg(e,"line"),generatedColumn:Fd.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",Fd.compareByGeneratedPositionsDeflated,Fd.getArg(e,"bias",Hd.GREATEST_LOWER_BOUND));if(r>=0){var s=this._generatedMappings[r];if(s.generatedLine===t.generatedLine){var n=Fd.getArg(s,"source",null);null!==n&&(n=this._sources.at(n),n=Fd.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var i=Fd.getArg(s,"name",null);return null!==i&&(i=this._names.at(i)),{source:n,line:Fd.getArg(s,"originalLine",null),column:Fd.getArg(s,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},Vd.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e}))},Vd.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var s,n=e;if(null!=this.sourceRoot&&(n=Fd.relative(this.sourceRoot,n)),null!=this.sourceRoot&&(s=Fd.urlParse(this.sourceRoot))){var i=n.replace(/^file:\/\//,"");if("file"==s.scheme&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!s.path||"/"==s.path)&&this._sources.has("/"+n))return this.sourcesContent[this._sources.indexOf("/"+n)]}if(t)return null;throw new Error('"'+n+'" is not in the SourceMap.')},Vd.prototype.generatedPositionFor=function(e){var t=Fd.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:Fd.getArg(e,"line"),originalColumn:Fd.getArg(e,"column")},s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",Fd.compareByOriginalPositions,Fd.getArg(e,"bias",Hd.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===r.source)return{line:Fd.getArg(n,"generatedLine",null),column:Fd.getArg(n,"generatedColumn",null),lastColumn:Fd.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Rd.BasicSourceMapConsumer=Vd,Kd.prototype=Object.create(Hd.prototype),Kd.prototype.constructor=Hd,Kd.prototype._version=3,Object.defineProperty(Kd.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var r=0;r<this._sections[t].consumer.sources.length;r++)e.push(this._sections[t].consumer.sources[r]);return e}}),Kd.prototype.originalPositionFor=function(e){var t={generatedLine:Fd.getArg(e,"line"),generatedColumn:Fd.getArg(e,"column")},r=Bd.search(t,this._sections,(function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn})),s=this._sections[r];return s?s.consumer.originalPositionFor({line:t.generatedLine-(s.generatedOffset.generatedLine-1),column:t.generatedColumn-(s.generatedOffset.generatedLine===t.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},Kd.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},Kd.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var s=this._sections[r].consumer.sourceContentFor(e,!0);if(s)return s}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},Kd.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(-1!==r.consumer._findSourceIndex(Fd.getArg(e,"source"))){var s=r.consumer.generatedPositionFor(e);if(s)return{line:s.line+(r.generatedOffset.generatedLine-1),column:s.column+(r.generatedOffset.generatedLine===s.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},Kd.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var s=this._sections[r],n=s.consumer._generatedMappings,i=0;i<n.length;i++){var o=n[i],a=s.consumer._sources.at(o.source);a=Fd.computeSourceURL(s.consumer.sourceRoot,a,this._sourceMapURL),this._sources.add(a),a=this._sources.indexOf(a);var c=null;o.name&&(c=s.consumer._names.at(o.name),this._names.add(c),c=this._names.indexOf(c));var l={source:a,generatedLine:o.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(s.generatedOffset.generatedLine===o.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:c};this.__generatedMappings.push(l),"number"==typeof l.originalLine&&this.__originalMappings.push(l)}$d(this.__generatedMappings,Fd.compareByGeneratedPositionsDeflated),$d(this.__originalMappings,Fd.compareByOriginalPositions)},Rd.IndexedSourceMapConsumer=Kd;var Yd={},Jd=fd.SourceMapGenerator,Xd=vd,Qd=/(\r?\n)/,Zd="$$$isSourceNode$$$";function ef(e,t,r,s,n){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==r?null:r,this.name=null==n?null:n,this[Zd]=!0,null!=s&&this.add(s)}ef.fromStringWithSourceMap=function(e,t,r){var s=new ef,n=e.split(Qd),i=0,o=function(){return e()+(e()||"");function e(){return i<n.length?n[i++]:void 0}},a=1,c=0,l=null;return t.eachMapping((function(e){if(null!==l){if(!(a<e.generatedLine)){var t=(r=n[i]||"").substr(0,e.generatedColumn-c);return n[i]=r.substr(e.generatedColumn-c),c=e.generatedColumn,h(l,t),void(l=e)}h(l,o()),a++,c=0}for(;a<e.generatedLine;)s.add(o()),a++;if(c<e.generatedColumn){var r=n[i]||"";s.add(r.substr(0,e.generatedColumn)),n[i]=r.substr(e.generatedColumn),c=e.generatedColumn}l=e}),this),i<n.length&&(l&&h(l,o()),s.add(n.splice(i).join(""))),t.sources.forEach((function(e){var n=t.sourceContentFor(e);null!=n&&(null!=r&&(e=Xd.join(r,e)),s.setSourceContent(e,n))})),s;function h(e,t){if(null===e||void 0===e.source)s.add(t);else{var n=r?Xd.join(r,e.source):e.source;s.add(new ef(e.originalLine,e.originalColumn,n,t,e.name))}}},ef.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[Zd]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},ef.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[Zd]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},ef.prototype.walk=function(e){for(var t,r=0,s=this.children.length;r<s;r++)(t=this.children[r])[Zd]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},ef.prototype.join=function(e){var t,r,s=this.children.length;if(s>0){for(t=[],r=0;r<s-1;r++)t.push(this.children[r]),t.push(e);t.push(this.children[r]),this.children=t}return this},ef.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[Zd]?r.replaceRight(e,t):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this},ef.prototype.setSourceContent=function(e,t){this.sourceContents[Xd.toSetString(e)]=t},ef.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][Zd]&&this.children[t].walkSourceContents(e);var s=Object.keys(this.sourceContents);for(t=0,r=s.length;t<r;t++)e(Xd.fromSetString(s[t]),this.sourceContents[s[t]])},ef.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},ef.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new Jd(e),s=!1,n=null,i=null,o=null,a=null;return this.walk((function(e,c){t.code+=e,null!==c.source&&null!==c.line&&null!==c.column?(n===c.source&&i===c.line&&o===c.column&&a===c.name||r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name}),n=c.source,i=c.line,o=c.column,a=c.name,s=!0):s&&(r.addMapping({generated:{line:t.line,column:t.column}}),n=null,s=!1);for(var l=0,h=e.length;l<h;l++)10===e.charCodeAt(l)?(t.line++,t.column=0,l+1===h?(n=null,s=!1):s&&r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name})):t.column++})),this.walkSourceContents((function(e,t){r.setSourceContent(e,t)})),{code:t.code,map:r}},Yd.SourceNode=ef,dd.SourceMapGenerator=fd.SourceMapGenerator,dd.SourceMapConsumer=Rd.SourceMapConsumer,dd.SourceNode=Yd.SourceNode;var tf=bt(Uu),rf={nanoid:(e=21)=>{let t="",r=e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t)=>()=>{let r="",s=t;for(;s--;)r+=e[Math.random()*e.length|0];return r}};let{SourceMapConsumer:sf,SourceMapGenerator:nf}=dd,{existsSync:of,readFileSync:af}=Hu,{dirname:cf,join:lf}=Vu,hf=class{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,s=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=cf(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new sf(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return!!e&&e.substr(0,t.length)===t}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let r=e.lastIndexOf(t.pop()),s=e.indexOf("*/",r);r>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,s)))}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Pc?Pc.from(t,"base64").toString():window.atob(t);var t;let r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)}loadFile(e){if(this.root=cf(e),of(e))return this.mapFile=e,af(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof sf)return nf.fromSourceMap(t).toString();if(t instanceof nf)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let r=t(e);if(r){let e=this.loadFile(r);if(!e)throw new Error("Unable to load previous source map: "+r.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=lf(cf(e),t)),this.loadFile(t)}}}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}};var uf=hf;hf.default=hf;let{SourceMapConsumer:pf,SourceMapGenerator:df}=dd,{fileURLToPath:ff,pathToFileURL:mf}=tf,{resolve:gf,isAbsolute:yf}=Vu,{nanoid:bf}=rf,vf=Vp,xf=Kp,wf=uf,Ef=Symbol("fromOffsetCache"),Sf=Boolean(pf&&df),_f=Boolean(gf&&yf),Tf=class{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!_f||/^\w+:\/\//.test(t.from)||yf(t.from)?this.file=t.from:this.file=gf(t.from)),_f&&Sf){let e=new wf(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+bf(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t,r;if(this[Ef])r=this[Ef];else{let e=this.css.split("\n");r=new Array(e.length);let t=0;for(let s=0,n=e.length;s<n;s++)r[s]=t,t+=e[s].length+1;this[Ef]=r}t=r[r.length-1];let s=0;if(e>=t)s=r.length-1;else{let t,n=r.length-2;for(;s<n;)if(t=s+(n-s>>1),e<r[t])n=t-1;else{if(!(e>=r[t+1])){s=t;break}s=t+1}}return{line:s+1,col:e-r[s]+1}}error(e,t,r,s={}){let n,i,o;if(t&&"object"==typeof t){let e=t,s=r;if("number"==typeof t.offset){let s=this.fromOffset(e.offset);t=s.line,r=s.col}else t=e.line,r=e.column;if("number"==typeof s.offset){let e=this.fromOffset(s.offset);i=e.line,o=e.col}else i=s.line,o=s.column}else if(!r){let e=this.fromOffset(t);t=e.line,r=e.col}let a=this.origin(t,r,i,o);return n=a?new xf(e,void 0===a.endLine?a.line:{line:a.line,column:a.column},void 0===a.endLine?a.column:{line:a.endLine,column:a.endColumn},a.source,a.file,s.plugin):new xf(e,void 0===i?t:{line:t,column:r},void 0===i?r:{line:i,column:o},this.css,this.file,s.plugin),n.input={line:t,column:r,endLine:i,endColumn:o,source:this.css},this.file&&(mf&&(n.input.url=mf(this.file).toString()),n.input.file=this.file),n}origin(e,t,r,s){if(!this.map)return!1;let n,i,o=this.map.consumer(),a=o.originalPositionFor({line:e,column:t});if(!a.source)return!1;"number"==typeof r&&(n=o.originalPositionFor({line:r,column:s})),i=yf(a.source)?mf(a.source):new URL(a.source,this.map.consumer().sourceRoot||mf(this.map.mapFile));let c={url:i.toString(),line:a.line,column:a.column,endLine:n&&n.line,endColumn:n&&n.column};if("file:"===i.protocol){if(!ff)throw new Error("file: protocol is not available in this PostCSS build");c.file=ff(i)}let l=o.sourceContentFor(a.source);return l&&(c.source=l),c}mapResolve(e){return/^\w+:\/\//.test(e)?e:gf(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};var Pf=Tf;Tf.default=Tf,vf&&vf.registerInput&&vf.registerInput(Tf);let{SourceMapConsumer:Af,SourceMapGenerator:Cf}=dd,{dirname:kf,resolve:Of,relative:Nf,sep:If}=Vu,{pathToFileURL:Rf}=tf,Lf=Pf,Mf=Boolean(Af&&Cf),Df=Boolean(kf&&Of&&Nf&&If);var jf=class{constructor(e,t,r,s){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=s}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new Lf(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let r=t.source.input.from;r&&!e[r]&&(e[r]=!0,this.map.setSourceContent(this.toUrl(this.path(r)),t.source.input.css))}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}applyPrevMaps(){for(let e of this.previous()){let t,r=this.toUrl(this.path(e.file)),s=e.root||kf(e.file);!1===this.mapOpts.sourcesContent?(t=new Af(e.text),t.sourcesContent&&(t.sourcesContent=t.sourcesContent.map((()=>null)))):t=e.consumer(),this.map.applySourceMap(t,r,this.toUrl(this.path(s)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}toBase64(e){return Pc?Pc.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=Cf.fromSourceMap(e)}else this.map=new Cf({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?kf(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=kf(Of(t,this.mapOpts.annotation))),Nf(t,e)}toUrl(e){return"\\"===If&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){if(this.mapOpts.from)return this.toUrl(this.mapOpts.from);if(this.mapOpts.absolute){if(Rf)return Rf(e.source.input.from).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}return this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new Cf({file:this.outputFile()});let e,t,r=1,s=1,n="<no source>",i={source:"",generated:{line:0,column:0},original:{line:0,column:0}};this.stringify(this.root,((o,a,c)=>{if(this.css+=o,a&&"end"!==c&&(i.generated.line=r,i.generated.column=s-1,a.source&&a.source.start?(i.source=this.sourcePath(a),i.original.line=a.source.start.line,i.original.column=a.source.start.column-1,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,this.map.addMapping(i))),e=o.match(/\n/g),e?(r+=e.length,t=o.lastIndexOf("\n"),s=o.length-t):s+=o.length,a&&"start"!==c){let e=a.parent||{raws:{}};("decl"!==a.type||a!==e.last||e.raws.semicolon)&&(a.source&&a.source.end?(i.source=this.sourcePath(a),i.original.line=a.source.end.line,i.original.column=a.source.end.column-1,i.generated.line=r,i.generated.column=s-2,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,i.generated.line=r,i.generated.column=s-1,this.map.addMapping(i)))}}))}generate(){if(this.clearAnnotation(),Df&&Mf&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}};let Ff=ld,Bf=class extends Ff{constructor(e){super(e),this.type="comment"}};var Uf=Bf;Bf.default=Bf;let qf,$f,Hf,{isClean:Vf,my:Wf}=Yp,Gf=pd,zf=Uf,Kf=ld;function Yf(e){return e.map((e=>(e.nodes&&(e.nodes=Yf(e.nodes)),delete e.source,e)))}function Jf(e){if(e[Vf]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)Jf(t)}let Xf=class extends Kf{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let t,r,s=this.getIterator();for(;this.indexes[s]<this.proxyOf.nodes.length&&(t=this.indexes[s],r=e(this.proxyOf.nodes[t],t),!1!==r);)this.indexes[s]+=1;return delete this.indexes[s],r}walk(e){return this.each(((t,r)=>{let s;try{s=e(t,r)}catch(e){throw t.addToError(e)}return!1!==s&&t.walk&&(s=t.walk(e)),s}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((r,s)=>{if("decl"===r.type&&e.test(r.prop))return t(r,s)})):this.walk(((r,s)=>{if("decl"===r.type&&r.prop===e)return t(r,s)})):(t=e,this.walk(((e,r)=>{if("decl"===e.type)return t(e,r)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((r,s)=>{if("rule"===r.type&&e.test(r.selector))return t(r,s)})):this.walk(((r,s)=>{if("rule"===r.type&&r.selector===e)return t(r,s)})):(t=e,this.walk(((e,r)=>{if("rule"===e.type)return t(e,r)})))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((r,s)=>{if("atrule"===r.type&&e.test(r.name))return t(r,s)})):this.walk(((r,s)=>{if("atrule"===r.type&&r.name===e)return t(r,s)})):(t=e,this.walk(((e,r)=>{if("atrule"===e.type)return t(e,r)})))}walkComments(e){return this.walk(((t,r)=>{if("comment"===t.type)return e(t,r)}))}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertBefore(e,t){let r,s=0===(e=this.index(e))&&"prepend",n=this.normalize(t,this.proxyOf.nodes[e],s).reverse();for(let t of n)this.proxyOf.nodes.splice(e,0,t);for(let t in this.indexes)r=this.indexes[t],e<=r&&(this.indexes[t]=r+n.length);return this.markDirty(),this}insertAfter(e,t){e=this.index(e);let r,s=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of s)this.proxyOf.nodes.splice(e+1,0,t);for(let t in this.indexes)r=this.indexes[t],e<r&&(this.indexes[t]=r+s.length);return this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls((s=>{t.props&&!t.props.includes(s.prop)||t.fast&&!s.value.includes(t.fast)||(s.value=s.value.replace(e,r))})),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if("string"==typeof e)e=Yf(qf(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new Gf(e)]}else if(e.selector)e=[new $f(e)];else if(e.name)e=[new Hf(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new zf(e)]}return e.map((e=>(e[Wf]||Xf.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[Vf]&&Jf(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this,e)))}getProxyProcessor(){return{set:(e,t,r)=>(e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...r)=>e[t](...r.map((e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e))):"every"===t||"some"===t?r=>e[t](((e,...t)=>r(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}};Xf.registerParse=e=>{qf=e},Xf.registerRule=e=>{$f=e},Xf.registerAtRule=e=>{Hf=e};var Qf=Xf;Xf.default=Xf,Xf.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,Hf.prototype):"rule"===e.type?Object.setPrototypeOf(e,$f.prototype):"decl"===e.type?Object.setPrototypeOf(e,Gf.prototype):"comment"===e.type&&Object.setPrototypeOf(e,zf.prototype),e[Wf]=!0,e.nodes&&e.nodes.forEach((e=>{Xf.rebuild(e)}))};let Zf,em,tm=Qf,rm=class extends tm{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new Zf(new em,this,e).stringify()}};rm.registerLazyResult=e=>{Zf=e},rm.registerProcessor=e=>{em=e};var sm=rm;rm.default=rm;let nm={};var im=function(e){nm[e]||(nm[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))};let om=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};var am=om;om.default=om;let cm=am,lm=class{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new cm(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}};var hm=lm;lm.default=lm;let um=Qf,pm=class extends um{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};var dm=pm;pm.default=pm,um.registerAtRule(pm);let fm,mm,gm=Qf,ym=class extends gm{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}normalize(e,t,r){let s=super.normalize(e);if(t)if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of s)e.raws.before=t.raws.before;return s}toResult(e={}){return new fm(new mm,this,e).stringify()}};ym.registerLazyResult=e=>{fm=e},ym.registerProcessor=e=>{mm=e};var bm=ym;ym.default=ym;let vm={split(e,t,r){let s=[],n="",i=!1,o=0,a=!1,c=!1;for(let r of e)c?c=!1:"\\"===r?c=!0:a?r===a&&(a=!1):'"'===r||"'"===r?a=r:"("===r?o+=1:")"===r?o>0&&(o-=1):0===o&&t.includes(r)&&(i=!0),i?(""!==n&&s.push(n.trim()),n="",i=!1):n+=r;return(r||""!==n)&&s.push(n.trim()),s},space:e=>vm.split(e,[" ","\n","\t"]),comma:e=>vm.split(e,[","],!0)};var xm=vm;vm.default=vm;let wm=Qf,Em=xm,Sm=class extends wm{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Em.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};var _m=Sm;Sm.default=Sm,wm.registerRule(Sm);let Tm=pd,Pm=jp,Am=Uf,Cm=dm,km=bm,Om=_m;let Nm=Qf,Im=class{constructor(e){this.input=e,this.root=new km,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=Pm(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}comment(e){let t=new Am;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}emptyRule(e){let t=new Om;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let t=!1,r=null,s=!1,n=null,i=[],o=e[1].startsWith("--"),a=[],c=e;for(;c;){if(r=c[0],a.push(c),"("===r||"["===r)n||(n=c),i.push("("===r?")":"]");else if(o&&s&&"{"===r)n||(n=c),i.push("}");else if(0===i.length){if(";"===r){if(s)return void this.decl(a,o);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(s=!0)}else r===i[i.length-1]&&(i.pop(),0===i.length&&(n=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),i.length>0&&this.unclosedBracket(n),t&&s){for(;a.length&&(c=a[a.length-1][0],"space"===c||"comment"===c);)this.tokenizer.back(a.pop());this.decl(a,o)}else this.unknownWord(a)}rule(e){e.pop();let t=new Om;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}decl(e,t){let r=new Tm;this.init(r,e[0][2]);let s,n=e[e.length-1];for(";"===n[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(n[3]||n[2]);"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(s=e.shift(),":"===s[0]){r.raws.between+=s[1];break}"word"===s[0]&&/\w/.test(s[1])&&this.unknownWord([s]),r.raws.between+=s[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let i=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(s=e[t],"!important"===s[1].toLowerCase()){r.important=!0;let s=this.stringFrom(e,t);s=this.spacesFromEnd(e)+s," !important"!==s&&(r.raws.important=s);break}if("important"===s[1].toLowerCase()){let s=e.slice(0),n="";for(let e=t;e>0;e--){let t=s[e][0];if(0===n.trim().indexOf("!")&&"space"!==t)break;n=s.pop()[1]+n}0===n.trim().indexOf("!")&&(r.important=!0,r.raws.important=n,e=s)}if("space"!==s[0]&&"comment"!==s[0])break}let o=e.some((e=>"space"!==e[0]&&"comment"!==e[0]));this.raw(r,"value",e),o?r.raws.between+=i:r.value=i+r.value,r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t,r,s,n=new Cm;n.name=e[1].slice(1),""===n.name&&this.unnamedAtrule(n,e),this.init(n,e[2]);let i=!1,o=!1,a=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length){if(";"===t){n.source.end=this.getPosition(e[2]),this.semicolon=!0;break}if("{"===t){o=!0;break}if("}"===t){if(a.length>0){for(s=a.length-1,r=a[s];r&&"space"===r[0];)r=a[--s];r&&(n.source.end=this.getPosition(r[3]||r[2]))}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(n.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(n,"params",a),i&&(e=a[a.length-1],n.source.end=this.getPosition(e[3]||e[2]),this.spaces=n.raws.between,n.raws.between="")):(n.raws.afterName="",n.params=""),o&&(n.nodes=[],this.current=n)}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e),e.source={start:this.getPosition(t),input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}raw(e,t,r){let s,n,i,o,a=r.length,c="",l=!0,h=/^([#.|])?(\w)+/i;for(let t=0;t<a;t+=1)s=r[t],n=s[0],"comment"!==n||"rule"!==e.type?"comment"===n||"space"===n&&t===a-1?l=!1:c+=s[1]:(o=r[t-1],i=r[t+1],"space"!==o[0]&&"space"!==i[0]&&h.test(o[1])&&h.test(i[1])?c+=s[1]:l=!1);if(!l){let s=r.reduce(((e,t)=>e+t[1]),"");e.raws[t]={value:c,raw:s}}e[t]=c}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let s=t;s<e.length;s++)r+=e[s][1];return e.splice(t,e.length-t),r}colon(e){let t,r,s,n=0;for(let[i,o]of e.entries()){if(t=o,r=t[0],"("===r&&(n+=1),")"===r&&(n-=1),0===n&&":"===r){if(s){if("word"===s[0]&&"progid"===s[1])continue;return i}this.doubleColon(t)}s=t}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let r,s=0;for(let n=t-1;n>=0&&(r=e[n],"space"===r[0]||(s+=1,2!==s));n--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}},Rm=Pf;function Lm(e,t){let r=new Rm(e,t),s=new Im(r);try{s.parse()}catch(e){throw"production"!==Ph.env.NODE_ENV&&"CssSyntaxError"===e.name&&t&&t.from&&(/\.scss$/i.test(t.from)?e.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(t.from)?e.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(t.from)&&(e.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),e}return s.root}var Mm=Lm;Lm.default=Lm,Nm.registerParse(Lm);let{isClean:Dm,my:jm}=Yp,Fm=jf,Bm=td,Um=Qf,qm=sm,$m=im,Hm=hm,Vm=Mm,Wm=bm;const Gm={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},zm={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},Km={postcssPlugin:!0,prepare:!0,Once:!0},Ym=0;function Jm(e){return"object"==typeof e&&"function"==typeof e.then}function Xm(e){let t=!1,r=Gm[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,Ym,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,Ym,r+"Exit"]:[r,r+"Exit"]}function Qm(e){let t;return t="document"===e.type?["Document",Ym,"DocumentExit"]:"root"===e.type?["Root",Ym,"RootExit"]:Xm(e),{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function Zm(e){return e[Dm]=!1,e.nodes&&e.nodes.forEach((e=>Zm(e))),e}let eg={},tg=class{constructor(e,t,r){let s;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof tg||t instanceof Hm)s=Zm(t.root),t.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let e=Vm;r.syntax&&(e=r.syntax.parse),r.parser&&(e=r.parser),e.parse&&(e=e.parse);try{s=e(t,r)}catch(e){this.processed=!0,this.error=e}s&&!s[jm]&&Um.rebuild(s)}else s=Zm(t);this.result=new Hm(e,s,r),this.helpers={...eg,result:this.result,postcss:eg},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){return"production"!==Ph.env.NODE_ENV&&("from"in this.opts||$m("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(Jm(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Dm];)e[Dm]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=Bm;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new Fm(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}walkSync(e){e[Dm]=!0;let t=Xm(e);for(let r of t)if(r===Ym)e.nodes&&e.each((e=>{e[Dm]||this.walkSync(e)}));else{let t=this.listeners[r];if(t&&this.visitSync(t,e.toProxy()))return}}visitSync(e,t){for(let[r,s]of e){let e;this.result.lastPlugin=r;try{e=s(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(Jm(e))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return Jm(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(r.postcssVersion&&"production"!==Ph.env.NODE_ENV){let e=r.postcssPlugin,t=r.postcssVersion,s=this.result.processor.version,n=t.split("."),i=s.split(".");(n[0]!==i[0]||parseInt(n[1])>parseInt(i[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+s+", but "+e+" uses "+t+". Perhaps this is the source of the error below.")}}else e.plugin=r.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(Jm(r))try{await r}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Dm];){e[Dm]=!0;let t=[Qm(e)];for(;t.length>0;){let e=this.visitTick(t);if(Jm(e))try{await e}catch(e){let r=t[t.length-1].node;throw this.handleError(e,r)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>r(e,this.helpers)));await Promise.all(t)}else await r(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if("object"==typeof t)for(let r in t){if(!zm[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!Km[r])if("object"==typeof t[r])for(let s in t[r])e(t,"*"===s?r:r+"-"+s.toLowerCase(),t[r][s]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1],{node:r,visitors:s}=t;if("root"!==r.type&&"document"!==r.type&&!r.parent)return void e.pop();if(s.length>0&&t.visitorIndex<s.length){let[e,n]=s[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===s.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return n(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){let s,n=t.iterator;for(;s=r.nodes[r.indexes[n]];)if(r.indexes[n]+=1,!s[Dm])return s[Dm]=!0,void e.push(Qm(s));t.iterator=0,delete r.indexes[n]}let n=t.events;for(;t.eventIndex<n.length;){let e=n[t.eventIndex];if(t.eventIndex+=1,e===Ym)return void(r.nodes&&r.nodes.length&&(r[Dm]=!0,t.iterator=r.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}};tg.registerPostcss=e=>{eg=e};var rg=tg;tg.default=tg,Wm.registerLazyResult(tg),qm.registerLazyResult(tg);let sg=jf,ng=td,ig=im,og=Mm;const ag=hm;let cg=class{constructor(e,t,r){let s;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let n=ng;this.result=new ag(this._processor,s,this._opts),this.result.css=t;let i=this;Object.defineProperty(this.result,"root",{get:()=>i.root});let o=new sg(n,s,this._opts,t);if(o.isMap()){let[e,t]=o.generate();e&&(this.result.css=e),t&&(this.result.map=t)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,t=og;try{e=t(this._css,this._opts)}catch(e){this.error=e}return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,t){return"production"!==Ph.env.NODE_ENV&&("from"in this._opts||ig("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}};var lg=cg;cg.default=cg;let hg=lg,ug=rg,pg=sm,dg=bm,fg=class{constructor(e=[]){this.version="8.4.4",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,t={}){return 0===this.plugins.length&&void 0===t.parser&&void 0===t.stringifier&&void 0===t.syntax?new hg(this,e,t):new ug(this,e,t)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else{if("object"!=typeof r||!r.parse&&!r.stringify)throw new Error(r+" is not a PostCSS plugin");if("production"!==Ph.env.NODE_ENV)throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}return t}};var mg=fg;fg.default=fg,dg.registerProcessor(fg),pg.registerProcessor(fg);let gg=pd,yg=uf,bg=Uf,vg=dm,xg=Pf,wg=bm,Eg=_m;function Sg(e,t){if(Array.isArray(e))return e.map((e=>Sg(e)));let{inputs:r,...s}=e;if(r){t=[];for(let e of r){let r={...e,__proto__:xg.prototype};r.map&&(r.map={...r.map,__proto__:yg.prototype}),t.push(r)}}if(s.nodes&&(s.nodes=e.nodes.map((e=>Sg(e,t)))),s.source){let{inputId:e,...r}=s.source;s.source=r,null!=e&&(s.source.input=t[e])}if("root"===s.type)return new wg(s);if("decl"===s.type)return new gg(s);if("rule"===s.type)return new Eg(s);if("comment"===s.type)return new bg(s);if("atrule"===s.type)return new vg(s);throw new Error("Unknown node type: "+e.type)}var _g=Sg;Sg.default=Sg;let Tg=Kp,Pg=pd,Ag=rg,Cg=Qf,kg=mg,Og=td,Ng=_g,Ig=sm,Rg=am,Lg=Uf,Mg=dm,Dg=hm,jg=Pf,Fg=Mm,Bg=xm,Ug=_m,qg=bm,$g=ld;function Hg(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new kg(e)}Hg.plugin=function(e,t){function r(...r){let s=t(...r);return s.postcssPlugin=e,s.postcssVersion=(new kg).version,s}let s;return console&&console.warn&&(console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),Ph.env.LANG&&Ph.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226")),Object.defineProperty(r,"postcss",{get:()=>(s||(s=r()),s)}),r.process=function(e,t,s){return Hg([r(s)]).process(e,t)},r},Hg.stringify=Og,Hg.parse=Fg,Hg.fromJSON=Ng,Hg.list=Bg,Hg.comment=e=>new Lg(e),Hg.atRule=e=>new Mg(e),Hg.decl=e=>new Pg(e),Hg.rule=e=>new Ug(e),Hg.root=e=>new qg(e),Hg.document=e=>new Ig(e),Hg.CssSyntaxError=Tg,Hg.Declaration=Pg,Hg.Container=Cg,Hg.Processor=kg,Hg.Document=Ig,Hg.Comment=Lg,Hg.Warning=Rg,Hg.AtRule=Mg,Hg.Result=Dg,Hg.Input=jg,Hg.Rule=Ug,Hg.Root=qg,Hg.Node=$g,Ag.registerPostcss(Hg);var Vg=Hg;Hg.default=Hg;var Wg=Vg;Wg.stringify,Wg.fromJSON,Wg.plugin,Wg.parse,Wg.list,Wg.document,Wg.comment,Wg.atRule,Wg.rule,Wg.decl,Wg.root,Wg.CssSyntaxError,Wg.Declaration,Wg.Container,Wg.Processor,Wg.Document,Wg.Comment,Wg.Warning,Wg.AtRule,Wg.Result,Wg.Input,Wg.Rule,Wg.Root,Wg.Node;var Gg={exports:{}},zg={exports:{}},Kg={exports:{}},Yg={exports:{}},Jg={exports:{}},Xg={exports:{}},Qg={},Zg={exports:{}};!function(e,t){function r(e){for(var t=e.toLowerCase(),r="",s=!1,n=0;n<6&&void 0!==t[n];n++){var i=t.charCodeAt(n);if(s=32===i,!(i>=97&&i<=102||i>=48&&i<=57))break;r+=t[n]}if(0!==r.length){var o=parseInt(r,16);return o>=55296&&o<=57343||0===o||o>1114111?["�",r.length+(s?1:0)]:[String.fromCodePoint(o),r.length+(s?1:0)]}}t.__esModule=!0,t.default=function(e){if(!s.test(e))return e;for(var t="",n=0;n<e.length;n++)if("\\"!==e[n])t+=e[n];else{var i=r(e.slice(n+1,n+7));if(void 0!==i){t+=i[0],n+=i[1];continue}if("\\"===e[n+1]){t+="\\",n++;continue}e.length===n+1&&(t+=e[n])}return t};var s=/\\/;e.exports=t.default}(Zg,Zg.exports);var ey={exports:{}};!function(e,t){t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];for(;r.length>0;){var n=r.shift();if(!e[n])return;e=e[n]}return e},e.exports=t.default}(ey,ey.exports);var ty={exports:{}};!function(e,t){t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];for(;r.length>0;){var n=r.shift();e[n]||(e[n]={}),e=e[n]}},e.exports=t.default}(ty,ty.exports);var ry={exports:{}};!function(e,t){t.__esModule=!0,t.default=function(e){for(var t="",r=e.indexOf("/*"),s=0;r>=0;){t+=e.slice(s,r);var n=e.indexOf("*/",r+2);if(n<0)return t;s=n+2,r=e.indexOf("/*",s)}return t+=e.slice(s)},e.exports=t.default}(ry,ry.exports),Qg.__esModule=!0,Qg.stripComments=Qg.ensureObject=Qg.getProp=Qg.unesc=void 0;var sy=ay(Zg.exports);Qg.unesc=sy.default;var ny=ay(ey.exports);Qg.getProp=ny.default;var iy=ay(ty.exports);Qg.ensureObject=iy.default;var oy=ay(ry.exports);function ay(e){return e&&e.__esModule?e:{default:e}}Qg.stripComments=oy.default,function(e,t){t.__esModule=!0,t.default=void 0;var r=Qg;function s(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}var n=function e(t,r){if("object"!=typeof t||null===t)return t;var s=new t.constructor;for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];"parent"===n&&"object"==typeof i?r&&(s[n]=r):s[n]=i instanceof Array?i.map((function(t){return e(t,s)})):e(i,s)}return s},i=function(){function e(e){void 0===e&&(e={}),Object.assign(this,e),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var t,i,o=e.prototype;return o.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},o.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},o.next=function(){return this.parent.at(this.parent.index(this)+1)},o.prev=function(){return this.parent.at(this.parent.index(this)-1)},o.clone=function(e){void 0===e&&(e={});var t=n(this);for(var r in e)t[r]=e[r];return t},o.appendToPropertyAndEscape=function(e,t,r){this.raws||(this.raws={});var s=this[e],n=this.raws[e];this[e]=s+t,n||r!==t?this.raws[e]=(n||s)+r:delete this.raws[e]},o.setPropertyAndEscape=function(e,t,r){this.raws||(this.raws={}),this[e]=t,this.raws[e]=r},o.setPropertyWithoutEscape=function(e,t){this[e]=t,this.raws&&delete this.raws[e]},o.isAtPosition=function(e,t){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>e||this.source.end.line<e||this.source.start.line===e&&this.source.start.column>t||this.source.end.line===e&&this.source.end.column<t)},o.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},o.valueToString=function(){return String(this.stringifyProperty("value"))},o.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},t=e,(i=[{key:"rawSpaceBefore",get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.before;return void 0===e&&(e=this.spaces&&this.spaces.before),e||""},set:function(e){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=e}},{key:"rawSpaceAfter",get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.after;return void 0===e&&(e=this.spaces.after),e||""},set:function(e){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=e}}])&&s(t.prototype,i),e}();t.default=i,e.exports=t.default}(Xg,Xg.exports);var cy={__esModule:!0};cy.UNIVERSAL=cy.ATTRIBUTE=cy.CLASS=cy.COMBINATOR=cy.COMMENT=cy.ID=cy.NESTING=cy.PSEUDO=cy.ROOT=cy.SELECTOR=cy.STRING=cy.TAG=void 0,cy.TAG="tag",cy.STRING="string",cy.SELECTOR="selector",cy.ROOT="root",cy.PSEUDO="pseudo",cy.NESTING="nesting",cy.ID="id",cy.COMMENT="comment",cy.COMBINATOR="combinator",cy.CLASS="class",cy.ATTRIBUTE="attribute",cy.UNIVERSAL="universal",function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Xg.exports)&&r.__esModule?r:{default:r},n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=s?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}(cy);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s}function a(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}var l=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).nodes||(r.nodes=[]),r}r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,c(t,r);var i,l,h=s.prototype;return h.append=function(e){return e.parent=this,this.nodes.push(e),this},h.prepend=function(e){return e.parent=this,this.nodes.unshift(e),this},h.at=function(e){return this.nodes[e]},h.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},h.removeChild=function(e){var t;for(var r in e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this},h.removeAll=function(){for(var e,t=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var s=0;return function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}(this.nodes);!(e=t()).done;)e.value.parent=void 0;return this.nodes=[],this},h.empty=function(){return this.removeAll()},h.insertAfter=function(e,t){t.parent=this;var r,s=this.index(e);for(var n in this.nodes.splice(s+1,0,t),t.parent=this,this.indexes)s<=(r=this.indexes[n])&&(this.indexes[n]=r+1);return this},h.insertBefore=function(e,t){t.parent=this;var r,s=this.index(e);for(var n in this.nodes.splice(s,0,t),t.parent=this,this.indexes)(r=this.indexes[n])<=s&&(this.indexes[n]=r+1);return this},h._findChildAtPosition=function(e,t){var r=void 0;return this.each((function(s){if(s.atPosition){var n=s.atPosition(e,t);if(n)return r=n,!1}else if(s.isAtPosition(e,t))return r=s,!1})),r},h.atPosition=function(e,t){return this.isAtPosition(e,t)?this._findChildAtPosition(e,t)||this:void 0},h._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},h.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var r,s;this.indexes[t]<this.length&&(r=this.indexes[t],!1!==(s=e(this.at(r),r)));)this.indexes[t]+=1;return delete this.indexes[t],!1!==s&&void 0}},h.walk=function(e){return this.each((function(t,r){var s=e(t,r);if(!1!==s&&t.length&&(s=t.walk(e)),!1===s)return!1}))},h.walkAttributes=function(e){var t=this;return this.walk((function(r){if(r.type===n.ATTRIBUTE)return e.call(t,r)}))},h.walkClasses=function(e){var t=this;return this.walk((function(r){if(r.type===n.CLASS)return e.call(t,r)}))},h.walkCombinators=function(e){var t=this;return this.walk((function(r){if(r.type===n.COMBINATOR)return e.call(t,r)}))},h.walkComments=function(e){var t=this;return this.walk((function(r){if(r.type===n.COMMENT)return e.call(t,r)}))},h.walkIds=function(e){var t=this;return this.walk((function(r){if(r.type===n.ID)return e.call(t,r)}))},h.walkNesting=function(e){var t=this;return this.walk((function(r){if(r.type===n.NESTING)return e.call(t,r)}))},h.walkPseudos=function(e){var t=this;return this.walk((function(r){if(r.type===n.PSEUDO)return e.call(t,r)}))},h.walkTags=function(e){var t=this;return this.walk((function(r){if(r.type===n.TAG)return e.call(t,r)}))},h.walkUniversals=function(e){var t=this;return this.walk((function(r){if(r.type===n.UNIVERSAL)return e.call(t,r)}))},h.split=function(e){var t=this,r=[];return this.reduce((function(s,n,i){var o=e.call(t,n);return r.push(n),o?(s.push(r),r=[]):i===t.length-1&&s.push(r),s}),[])},h.map=function(e){return this.nodes.map(e)},h.reduce=function(e,t){return this.nodes.reduce(e,t)},h.every=function(e){return this.nodes.every(e)},h.some=function(e){return this.nodes.some(e)},h.filter=function(e){return this.nodes.filter(e)},h.sort=function(e){return this.nodes.sort(e)},h.toString=function(){return this.map(String).join("")},i=s,(l=[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}])&&a(i.prototype,l),s}(s.default);t.default=l,e.exports=t.default}(Jg,Jg.exports),function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Jg.exports)&&r.__esModule?r:{default:r},n=cy;function i(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}var a=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.ROOT,r}r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,o(t,r);var a,c,l=s.prototype;return l.toString=function(){var e=this.reduce((function(e,t){return e.push(String(t)),e}),[]).join(",");return this.trailingComma?e+",":e},l.error=function(e,t){return this._error?this._error(e,t):new Error(e)},a=s,(c=[{key:"errorGenerator",set:function(e){this._error=e}}])&&i(a.prototype,c),s}(s.default);t.default=a,e.exports=t.default}(Yg,Yg.exports);var ly={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Jg.exports)&&r.__esModule?r:{default:r},n=cy;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.SELECTOR,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}(ly,ly.exports);var hy={exports:{}},uy={}.hasOwnProperty,py=/[ -,\.\/:-@\[-\^`\{-~]/,dy=/[ -,\.\/:-@\[\]\^`\{-~]/,fy=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,my=function e(t,r){r=function(e,t){if(!e)return t;var r={};for(var s in t)r[s]=uy.call(e,s)?e[s]:t[s];return r}(r,e.options),"single"!=r.quotes&&"double"!=r.quotes&&(r.quotes="single");for(var s="double"==r.quotes?'"':"'",n=r.isIdentifier,i=t.charAt(0),o="",a=0,c=t.length;a<c;){var l=t.charAt(a++),h=l.charCodeAt(),u=void 0;if(h<32||h>126){if(h>=55296&&h<=56319&&a<c){var p=t.charCodeAt(a++);56320==(64512&p)?h=((1023&h)<<10)+(1023&p)+65536:a--}u="\\"+h.toString(16).toUpperCase()+" "}else u=r.escapeEverything?py.test(l)?"\\"+l:"\\"+h.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(l)?"\\"+h.toString(16).toUpperCase()+" ":"\\"==l||!n&&('"'==l&&s==l||"'"==l&&s==l)||n&&dy.test(l)?"\\"+l:l;o+=u}return n&&(/^-[-\d]/.test(o)?o="\\-"+o.slice(1):/\d/.test(i)&&(o="\\3"+i+" "+o.slice(1))),o=o.replace(fy,(function(e,t,r){return t&&t.length%2?e:(t||"")+r})),!n&&r.wrap?s+o+s:o};my.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},my.version="3.0.0";var gy=my;!function(e,t){t.__esModule=!0,t.default=void 0;var r=o(gy),s=Qg,n=o(Xg.exports),i=cy;function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}var l=function(e){var t,n,o,l;function h(t){var r;return(r=e.call(this,t)||this).type=i.CLASS,r._constructed=!0,r}return n=e,(t=h).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),h.prototype.valueToString=function(){return"."+e.prototype.valueToString.call(this)},o=h,(l=[{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=(0,r.default)(e,{isIdentifier:!0});t!==e?((0,s.ensureObject)(this,"raws"),this.raws.value=t):this.raws&&delete this.raws.value}this._value=e}}])&&a(o.prototype,l),h}(n.default);t.default=l,e.exports=t.default}(hy,hy.exports);var yy={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Xg.exports)&&r.__esModule?r:{default:r},n=cy;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.COMMENT,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}(yy,yy.exports);var by={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Xg.exports)&&r.__esModule?r:{default:r},n=cy;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.ID,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s.prototype.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},s}(s.default);t.default=o,e.exports=t.default}(by,by.exports);var vy={exports:{}},xy={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r=n(gy),s=Qg;function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}var a=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,o(t,n);var c,l,h=a.prototype;return h.qualifiedName=function(e){return this.namespace?this.namespaceString+"|"+e:e},h.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},c=a,l=[{key:"namespace",get:function(){return this._namespace},set:function(e){if(!0===e||"*"===e||"&"===e)return this._namespace=e,void(this.raws&&delete this.raws.namespace);var t=(0,r.default)(e,{isIdentifier:!0});this._namespace=e,t!==e?((0,s.ensureObject)(this,"raws"),this.raws.namespace=t):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(e){this.namespace=e}},{key:"namespaceString",get:function(){if(this.namespace){var e=this.stringifyProperty("namespace");return!0===e?"":e}return""}}],l&&i(c.prototype,l),a}(n(Xg.exports).default);t.default=a,e.exports=t.default}(xy,xy.exports),function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=xy.exports)&&r.__esModule?r:{default:r},n=cy;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.TAG,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}(vy,vy.exports);var wy={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Xg.exports)&&r.__esModule?r:{default:r},n=cy;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.STRING,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}(wy,wy.exports);var Ey={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Jg.exports)&&r.__esModule?r:{default:r},n=cy;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.PSEUDO,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s.prototype.toString=function(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")},s}(s.default);t.default=o,e.exports=t.default}(Ey,Ey.exports);var Sy={},_y=Wu.deprecate;!function(e){e.__esModule=!0,e.unescapeValue=f,e.default=void 0;var t,r=o(gy),s=o(Zg.exports),n=o(xy.exports),i=cy;function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}var l=_y,h=/^('|")([^]*)\1$/,u=l((function(){}),"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),p=l((function(){}),"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),d=l((function(){}),"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function f(e){var t=!1,r=null,n=e,i=n.match(h);return i&&(r=i[1],n=i[2]),(n=(0,s.default)(n))!==e&&(t=!0),{deprecatedUsage:t,unescaped:n,quoteMark:r}}var m=function(e){var t,s;function n(t){var r;return void 0===t&&(t={}),r=e.call(this,function(e){if(void 0!==e.quoteMark)return e;if(void 0===e.value)return e;d();var t=f(e.value),r=t.quoteMark,s=t.unescaped;return e.raws||(e.raws={}),void 0===e.raws.value&&(e.raws.value=e.value),e.value=s,e.quoteMark=r,e}(t))||this,r.type=i.ATTRIBUTE,r.raws=r.raws||{},Object.defineProperty(r.raws,"unquoted",{get:l((function(){return r.value}),"attr.raws.unquoted is deprecated. Call attr.value instead."),set:l((function(){return r.value}),"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),r._constructed=!0,r}s=e,(t=n).prototype=Object.create(s.prototype),t.prototype.constructor=t,c(t,s);var o,h,m=n.prototype;return m.getQuotedValue=function(e){void 0===e&&(e={});var t=this._determineQuoteMark(e),s=g[t];return(0,r.default)(this._value,s)},m._determineQuoteMark=function(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)},m.setValue=function(e,t){void 0===t&&(t={}),this._value=e,this._quoteMark=this._determineQuoteMark(t),this._syncRawValue()},m.smartQuoteMark=function(e){var t=this.value,s=t.replace(/[^']/g,"").length,i=t.replace(/[^"]/g,"").length;if(s+i===0){var o=(0,r.default)(t,{isIdentifier:!0});if(o===t)return n.NO_QUOTE;var a=this.preferredQuoteMark(e);if(a===n.NO_QUOTE){var c=this.quoteMark||e.quoteMark||n.DOUBLE_QUOTE,l=g[c];if((0,r.default)(t,l).length<o.length)return c}return a}return i===s?this.preferredQuoteMark(e):i<s?n.DOUBLE_QUOTE:n.SINGLE_QUOTE},m.preferredQuoteMark=function(e){var t=e.preferCurrentQuoteMark?this.quoteMark:e.quoteMark;return void 0===t&&(t=e.preferCurrentQuoteMark?e.quoteMark:this.quoteMark),void 0===t&&(t=n.DOUBLE_QUOTE),t},m._syncRawValue=function(){var e=(0,r.default)(this._value,g[this.quoteMark]);e===this._value?this.raws&&delete this.raws.value:this.raws.value=e},m._handleEscapes=function(e,t){if(this._constructed){var s=(0,r.default)(t,{isIdentifier:!0});s!==t?this.raws[e]=s:delete this.raws[e]}},m._spacesFor=function(e){var t=this.spaces[e]||{},r=this.raws.spaces&&this.raws.spaces[e]||{};return Object.assign({before:"",after:""},t,r)},m._stringFor=function(e,t,r){void 0===t&&(t=e),void 0===r&&(r=y);var s=this._spacesFor(t);return r(this.stringifyProperty(e),s)},m.offsetOf=function(e){var t=1,r=this._spacesFor("attribute");if(t+=r.before.length,"namespace"===e||"ns"===e)return this.namespace?t:-1;if("attributeNS"===e)return t;if(t+=this.namespaceString.length,this.namespace&&(t+=1),"attribute"===e)return t;t+=this.stringifyProperty("attribute").length,t+=r.after.length;var s=this._spacesFor("operator");t+=s.before.length;var n=this.stringifyProperty("operator");if("operator"===e)return n?t:-1;t+=n.length,t+=s.after.length;var i=this._spacesFor("value");t+=i.before.length;var o=this.stringifyProperty("value");return"value"===e?o?t:-1:(t+=o.length,t+=i.after.length,t+=this._spacesFor("insensitive").before.length,"insensitive"===e&&this.insensitive?t:-1)},m.toString=function(){var e=this,t=[this.rawSpaceBefore,"["];return t.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||""===this.value)&&(t.push(this._stringFor("operator")),t.push(this._stringFor("value")),t.push(this._stringFor("insensitiveFlag","insensitive",(function(t,r){return!(t.length>0)||e.quoted||0!==r.before.length||e.spaces.value&&e.spaces.value.after||(r.before=" "),y(t,r)})))),t.push("]"),t.push(this.rawSpaceAfter),t.join("")},o=n,(h=[{key:"quoted",get:function(){var e=this.quoteMark;return"'"===e||'"'===e},set:function(e){p()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(e){this._constructed?this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue()):this._quoteMark=e}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=f(e),r=t.deprecatedUsage,s=t.unescaped,n=t.quoteMark;if(r&&u(),s===this._value&&n===this._quoteMark)return;this._value=s,this._quoteMark=n,this._syncRawValue()}else this._value=e}},{key:"attribute",get:function(){return this._attribute},set:function(e){this._handleEscapes("attribute",e),this._attribute=e}}])&&a(o.prototype,h),n}(n.default);e.default=m,m.NO_QUOTE=null,m.SINGLE_QUOTE="'",m.DOUBLE_QUOTE='"';var g=((t={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}}).null={isIdentifier:!0},t);function y(e,t){return""+t.before+e+t.after}}(Sy);var Ty={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=xy.exports)&&r.__esModule?r:{default:r},n=cy;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.UNIVERSAL,r.value="*",r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}(Ty,Ty.exports);var Py={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Xg.exports)&&r.__esModule?r:{default:r},n=cy;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.COMBINATOR,r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}(Py,Py.exports);var Ay={exports:{}};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Xg.exports)&&r.__esModule?r:{default:r},n=cy;function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).type=n.NESTING,r.value="&",r}return r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r),s}(s.default);t.default=o,e.exports=t.default}(Ay,Ay.exports);var Cy={exports:{}};!function(e,t){t.__esModule=!0,t.default=function(e){return e.sort((function(e,t){return e-t}))},e.exports=t.default}(Cy,Cy.exports);var ky={},Oy={__esModule:!0};Oy.combinator=Oy.word=Oy.comment=Oy.str=Oy.tab=Oy.newline=Oy.feed=Oy.cr=Oy.backslash=Oy.bang=Oy.slash=Oy.doubleQuote=Oy.singleQuote=Oy.space=Oy.greaterThan=Oy.pipe=Oy.equals=Oy.plus=Oy.caret=Oy.tilde=Oy.dollar=Oy.closeSquare=Oy.openSquare=Oy.closeParenthesis=Oy.openParenthesis=Oy.semicolon=Oy.colon=Oy.comma=Oy.at=Oy.asterisk=Oy.ampersand=void 0,Oy.ampersand=38,Oy.asterisk=42,Oy.at=64,Oy.comma=44,Oy.colon=58,Oy.semicolon=59,Oy.openParenthesis=40,Oy.closeParenthesis=41,Oy.openSquare=91,Oy.closeSquare=93,Oy.dollar=36,Oy.tilde=126,Oy.caret=94,Oy.plus=43,Oy.equals=61,Oy.pipe=124,Oy.greaterThan=62,Oy.space=32,Oy.singleQuote=39,Oy.doubleQuote=34,Oy.slash=47,Oy.bang=33,Oy.backslash=92,Oy.cr=13,Oy.feed=12,Oy.newline=10,Oy.tab=9,Oy.str=39,Oy.comment=-1,Oy.word=-2,Oy.combinator=-3,function(e){e.__esModule=!0,e.default=function(e){var t,r,n,i,o,a,c,l,u,p,d,f,m=[],g=e.css.valueOf(),y=g.length,b=-1,v=1,x=0,w=0;function E(t,r){if(!e.safe)throw e.error("Unclosed "+t,v,x-b,x);l=(g+=r).length-1}for(;x<y;){switch((t=g.charCodeAt(x))===s.newline&&(b=x,v+=1),t){case s.space:case s.tab:case s.newline:case s.cr:case s.feed:l=x;do{l+=1,(t=g.charCodeAt(l))===s.newline&&(b=l,v+=1)}while(t===s.space||t===s.newline||t===s.tab||t===s.cr||t===s.feed);f=s.space,n=v,r=l-b-1,w=l;break;case s.plus:case s.greaterThan:case s.tilde:case s.pipe:l=x;do{l+=1,t=g.charCodeAt(l)}while(t===s.plus||t===s.greaterThan||t===s.tilde||t===s.pipe);f=s.combinator,n=v,r=x-b,w=l;break;case s.asterisk:case s.ampersand:case s.bang:case s.comma:case s.equals:case s.dollar:case s.caret:case s.openSquare:case s.closeSquare:case s.colon:case s.semicolon:case s.openParenthesis:case s.closeParenthesis:f=t,n=v,r=x-b,w=(l=x)+1;break;case s.singleQuote:case s.doubleQuote:d=t===s.singleQuote?"'":'"',l=x;do{for(i=!1,-1===(l=g.indexOf(d,l+1))&&E("quote",d),o=l;g.charCodeAt(o-1)===s.backslash;)o-=1,i=!i}while(i);f=s.str,n=v,r=x-b,w=l+1;break;default:t===s.slash&&g.charCodeAt(x+1)===s.asterisk?(0===(l=g.indexOf("*/",x+2)+1)&&E("comment","*/"),(a=(c=g.slice(x,l+1).split("\n")).length-1)>0?(u=v+a,p=l-c[a].length):(u=v,p=b),f=s.comment,v=u,n=u,r=l-p):t===s.slash?(f=t,n=v,r=x-b,w=(l=x)+1):(l=h(g,x),f=s.word,n=v,r=l-b),w=l+1}m.push([f,v,x-b,n,r,x,w]),p&&(b=p,p=null),x=w}return m},e.FIELDS=void 0;var t,r,s=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n();if(t&&t.has(e))return t.get(e);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=s?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(Oy);function n(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return n=function(){return e},e}for(var i=((t={})[s.tab]=!0,t[s.newline]=!0,t[s.cr]=!0,t[s.feed]=!0,t),o=((r={})[s.space]=!0,r[s.tab]=!0,r[s.newline]=!0,r[s.cr]=!0,r[s.feed]=!0,r[s.ampersand]=!0,r[s.asterisk]=!0,r[s.bang]=!0,r[s.comma]=!0,r[s.colon]=!0,r[s.semicolon]=!0,r[s.openParenthesis]=!0,r[s.closeParenthesis]=!0,r[s.openSquare]=!0,r[s.closeSquare]=!0,r[s.singleQuote]=!0,r[s.doubleQuote]=!0,r[s.plus]=!0,r[s.pipe]=!0,r[s.tilde]=!0,r[s.greaterThan]=!0,r[s.equals]=!0,r[s.dollar]=!0,r[s.caret]=!0,r[s.slash]=!0,r),a={},c="0123456789abcdefABCDEF",l=0;l<c.length;l++)a[c.charCodeAt(l)]=!0;function h(e,t){var r,n=t;do{if(r=e.charCodeAt(n),o[r])return n-1;r===s.backslash?n=u(e,n)+1:n++}while(n<e.length);return n-1}function u(e,t){var r=t,n=e.charCodeAt(r+1);if(i[n]);else if(a[n]){var o=0;do{r++,o++,n=e.charCodeAt(r+1)}while(a[n]&&o<6);o<6&&n===s.space&&r++}else r++;return r}e.FIELDS={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6}}(ky),function(e,t){t.__esModule=!0,t.default=void 0;var r,s,n=S(Yg.exports),i=S(ly.exports),o=S(hy.exports),a=S(yy.exports),c=S(by.exports),l=S(vy.exports),h=S(wy.exports),u=S(Ey.exports),p=E(Sy),d=S(Ty.exports),f=S(Py.exports),m=S(Ay.exports),g=S(Cy.exports),y=E(ky),b=E(Oy),v=E(cy),x=Qg;function w(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return w=function(){return e},e}function E(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=w();if(t&&t.has(e))return t.get(e);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=s?Object.getOwnPropertyDescriptor(e,n):null;i&&(i.get||i.set)?Object.defineProperty(r,n,i):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}function S(e){return e&&e.__esModule?e:{default:e}}function _(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}var T=((r={})[b.space]=!0,r[b.cr]=!0,r[b.feed]=!0,r[b.newline]=!0,r[b.tab]=!0,r),P=Object.assign({},T,((s={})[b.comment]=!0,s));function A(e){return{line:e[y.FIELDS.START_LINE],column:e[y.FIELDS.START_COL]}}function C(e){return{line:e[y.FIELDS.END_LINE],column:e[y.FIELDS.END_COL]}}function k(e,t,r,s){return{start:{line:e,column:t},end:{line:r,column:s}}}function O(e){return k(e[y.FIELDS.START_LINE],e[y.FIELDS.START_COL],e[y.FIELDS.END_LINE],e[y.FIELDS.END_COL])}function N(e,t){if(e)return k(e[y.FIELDS.START_LINE],e[y.FIELDS.START_COL],t[y.FIELDS.END_LINE],t[y.FIELDS.END_COL])}function I(e,t){var r=e[t];if("string"==typeof r)return-1!==r.indexOf("\\")&&((0,x.ensureObject)(e,"raws"),e[t]=(0,x.unesc)(r),void 0===e.raws[t]&&(e.raws[t]=r)),e}function R(e,t){for(var r=-1,s=[];-1!==(r=e.indexOf(t,r+1));)s.push(r);return s}var L=function(){function e(e,t){void 0===t&&(t={}),this.rule=e,this.options=Object.assign({lossy:!1,safe:!1},t),this.position=0,this.css="string"==typeof this.rule?this.rule:this.rule.selector,this.tokens=(0,y.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var r=N(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new n.default({source:r}),this.root.errorGenerator=this._errorGenerator();var s=new i.default({source:{start:{line:1,column:1}}});this.root.append(s),this.current=s,this.loop()}var t,r,s=e.prototype;return s._errorGenerator=function(){var e=this;return function(t,r){return"string"==typeof e.rule?new Error(t):e.rule.error(t,r)}},s.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[y.FIELDS.TYPE]!==b.closeSquare;)e.push(this.currToken),this.position++;if(this.currToken[y.FIELDS.TYPE]!==b.closeSquare)return this.expected("closing square bracket",this.currToken[y.FIELDS.START_POS]);var r=e.length,s={source:k(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[y.FIELDS.START_POS]};if(1===r&&!~[b.word].indexOf(e[0][y.FIELDS.TYPE]))return this.expected("attribute",e[0][y.FIELDS.START_POS]);for(var n=0,i="",o="",a=null,c=!1;n<r;){var l=e[n],h=this.content(l),u=e[n+1];switch(l[y.FIELDS.TYPE]){case b.space:if(c=!0,this.options.lossy)break;if(a){(0,x.ensureObject)(s,"spaces",a);var d=s.spaces[a].after||"";s.spaces[a].after=d+h;var f=(0,x.getProp)(s,"raws","spaces",a,"after")||null;f&&(s.raws.spaces[a].after=f+h)}else i+=h,o+=h;break;case b.asterisk:u[y.FIELDS.TYPE]===b.equals?(s.operator=h,a="operator"):s.namespace&&("namespace"!==a||c)||!u||(i&&((0,x.ensureObject)(s,"spaces","attribute"),s.spaces.attribute.before=i,i=""),o&&((0,x.ensureObject)(s,"raws","spaces","attribute"),s.raws.spaces.attribute.before=i,o=""),s.namespace=(s.namespace||"")+h,(0,x.getProp)(s,"raws","namespace")&&(s.raws.namespace+=h),a="namespace"),c=!1;break;case b.dollar:if("value"===a){var m=(0,x.getProp)(s,"raws","value");s.value+="$",m&&(s.raws.value=m+"$");break}case b.caret:u[y.FIELDS.TYPE]===b.equals&&(s.operator=h,a="operator"),c=!1;break;case b.combinator:if("~"===h&&u[y.FIELDS.TYPE]===b.equals&&(s.operator=h,a="operator"),"|"!==h){c=!1;break}u[y.FIELDS.TYPE]===b.equals?(s.operator=h,a="operator"):s.namespace||s.attribute||(s.namespace=!0),c=!1;break;case b.word:if(u&&"|"===this.content(u)&&e[n+2]&&e[n+2][y.FIELDS.TYPE]!==b.equals&&!s.operator&&!s.namespace)s.namespace=h,a="namespace";else if(!s.attribute||"attribute"===a&&!c)i&&((0,x.ensureObject)(s,"spaces","attribute"),s.spaces.attribute.before=i,i=""),o&&((0,x.ensureObject)(s,"raws","spaces","attribute"),s.raws.spaces.attribute.before=o,o=""),s.attribute=(s.attribute||"")+h,(0,x.getProp)(s,"raws","attribute")&&(s.raws.attribute+=h),a="attribute";else if(!s.value&&""!==s.value||"value"===a&&!c){var g=(0,x.unesc)(h),v=(0,x.getProp)(s,"raws","value")||"",w=s.value||"";s.value=w+g,s.quoteMark=null,(g!==h||v)&&((0,x.ensureObject)(s,"raws"),s.raws.value=(v||w)+h),a="value"}else{var E="i"===h||"I"===h;!s.value&&""!==s.value||!s.quoteMark&&!c?(s.value||""===s.value)&&(a="value",s.value+=h,s.raws.value&&(s.raws.value+=h)):(s.insensitive=E,E&&"I"!==h||((0,x.ensureObject)(s,"raws"),s.raws.insensitiveFlag=h),a="insensitive",i&&((0,x.ensureObject)(s,"spaces","insensitive"),s.spaces.insensitive.before=i,i=""),o&&((0,x.ensureObject)(s,"raws","spaces","insensitive"),s.raws.spaces.insensitive.before=o,o=""))}c=!1;break;case b.str:if(!s.attribute||!s.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:l[y.FIELDS.START_POS]});var S=(0,p.unescapeValue)(h),_=S.unescaped,T=S.quoteMark;s.value=_,s.quoteMark=T,a="value",(0,x.ensureObject)(s,"raws"),s.raws.value=h,c=!1;break;case b.equals:if(!s.attribute)return this.expected("attribute",l[y.FIELDS.START_POS],h);if(s.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:l[y.FIELDS.START_POS]});s.operator=s.operator?s.operator+h:h,a="operator",c=!1;break;case b.comment:if(a)if(c||u&&u[y.FIELDS.TYPE]===b.space||"insensitive"===a){var P=(0,x.getProp)(s,"spaces",a,"after")||"",A=(0,x.getProp)(s,"raws","spaces",a,"after")||P;(0,x.ensureObject)(s,"raws","spaces",a),s.raws.spaces[a].after=A+h}else{var C=s[a]||"",O=(0,x.getProp)(s,"raws",a)||C;(0,x.ensureObject)(s,"raws"),s.raws[a]=O+h}else o+=h;break;default:return this.error('Unexpected "'+h+'" found.',{index:l[y.FIELDS.START_POS]})}n++}I(s,"attribute"),I(s,"namespace"),this.newNode(new p.default(s)),this.position++},s.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,r=[],s="",n=void 0;do{if(T[this.currToken[y.FIELDS.TYPE]])this.options.lossy||(s+=this.content());else if(this.currToken[y.FIELDS.TYPE]===b.comment){var i={};s&&(i.before=s,s=""),n=new a.default({value:this.content(),source:O(this.currToken),sourceIndex:this.currToken[y.FIELDS.START_POS],spaces:i}),r.push(n)}}while(++this.position<e);if(s)if(n)n.spaces.after=s;else if(!this.options.lossy){var o=this.tokens[t],c=this.tokens[this.position-1];r.push(new h.default({value:"",source:k(o[y.FIELDS.START_LINE],o[y.FIELDS.START_COL],c[y.FIELDS.END_LINE],c[y.FIELDS.END_COL]),sourceIndex:o[y.FIELDS.START_POS],spaces:{before:s,after:""}}))}return r},s.convertWhitespaceNodesToSpace=function(e,t){var r=this;void 0===t&&(t=!1);var s="",n="";return e.forEach((function(e){var i=r.lossySpace(e.spaces.before,t),o=r.lossySpace(e.rawSpaceBefore,t);s+=i+r.lossySpace(e.spaces.after,t&&0===i.length),n+=i+e.value+r.lossySpace(e.rawSpaceAfter,t&&0===o.length)})),n===s&&(n=void 0),{space:s,rawSpace:n}},s.isNamedCombinator=function(e){return void 0===e&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][y.FIELDS.TYPE]===b.slash&&this.tokens[e+1]&&this.tokens[e+1][y.FIELDS.TYPE]===b.word&&this.tokens[e+2]&&this.tokens[e+2][y.FIELDS.TYPE]===b.slash},s.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,x.unesc)(e).toLowerCase(),r={};t!==e&&(r.value="/"+e+"/");var s=new f.default({value:"/"+t+"/",source:k(this.currToken[y.FIELDS.START_LINE],this.currToken[y.FIELDS.START_COL],this.tokens[this.position+2][y.FIELDS.END_LINE],this.tokens[this.position+2][y.FIELDS.END_COL]),sourceIndex:this.currToken[y.FIELDS.START_POS],raws:r});return this.position=this.position+3,s}this.unexpected()},s.combinator=function(){var e=this;if("|"===this.content())return this.namespace();var t=this.locateNextMeaningfulToken(this.position);if(!(t<0||this.tokens[t][y.FIELDS.TYPE]===b.comma)){var r,s=this.currToken,n=void 0;if(t>this.position&&(n=this.parseWhitespaceEquivalentTokens(t)),this.isNamedCombinator()?r=this.namedCombinator():this.currToken[y.FIELDS.TYPE]===b.combinator?(r=new f.default({value:this.content(),source:O(this.currToken),sourceIndex:this.currToken[y.FIELDS.START_POS]}),this.position++):T[this.currToken[y.FIELDS.TYPE]]||n||this.unexpected(),r){if(n){var i=this.convertWhitespaceNodesToSpace(n),o=i.space,a=i.rawSpace;r.spaces.before=o,r.rawSpaceBefore=a}}else{var c=this.convertWhitespaceNodesToSpace(n,!0),l=c.space,h=c.rawSpace;h||(h=l);var u={},p={spaces:{}};l.endsWith(" ")&&h.endsWith(" ")?(u.before=l.slice(0,l.length-1),p.spaces.before=h.slice(0,h.length-1)):l.startsWith(" ")&&h.startsWith(" ")?(u.after=l.slice(1),p.spaces.after=h.slice(1)):p.value=h,r=new f.default({value:" ",source:N(s,this.tokens[this.position-1]),sourceIndex:s[y.FIELDS.START_POS],spaces:u,raws:p})}return this.currToken&&this.currToken[y.FIELDS.TYPE]===b.space&&(r.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(r)}var d=this.parseWhitespaceEquivalentTokens(t);if(d.length>0){var m=this.current.last;if(m){var g=this.convertWhitespaceNodesToSpace(d),v=g.space,x=g.rawSpace;void 0!==x&&(m.rawSpaceAfter+=x),m.spaces.after+=v}else d.forEach((function(t){return e.newNode(t)}))}},s.comma=function(){if(this.position===this.tokens.length-1)return this.root.trailingComma=!0,void this.position++;this.current._inferEndPosition();var e=new i.default({source:{start:A(this.tokens[this.position+1])}});this.current.parent.append(e),this.current=e,this.position++},s.comment=function(){var e=this.currToken;this.newNode(new a.default({value:this.content(),source:O(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++},s.error=function(e,t){throw this.root.error(e,t)},s.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[y.FIELDS.START_POS]})},s.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[y.FIELDS.START_POS])},s.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[y.FIELDS.START_POS])},s.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[y.FIELDS.START_POS])},s.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;return this.nextToken[y.FIELDS.TYPE]===b.word?(this.position++,this.word(e)):this.nextToken[y.FIELDS.TYPE]===b.asterisk?(this.position++,this.universal(e)):void 0},s.nesting=function(){if(this.nextToken&&"|"===this.content(this.nextToken))this.position++;else{var e=this.currToken;this.newNode(new m.default({value:this.content(),source:O(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++}},s.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===v.PSEUDO){var r=new i.default({source:{start:A(this.tokens[this.position-1])}}),s=this.current;for(e.append(r),this.current=r;this.position<this.tokens.length&&t;)this.currToken[y.FIELDS.TYPE]===b.openParenthesis&&t++,this.currToken[y.FIELDS.TYPE]===b.closeParenthesis&&t--,t?this.parse():(this.current.source.end=C(this.currToken),this.current.parent.source.end=C(this.currToken),this.position++);this.current=s}else{for(var n,o=this.currToken,a="(";this.position<this.tokens.length&&t;)this.currToken[y.FIELDS.TYPE]===b.openParenthesis&&t++,this.currToken[y.FIELDS.TYPE]===b.closeParenthesis&&t--,n=this.currToken,a+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape("value",a,a):this.newNode(new h.default({value:a,source:k(o[y.FIELDS.START_LINE],o[y.FIELDS.START_COL],n[y.FIELDS.END_LINE],n[y.FIELDS.END_COL]),sourceIndex:o[y.FIELDS.START_POS]}))}if(t)return this.expected("closing parenthesis",this.currToken[y.FIELDS.START_POS])},s.pseudo=function(){for(var e=this,t="",r=this.currToken;this.currToken&&this.currToken[y.FIELDS.TYPE]===b.colon;)t+=this.content(),this.position++;return this.currToken?this.currToken[y.FIELDS.TYPE]!==b.word?this.expected(["pseudo-class","pseudo-element"],this.currToken[y.FIELDS.START_POS]):void this.splitWord(!1,(function(s,n){t+=s,e.newNode(new u.default({value:t,source:N(r,e.currToken),sourceIndex:r[y.FIELDS.START_POS]})),n>1&&e.nextToken&&e.nextToken[y.FIELDS.TYPE]===b.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[y.FIELDS.START_POS]})})):this.expected(["pseudo-class","pseudo-element"],this.position-1)},s.space=function(){var e=this.content();0===this.position||this.prevToken[y.FIELDS.TYPE]===b.comma||this.prevToken[y.FIELDS.TYPE]===b.openParenthesis||this.current.nodes.every((function(e){return"comment"===e.type}))?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[y.FIELDS.TYPE]===b.comma||this.nextToken[y.FIELDS.TYPE]===b.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},s.string=function(){var e=this.currToken;this.newNode(new h.default({value:this.content(),source:O(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++},s.universal=function(e){var t=this.nextToken;if(t&&"|"===this.content(t))return this.position++,this.namespace();var r=this.currToken;this.newNode(new d.default({value:this.content(),source:O(r),sourceIndex:r[y.FIELDS.START_POS]}),e),this.position++},s.splitWord=function(e,t){for(var r=this,s=this.nextToken,n=this.content();s&&~[b.dollar,b.caret,b.equals,b.word].indexOf(s[y.FIELDS.TYPE]);){this.position++;var i=this.content();if(n+=i,i.lastIndexOf("\\")===i.length-1){var a=this.nextToken;a&&a[y.FIELDS.TYPE]===b.space&&(n+=this.requiredSpace(this.content(a)),this.position++)}s=this.nextToken}var h=R(n,".").filter((function(e){var t="\\"===n[e-1],r=/^\d+\.\d+%$/.test(n);return!t&&!r})),u=R(n,"#").filter((function(e){return"\\"!==n[e-1]})),p=R(n,"#{");p.length&&(u=u.filter((function(e){return!~p.indexOf(e)})));var d=(0,g.default)(function(){var e=Array.prototype.concat.apply([],arguments);return e.filter((function(t,r){return r===e.indexOf(t)}))}([0].concat(h,u)));d.forEach((function(s,i){var a,p=d[i+1]||n.length,f=n.slice(s,p);if(0===i&&t)return t.call(r,f,d.length);var m=r.currToken,g=m[y.FIELDS.START_POS]+d[i],b=k(m[1],m[2]+s,m[3],m[2]+(p-1));if(~h.indexOf(s)){var v={value:f.slice(1),source:b,sourceIndex:g};a=new o.default(I(v,"value"))}else if(~u.indexOf(s)){var x={value:f.slice(1),source:b,sourceIndex:g};a=new c.default(I(x,"value"))}else{var w={value:f,source:b,sourceIndex:g};I(w,"value"),a=new l.default(w)}r.newNode(a,e),e=null})),this.position++},s.word=function(e){var t=this.nextToken;return t&&"|"===this.content(t)?(this.position++,this.namespace()):this.splitWord(e)},s.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},s.parse=function(e){switch(this.currToken[y.FIELDS.TYPE]){case b.space:this.space();break;case b.comment:this.comment();break;case b.openParenthesis:this.parentheses();break;case b.closeParenthesis:e&&this.missingParenthesis();break;case b.openSquare:this.attribute();break;case b.dollar:case b.caret:case b.equals:case b.word:this.word();break;case b.colon:this.pseudo();break;case b.comma:this.comma();break;case b.asterisk:this.universal();break;case b.ampersand:this.nesting();break;case b.slash:case b.combinator:this.combinator();break;case b.str:this.string();break;case b.closeSquare:this.missingSquareBracket();case b.semicolon:this.missingBackslash();default:this.unexpected()}},s.expected=function(e,t,r){if(Array.isArray(e)){var s=e.pop();e=e.join(", ")+" or "+s}var n=/^[aeiou]/.test(e[0])?"an":"a";return r?this.error("Expected "+n+" "+e+', found "'+r+'" instead.',{index:t}):this.error("Expected "+n+" "+e+".",{index:t})},s.requiredSpace=function(e){return this.options.lossy?" ":e},s.optionalSpace=function(e){return this.options.lossy?"":e},s.lossySpace=function(e,t){return this.options.lossy?t?" ":"":e},s.parseParenthesisToken=function(e){var t=this.content(e);return e[y.FIELDS.TYPE]===b.space?this.requiredSpace(t):t},s.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||"")+t),t=!0),e.namespace=t,I(e,"namespace")),this.spaces&&(e.spaces.before=this.spaces,this.spaces=""),this.current.append(e)},s.content=function(e){return void 0===e&&(e=this.currToken),this.css.slice(e[y.FIELDS.START_POS],e[y.FIELDS.END_POS])},s.locateNextMeaningfulToken=function(e){void 0===e&&(e=this.position+1);for(var t=e;t<this.tokens.length;){if(!P[this.tokens[t][y.FIELDS.TYPE]])return t;t++}return-1},t=e,(r=[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}])&&_(t.prototype,r),e}();t.default=L,e.exports=t.default}(Kg,Kg.exports),function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Kg.exports)&&r.__esModule?r:{default:r},n=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}var t=e.prototype;return t._shouldUpdateSelector=function(e,t){return void 0===t&&(t={}),!1!==Object.assign({},this.options,t).updateSelector&&"string"!=typeof e},t._isLossy=function(e){return void 0===e&&(e={}),!1===Object.assign({},this.options,e).lossless},t._root=function(e,t){return void 0===t&&(t={}),new s.default(e,this._parseOptions(t)).root},t._parseOptions=function(e){return{lossy:this._isLossy(e)}},t._run=function(e,t){var r=this;return void 0===t&&(t={}),new Promise((function(s,n){try{var i=r._root(e,t);Promise.resolve(r.func(i)).then((function(s){var n=void 0;return r._shouldUpdateSelector(e,t)&&(n=i.toString(),e.selector=n),{transform:s,root:i,string:n}})).then(s,n)}catch(e){return void n(e)}}))},t._runSync=function(e,t){void 0===t&&(t={});var r=this._root(e,t),s=this.func(r);if(s&&"function"==typeof s.then)throw new Error("Selector processor returned a promise to a synchronous call.");var n=void 0;return t.updateSelector&&"string"!=typeof e&&(n=r.toString(),e.selector=n),{transform:s,root:r,string:n}},t.ast=function(e,t){return this._run(e,t).then((function(e){return e.root}))},t.astSync=function(e,t){return this._runSync(e,t).root},t.transform=function(e,t){return this._run(e,t).then((function(e){return e.transform}))},t.transformSync=function(e,t){return this._runSync(e,t).transform},t.process=function(e,t){return this._run(e,t).then((function(e){return e.string||e.root.toString()}))},t.processSync=function(e,t){var r=this._runSync(e,t);return r.string||r.root.toString()},e}();t.default=n,e.exports=t.default}(zg,zg.exports);var Ny={},Iy={__esModule:!0};Iy.universal=Iy.tag=Iy.string=Iy.selector=Iy.root=Iy.pseudo=Iy.nesting=Iy.id=Iy.comment=Iy.combinator=Iy.className=Iy.attribute=void 0;var Ry=Wy(Sy),Ly=Wy(hy.exports),My=Wy(Py.exports),Dy=Wy(yy.exports),jy=Wy(by.exports),Fy=Wy(Ay.exports),By=Wy(Ey.exports),Uy=Wy(Yg.exports),qy=Wy(ly.exports),$y=Wy(wy.exports),Hy=Wy(vy.exports),Vy=Wy(Ty.exports);function Wy(e){return e&&e.__esModule?e:{default:e}}Iy.attribute=function(e){return new Ry.default(e)},Iy.className=function(e){return new Ly.default(e)},Iy.combinator=function(e){return new My.default(e)},Iy.comment=function(e){return new Dy.default(e)},Iy.id=function(e){return new jy.default(e)},Iy.nesting=function(e){return new Fy.default(e)},Iy.pseudo=function(e){return new By.default(e)},Iy.root=function(e){return new Uy.default(e)},Iy.selector=function(e){return new qy.default(e)},Iy.string=function(e){return new $y.default(e)},Iy.tag=function(e){return new Hy.default(e)},Iy.universal=function(e){return new Vy.default(e)};var Gy={__esModule:!0};Gy.isNode=Jy,Gy.isPseudoElement=hb,Gy.isPseudoClass=function(e){return nb(e)&&!hb(e)},Gy.isContainer=function(e){return!(!Jy(e)||!e.walk)},Gy.isNamespace=function(e){return Qy(e)||cb(e)},Gy.isUniversal=Gy.isTag=Gy.isString=Gy.isSelector=Gy.isRoot=Gy.isPseudo=Gy.isNesting=Gy.isIdentifier=Gy.isComment=Gy.isCombinator=Gy.isClassName=Gy.isAttribute=void 0;var zy,Ky=cy,Yy=((zy={})[Ky.ATTRIBUTE]=!0,zy[Ky.CLASS]=!0,zy[Ky.COMBINATOR]=!0,zy[Ky.COMMENT]=!0,zy[Ky.ID]=!0,zy[Ky.NESTING]=!0,zy[Ky.PSEUDO]=!0,zy[Ky.ROOT]=!0,zy[Ky.SELECTOR]=!0,zy[Ky.STRING]=!0,zy[Ky.TAG]=!0,zy[Ky.UNIVERSAL]=!0,zy);function Jy(e){return"object"==typeof e&&Yy[e.type]}function Xy(e,t){return Jy(t)&&t.type===e}var Qy=Xy.bind(null,Ky.ATTRIBUTE);Gy.isAttribute=Qy;var Zy=Xy.bind(null,Ky.CLASS);Gy.isClassName=Zy;var eb=Xy.bind(null,Ky.COMBINATOR);Gy.isCombinator=eb;var tb=Xy.bind(null,Ky.COMMENT);Gy.isComment=tb;var rb=Xy.bind(null,Ky.ID);Gy.isIdentifier=rb;var sb=Xy.bind(null,Ky.NESTING);Gy.isNesting=sb;var nb=Xy.bind(null,Ky.PSEUDO);Gy.isPseudo=nb;var ib=Xy.bind(null,Ky.ROOT);Gy.isRoot=ib;var ob=Xy.bind(null,Ky.SELECTOR);Gy.isSelector=ob;var ab=Xy.bind(null,Ky.STRING);Gy.isString=ab;var cb=Xy.bind(null,Ky.TAG);Gy.isTag=cb;var lb=Xy.bind(null,Ky.UNIVERSAL);function hb(e){return nb(e)&&e.value&&(e.value.startsWith("::")||":before"===e.value.toLowerCase()||":after"===e.value.toLowerCase())}Gy.isUniversal=lb,function(e){e.__esModule=!0;var t=cy;Object.keys(t).forEach((function(r){"default"!==r&&"__esModule"!==r&&(r in e&&e[r]===t[r]||(e[r]=t[r]))}));var r=Iy;Object.keys(r).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r[t]||(e[t]=r[t]))}));var s=Gy;Object.keys(s).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===s[t]||(e[t]=s[t]))}))}(Ny),function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=zg.exports)&&r.__esModule?r:{default:r},n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=s?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}(Ny);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}var o=function(e){return new s.default(e)};Object.assign(o,n),delete o.__esModule;var a=o;t.default=a,e.exports=t.default}(Gg,Gg.exports);var ub=yt(Gg.exports);const pb=/^(-\w+-)?animation-name$/,db=/^(-\w+-)?animation$/,fb=new WeakSet;function mb(e,t,r,s=!1){let n=null,i=!0;if(t.each((s=>{if("combinator"===s.type&&(">>>"===s.value||"/deep/"===s.value))return s.value=" ",s.spaces.before=s.spaces.after="",Gu("the >>> and /deep/ combinators have been deprecated. Use :deep() instead."),!1;if("pseudo"===s.type){const{value:n}=s;if(":deep"===n||"::v-deep"===n){if(s.nodes.length){let e=s;s.nodes[0].each((r=>{t.insertAfter(e,r),e=r}));const r=t.at(t.index(s)-1);r&&gb(r)||t.insertAfter(s,ub.combinator({value:" "})),t.removeChild(s)}else{Gu("::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead.");const e=t.at(t.index(s)-1);e&&gb(e)&&t.removeChild(e),t.removeChild(s)}return!1}if(":slotted"===n||"::v-slotted"===n){mb(e,s.nodes[0],r,!0);let n=s;return s.nodes[0].each((e=>{t.insertAfter(n,e),n=e})),t.removeChild(s),i=!1,!1}if(":global"===n||"::v-global"===n)return r.insertAfter(t,s.nodes[0]),r.removeChild(t),!1}"pseudo"!==s.type&&"combinator"!==s.type&&(n=s)})),n?n.spaces.after="":t.first.spaces.before="",i){const r=s?e+"-s":e;t.insertAfter(n,ub.attribute({attribute:r,value:r,raws:{},quoteMark:'"'}))}}function gb(e){return"combinator"===e.type&&/^\s+$/.test(e.value)}((e="")=>{const t=Object.create(null),r=e.replace(/^data-v-/,"");return{postcssPlugin:"vue-sfc-scoped",Rule(t){!function(e,t){fb.has(t)||t.parent&&"atrule"===t.parent.type&&/-?keyframes$/.test(t.parent.name)||(fb.add(t),t.selector=ub((t=>{t.each((r=>{mb(e,r,t)}))})).processSync(t.selector))}(e,t)},AtRule(e){/-?keyframes$/.test(e.name)&&!e.params.endsWith(`-${r}`)&&(t[e.params]=e.params=e.params+"-"+r)},OnceExit(e){Object.keys(t).length&&e.walkDecls((e=>{pb.test(e.prop)&&(e.value=e.value.split(",").map((e=>t[e.trim()]||e.trim())).join(",")),db.test(e.prop)&&(e.value=e.value.split(",").map((e=>{const r=e.trim().split(/\s+/),s=r.findIndex((e=>t[e]));return-1!==s?(r.splice(s,1,t[r[s]]),r.join(" ")):e})).join(","))}))}}}).postcss=!0;var yb=di;yb.SourceMapConsumer,yb.SourceMapGenerator;const bb=",".charCodeAt(0),vb=";".charCodeAt(0),xb="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",wb=new Uint8Array(64),Eb=new Uint8Array(128);for(let e=0;e<xb.length;e++){const t=xb.charCodeAt(e);wb[e]=t,Eb[t]=e}const Sb="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:e=>Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}};function _b(e,t,r,s,n){const i=s[n];let o=i-r[n];r[n]=i,o=o<0?-o<<1|1:o<<1;do{let r=31&o;o>>>=5,o>0&&(r|=32),e[t++]=wb[r]}while(o>0);return t}class Tb{constructor(e){this.bits=e instanceof Tb?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(31&e)}has(e){return!!(this.bits[e>>5]&1<<(31&e))}}class Pb{constructor(e,t,r){this.start=e,this.end=t,this.original=r,this.intro="",this.outro="",this.content=r,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const e=new Pb(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let t=this;for(;t;)e(t),t=t.next}eachPrevious(e){let t=this;for(;t;)e(t),t=t.previous}edit(e,t,r){return this.content=e,r||(this.intro="",this.outro=""),this.storeName=t,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}split(e){const t=e-this.start,r=this.original.slice(0,t),s=this.original.slice(t);this.original=r;const n=new Pb(e,this.end,s);return n.outro=this.outro,this.outro="",this.end=e,this.edited?(n.edit("",!1),this.content=""):this.content=r,n.next=this.next,n.next&&(n.next.previous=n),n.previous=this,this.next=n,n}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;const t=this.content.replace(e,"");return t.length?(t!==this.content&&this.split(this.start+t.length).edit("",void 0,!0),!0):(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),!!this.intro.length||void 0)}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;const t=this.content.replace(e,"");return t.length?(t!==this.content&&(this.split(this.end-t.length),this.edit("",void 0,!0)),!0):(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),!!this.outro.length||void 0)}}function Ab(){return"undefined"!=typeof window&&"function"==typeof window.btoa?e=>window.btoa(unescape(encodeURIComponent(e))):"function"==typeof Buffer?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const Cb=Ab();class kb{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=function(e){const t=new Int32Array(5),r=16348,s=new Uint8Array(16384),n=s.subarray(0,r);let i=0,o="";for(let a=0;a<e.length;a++){const c=e[a];if(a>0&&(16384===i&&(o+=Sb.decode(s),i=0),s[i++]=vb),0!==c.length){t[0]=0;for(let e=0;e<c.length;e++){const a=c[e];i>r&&(o+=Sb.decode(n),s.copyWithin(0,r,i),i-=r),e>0&&(s[i++]=bb),i=_b(s,i,t,a,0),1!==a.length&&(i=_b(s,i,t,a,1),i=_b(s,i,t,a,2),i=_b(s,i,t,a,3),4!==a.length&&(i=_b(s,i,t,a,4)))}}}return o+Sb.decode(s.subarray(0,i))}(e.mappings)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Cb(this.toString())}}function Ob(e,t){const r=e.split(/[/\\]/),s=t.split(/[/\\]/);for(r.pop();r[0]===s[0];)r.shift(),s.shift();if(r.length){let e=r.length;for(;e--;)r[e]=".."}return r.concat(s).join("/")}const Nb=Object.prototype.toString;function Ib(e){const t=e.split("\n"),r=[];for(let e=0,s=0;e<t.length;e++)r.push(s),s+=t[e].length+1;return function(e){let t=0,s=r.length;for(;t<s;){const n=t+s>>1;e<r[n]?s=n:t=n+1}const n=t-1;return{line:n,column:e-r[n]}}}class Rb{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,t,r,s){if(t.length){const t=[this.generatedCodeColumn,e,r.line,r.column];s>=0&&t.push(s),this.rawSegments.push(t)}else this.pending&&this.rawSegments.push(this.pending);this.advance(t),this.pending=null}addUneditedChunk(e,t,r,s,n){let i=t.start,o=!0;for(;i<t.end;)(this.hires||o||n.has(i))&&this.rawSegments.push([this.generatedCodeColumn,e,s.line,s.column]),"\n"===r[i]?(s.line+=1,s.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=!0):(s.column+=1,this.generatedCodeColumn+=1,o=!1),i+=1;this.pending=null}advance(e){if(!e)return;const t=e.split("\n");if(t.length>1){for(let e=0;e<t.length-1;e++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=t[t.length-1].length}}const Lb="\n",Mb={insertLeft:!1,insertRight:!1,storeName:!1};class Db{constructor(e,t={}){const r=new Pb(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:r},lastChunk:{writable:!0,value:r},lastSearchedChunk:{writable:!0,value:r},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:t.filename},indentExclusionRanges:{writable:!0,value:t.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new Tb},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0}}),this.byStart[0]=r,this.byEnd[e.length]=r}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byEnd[e];return r?r.appendLeft(t):this.intro+=t,this}appendRight(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byStart[e];return r?r.appendRight(t):this.outro+=t,this}clone(){const e=new Db(this.original,{filename:this.filename});let t=this.firstChunk,r=e.firstChunk=e.lastSearchedChunk=t.clone();for(;t;){e.byStart[r.start]=r,e.byEnd[r.end]=r;const s=t.next,n=s&&s.clone();n&&(r.next=n,n.previous=r,r=n),t=s}return e.lastChunk=r,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new Tb(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};const t=Object.keys(this.storedNames),r=new Rb(e.hires),s=Ib(this.original);return this.intro&&r.advance(this.intro),this.firstChunk.eachNext((e=>{const n=s(e.start);e.intro.length&&r.advance(e.intro),e.edited?r.addEdit(0,e.content,n,e.storeName?t.indexOf(e.original):-1):r.addUneditedChunk(0,e,this.original,n,this.sourcemapLocations),e.outro.length&&r.advance(e.outro)})),{file:e.file?e.file.split(/[/\\]/).pop():null,sources:[e.source?Ob(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:t,mappings:r.raw}}generateMap(e){return new kb(this.generateDecodedMap(e))}_ensureindentStr(){void 0===this.indentStr&&(this.indentStr=function(e){const t=e.split("\n"),r=t.filter((e=>/^\t+/.test(e))),s=t.filter((e=>/^ {2,}/.test(e)));if(0===r.length&&0===s.length)return null;if(r.length>=s.length)return"\t";const n=s.reduce(((e,t)=>{const r=/^ +/.exec(t)[0].length;return Math.min(r,e)}),1/0);return new Array(n+1).join(" ")}(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),null===this.indentStr?"\t":this.indentStr}indent(e,t){const r=/^[^\r\n]/gm;if(s=e,"[object Object]"===Nb.call(s)&&(t=e,e=void 0),void 0===e&&(this._ensureindentStr(),e=this.indentStr||"\t"),""===e)return this;var s;const n={};(t=t||{}).exclude&&("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach((e=>{for(let t=e[0];t<e[1];t+=1)n[t]=!0}));let i=!1!==t.indentStart;const o=t=>i?`${e}${t}`:(i=!0,t);this.intro=this.intro.replace(r,o);let a=0,c=this.firstChunk;for(;c;){const t=c.end;if(c.edited)n[a]||(c.content=c.content.replace(r,o),c.content.length&&(i="\n"===c.content[c.content.length-1]));else for(a=c.start;a<t;){if(!n[a]){const t=this.original[a];"\n"===t?i=!0:"\r"!==t&&i&&(i=!1,a===c.start||(this._splitChunk(c,a),c=c.next),c.prependRight(e))}a+=1}a=c.end,c=c.next}return this.outro=this.outro.replace(r,o),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,t){return Mb.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Mb.insertLeft=!0),this.appendLeft(e,t)}insertRight(e,t){return Mb.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Mb.insertRight=!0),this.prependRight(e,t)}move(e,t,r){if(r>=e&&r<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(r);const s=this.byStart[e],n=this.byEnd[t],i=s.previous,o=n.next,a=this.byStart[r];if(!a&&n===this.lastChunk)return this;const c=a?a.previous:this.lastChunk;return i&&(i.next=o),o&&(o.previous=i),c&&(c.next=s),a&&(a.previous=n),s.previous||(this.firstChunk=n.next),n.next||(this.lastChunk=s.previous,this.lastChunk.next=null),s.previous=c,n.next=a||null,c||(this.firstChunk=s),a||(this.lastChunk=n),this}overwrite(e,t,r,s){return s=s||{},this.update(e,t,r,{...s,overwrite:!s.contentOnly})}update(e,t,r,s){if("string"!=typeof r)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===s&&(Mb.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Mb.storeName=!0),s={storeName:!0});const n=void 0!==s&&s.storeName,i=void 0!==s&&s.overwrite;if(n){const r=this.original.slice(e,t);Object.defineProperty(this.storedNames,r,{writable:!0,value:!0,enumerable:!0})}const o=this.byStart[e],a=this.byEnd[t];if(o){let e=o;for(;e!==a;){if(e.next!==this.byStart[e.end])throw new Error("Cannot overwrite across a split point");e=e.next,e.edit("",!1)}o.edit(r,n,!i)}else{const s=new Pb(e,t,"").edit(r,n);a.next=s,s.previous=a}return this}prepend(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byEnd[e];return r?r.prependLeft(t):this.intro=t+this.intro,this}prependRight(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byStart[e];return r?r.prependRight(t):this.outro=t+this.outro,this}remove(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);let r=this.byStart[e];for(;r;)r.intro="",r.outro="",r.edit(""),r=t>r.end?this.byStart[r.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(Lb);if(-1!==e)return this.outro.substr(e+1);let t=this.outro,r=this.lastChunk;do{if(r.outro.length>0){if(e=r.outro.lastIndexOf(Lb),-1!==e)return r.outro.substr(e+1)+t;t=r.outro+t}if(r.content.length>0){if(e=r.content.lastIndexOf(Lb),-1!==e)return r.content.substr(e+1)+t;t=r.content+t}if(r.intro.length>0){if(e=r.intro.lastIndexOf(Lb),-1!==e)return r.intro.substr(e+1)+t;t=r.intro+t}}while(r=r.previous);return e=this.intro.lastIndexOf(Lb),-1!==e?this.intro.substr(e+1)+t:this.intro+t}slice(e=0,t=this.original.length){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;let r="",s=this.firstChunk;for(;s&&(s.start>e||s.end<=e);){if(s.start<t&&s.end>=t)return r;s=s.next}if(s&&s.edited&&s.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);const n=s;for(;s;){!s.intro||n===s&&s.start!==e||(r+=s.intro);const i=s.start<t&&s.end>=t;if(i&&s.edited&&s.end!==t)throw new Error(`Cannot use replaced character ${t} as slice end anchor.`);const o=n===s?e-s.start:0,a=i?s.content.length+t-s.end:s.content.length;if(r+=s.content.slice(o,a),!s.outro||i&&s.end!==t||(r+=s.outro),i)break;s=s.next}return r}snip(e,t){const r=this.clone();return r.remove(0,e),r.remove(t,r.original.length),r}_split(e){if(this.byStart[e]||this.byEnd[e])return;let t=this.lastSearchedChunk;const r=e>t.end;for(;t;){if(t.contains(e))return this._splitChunk(t,e);t=r?this.byStart[t.end]:this.byEnd[t.start]}}_splitChunk(e,t){if(e.edited&&e.content.length){const r=Ib(this.original)(t);throw new Error(`Cannot split a chunk that has already been edited (${r.line}:${r.column} – "${e.original}")`)}const r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,t=this.firstChunk;for(;t;)e+=t.toString(),t=t.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do{if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1}while(e=e.next);return!0}length(){let e=this.firstChunk,t=0;do{t+=e.intro.length+e.content.length+e.outro.length}while(e=e.next);return t}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){const t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.lastChunk;do{const e=r.end,s=r.trimEnd(t);if(r.end!==e&&(this.lastChunk===r&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),s)return!0;r=r.previous}while(r);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){const t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.firstChunk;do{const e=r.end,s=r.trimStart(t);if(r.end!==e&&(r===this.lastChunk&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),s)return!0;r=r.next}while(r);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,t){function r(e,r){return"string"==typeof t?t.replace(/\$(\$|&|\d+)/g,((t,r)=>"$"===r?"$":"&"===r?e[0]:+r<e.length?e[+r]:`$${r}`)):t(...e,e.index,r,e.groups)}if(e.global){(function(e,t){let r;const s=[];for(;r=e.exec(t);)s.push(r);return s})(e,this.original).forEach((e=>{null!=e.index&&this.overwrite(e.index,e.index+e[0].length,r(e,this.original))}))}else{const t=this.original.match(e);t&&null!=t.index&&this.overwrite(t.index,t.index+t[0].length,r(t,this.original))}return this}_replaceString(e,t){const{original:r}=this,s=r.indexOf(e);return-1!==s&&this.overwrite(s,s+e.length,t),this}replace(e,t){return"string"==typeof e?this._replaceString(e,t):this._replaceRegexp(e,t)}_replaceAllString(e,t){const{original:r}=this,s=e.length;for(let n=r.indexOf(e);-1!==n;n=r.indexOf(e,n+s))this.overwrite(n,n+s,t);return this}replaceAll(e,t){if("string"==typeof e)return this._replaceAllString(e,t);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,t)}}function jb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function Fb(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jb(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jb(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}Object.prototype.hasOwnProperty;var Bb=function(r){c(b,r);var s,d,y=(s=b,d=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(s);if(d){var r=h(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return l(this,e)});function b(r){var s;return o(this,b),s=y.call(this,r),u(a(s),"clearPageInstances",(function(){})),u(a(s),"_disconnectWithPinegrow",(function(){s.clearPageInstances()})),u(a(s),"_socketOnConnect",(function(){process.env.pinegrow_url=s.pinegrow_url,s.clearPageInstances()})),u(a(s),"_socketOnDisconnect",(function(){s.clearPageInstances()})),u(a(s),"_connectionManager",(function(){s.socket.on("on_project_loaded",s.onProjectLoaded),s.socket.on("emitted_currentPageSnapshot",s.processNewSnapshot)})),u(a(s),"onProjectLoaded",(function(){Object.entries(s.pageInstances).forEach((function(e){var t=n(e,2),r=(t[0],t[1]);s.processNewSnapshot(Fb(Fb({},r.newerSnapshot),{},{status:"emitted",pageEvent:"on_project_loaded",userAction:"delete",liveMtimeMs:(new Date).getTime(),withPgIds:null}))}))})),u(a(s),"processNewSnapshot",(function(e){var t=e.localFile;s.pageInstances[t]?s.pageInstances[t].newerSnapshot.liveMtimeMs<e.liveMtimeMs?(s.pageInstances[t].newerSnapshot=e,s.pageInstances[t].newerSnapshot.status="acked",s.socket.emit("progress_currentPageSnapshot",s.pageInstances[t].newerSnapshot),s.triggerWatcherEvent(t)):s.pageInstances[t].newerSnapshot.liveMtimeMs>=e.liveMtimeMs&&s.socket.emit("progress_currentPageSnapshot",s.pageInstances[t].currentSnapshot):(e.status="acked",s.pageInstances[t]={newerSnapshot:Fb({},e),currentSnapshot:Fb({},e)},s.triggerWatcherEvent(t))})),u(a(s),"triggerWatcherEvent",(function(e){var t=s.pageInstances[e].currentSnapshot,r=s.pageInstances[e].newerSnapshot;"acked"===r.status&&("processed"!==t.status&&r.liveMtimeMs===t.liveMtimeMs||"processed"===t.status&&r.liveMtimeMs>t.liveMtimeMs)&&(s.pageInstances[e].currentSnapshot=Fb({},r),(t=s.pageInstances[e].currentSnapshot).status="triggered",s.viteDevServer.watcher.emit("change",e))})),u(a(s),"config",(function(e,r){r.command;var i=r.mode;Array.isArray(e.resolve.alias)?s.aliases=Object.values(e.resolve.alias).map((function(e){var t=e.find,r=e.replacement;return{regex:"RegExp"===t.constructor.name,find:"RegExp"===t.constructor.name?{flags:t.flags,source:t.source}:t,replacement:r}})):s.aliases=Object.entries(e.resolve.alias).map((function(e){var t=n(e,2),r=t[0],s=t[1];return{regex:"RegExp"===r.constructor.name,find:"RegExp"===r.constructor.name?{flags:r.flags,source:r.source}:r,replacement:s}})),"production"!==i&&s.init();var o=t(new Set([].concat(t(s.globsNotToWatchByDevServer),t(s.pluginFilesNotToBeWatchedByDevServer))));return(0,g.mergeConfig)(e,{server:{watch:{ignored:o}}})})),u(a(s),"configResolved",function(){var t=e(p.mark((function e(t){return p.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s.aliases=t.resolve.alias.map((function(e){var t=e.find,r=e.replacement;return{regex:"RegExp"===t.constructor.name,find:"RegExp"===t.constructor.name?{flags:t.flags,source:t.source}:t,replacement:r}}));case 1:case"end":return e.stop()}}),e)})));return function(e){return t.apply(this,arguments)}}()),u(a(s),"configureServer",function(){var t=e(p.mark((function e(t){var r,n;return p.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!s.customOptions.listenerServer||!t.httpServer){e.next=2;break}return e.abrupt("return");case 2:s.viteDevServer=t,s.processConfigPath(),s.initHandShakeWithPinegrow(),r=function(e){var t,r,n=s.viteDevServer.config.server,i={host:r=void 0===(t=n.host)||!1===t||"localhost"===t?"127.0.0.1":!0===t?void 0:t,name:"127.0.0.1"!==t&&"127.0.0.1"===r||"0.0.0.0"===r||"::"===r||void 0===r?"localhost":r},o=n.https?"https":"http",a=(s.viteDevServer.config.logger.info,s.viteDevServer.config.base,e.address().port),c="".concat(o,"://").concat(i.name,":").concat(a);s.dev_server_url=c};try{n=a(s),!s.customOptions.listenerServer&&s.viteDevServer&&s.viteDevServer.httpServer?s.viteDevServer.httpServer.on("listening",(function(){r(n.viteDevServer.httpServer),n.sendDevServerUrl()})):s.customOptions.listenerServer&&s.viteDevServer&&(r(s.customOptions.listenerServer),s.sendDevServerUrl())}catch(e){}case 7:case"end":return e.stop()}}),e)})));return function(e){return t.apply(this,arguments)}}()),u(a(s),"handleHotUpdate",function(){var t=e(p.mark((function t(r){var n,i,o,a,c;return p.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=r.file,r.timestamp,r.modules,r.read,r.server,i=n,s.pageInstances[i]){t.next=4;break}return t.abrupt("return");case 4:o=s.pageInstances[i].currentSnapshot,s.processedCounter++,(a=o.withPgIds||"")&&(c=function(){var t=e(p.mark((function e(t){return p.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",a);case 1:case"end":return e.stop()}}),e)})));return function(e){return t.apply(this,arguments)}}(),r.read=c),o.status="processed",s.socket&&s.socket.emit("progress_currentPageSnapshot",o);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),u(a(s),"load",(function(e,t){var r=s.parseQueryString(e),n=r.filename,i=r.query,o=null;if(!(!s.pageInstances[n]||i&&i.type)){var a=s.pageInstances[n].currentSnapshot;return a&&a.withPgIds&&(o=a.withPgIds),o}})),u(a(s),"transform",(function(e,t,r){if(s.pinegrow_url&&(!r||!r.ssr)){if(!s.customOptions||s.customOptions.mappingType&&"type1"!==s.customOptions.mappingType&&"type2"!==s.customOptions.mappingType)return;if(!/\.vue$/.test(t)||t.includes("node_modules")||t.includes(".nuxt"))return null;var i,o,a,c,l=function(e,{sourceMap:t=!0,filename:r="anonymous.vue",sourceRoot:s="",pad:n=!1,ignoreEmpty:i=!0,compiler:o=ac}={}){const a=e+t+r+s+n+o.parse,c=Qu.get(a);if(c)return c;const l={filename:r,source:e,template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1,shouldForceReload:e=>function(e,t){if(!t.scriptSetup||"ts"!==t.scriptSetup.lang&&"tsx"!==t.scriptSetup.lang)return!1;for(const s in e)if(!e[s].isUsedInTemplate&&(r=t,new RegExp(`[^\\w$_]${s.replace(/\$/g,"\\$")}[^\\w$_]`).test(function(e){const{content:t,ast:r}=e.template,s=Ku.get(t);if(s)return s;let n="";return hi(it([r]),{nodeTransforms:[e=>{if(1===e.type){ja.isNativeTag(e.tag)||ja.isBuiltInComponent(e.tag)||(n+=`,${oe(e.tag)},${le(oe(e.tag))}`);for(let t=0;t<e.props.length;t++){const r=e.props[t];7===r.type&&(zu(r.name)||(n+=`,v${le(oe(r.name))}`),r.exp&&(n+=`,${Ju(r.exp.content,r.name)}`))}}else 5===e.type&&(n+=`,${Ju(e.content.content)}`)}]}),n+=";",Ku.set(t,n),n}(r))))return!0;var r;return!1}(e,l)},h=[];if(o.parse(e,{isNativeTag:()=>!0,isPreTag:()=>!0,getTextMode:({tag:e,props:t},r)=>!r&&"template"!==e||"template"===e&&t.some((e=>6===e.type&&"lang"===e.name&&e.value&&e.value.content&&"html"!==e.value.content))?2:0,onError:e=>{h.push(e)}}).children.forEach((t=>{if(1===t.type&&(!i||"template"===t.tag||!function(e){for(let t=0;t<e.children.length;t++){const r=e.children[t];if(2!==r.type||""!==r.content.trim())return!1}return!0}(t)||function(e){return e.props.some((e=>6===e.type&&"src"===e.name))}(t)))switch(t.tag){case"template":if(l.template)h.push(Zu(t));else{const r=l.template=ep(t,e,!1);if(r.ast=t,r.attrs.functional){const e=new SyntaxError("<template functional> is no longer supported in Vue 3, since functional components no longer have significant performance difference from stateful ones. Just use a normal <template> instead.");e.loc=t.props.find((e=>"functional"===e.name)).loc,h.push(e)}}break;case"script":const r=ep(t,e,n),s=!!r.attrs.setup;if(s&&!l.scriptSetup){l.scriptSetup=r;break}if(!s&&!l.script){l.script=r;break}h.push(Zu(t,s));break;case"style":const i=ep(t,e,n);i.attrs.vars&&h.push(new SyntaxError("<style vars> has been replaced by a new proposal: https://github.com/vuejs/rfcs/pull/231")),l.styles.push(i);break;default:l.customBlocks.push(ep(t,e,n))}})),l.template||l.script||l.scriptSetup||h.push(new SyntaxError("At least one <template> or <script> is required in a single file component.")),l.scriptSetup&&(l.scriptSetup.src&&(h.push(new SyntaxError('<script setup> cannot use the "src" attribute because its syntax will be ambiguous outside of the component.')),l.scriptSetup=null),l.script&&l.script.src&&(h.push(new SyntaxError('<script> cannot use the "src" attribute when <script setup> is also present because they must be processed together.')),l.script=null)),t){const t=t=>{t&&!t.src&&(t.map=function(e,t,r,s,n){const i=new Zi({file:e.replace(/\\/g,"/"),sourceRoot:s.replace(/\\/g,"/")});return i.setSourceContent(e,t),r.split(tp).forEach(((t,r)=>{if(!rp.test(t)){const s=r+1+n,o=r+1;for(let r=0;r<t.length;r++)/\s/.test(t[r])||i.addMapping({source:e,original:{line:s,column:r},generated:{line:o,column:r}})}})),JSON.parse(i.toString())}(r,e,t.content,s,n&&"template"!==t.type?0:t.loc.start.line-1))};t(l.template),t(l.script),l.styles.forEach(t),l.customBlocks.forEach(t)}l.cssVars=function(e){const t=[];return e.styles.forEach((e=>{let r;const s=e.content.replace(/\/\*([\s\S]*?)\*\//g,"");for(;r=lc.exec(s);){const e=r.index+r[0].length,n=hc(s,e);if(null!==n){const r=cc(s.slice(e,n));t.includes(r)||t.push(r)}}})),t}(l);const u=/(?:::v-|:)slotted\(/;l.slotted=l.styles.some((e=>e.scoped&&u.test(e.content)));const p={descriptor:l,errors:h};return Qu.set(a,p),p}(e,{filename:t}).descriptor;(l.script||l.scriptSetup)&&(i=null===(a=l.scriptSetup)||void 0===a||null===(c=a.attrs)||void 0===c?void 0:c.lang);var h=function(e){var t=e;return"type2"!==s.customOptions.mappingType||e.includes("defineEmits")||e.includes("data-pg-id")||(t="".concat(t,"\n//@ts-ignore\ndefineEmits(['data-pg-id']);")),"type1"!==s.customOptions.mappingType||e.includes("usePinegrow()")||(t="import { usePinegrow } from '@pinegrow/vite-plugin/vue' \n".concat(t),t="".concat(t,"\nconst { pgUpdateElCache } = usePinegrow()")),t};l.scriptSetup?l.scriptSetup.content=h(l.scriptSetup.content):(l.scriptSetup={type:"script",attrs:{setup:!0},content:h(""),loc:{start:{line:0}}},i&&(l.scriptSetup.attrs.lang=i));var u=[];Object.entries(l).forEach((function(e){var t=n(e,2),r=t[0],s=t[1];if(s){var i=function(e){return{type:e.type,attrs:e.attrs,content:e.content,startLine:e.loc.start.line}};["template","script","scriptSetup","styles","customBlocks"].includes(r)&&("styles"===r||"customBlocks"===r?s.forEach((function(e){return u.push(i(e))})):u.push(i(s)))}}));var p=(u=u.sort((function(e,t){return e.startLine-t.startLine}))).reduce((function(e,t){var r=t.type,s=t.attrs,i=void 0===s?{}:s,o=t.content,a=Object.entries(i).reduce((function(e,t){var r=n(t,2),s=r[0],i=r[1];if(!1===i)return e;var o=s;return!0!==i&&(o="".concat(o,'="').concat(i,'"')),"".concat(e?"".concat(e," ").concat(o):o)}),""),c="<".concat(r).concat(a?" ".concat(a):"",">\n").concat(o,"\n</").concat(r,">");return"".concat(e?"".concat(e,"\n").concat(c):c)}),"");if(p){var d=new Db(p);return(o=d.generateMap()).file=t,{code:e=d.toString(),map:o}}}})),u(a(s),"transformIndexHtml",(function(e,t){s.addons=[{name:"pgia",resources:[{parentResource:"public/pgia",injectTo:"head-append",tag:"script",children:"\n /* Pinegrow Interactions, do not remove */ (function(){try{if(!document.documentElement.hasAttribute('data-pg-ia-disabled')) { window.pgia_small_mq=typeof pgia_small_mq=='string'?pgia_small_mq:'(max-width:767px)';window.pgia_large_mq=typeof pgia_large_mq=='string'?pgia_large_mq:'(min-width:768px)';var style = document.createElement('style');var pgcss='html:not(.pg-ia-no-preview) [data-pg-ia-hide=\"\"] {opacity:0;visibility:hidden;}html:not(.pg-ia-no-preview) [data-pg-ia-show=\"\"] {opacity:1;visibility:visible;display:block;}';if(document.documentElement.hasAttribute('data-pg-id') && document.documentElement.hasAttribute('data-pg-mobile')) {pgia_small_mq='(min-width:0)';pgia_large_mq='(min-width:99999px)'} pgcss+='@media ' + pgia_small_mq + '{ html:not(.pg-ia-no-preview) [data-pg-ia-hide=\"mobile\"] {opacity:0;visibility:hidden;}html:not(.pg-ia-no-preview) [data-pg-ia-show=\"mobile\"] {opacity:1;visibility:visible;display:block;}}';pgcss+='@media ' + pgia_large_mq + '{html:not(.pg-ia-no-preview) [data-pg-ia-hide=\"desktop\"] {opacity:0;visibility:hidden;}html:not(.pg-ia-no-preview) [data-pg-ia-show=\"desktop\"] {opacity:1;visibility:visible;display:block;}}';style.innerHTML=pgcss;document.querySelector('head').appendChild(style);}}catch(e){console&&console.log(e);}})()"},{parentResource:"public/pgia",injectTo:"body-append",tag:"script",attrs:{src:"/pgia/lib/index.js"}}]}];var r=[];return s.addons.forEach((function(e){e.resources.forEach((function(e){if(!e.condition||s.customOptions[e.condition])try{var t=!0;if(e.parentResource){var n=s.projectRoot||process.cwd(),i=f.resolve(n,e.parentResource);t=t&&m.existsSync(i)}t&&r.push({injectTo:e.injectTo,tag:e.tag,attrs:e.attrs,children:e.children})}catch(e){console.log(e)}}))})),{html:e,tags:r}})),s.name="pinegrow:live-designer",s.pageInstances={},s.enforce="pre",s}return i(b)}(d.PgDevConnector);function Ub(e){var t=new Bb(e);return t.dev_server=!0,t}})(),module.exports=s})();
|