@pinegrow/vite-plugin 3.0.0-beta.14 → 3.0.0-beta.140

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 CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see index.cjs.LICENSE.txt */
2
- (()=>{var e={1365:e=>{e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},8105:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeRules=void 0;var n=r(1365),o=/[-[\]{}()*+?.,\\^$|#\s]/g;function s(e){return e.replace(o,"\\$&")}var i=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function a(e,t){return"boolean"==typeof e.ignoreCase?e.ignoreCase:"quirks"===e.ignoreCase?!!t.quirksMode:!t.xmlMode&&i.has(e.name)}t.attributeRules={equals:function(e,t,r){var n=r.adapter,o=t.name,s=t.value;return a(t,r)?(s=s.toLowerCase(),function(t){var r=n.getAttributeValue(t,o);return null!=r&&r.length===s.length&&r.toLowerCase()===s&&e(t)}):function(t){return n.getAttributeValue(t,o)===s&&e(t)}},hyphen:function(e,t,r){var n=r.adapter,o=t.name,s=t.value,i=s.length;return a(t,r)?(s=s.toLowerCase(),function(t){var r=n.getAttributeValue(t,o);return null!=r&&(r.length===i||"-"===r.charAt(i))&&r.substr(0,i).toLowerCase()===s&&e(t)}):function(t){var r=n.getAttributeValue(t,o);return null!=r&&(r.length===i||"-"===r.charAt(i))&&r.substr(0,i)===s&&e(t)}},element:function(e,t,r){var o=r.adapter,i=t.name,c=t.value;if(/\s/.test(c))return n.falseFunc;var l=new RegExp("(?:^|\\s)".concat(s(c),"(?:$|\\s)"),a(t,r)?"i":"");return function(t){var r=o.getAttributeValue(t,i);return null!=r&&r.length>=c.length&&l.test(r)&&e(t)}},exists:function(e,t,r){var n=t.name,o=r.adapter;return function(t){return o.hasAttrib(t,n)&&e(t)}},start:function(e,t,r){var o=r.adapter,s=t.name,i=t.value,c=i.length;return 0===c?n.falseFunc:a(t,r)?(i=i.toLowerCase(),function(t){var r=o.getAttributeValue(t,s);return null!=r&&r.length>=c&&r.substr(0,c).toLowerCase()===i&&e(t)}):function(t){var r;return!!(null===(r=o.getAttributeValue(t,s))||void 0===r?void 0:r.startsWith(i))&&e(t)}},end:function(e,t,r){var o=r.adapter,s=t.name,i=t.value,c=-i.length;return 0===c?n.falseFunc:a(t,r)?(i=i.toLowerCase(),function(t){var r;return(null===(r=o.getAttributeValue(t,s))||void 0===r?void 0:r.substr(c).toLowerCase())===i&&e(t)}):function(t){var r;return!!(null===(r=o.getAttributeValue(t,s))||void 0===r?void 0:r.endsWith(i))&&e(t)}},any:function(e,t,r){var o=r.adapter,i=t.name,c=t.value;if(""===c)return n.falseFunc;if(a(t,r)){var l=new RegExp(s(c),"i");return function(t){var r=o.getAttributeValue(t,i);return null!=r&&r.length>=c.length&&l.test(r)&&e(t)}}return function(t){var r;return!!(null===(r=o.getAttributeValue(t,i))||void 0===r?void 0:r.includes(c))&&e(t)}},not:function(e,t,r){var n=r.adapter,o=t.name,s=t.value;return""===s?function(t){return!!n.getAttributeValue(t,o)&&e(t)}:a(t,r)?(s=s.toLowerCase(),function(t){var r=n.getAttributeValue(t,o);return(null==r||r.length!==s.length||r.toLowerCase()!==s)&&e(t)}):function(t){return n.getAttributeValue(t,o)!==s&&e(t)}}}},5716:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.compileToken=t.compileUnsafe=t.compile=void 0;var o=r(3658),s=r(1365),i=n(r(3055)),a=r(9274),c=r(9919),l=r(3973);function u(e,t,r){return g("string"==typeof e?(0,o.parse)(e):e,t,r)}function d(e){return"pseudo"===e.type&&("scope"===e.name||Array.isArray(e.data)&&e.data.some((function(e){return e.some(d)})))}t.compile=function(e,t,r){var n=u(e,t,r);return(0,l.ensureIsTag)(n,t.adapter)},t.compileUnsafe=u;var p={type:o.SelectorType.Descendant},h={type:"_flexibleDescendant"},f={type:o.SelectorType.Pseudo,name:"scope",data:null};function g(e,t,r){var n;(e=e.filter((function(e){return e.length>0}))).forEach(i.default),r=null!==(n=t.context)&&void 0!==n?n:r;var o=Array.isArray(r),u=r&&(Array.isArray(r)?r:[r]);!function(e,t,r){for(var n=t.adapter,o=!!(null==r?void 0:r.every((function(e){var t=n.isTag(e)&&n.getParent(e);return e===l.PLACEHOLDER_ELEMENT||t&&n.isTag(t)}))),s=0,i=e;s<i.length;s++){var c=i[s];if(c.length>0&&(0,a.isTraversal)(c[0])&&"descendant"!==c[0].type);else{if(!o||c.some(d))continue;c.unshift(p)}c.unshift(f)}}(e,t,u);var b=!1,y=e.map((function(e){if(e.length>=2){var r=e[0],n=e[1];"pseudo"!==r.type||"scope"!==r.name||(o&&"descendant"===n.type?e[1]=h:"adjacent"!==n.type&&"sibling"!==n.type||(b=!0))}return function(e,t,r){var n;return e.reduce((function(e,n){return e===s.falseFunc?s.falseFunc:(0,c.compileGeneralSelector)(e,n,t,r,g)}),null!==(n=t.rootFunc)&&void 0!==n?n:s.trueFunc)}(e,t,u)})).reduce(m,s.falseFunc);return y.shouldTestNextSiblings=b,y}function m(e,t){return t===s.falseFunc||e===s.trueFunc?e:e===s.falseFunc||t===s.trueFunc?t:function(r){return e(r)||t(r)}}t.compileToken=g},9919:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compileGeneralSelector=void 0;var n=r(8105),o=r(7466),s=r(3658);t.compileGeneralSelector=function(e,t,r,i,a){var c=r.adapter,l=r.equals;switch(t.type){case s.SelectorType.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case s.SelectorType.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case s.SelectorType.Attribute:if(null!=t.namespace)throw new Error("Namespaced attributes are not yet supported by css-select");return r.xmlMode&&!r.lowerCaseAttributeNames||(t.name=t.name.toLowerCase()),n.attributeRules[t.action](e,t,r);case s.SelectorType.Pseudo:return(0,o.compilePseudoSelector)(e,t,r,i,a);case s.SelectorType.Tag:if(null!=t.namespace)throw new Error("Namespaced tag names are not yet supported by css-select");var u=t.name;return r.xmlMode&&!r.lowerCaseTags||(u=u.toLowerCase()),function(t){return c.getName(t)===u&&e(t)};case s.SelectorType.Descendant:if(!1===r.cacheResults||"undefined"==typeof WeakSet)return function(t){for(var r=t;r=c.getParent(r);)if(c.isTag(r)&&e(r))return!0;return!1};var d=new WeakSet;return function(t){for(var r=t;r=c.getParent(r);)if(!d.has(r)){if(c.isTag(r)&&e(r))return!0;d.add(r)}return!1};case"_flexibleDescendant":return function(t){var r=t;do{if(c.isTag(r)&&e(r))return!0}while(r=c.getParent(r));return!1};case s.SelectorType.Parent:return function(t){return c.getChildren(t).some((function(t){return c.isTag(t)&&e(t)}))};case s.SelectorType.Child:return function(t){var r=c.getParent(t);return null!=r&&c.isTag(r)&&e(r)};case s.SelectorType.Sibling:return function(t){for(var r=c.getSiblings(t),n=0;n<r.length;n++){var o=r[n];if(l(t,o))break;if(c.isTag(o)&&e(o))return!0}return!1};case s.SelectorType.Adjacent:return c.prevElementSibling?function(t){var r=c.prevElementSibling(t);return null!=r&&e(r)}:function(t){for(var r,n=c.getSiblings(t),o=0;o<n.length;o++){var s=n[o];if(l(t,s))break;c.isTag(s)&&(r=s)}return!!r&&e(r)};case s.SelectorType.Universal:if(null!=t.namespace&&"*"!==t.namespace)throw new Error("Namespaced universal selectors are not yet supported by css-select");return e}}},8062:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.aliases=t.pseudos=t.filters=t.is=t.selectOne=t.selectAll=t.prepareContext=t._compileToken=t._compileUnsafe=t.compile=void 0;var i=s(r(3926)),a=r(1365),c=r(5716),l=r(3973),u=function(e,t){return e===t},d={adapter:i,equals:u};function p(e){var t,r,n,o,s=null!=e?e:d;return null!==(t=s.adapter)&&void 0!==t||(s.adapter=i),null!==(r=s.equals)&&void 0!==r||(s.equals=null!==(o=null===(n=s.adapter)||void 0===n?void 0:n.equals)&&void 0!==o?o:u),s}function h(e){return function(t,r,n){var o=p(r);return e(t,o,n)}}function f(e){return function(t,r,n){var o=p(n);"function"!=typeof t&&(t=(0,c.compileUnsafe)(t,o,r));var s=g(r,o.adapter,t.shouldTestNextSiblings);return e(t,s,o)}}function g(e,t,r){return void 0===r&&(r=!1),r&&(e=function(e,t){for(var r=Array.isArray(e)?e.slice(0):[e],n=r.length,o=0;o<n;o++){var s=(0,l.getNextSiblings)(r[o],t);r.push.apply(r,s)}return r}(e,t)),Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}t.compile=h(c.compile),t._compileUnsafe=h(c.compileUnsafe),t._compileToken=h(c.compileToken),t.prepareContext=g,t.selectAll=f((function(e,t,r){return e!==a.falseFunc&&t&&0!==t.length?r.adapter.findAll(e,t):[]})),t.selectOne=f((function(e,t,r){return e!==a.falseFunc&&t&&0!==t.length?r.adapter.findOne(e,t):null})),t.is=function(e,t,r){var n=p(r);return("function"==typeof t?t:(0,c.compile)(t,n))(e)},t.default=t.selectAll;var m=r(7466);Object.defineProperty(t,"filters",{enumerable:!0,get:function(){return m.filters}}),Object.defineProperty(t,"pseudos",{enumerable:!0,get:function(){return m.pseudos}}),Object.defineProperty(t,"aliases",{enumerable:!0,get:function(){return m.aliases}})},9274:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTraversal=t.procedure=void 0,t.procedure={universal:50,tag:30,attribute:1,pseudo:0,"pseudo-element":0,"column-combinator":-1,descendant:-1,child:-1,parent:-1,sibling:-1,adjacent:-1,_flexibleDescendant:-1},t.isTraversal=function(e){return t.procedure[e.type]<0}},4169:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.aliases=void 0,t.aliases={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:":is(\n :is(button, input, select, textarea, optgroup, option)[disabled],\n optgroup[disabled] > option,\n fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)\n )",enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"}},4449:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.filters=void 0;var o=n(r(7346)),s=r(1365);function i(e,t){return function(r){var n=t.getParent(r);return null!=n&&t.isTag(n)&&e(r)}}function a(e){return function(t,r,n){var o=n.adapter[e];return"function"!=typeof o?s.falseFunc:function(e){return o(e)&&t(e)}}}t.filters={contains:function(e,t,r){var n=r.adapter;return function(r){return e(r)&&n.getText(r).includes(t)}},icontains:function(e,t,r){var n=r.adapter,o=t.toLowerCase();return function(t){return e(t)&&n.getText(t).toLowerCase().includes(o)}},"nth-child":function(e,t,r){var n=r.adapter,a=r.equals,c=(0,o.default)(t);return c===s.falseFunc?s.falseFunc:c===s.trueFunc?i(e,n):function(t){for(var r=n.getSiblings(t),o=0,s=0;s<r.length&&!a(t,r[s]);s++)n.isTag(r[s])&&o++;return c(o)&&e(t)}},"nth-last-child":function(e,t,r){var n=r.adapter,a=r.equals,c=(0,o.default)(t);return c===s.falseFunc?s.falseFunc:c===s.trueFunc?i(e,n):function(t){for(var r=n.getSiblings(t),o=0,s=r.length-1;s>=0&&!a(t,r[s]);s--)n.isTag(r[s])&&o++;return c(o)&&e(t)}},"nth-of-type":function(e,t,r){var n=r.adapter,a=r.equals,c=(0,o.default)(t);return c===s.falseFunc?s.falseFunc:c===s.trueFunc?i(e,n):function(t){for(var r=n.getSiblings(t),o=0,s=0;s<r.length;s++){var i=r[s];if(a(t,i))break;n.isTag(i)&&n.getName(i)===n.getName(t)&&o++}return c(o)&&e(t)}},"nth-last-of-type":function(e,t,r){var n=r.adapter,a=r.equals,c=(0,o.default)(t);return c===s.falseFunc?s.falseFunc:c===s.trueFunc?i(e,n):function(t){for(var r=n.getSiblings(t),o=0,s=r.length-1;s>=0;s--){var i=r[s];if(a(t,i))break;n.isTag(i)&&n.getName(i)===n.getName(t)&&o++}return c(o)&&e(t)}},root:function(e,t,r){var n=r.adapter;return function(t){var r=n.getParent(t);return(null==r||!n.isTag(r))&&e(t)}},scope:function(e,r,n,o){var s=n.equals;return o&&0!==o.length?1===o.length?function(t){return s(o[0],t)&&e(t)}:function(t){return o.includes(t)&&e(t)}:t.filters.root(e,r,n)},hover:a("isHovered"),visited:a("isVisited"),active:a("isActive")}},7466:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compilePseudoSelector=t.aliases=t.pseudos=t.filters=void 0;var n=r(1365),o=r(3658),s=r(4449);Object.defineProperty(t,"filters",{enumerable:!0,get:function(){return s.filters}});var i=r(8702);Object.defineProperty(t,"pseudos",{enumerable:!0,get:function(){return i.pseudos}});var a=r(4169);Object.defineProperty(t,"aliases",{enumerable:!0,get:function(){return a.aliases}});var c=r(3973);t.compilePseudoSelector=function(e,t,r,l,u){var d=t.name,p=t.data;if(Array.isArray(p))return c.subselects[d](e,p,r,l,u);if(d in a.aliases){if(null!=p)throw new Error("Pseudo ".concat(d," doesn't have any arguments"));var h=(0,o.parse)(a.aliases[d]);return c.subselects.is(e,h,r,l,u)}if(d in s.filters)return s.filters[d](e,p,r,l);if(d in i.pseudos){var f=i.pseudos[d];return(0,i.verifyPseudoArgs)(f,d,p),f===n.falseFunc?n.falseFunc:e===n.trueFunc?function(e){return f(e,r,p)}:function(t){return f(t,r,p)&&e(t)}}throw new Error("unmatched pseudo-class :".concat(d))}},8702:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.verifyPseudoArgs=t.pseudos=void 0,t.pseudos={empty:function(e,t){var r=t.adapter;return!r.getChildren(e).some((function(e){return r.isTag(e)||""!==r.getText(e)}))},"first-child":function(e,t){var r=t.adapter,n=t.equals,o=r.getSiblings(e).find((function(e){return r.isTag(e)}));return null!=o&&n(e,o)},"last-child":function(e,t){for(var r=t.adapter,n=t.equals,o=r.getSiblings(e),s=o.length-1;s>=0;s--){if(n(e,o[s]))return!0;if(r.isTag(o[s]))break}return!1},"first-of-type":function(e,t){for(var r=t.adapter,n=t.equals,o=r.getSiblings(e),s=r.getName(e),i=0;i<o.length;i++){var a=o[i];if(n(e,a))return!0;if(r.isTag(a)&&r.getName(a)===s)break}return!1},"last-of-type":function(e,t){for(var r=t.adapter,n=t.equals,o=r.getSiblings(e),s=r.getName(e),i=o.length-1;i>=0;i--){var a=o[i];if(n(e,a))return!0;if(r.isTag(a)&&r.getName(a)===s)break}return!1},"only-of-type":function(e,t){var r=t.adapter,n=t.equals,o=r.getName(e);return r.getSiblings(e).every((function(t){return n(e,t)||!r.isTag(t)||r.getName(t)!==o}))},"only-child":function(e,t){var r=t.adapter,n=t.equals;return r.getSiblings(e).every((function(t){return n(e,t)||!r.isTag(t)}))}},t.verifyPseudoArgs=function(e,t,r){if(null===r){if(e.length>2)throw new Error("pseudo-selector :".concat(t," requires an argument"))}else if(2===e.length)throw new Error("pseudo-selector :".concat(t," doesn't have any arguments"))}},3973:function(e,t,r){"use strict";var n=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,s=t.length;o<s;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.subselects=t.getNextSiblings=t.ensureIsTag=t.PLACEHOLDER_ELEMENT=void 0;var o=r(1365),s=r(9274);function i(e,t){return e===o.falseFunc?o.falseFunc:function(r){return t.isTag(r)&&e(r)}}function a(e,t){var r=t.getSiblings(e);if(r.length<=1)return[];var n=r.indexOf(e);return n<0||n===r.length-1?[]:r.slice(n+1).filter(t.isTag)}t.PLACEHOLDER_ELEMENT={},t.ensureIsTag=i,t.getNextSiblings=a;var c=function(e,t,r,n,o){var s=o(t,{xmlMode:!!r.xmlMode,adapter:r.adapter,equals:r.equals},n);return function(t){return s(t)&&e(t)}};t.subselects={is:c,matches:c,where:c,not:function(e,t,r,n,s){var i=s(t,{xmlMode:!!r.xmlMode,adapter:r.adapter,equals:r.equals},n);return i===o.falseFunc?e:i===o.trueFunc?o.falseFunc:function(t){return!i(t)&&e(t)}},has:function(e,r,c,l,u){var d=c.adapter,p={xmlMode:!!c.xmlMode,adapter:d,equals:c.equals},h=r.some((function(e){return e.some(s.isTraversal)}))?[t.PLACEHOLDER_ELEMENT]:void 0,f=u(r,p,h);if(f===o.falseFunc)return o.falseFunc;if(f===o.trueFunc)return function(t){return d.getChildren(t).some(d.isTag)&&e(t)};var g=i(f,d),m=f.shouldTestNextSiblings,b=void 0!==m&&m;return h?function(t){h[0]=t;var r=d.getChildren(t),o=b?n(n([],r,!0),a(t,d),!0):r;return e(t)&&d.existsOne(g,o)}:function(t){return e(t)&&d.existsOne(g,d.getChildren(t))}}}},3055:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3658),o=r(9274),s={exists:10,equals:8,not:7,start:6,end:6,any:5,hyphen:4,element:4};function i(e){var t=o.procedure[e.type];if(e.type===n.SelectorType.Attribute)(t=s[e.action])===s.equals&&"id"===e.name&&(t=9),e.ignoreCase&&(t>>=1);else if(e.type===n.SelectorType.Pseudo)if(e.data)if("has"===e.name||"contains"===e.name)t=0;else if(Array.isArray(e.data)){t=0;for(var r=0;r<e.data.length;r++)if(1===e.data[r].length){var a=i(e.data[r][0]);if(0===a){t=0;break}a>t&&(t=a)}e.data.length>1&&t>0&&(t-=1)}else t=1;else t=3;return t}t.default=function(e){for(var t=e.map(i),r=1;r<e.length;r++){var n=t[r];if(!(n<0))for(var o=r-1;o>=0&&n<t[o];o--){var s=e[o+1];e[o+1]=e[o],e[o]=s,t[o+1]=t[o],t[o]=n}}}},6366:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]),t.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]])},7974:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return s(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var a=i(r(4821)),c=r(4946),l=r(6366),u=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]),d=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function p(e,t){void 0===t&&(t={});for(var r=("length"in e?e:[e]),n="",o=0;o<r.length;o++)n+=h(r[o],t);return n}function h(e,t){switch(e.type){case a.Root:return p(e.children,t);case a.Directive:case a.Doctype:return"<"+e.data+">";case a.Comment:return"\x3c!--"+e.data+"--\x3e";case a.CDATA:return function(e){return"<![CDATA["+e.children[0].data+"]]>"}(e);case a.Script:case a.Style:case a.Tag:return function(e,t){var r;"foreign"===t.xmlMode&&(e.name=null!==(r=l.elementNames.get(e.name))&&void 0!==r?r:e.name,e.parent&&f.has(e.parent.name)&&(t=n(n({},t),{xmlMode:!1}))),!t.xmlMode&&g.has(e.name)&&(t=n(n({},t),{xmlMode:"foreign"}));var o="<"+e.name,s=function(e,t){if(e)return Object.keys(e).map((function(r){var n,o,s=null!==(n=e[r])&&void 0!==n?n:"";return"foreign"===t.xmlMode&&(r=null!==(o=l.attributeNames.get(r))&&void 0!==o?o:r),t.emptyAttrs||t.xmlMode||""!==s?r+'="'+(!1!==t.decodeEntities?c.encodeXML(s):s.replace(/"/g,"&quot;"))+'"':r})).join(" ")}(e.attribs,t);return s&&(o+=" "+s),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&d.has(e.name))?(t.xmlMode||(o+=" "),o+="/>"):(o+=">",e.children.length>0&&(o+=p(e.children,t)),!t.xmlMode&&d.has(e.name)||(o+="</"+e.name+">")),o}(e,t);case a.Text:return function(e,t){var r=e.data||"";return!1===t.decodeEntities||!t.xmlMode&&e.parent&&u.has(e.parent.name)||(r=c.encodeXML(r)),r}(e,t)}}t.default=p;var f=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),g=new Set(["svg","math"])},9509:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var s=r(4821),i=r(352);o(r(352),t);var a=/\s+/g,c={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,r){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=c),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:c,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?s.ElementType.Tag:void 0,n=new i.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,r=this.lastNode;if(r&&r.type===s.ElementType.Text)t?r.data=(r.data+e).replace(a," "):r.data+=e,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{t&&(e=e.replace(a," "));var n=new i.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===s.ElementType.Comment)this.lastNode.data+=e;else{var t=new i.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new i.Text(""),t=new i.NodeWithChildren(s.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new i.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},352:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__assign||function(){return s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},s.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var i=r(4821),a=new Map([[i.ElementType.Tag,1],[i.ElementType.Script,1],[i.ElementType.Style,1],[i.ElementType.Directive,1],[i.ElementType.Text,3],[i.ElementType.CDATA,4],[i.ElementType.Comment,8],[i.ElementType.Root,9]]),c=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=a.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),E(this,e)},e}();t.Node=c;var l=function(e){function t(t,r){var n=e.call(this,t)||this;return n.data=r,n}return o(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(c);t.DataNode=l;var u=function(e){function t(t){return e.call(this,i.ElementType.Text,t)||this}return o(t,e),t}(l);t.Text=u;var d=function(e){function t(t){return e.call(this,i.ElementType.Comment,t)||this}return o(t,e),t}(l);t.Comment=d;var p=function(e){function t(t,r){var n=e.call(this,i.ElementType.Directive,r)||this;return n.name=t,n}return o(t,e),t}(l);t.ProcessingInstruction=p;var h=function(e){function t(t,r){var n=e.call(this,t)||this;return n.children=r,n}return o(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(c);t.NodeWithChildren=h;var f=function(e){function t(t){return e.call(this,i.ElementType.Root,t)||this}return o(t,e),t}(h);t.Document=f;var g=function(e){function t(t,r,n,o){void 0===n&&(n=[]),void 0===o&&(o="script"===t?i.ElementType.Script:"style"===t?i.ElementType.Style:i.ElementType.Tag);var s=e.call(this,o,n)||this;return s.name=t,s.attribs=r,s}return o(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(h);function m(e){return(0,i.isTag)(e)}function b(e){return e.type===i.ElementType.CDATA}function y(e){return e.type===i.ElementType.Text}function v(e){return e.type===i.ElementType.Comment}function _(e){return e.type===i.ElementType.Directive}function w(e){return e.type===i.ElementType.Root}function E(e,t){var r;if(void 0===t&&(t=!1),y(e))r=new u(e.data);else if(v(e))r=new d(e.data);else if(m(e)){var n=t?x(e.children):[],o=new g(e.name,s({},e.attribs),n);n.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=s({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=s({},e["x-attribsPrefix"])),r=o}else if(b(e)){n=t?x(e.children):[];var a=new h(i.ElementType.CDATA,n);n.forEach((function(e){return e.parent=a})),r=a}else if(w(e)){n=t?x(e.children):[];var c=new f(n);n.forEach((function(e){return e.parent=c})),e["x-mode"]&&(c["x-mode"]=e["x-mode"]),r=c}else{if(!_(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new p(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),r=l}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function x(e){for(var t=e.map((function(e){return E(e,!0)})),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}t.Element=g,t.isTag=m,t.isCDATA=b,t.isText=y,t.isComment=v,t.isDirective=_,t.isDocument=w,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=E},2465:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var n=r(2849),o=r(4420);t.getFeed=function(e){var t=c(d,e);return t?"feed"===t.name?function(e){var t,r=e.children,n={type:"atom",items:(0,o.getElementsByTagName)("entry",r).map((function(e){var t,r=e.children,n={media:a(r)};u(n,"id","id",r),u(n,"title","title",r);var o=null===(t=c("link",r))||void 0===t?void 0:t.attribs.href;o&&(n.link=o);var s=l("summary",r)||l("content",r);s&&(n.description=s);var i=l("updated",r);return i&&(n.pubDate=new Date(i)),n}))};u(n,"id","id",r),u(n,"title","title",r);var s=null===(t=c("link",r))||void 0===t?void 0:t.attribs.href;s&&(n.link=s),u(n,"description","subtitle",r);var i=l("updated",r);return i&&(n.updated=new Date(i)),u(n,"author","email",r,!0),n}(t):function(e){var t,r,n=null!==(r=null===(t=c("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==r?r:[],s={type:e.name.substr(0,3),id:"",items:(0,o.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,r={media:a(t)};u(r,"id","guid",t),u(r,"title","title",t),u(r,"link","link",t),u(r,"description","description",t);var n=l("pubDate",t);return n&&(r.pubDate=new Date(n)),r}))};u(s,"title","title",n),u(s,"link","link",n),u(s,"description","description",n);var i=l("lastBuildDate",n);return i&&(s.updated=new Date(i)),u(s,"author","managingEditor",n,!0),s}(t):null};var s=["url","type","lang"],i=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function a(e){return(0,o.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,r={medium:t.medium,isDefault:!!t.isDefault},n=0,o=s;n<o.length;n++)t[l=o[n]]&&(r[l]=t[l]);for(var a=0,c=i;a<c.length;a++){var l;t[l=c[a]]&&(r[l]=parseInt(t[l],10))}return t.expression&&(r.expression=t.expression),r}))}function c(e,t){return(0,o.getElementsByTagName)(e,t,!0,1)[0]}function l(e,t,r){return void 0===r&&(r=!1),(0,n.textContent)((0,o.getElementsByTagName)(e,t,r,1)).trim()}function u(e,t,r,n,o){void 0===o&&(o=!1);var s=l(r,n,o);s&&(e[t]=s)}function d(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},765:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var n=r(9509);function o(e,t){var r=[],o=[];if(e===t)return 0;for(var s=(0,n.hasChildren)(e)?e:e.parent;s;)r.unshift(s),s=s.parent;for(s=(0,n.hasChildren)(t)?t:t.parent;s;)o.unshift(s),s=s.parent;for(var i=Math.min(r.length,o.length),a=0;a<i&&r[a]===o[a];)a++;if(0===a)return 1;var c=r[a-1],l=c.children,u=r[a],d=o[a];return l.indexOf(u)>l.indexOf(d)?c===t?20:4:c===e?10:2}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0)e.splice(t,1);else for(var n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e},t.compareDocumentPosition=o,t.uniqueSort=function(e){return(e=e.filter((function(e,t,r){return!r.includes(e,t+1)}))).sort((function(e,t){var r=o(e,t);return 2&r?-1:4&r?1:0})),e}},3926:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,o(r(2849),t),o(r(8861),t),o(r(6860),t),o(r(5358),t),o(r(4420),t),o(r(765),t),o(r(2465),t);var s=r(9509);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return s.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return s.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return s.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return s.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return s.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return s.hasChildren}})},4420:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var n=r(9509),o=r(5358),s={tag_name:function(e){return"function"==typeof e?function(t){return(0,n.isTag)(t)&&e(t.name)}:"*"===e?n.isTag:function(t){return(0,n.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return(0,n.isText)(t)&&e(t.data)}:function(t){return(0,n.isText)(t)&&t.data===e}}};function i(e,t){return"function"==typeof t?function(r){return(0,n.isTag)(r)&&t(r.attribs[e])}:function(r){return(0,n.isTag)(r)&&r.attribs[e]===t}}function a(e,t){return function(r){return e(r)||t(r)}}function c(e){var t=Object.keys(e).map((function(t){var r=e[t];return Object.prototype.hasOwnProperty.call(s,t)?s[t](r):i(t,r)}));return 0===t.length?null:t.reduce(a)}t.testElement=function(e,t){var r=c(e);return!r||r(t)},t.getElements=function(e,t,r,n){void 0===n&&(n=1/0);var s=c(e);return s?(0,o.filter)(s,t,r,n):[]},t.getElementById=function(e,t,r){return void 0===r&&(r=!0),Array.isArray(t)||(t=[t]),(0,o.findOne)(i("id",e),t,r)},t.getElementsByTagName=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,o.filter)(s.tag_name(e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,o.filter)(s.tag_type(e),t,r,n)}},6860:(e,t)=>{"use strict";function r(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=r,t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var o=t.parent=e.parent;if(o){var s=o.children;s[s.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(r(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null},t.append=function(e,t){r(t);var n=e.parent,o=e.next;if(t.next=o,t.prev=e,e.next=t,t.parent=n,o){if(o.prev=t,n){var s=n.children;s.splice(s.lastIndexOf(o),0,t)}}else n&&n.children.push(t)},t.prependChild=function(e,t){if(r(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var n=e.children[1];n.prev=t,t.next=n}else t.next=null},t.prepend=function(e,t){r(t);var n=e.parent;if(n){var o=n.children;o.splice(o.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},5358:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var n=r(9509);function o(e,t,r,s){for(var i=[],a=0,c=t;a<c.length;a++){var l=c[a];if(e(l)&&(i.push(l),--s<=0))break;if(r&&(0,n.hasChildren)(l)&&l.children.length>0){var u=o(e,l.children,r,s);if(i.push.apply(i,u),(s-=u.length)<=0)break}}return i}t.filter=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),Array.isArray(t)||(t=[t]),o(e,t,r,n)},t.find=o,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,r,o){void 0===o&&(o=!0);for(var s=null,i=0;i<r.length&&!s;i++){var a=r[i];(0,n.isTag)(a)&&(t(a)?s=a:o&&a.children.length>0&&(s=e(t,a.children)))}return s},t.existsOne=function e(t,r){return r.some((function(r){return(0,n.isTag)(r)&&(t(r)||r.children.length>0&&e(t,r.children))}))},t.findAll=function(e,t){for(var r,o,s=[],i=t.filter(n.isTag);o=i.shift();){var a=null===(r=o.children)||void 0===r?void 0:r.filter(n.isTag);a&&a.length>0&&i.unshift.apply(i,a),e(o)&&s.push(o)}return s}},2849:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var o=r(9509),s=n(r(7974)),i=r(4821);function a(e,t){return(0,s.default)(e,t)}t.getOuterHTML=a,t.getInnerHTML=function(e,t){return(0,o.hasChildren)(e)?e.children.map((function(e){return a(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,o.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,o.isCDATA)(t)?e(t.children):(0,o.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,o.hasChildren)(t)&&!(0,o.isComment)(t)?e(t.children):(0,o.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,o.hasChildren)(t)&&(t.type===i.ElementType.Tag||(0,o.isCDATA)(t))?e(t.children):(0,o.isText)(t)?t.data:""}},8861:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var n=r(9509),o=[];function s(e){var t;return null!==(t=e.children)&&void 0!==t?t:o}function i(e){return e.parent||null}t.getChildren=s,t.getParent=i,t.getSiblings=function(e){var t=i(e);if(null!=t)return s(t);for(var r=[e],n=e.prev,o=e.next;null!=n;)r.unshift(n),n=n.prev;for(;null!=o;)r.push(o),o=o.next;return r},t.getAttributeValue=function(e,t){var r;return null===(r=e.attribs)||void 0===r?void 0:r[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,n.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,n.isTag)(t);)t=t.prev;return t}},4753:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var o=n(r(2618)),s=n(r(2462)),i=n(r(6360)),a=n(r(5041)),c=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function l(e){var t=d(e);return function(e){return String(e).replace(c,t)}}t.decodeXML=l(i.default),t.decodeHTMLStrict=l(o.default);var u=function(e,t){return e<t?1:-1};function d(e){return function(t){if("#"===t.charAt(1)){var r=t.charAt(2);return"X"===r||"x"===r?a.default(parseInt(t.substr(3),16)):a.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(s.default).sort(u),t=Object.keys(o.default).sort(u),r=0,n=0;r<t.length;r++)e[n]===t[r]?(t[r]+=";?",n++):t[r]+=";";var i=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),a=d(o.default);function c(e){return";"!==e.substr(-1)&&(e+=";"),a(e)}return function(e){return String(e).replace(i,c)}}()},5041:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(4034)),s=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in o.default&&(e=o.default[e]),s(e))}},6913:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var o=u(n(r(6360)).default),s=d(o);t.encodeXML=m(o);var i,a,c=u(n(r(2618)).default),l=d(c);function u(e){return Object.keys(e).sort().reduce((function(t,r){return t[e[r]]="&"+r+";",t}),{})}function d(e){for(var t=[],r=[],n=0,o=Object.keys(e);n<o.length;n++){var s=o[n];1===s.length?t.push("\\"+s):r.push(s)}t.sort();for(var i=0;i<t.length-1;i++){for(var a=i;a<t.length-1&&t[a].charCodeAt(1)+1===t[a+1].charCodeAt(1);)a+=1;var c=1+a-i;c<3||t.splice(i,c,t[i]+"-"+t[a])}return r.unshift("["+t.join("")+"]"),new RegExp(r.join("|"),"g")}t.encodeHTML=(i=c,a=l,function(e){return e.replace(a,(function(e){return i[e]})).replace(p,f)}),t.encodeNonAsciiHTML=m(c);var p=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,h=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function f(e){return"&#x"+(e.length>1?h(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var g=new RegExp(s.source+"|"+p.source,"g");function m(e){return function(t){return t.replace(g,(function(t){return e[t]||f(t)}))}}t.escape=function(e){return e.replace(g,f)},t.escapeUTF8=function(e){return e.replace(s,f)}},4946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var n=r(4753),o=r(6913);t.decode=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?o.encodeXML:o.encodeHTML)(e)};var s=r(6913);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return s.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return s.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return s.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return s.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return s.encodeHTML}});var i=r(4753);Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return i.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return i.decodeXML}})},3658:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{AttributeAction:()=>s,IgnoreCaseMode:()=>o,SelectorType:()=>n,isTraversal:()=>u,parse:()=>m,stringify:()=>x}),function(e){e.Attribute="attribute",e.Pseudo="pseudo",e.PseudoElement="pseudo-element",e.Tag="tag",e.Universal="universal",e.Adjacent="adjacent",e.Child="child",e.Descendant="descendant",e.Parent="parent",e.Sibling="sibling",e.ColumnCombinator="column-combinator"}(n||(n={}));const o={Unknown:null,QuirksMode:"quirks",IgnoreCase:!0,CaseSensitive:!1};var s;!function(e){e.Any="any",e.Element="element",e.End="end",e.Equals="equals",e.Exists="exists",e.Hyphen="hyphen",e.Not="not",e.Start="start"}(s||(s={}));const i=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,a=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,c=new Map([[126,s.Element],[94,s.Start],[36,s.End],[42,s.Any],[33,s.Not],[124,s.Hyphen]]),l=new Set(["has","not","matches","is","where","host","host-context"]);function u(e){switch(e.type){case n.Adjacent:case n.Child:case n.Descendant:case n.Parent:case n.Sibling:case n.ColumnCombinator:return!0;default:return!1}}const d=new Set(["contains","icontains"]);function p(e,t,r){const n=parseInt(t,16)-65536;return n!=n||r?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)}function h(e){return e.replace(a,p)}function f(e){return 39===e||34===e}function g(e){return 32===e||9===e||10===e||12===e||13===e}function m(e){const t=[],r=b(t,`${e}`,0);if(r<e.length)throw new Error(`Unmatched selector: ${e.slice(r)}`);return t}function b(e,t,r){let o=[];function a(e){const n=t.slice(r+e).match(i);if(!n)throw new Error(`Expected name, found ${t.slice(r)}`);const[o]=n;return r+=e+o.length,h(o)}function p(e){for(r+=e;r<t.length&&g(t.charCodeAt(r));)r++}function m(){const e=r+=1;let n=1;for(;n>0&&r<t.length;r++)40!==t.charCodeAt(r)||y(r)?41!==t.charCodeAt(r)||y(r)||n--:n++;if(n)throw new Error("Parenthesis not matched");return h(t.slice(e,r-1))}function y(e){let r=0;for(;92===t.charCodeAt(--e);)r++;return 1==(1&r)}function v(){if(o.length>0&&u(o[o.length-1]))throw new Error("Did not expect successive traversals.")}function _(e){o.length>0&&o[o.length-1].type===n.Descendant?o[o.length-1].type=e:(v(),o.push({type:e}))}function w(e,t){o.push({type:n.Attribute,name:e,action:t,value:a(1),namespace:null,ignoreCase:"quirks"})}function E(){if(o.length&&o[o.length-1].type===n.Descendant&&o.pop(),0===o.length)throw new Error("Empty sub-selector");e.push(o)}if(p(0),t.length===r)return r;e:for(;r<t.length;){const e=t.charCodeAt(r);switch(e){case 32:case 9:case 10:case 12:case 13:0!==o.length&&o[0].type===n.Descendant||(v(),o.push({type:n.Descendant})),p(1);break;case 62:_(n.Child),p(1);break;case 60:_(n.Parent),p(1);break;case 126:_(n.Sibling),p(1);break;case 43:_(n.Adjacent),p(1);break;case 46:w("class",s.Element);break;case 35:w("id",s.Equals);break;case 91:{let e;p(1);let i=null;124===t.charCodeAt(r)?e=a(1):t.startsWith("*|",r)?(i="*",e=a(2)):(e=a(0),124===t.charCodeAt(r)&&61!==t.charCodeAt(r+1)&&(i=e,e=a(1))),p(0);let l=s.Exists;const u=c.get(t.charCodeAt(r));if(u){if(l=u,61!==t.charCodeAt(r+1))throw new Error("Expected `=`");p(2)}else 61===t.charCodeAt(r)&&(l=s.Equals,p(1));let d="",m=null;if("exists"!==l){if(f(t.charCodeAt(r))){const e=t.charCodeAt(r);let n=r+1;for(;n<t.length&&(t.charCodeAt(n)!==e||y(n));)n+=1;if(t.charCodeAt(n)!==e)throw new Error("Attribute value didn't end");d=h(t.slice(r+1,n)),r=n+1}else{const e=r;for(;r<t.length&&(!g(t.charCodeAt(r))&&93!==t.charCodeAt(r)||y(r));)r+=1;d=h(t.slice(e,r))}p(0);const e=32|t.charCodeAt(r);115===e?(m=!1,p(1)):105===e&&(m=!0,p(1))}if(93!==t.charCodeAt(r))throw new Error("Attribute selector didn't terminate");r+=1;const b={type:n.Attribute,name:e,action:l,value:d,namespace:i,ignoreCase:m};o.push(b);break}case 58:{if(58===t.charCodeAt(r+1)){o.push({type:n.PseudoElement,name:a(2).toLowerCase(),data:40===t.charCodeAt(r)?m():null});continue}const e=a(1).toLowerCase();let s=null;if(40===t.charCodeAt(r))if(l.has(e)){if(f(t.charCodeAt(r+1)))throw new Error(`Pseudo-selector ${e} cannot be quoted`);if(s=[],r=b(s,t,r+1),41!==t.charCodeAt(r))throw new Error(`Missing closing parenthesis in :${e} (${t})`);r+=1}else{if(s=m(),d.has(e)){const e=s.charCodeAt(0);e===s.charCodeAt(s.length-1)&&f(e)&&(s=s.slice(1,-1))}s=h(s)}o.push({type:n.Pseudo,name:e,data:s});break}case 44:E(),o=[],p(1);break;default:{if(t.startsWith("/*",r)){const e=t.indexOf("*/",r+2);if(e<0)throw new Error("Comment was not terminated");r=e+2,0===o.length&&p(0);break}let s,c=null;if(42===e)r+=1,s="*";else if(124===e){if(s="",124===t.charCodeAt(r+1)){_(n.ColumnCombinator),p(2);break}}else{if(!i.test(t.slice(r)))break e;s=a(0)}124===t.charCodeAt(r)&&124!==t.charCodeAt(r+1)&&(c=s,42===t.charCodeAt(r+1)?(s="*",r+=2):s=a(1)),o.push("*"===s?{type:n.Universal,namespace:c}:{type:n.Tag,name:s,namespace:c})}}}return E(),r}const y=["\\",'"'],v=[...y,"(",")"],_=new Set(y.map((e=>e.charCodeAt(0)))),w=new Set(v.map((e=>e.charCodeAt(0)))),E=new Set([...v,"~","^","$","*","+","!","|",":","[","]"," ","."].map((e=>e.charCodeAt(0))));function x(e){return e.map((e=>e.map(A).join(""))).join(", ")}function A(e,t,r){switch(e.type){case n.Child:return 0===t?"> ":" > ";case n.Parent:return 0===t?"< ":" < ";case n.Sibling:return 0===t?"~ ":" ~ ";case n.Adjacent:return 0===t?"+ ":" + ";case n.Descendant:return" ";case n.ColumnCombinator:return 0===t?"|| ":" || ";case n.Universal:return"*"===e.namespace&&t+1<r.length&&"name"in r[t+1]?"":`${T(e.namespace)}*`;case n.Tag:return S(e);case n.PseudoElement:return`::${k(e.name,E)}${null===e.data?"":`(${k(e.data,w)})`}`;case n.Pseudo:return`:${k(e.name,E)}${null===e.data?"":`(${"string"==typeof e.data?k(e.data,w):x(e.data)})`}`;case n.Attribute:{if("id"===e.name&&e.action===s.Equals&&"quirks"===e.ignoreCase&&!e.namespace)return`#${k(e.value,E)}`;if("class"===e.name&&e.action===s.Element&&"quirks"===e.ignoreCase&&!e.namespace)return`.${k(e.value,E)}`;const t=S(e);return e.action===s.Exists?`[${t}]`:`[${t}${function(e){switch(e){case s.Equals:return"";case s.Element:return"~";case s.Start:return"^";case s.End:return"$";case s.Any:return"*";case s.Not:return"!";case s.Hyphen:return"|";case s.Exists:throw new Error("Shouldn't be here")}}(e.action)}="${k(e.value,_)}"${null===e.ignoreCase?"":e.ignoreCase?" i":" s"}]`}}}function S(e){return`${T(e.namespace)}${k(e.name,E)}`}function T(e){return null!==e?`${"*"===e?"*":k(e,E)}|`:""}function k(e,t){let r=0,n="";for(let o=0;o<e.length;o++)t.has(e.charCodeAt(o))&&(n+=`${e.slice(r,o)}\\${e.charAt(o)}`,r=o+1);return n.length>0?n+e.slice(r):e}},4821:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},361:function(e,t,r){var n;e=r.nmd(e),function(o){var s=(e&&e.exports,"object"==typeof global&&global);s.global!==s&&s.window;var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=/[\x01-\x7F]/g,c=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,u={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon",ˆ:"circ",ˇ:"caron","°":"deg","©":"copy","®":"reg","℗":"copysr",℘:"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78",𝒶:"ascr",𝕒:"aopf",𝔞:"afr",𝔸:"Aopf",𝔄:"Afr",𝒜:"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig",𝒷:"bscr",𝕓:"bopf",𝔟:"bfr",𝔹:"Bopf",ℬ:"Bscr",𝔅:"Bfr",𝔠:"cfr",𝒸:"cscr",𝕔:"copf",ℭ:"Cfr",𝒞:"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare",𝔡:"dfr",ⅆ:"dd",𝕕:"dopf",𝒹:"dscr",𝒟:"Dscr",𝔇:"Dfr",ⅅ:"DD",𝔻:"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH",ⅇ:"ee",ℯ:"escr",𝔢:"efr",𝕖:"eopf",ℰ:"Escr",𝔈:"Efr",𝔼:"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr",𝔣:"ffr",𝕗:"fopf",𝒻:"fscr",𝔉:"Ffr",𝔽:"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr",𝕘:"gopf",𝔤:"gfr",𝒢:"Gscr",𝔾:"Gopf",𝔊:"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil",𝔥:"hfr",ℎ:"planckh",𝒽:"hscr",𝕙:"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok",𝕚:"iopf",𝔦:"ifr",𝒾:"iscr",ⅈ:"ii",𝕀:"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath",𝒿:"jscr",𝕛:"jopf",𝔧:"jfr",𝒥:"Jscr",𝔍:"Jfr",𝕁:"Jopf",ĵ:"jcirc",Ĵ:"Jcirc",ȷ:"jmath",𝕜:"kopf",𝓀:"kscr",𝔨:"kfr",𝒦:"Kscr",𝕂:"Kopf",𝔎:"Kfr",ķ:"kcedil",Ķ:"Kcedil",𝔩:"lfr",𝓁:"lscr",ℓ:"ell",𝕝:"lopf",ℒ:"Lscr",𝔏:"Lfr",𝕃:"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot",𝔪:"mfr",𝕞:"mopf",𝓂:"mscr",𝔐:"Mfr",𝕄:"Mopf",ℳ:"Mscr",𝔫:"nfr",𝕟:"nopf",𝓃:"nscr",ℕ:"Nopf",𝒩:"Nscr",𝔑:"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG",𝕠:"oopf",𝔬:"ofr",ℴ:"oscr",𝒪:"Oscr",𝔒:"Ofr",𝕆:"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig",𝔭:"pfr",𝓅:"pscr",𝕡:"popf",ℙ:"Popf",𝔓:"Pfr",𝒫:"Pscr",𝕢:"qopf",𝔮:"qfr",𝓆:"qscr",𝒬:"Qscr",𝔔:"Qfr",ℚ:"Qopf",ĸ:"kgreen",𝔯:"rfr",𝕣:"ropf",𝓇:"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil",𝕤:"sopf",𝓈:"sscr",𝔰:"sfr",𝕊:"Sopf",𝔖:"Sfr",𝒮:"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig",𝔱:"tfr",𝓉:"tscr",𝕥:"topf",𝒯:"Tscr",𝔗:"Tfr",𝕋:"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok",𝓊:"uscr",𝕦:"uopf",𝔲:"ufr",𝕌:"Uopf",𝔘:"Ufr",𝒰:"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr",𝔳:"vfr",𝕧:"vopf",𝓋:"vscr",𝔙:"Vfr",𝕍:"Vopf",𝒱:"Vscr",𝕨:"wopf",𝓌:"wscr",𝔴:"wfr",𝒲:"Wscr",𝕎:"Wopf",𝔚:"Wfr",ŵ:"wcirc",Ŵ:"Wcirc",𝔵:"xfr",𝓍:"xscr",𝕩:"xopf",𝕏:"Xopf",𝔛:"Xfr",𝒳:"Xscr",𝔶:"yfr",𝓎:"yscr",𝕪:"yopf",𝒴:"Yscr",𝔜:"Yfr",𝕐:"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml",𝓏:"zscr",𝔷:"zfr",𝕫:"zopf",ℨ:"Zfr",ℤ:"Zopf",𝒵:"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi",ϵ:"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},d=/["&'<>`]/g,p={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},h=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,f=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,g=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,m={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},b={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},y={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},v=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],_=String.fromCharCode,w={}.hasOwnProperty,E=function(e,t){return w.call(e,t)},x=function(e,t){if(!e)return t;var r,n={};for(r in t)n[r]=E(e,r)?e[r]:t[r];return n},A=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&k("character reference outside the permissible Unicode range"),"�"):E(y,e)?(t&&k("disallowed character reference"),y[e]):(t&&function(e,t){for(var r=-1,n=e.length;++r<n;)if(e[r]==t)return!0;return!1}(v,e)&&k("disallowed character reference"),e>65535&&(r+=_((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=_(e))},S=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},T=function(e){return"&#"+e+";"},k=function(e){throw Error("Parse error: "+e)},C=function(e,t){(t=x(t,C.options)).strict&&f.test(e)&&k("forbidden code point");var r=t.encodeEverything,n=t.useNamedReferences,o=t.allowUnsafeSymbols,s=t.decimal?T:S,p=function(e){return s(e.charCodeAt(0))};return r?(e=e.replace(a,(function(e){return n&&E(u,e)?"&"+u[e]+";":p(e)})),n&&(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),n&&(e=e.replace(l,(function(e){return"&"+u[e]+";"})))):n?(o||(e=e.replace(d,(function(e){return"&"+u[e]+";"}))),e=(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(l,(function(e){return"&"+u[e]+";"}))):o||(e=e.replace(d,p)),e.replace(i,(function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return s(1024*(t-55296)+r-56320+65536)})).replace(c,p)};C.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var R=function(e,t){var r=(t=x(t,R.options)).strict;return r&&h.test(e)&&k("malformed character reference"),e.replace(g,(function(e,n,o,s,i,a,c,l,u){var d,p,h,f,g,y;return n?m[g=n]:o?(g=o,(y=s)&&t.isAttributeValue?(r&&"="==y&&k("`&` did not start a character reference"),e):(r&&k("named character reference was not terminated by a semicolon"),b[g]+(y||""))):i?(h=i,p=a,r&&!p&&k("character reference was not terminated by a semicolon"),d=parseInt(h,10),A(d,r)):c?(f=c,p=l,r&&!p&&k("character reference was not terminated by a semicolon"),d=parseInt(f,16),A(d,r)):(r&&k("named character reference was not terminated by a semicolon"),e)}))};R.options={isAttributeValue:!1,strict:!1};var O={version:"1.2.0",encode:C,decode:R,escape:function(e){return e.replace(d,(function(e){return p[e]}))},unescape:R};void 0===(n=function(){return O}.call(t,r,t,e))||(e.exports=n)}()},1937:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e[e.length-1]}},42:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NodeType=t.TextNode=t.Node=t.valid=t.CommentNode=t.HTMLElement=t.parse=void 0;var o=n(r(4113));t.CommentNode=o.default;var s=n(r(9234));t.HTMLElement=s.default;var i=n(r(8869));t.Node=i.default;var a=n(r(6218));t.TextNode=a.default;var c=n(r(2751));t.NodeType=c.default;var l=n(r(5349)),u=n(r(6692));function d(e,t){return void 0===t&&(t={lowerCaseTagName:!1,comment:!1}),(0,l.default)(e,t)}t.valid=u.default,t.default=d,t.parse=d,d.parse=l.default,d.HTMLElement=s.default,d.CommentNode=o.default,d.valid=u.default,d.Node=i.default,d.TextNode=a.default,d.NodeType=c.default},5798:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(2751));function s(e){return e&&e.nodeType===o.default.ELEMENT_NODE}function i(e,t){return s(e)?e.getAttribute(t):void 0}function a(e){return e&&e.childNodes}function c(e){return e?e.parentNode:null}t.default={isTag:s,getAttributeValue:i,getName:function(e){return(e&&e.rawTagName||"").toLowerCase()},getChildren:a,getParent:c,getText:function(e){return e.text},removeSubsets:function(e){for(var t,r,n,o=e.length;--o>-1;){for(t=r=e[o],e[o]=null,n=!0;r;){if(e.indexOf(r)>-1){n=!1,e.splice(o,1);break}r=c(r)}n&&(e[o]=t)}return e},existsOne:function e(t,r){return r.some((function(r){return!!s(r)&&(t(r)||e(t,a(r)))}))},getSiblings:function(e){var t=c(e);return t&&a(t)},hasAttrib:function(e,t){return void 0!==i(e,t)},findOne:function e(t,r){for(var n=null,o=0,s=r.length;o<s&&!n;o++){var i=r[o];if(t(i))n=i;else{var c=a(i);c&&c.length>0&&(n=e(t,c))}}return n},findAll:function e(t,r){for(var n=[],o=0,i=r.length;o<i;o++)if(s(r[o])){t(r[o])&&n.push(r[o]);var c=a(r[o]);c&&(n=n.concat(e(t,c)))}return n}}},4113:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=s(r(8869)),a=s(r(2751)),c=function(e){function t(t,r,n){var o=e.call(this,r,n)||this;return o.rawText=t,o.nodeType=a.default.COMMENT_NODE,o}return o(t,e),t.prototype.clone=function(){return new t(this.rawText,null)},Object.defineProperty(t.prototype,"text",{get:function(){return this.rawText},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return"\x3c!--".concat(this.rawText,"--\x3e")},t}(i.default);t.default=c},9234:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__assign||function(){return s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},s.apply(this,arguments)},i=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,s=t.length;o<s;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parse=t.base_parse=void 0;var c=r(8062),l=a(r(361)),u=a(r(1937)),d=a(r(5798)),p=a(r(6312)),h=a(r(4113)),f=a(r(8869)),g=a(r(6218)),m=a(r(2751));function b(e){return JSON.parse(JSON.stringify(l.default.decode(e)))}var y=new Set;!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=function(e){for(var t=0;t<e.length;t++){var r=e[t];y.add(r),y.add(r.toUpperCase())}},n=0,o=e;n<o.length;n++){var s=o[n];r(s)}}(["h1","h2","h3","h4","h5","h6","header","hgroup"],["details","dialog","dd","div","dt"],["fieldset","figcaption","figure","footer","form"],["table","td","tr"],["address","article","aside","blockquote","br","hr","li","main","nav","ol","p","pre","section","ul"]);var v=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=function(){return null}),this._set=new Set(e),this._afterUpdate=t}return e.prototype._validate=function(e){if(/\s/.test(e))throw new Error("DOMException in DOMTokenList.add: The token '".concat(e,"' contains HTML space characters, which are not valid in tokens."))},e.prototype.add=function(e){this._validate(e),this._set.add(e),this._afterUpdate(this)},e.prototype.replace=function(e,t){this._validate(t),this._set.delete(e),this._set.add(t),this._afterUpdate(this)},e.prototype.remove=function(e){this._set.delete(e)&&this._afterUpdate(this)},e.prototype.toggle=function(e){this._validate(e),this._set.has(e)?this._set.delete(e):this._set.add(e),this._afterUpdate(this)},e.prototype.contains=function(e){return this._set.has(e)},Object.defineProperty(e.prototype,"length",{get:function(){return this._set.size},enumerable:!1,configurable:!0}),e.prototype.values=function(){return this._set.values()},Object.defineProperty(e.prototype,"value",{get:function(){return Array.from(this._set.values())},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return Array.from(this._set.values()).join(" ")},e}(),_=function(e){function t(t,r,n,o,s,i){void 0===n&&(n=""),void 0===i&&(i=new p.default);var a=e.call(this,o,s)||this;if(a.rawAttrs=n,a.voidTag=i,a.nodeType=m.default.ELEMENT_NODE,a.rawTagName=t,a.rawAttrs=n||"",a.id=r.id||"",a.childNodes=[],a.classList=new v(r.class?r.class.split(/\s+/):[],(function(e){return a.setAttribute("class",e.toString())})),r.id&&(n||(a.rawAttrs='id="'.concat(r.id,'"'))),r.class&&!n){var c='class="'.concat(a.classList.toString(),'"');a.rawAttrs?a.rawAttrs+=" ".concat(c):a.rawAttrs=c}return a}return o(t,e),t.prototype.quoteAttribute=function(e){return null==e?"null":JSON.stringify(e.replace(/"/g,"&quot;"))},t.prototype.removeChild=function(e){return this.childNodes=this.childNodes.filter((function(t){return t!==e})),this},t.prototype.exchangeChild=function(e,t){var r=this.childNodes;return this.childNodes=r.map((function(r){return r===e?t:r})),this},Object.defineProperty(t.prototype,"tagName",{get:function(){return this.rawTagName?this.rawTagName.toUpperCase():this.rawTagName},set:function(e){this.rawTagName=e.toLowerCase()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localName",{get:function(){return this.rawTagName.toLowerCase()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVoidElement",{get:function(){return this.voidTag.isVoidElement(this.localName)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rawText",{get:function(){return this.childNodes.reduce((function(e,t){return e+t.rawText}),"")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return b(this.rawText)},set:function(e){var t=[new g.default(e,this)];this.childNodes=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return b(this.rawText)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"structuredText",{get:function(){var e=[],t=[e];return function r(n){if(n.nodeType===m.default.ELEMENT_NODE)y.has(n.rawTagName)?(e.length>0&&t.push(e=[]),n.childNodes.forEach(r),e.length>0&&t.push(e=[])):n.childNodes.forEach(r);else if(n.nodeType===m.default.TEXT_NODE)if(n.isWhitespace)e.prependWhitespace=!0;else{var o=n.trimmedText;e.prependWhitespace&&(o=" ".concat(o),e.prependWhitespace=!1),e.push(o)}}(this),t.map((function(e){return e.join("").replace(/\s{2,}/g," ")})).join("\n").replace(/\s+$/,"")},enumerable:!1,configurable:!0}),t.prototype.toString=function(){var e=this.rawTagName;if(e){var t=this.rawAttrs?" ".concat(this.rawAttrs):"";return this.voidTag.formatNode(e,t,this.innerHTML)}return this.innerHTML},Object.defineProperty(t.prototype,"innerHTML",{get:function(){return this.childNodes.map((function(e){return e.toString()})).join("")},set:function(e){var t=C(e),r=t.childNodes.length?t.childNodes:[new g.default(e,this)];R(r,this),R(this.childNodes,null),this.childNodes=r},enumerable:!1,configurable:!0}),t.prototype.set_content=function(e,t){if(void 0===t&&(t={}),e instanceof f.default)e=[e];else if("string"==typeof e){var r=C(e,t);e=r.childNodes.length?r.childNodes:[new g.default(e,this)]}return R(this.childNodes,null),R(e,this),this.childNodes=e,this},t.prototype.replaceWith=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=this.parentNode,o=t.map((function(t){if(t instanceof f.default)return[t];if("string"==typeof t){var r=C(t);return r.childNodes.length?r.childNodes:[new g.default(t,e)]}return[]})).flat(),s=n.childNodes.findIndex((function(t){return t===e}));R([this],null),n.childNodes=i(i(i([],n.childNodes.slice(0,s),!0),R(o,n),!0),n.childNodes.slice(s+1),!0)},Object.defineProperty(t.prototype,"outerHTML",{get:function(){return this.toString()},enumerable:!1,configurable:!0}),t.prototype.trimRight=function(e){for(var t=0;t<this.childNodes.length;t++){var r=this.childNodes[t];if(r.nodeType===m.default.ELEMENT_NODE)r.trimRight(e);else{var n=r.rawText.search(e);n>-1&&(r.rawText=r.rawText.substr(0,n),this.childNodes.length=t+1)}}return this},Object.defineProperty(t.prototype,"structure",{get:function(){var e=[],t=0;function r(r){e.push(" ".repeat(t)+r)}return function e(n){var o=n.id?"#".concat(n.id):"",s=n.classList.length?".".concat(n.classList.value.join(".")):"";r("".concat(n.rawTagName).concat(o).concat(s)),t++,n.childNodes.forEach((function(t){t.nodeType===m.default.ELEMENT_NODE?e(t):t.nodeType===m.default.TEXT_NODE&&(t.isWhitespace||r("#text"))})),t--}(this),e.join("\n")},enumerable:!1,configurable:!0}),t.prototype.removeWhitespace=function(){var e=this,t=0;return this.childNodes.forEach((function(r){if(r.nodeType===m.default.TEXT_NODE){if(r.isWhitespace)return;r.rawText=r.trimmedRawText}else r.nodeType===m.default.ELEMENT_NODE&&r.removeWhitespace();e.childNodes[t++]=r})),this.childNodes.length=t,this},t.prototype.querySelectorAll=function(e){return(0,c.selectAll)(e,this,{xmlMode:!0,adapter:d.default})},t.prototype.querySelector=function(e){return(0,c.selectOne)(e,this,{xmlMode:!0,adapter:d.default})},t.prototype.getElementsByTagName=function(e){for(var t=e.toUpperCase(),r=[],n=[],o=this,s=0;void 0!==s;){var i=void 0;do{i=o.childNodes[s++]}while(s<o.childNodes.length&&void 0===i);void 0!==i?i.nodeType===m.default.ELEMENT_NODE&&("*"!==e&&i.tagName!==t||r.push(i),i.childNodes.length>0&&(n.push(s),o=i,s=0)):(o=o.parentNode,s=n.pop())}return r},t.prototype.getElementById=function(e){for(var t=[],r=this,n=0;void 0!==n;){var o=void 0;do{o=r.childNodes[n++]}while(n<r.childNodes.length&&void 0===o);if(void 0!==o){if(o.nodeType===m.default.ELEMENT_NODE){if(o.id===e)return o;o.childNodes.length>0&&(t.push(n),r=o,n=0)}}else r=r.parentNode,n=t.pop()}return null},t.prototype.closest=function(e){var t=new Map,r=this,n=null;function o(e,r){for(var n=null,s=0,i=r.length;s<i&&!n;s++){var a=r[s];if(e(a))n=a;else{var c=t.get(a);c&&(n=o(e,[c]))}}return n}for(;r;)t.set(r,n),n=r,r=r.parentNode;for(r=this;r;){var i=(0,c.selectOne)(e,r,{xmlMode:!0,adapter:s(s({},d.default),{getChildren:function(e){var r=t.get(e);return r&&[r]},getSiblings:function(e){return[e]},findOne:o,findAll:function(){return[]}})});if(i)return i;r=r.parentNode}return null},t.prototype.appendChild=function(e){return e.remove(),this.childNodes.push(e),e.parentNode=this,e},Object.defineProperty(t.prototype,"firstChild",{get:function(){return this.childNodes[0]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return(0,u.default)(this.childNodes)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attrs",{get:function(){if(this._attrs)return this._attrs;this._attrs={};var e=this.rawAttributes;for(var t in e){var r=e[t]||"";this._attrs[t.toLowerCase()]=b(r)}return this._attrs},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e={},t=this.rawAttributes;for(var r in t){var n=t[r]||"";e[r]=b(n)}return e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rawAttributes",{get:function(){if(this._rawAttrs)return this._rawAttrs;var e={};if(this.rawAttrs)for(var t=/([a-zA-Z()[\]#@][a-zA-Z0-9-_:()[\]#]*)(?:\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+))?/g,r=void 0;r=t.exec(this.rawAttrs);){var n=r[1],o=r[2]||null;!o||"'"!==o[0]&&'"'!==o[0]||(o=o.slice(1,o.length-1)),e[n]=o}return this._rawAttrs=e,e},enumerable:!1,configurable:!0}),t.prototype.removeAttribute=function(e){var t=this.rawAttributes;return delete t[e],this._attrs&&delete this._attrs[e],this.rawAttrs=Object.keys(t).map((function(e){var r=JSON.stringify(t[e]);return void 0===r||"null"===r?e:"".concat(e,"=").concat(r)})).join(" "),"id"===e&&(this.id=""),this},t.prototype.hasAttribute=function(e){return e.toLowerCase()in this.attrs},t.prototype.getAttribute=function(e){return this.attrs[e.toLowerCase()]},t.prototype.setAttribute=function(e,t){var r=this;if(arguments.length<2)throw new Error("Failed to execute 'setAttribute' on 'Element'");var n=e.toLowerCase(),o=this.rawAttributes;for(var s in o)if(s.toLowerCase()===n){e=s;break}o[e]=String(t),this._attrs&&(this._attrs[n]=b(o[e])),this.rawAttrs=Object.keys(o).map((function(e){var t=r.quoteAttribute(o[e]);return"null"===t||'""'===t?e:"".concat(e,"=").concat(t)})).join(" "),"id"===e&&(this.id=t)},t.prototype.setAttributes=function(e){var t=this;return this._attrs&&delete this._attrs,this._rawAttrs&&delete this._rawAttrs,this.rawAttrs=Object.keys(e).map((function(r){var n=e[r];return"null"===n||'""'===n?r:"".concat(r,"=").concat(t.quoteAttribute(String(n)))})).join(" "),this},t.prototype.insertAdjacentHTML=function(e,t){var r,n,o,s=this;if(arguments.length<2)throw new Error("2 arguments required");var a=C(t);if("afterend"===e){var c=this.parentNode.childNodes.findIndex((function(e){return e===s}));R(a.childNodes,this.parentNode),(r=this.parentNode.childNodes).splice.apply(r,i([c+1,0],a.childNodes,!1))}else if("afterbegin"===e)R(a.childNodes,this),(n=this.childNodes).unshift.apply(n,a.childNodes);else if("beforeend"===e)a.childNodes.forEach((function(e){s.appendChild(e)}));else{if("beforebegin"!==e)throw new Error("The value provided ('".concat(e,"') is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'"));c=this.parentNode.childNodes.findIndex((function(e){return e===s})),R(a.childNodes,this.parentNode),(o=this.parentNode.childNodes).splice.apply(o,i([c,0],a.childNodes,!1))}return this},Object.defineProperty(t.prototype,"nextSibling",{get:function(){if(this.parentNode){for(var e=this.parentNode.childNodes,t=0;t<e.length;)if(this===e[t++])return e[t]||null;return null}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextElementSibling",{get:function(){if(this.parentNode){for(var e=this.parentNode.childNodes,r=0,n=!1;r<e.length;){var o=e[r++];if(n){if(o instanceof t)return o||null}else this===o&&(n=!0)}return null}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){if(this.parentNode){for(var e=this.parentNode.childNodes,t=e.length;t>0;)if(this===e[--t])return e[t-1]||null;return null}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousElementSibling",{get:function(){if(this.parentNode){for(var e=this.parentNode.childNodes,r=e.length,n=!1;r>0;){var o=e[--r];if(n){if(o instanceof t)return o||null}else this===o&&(n=!0)}return null}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"classNames",{get:function(){return this.classList.toString()},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return C(this.toString()).firstChild},t}(f.default);t.default=_;var w=/<!--[\s\S]*?-->|<(\/?)([a-zA-Z][-.:0-9_a-zA-Z]*)((?:\s+[^>]*?(?:(?:'[^']*')|(?:"[^"]*"))?)*)\s*(\/?)>/g,E=/(?:^|\s)(id|class)\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+)/gi,x={area:!0,AREA:!0,base:!0,BASE:!0,br:!0,BR:!0,col:!0,COL:!0,hr:!0,HR:!0,img:!0,IMG:!0,input:!0,INPUT:!0,link:!0,LINK:!0,meta:!0,META:!0,source:!0,SOURCE:!0,embed:!0,EMBED:!0,param:!0,PARAM:!0,track:!0,TRACK:!0,wbr:!0,WBR:!0},A={li:{li:!0,LI:!0},LI:{li:!0,LI:!0},p:{p:!0,div:!0,P:!0,DIV:!0},P:{p:!0,div:!0,P:!0,DIV:!0},b:{div:!0,DIV:!0},B:{div:!0,DIV:!0},td:{td:!0,th:!0,TD:!0,TH:!0},TD:{td:!0,th:!0,TD:!0,TH:!0},th:{td:!0,th:!0,TD:!0,TH:!0},TH:{td:!0,th:!0,TD:!0,TH:!0},h1:{h1:!0,H1:!0},H1:{h1:!0,H1:!0},h2:{h2:!0,H2:!0},H2:{h2:!0,H2:!0},h3:{h3:!0,H3:!0},H3:{h3:!0,H3:!0},h4:{h4:!0,H4:!0},H4:{h4:!0,H4:!0},h5:{h5:!0,H5:!0},H5:{h5:!0,H5:!0},h6:{h6:!0,H6:!0},H6:{h6:!0,H6:!0}},S={li:{ul:!0,ol:!0,UL:!0,OL:!0},LI:{ul:!0,ol:!0,UL:!0,OL:!0},a:{div:!0,DIV:!0},A:{div:!0,DIV:!0},b:{div:!0,DIV:!0},B:{div:!0,DIV:!0},i:{div:!0,DIV:!0},I:{div:!0,DIV:!0},p:{div:!0,DIV:!0},P:{div:!0,DIV:!0},td:{tr:!0,table:!0,TR:!0,TABLE:!0},TD:{tr:!0,table:!0,TR:!0,TABLE:!0},th:{tr:!0,table:!0,TR:!0,TABLE:!0},TH:{tr:!0,table:!0,TR:!0,TABLE:!0}},T="documentfragmentcontainer";function k(e,t){var r,n;void 0===t&&(t={lowerCaseTagName:!1,comment:!1});var o=new p.default(null===(r=null==t?void 0:t.voidTag)||void 0===r?void 0:r.closingSlash,null===(n=null==t?void 0:t.voidTag)||void 0===n?void 0:n.tags),s=t.blockTextElements||{script:!0,noscript:!0,style:!0,pre:!0},i=Object.keys(s),a=i.map((function(e){return new RegExp("^".concat(e,"$"),"i")})),c=i.filter((function(e){return s[e]})).map((function(e){return new RegExp("^".concat(e,"$"),"i")}));function l(e){return c.some((function(t){return t.test(e)}))}function d(e){return a.some((function(t){return t.test(e)}))}var f,m=function(e,t){return[e-D,t-D]},b=new _(null,{},"",null,[0,e.length],o),y=b,v=[b],k=-1,C=void 0;e="<".concat(T,">").concat(e,"</").concat(T,">");for(var R=t.lowerCaseTagName,O=e.length-(T.length+2),D=T.length+2;f=w.exec(e);){var L=f[0],N=f[1],P=f[2],q=f[3],j=f[4],F=L.length,I=w.lastIndex-F,B=w.lastIndex;if(k>-1&&k+F<B){var M=e.substring(k,I);y.appendChild(new g.default(M,y,m(k,I)))}if(k=w.lastIndex,P!==T)if("!"!==L[1]){if(R&&(P=P.toLowerCase()),!N){for(var H={},U=void 0;U=E.exec(q);){var V=U[1],G=U[2],$="'"===G[0]||'"'===G[0];H[V.toLowerCase()]=$?G.slice(1,G.length-1):G}var W=y.rawTagName;!j&&A[W]&&A[W][P]&&(v.pop(),y=(0,u.default)(v)),"a"!==P&&"A"!==P||(void 0!==C&&(v.splice(C),y=(0,u.default)(v)),C=v.length);var z=w.lastIndex,K=z-F;if(y=y.appendChild(new _(P,H,q.slice(1),null,m(K,z),o)),v.push(y),d(P)){var Y="</".concat(P,">"),X=R?e.toLocaleLowerCase().indexOf(Y,w.lastIndex):e.indexOf(Y,w.lastIndex),J=-1===X?O:X;l(P)&&(M=e.substring(z,J)).length>0&&/\S/.test(M)&&y.appendChild(new g.default(M,y,m(z,J))),-1===X?k=w.lastIndex=e.length+1:(k=w.lastIndex=X+Y.length,N="/")}}if(N||j||x[P])for(;;){if("a"!==P&&"A"!==P||(C=void 0),y.rawTagName===P){y.range[1]=m(-1,Math.max(k,B))[1],v.pop(),y=(0,u.default)(v);break}if(W=y.tagName,!S[W]||!S[W][P])break;v.pop(),y=(0,u.default)(v)}}else if(t.comment){M=e.substring(I+4,B-3);y.appendChild(new h.default(M,y,m(I,B)))}}return v}function C(e,t){void 0===t&&(t={lowerCaseTagName:!1,comment:!1});for(var r=k(e,t),n=r[0],o=function(){var e=r.pop(),n=(0,u.default)(r);e.parentNode&&e.parentNode.parentNode&&(e.parentNode===n&&e.tagName===n.tagName?!0!==t.parseNoneClosedTags&&(n.removeChild(e),e.childNodes.forEach((function(e){n.parentNode.appendChild(e)})),r.pop()):!0!==t.parseNoneClosedTags&&(n.removeChild(e),e.childNodes.forEach((function(e){n.appendChild(e)}))))};r.length>1;)o();return n}function R(e,t){return e.map((function(e){return e.parentNode=t,e}))}t.base_parse=k,t.parse=C},8869:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(361),o=function(){function e(e,t){void 0===e&&(e=null),this.parentNode=e,this.childNodes=[],Object.defineProperty(this,"range",{enumerable:!1,writable:!0,configurable:!0,value:null!=t?t:[-1,-1]})}return e.prototype.remove=function(){var e=this;if(this.parentNode){var t=this.parentNode.childNodes;this.parentNode.childNodes=t.filter((function(t){return e!==t})),this.parentNode=null}return this},Object.defineProperty(e.prototype,"innerText",{get:function(){return this.rawText},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textContent",{get:function(){return(0,n.decode)(this.rawText)},set:function(e){this.rawText=(0,n.encode)(e)},enumerable:!1,configurable:!0}),e}();t.default=o},6218:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(361),a=s(r(8869)),c=s(r(2751)),l=function(e){function t(t,r,n){var o=e.call(this,r,n)||this;return o.nodeType=c.default.TEXT_NODE,o._rawText=t,o}return o(t,e),t.prototype.clone=function(){return new t(this._rawText,null)},Object.defineProperty(t.prototype,"rawText",{get:function(){return this._rawText},set:function(e){this._rawText=e,this._trimmedRawText=void 0,this._trimmedText=void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trimmedRawText",{get:function(){return void 0!==this._trimmedRawText||(this._trimmedRawText=u(this.rawText)),this._trimmedRawText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trimmedText",{get:function(){return void 0!==this._trimmedText||(this._trimmedText=u(this.text)),this._trimmedText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return(0,i.decode)(this.rawText)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isWhitespace",{get:function(){return/^(\s|&nbsp;)*$/.test(this.rawText)},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return this.rawText},t}(a.default);function u(e){for(var t,r,n=0;n>=0&&n<e.length;)/\S/.test(e[n])&&(void 0===t?(t=n,n=e.length):(r=n,n=void 0)),void 0===t?n++:n--;void 0===t&&(t=0),void 0===r&&(r=e.length-1);var o=t>0&&/[^\S\r\n]/.test(e[t-1]),s=r<e.length-1&&/[^\S\r\n]/.test(e[r+1]);return(o?" ":"")+e.slice(t,r+1)+(s?" ":"")}t.default=l},2751:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.ELEMENT_NODE=1]="ELEMENT_NODE",e[e.TEXT_NODE=3]="TEXT_NODE",e[e.COMMENT_NODE=8]="COMMENT_NODE"}(r||(r={})),t.default=r},5349:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(9234);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n.parse}})},6692:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(9234);t.default=function(e,t){void 0===t&&(t={lowerCaseTagName:!1,comment:!1});var r=(0,n.base_parse)(e,t);return Boolean(1===r.length)}},6312:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){void 0===e&&(e=!1),this.addClosingSlash=e,Array.isArray(t)?this.voidTags=t.reduce((function(e,t){return e.add(t.toLowerCase())}),new Set):this.voidTags=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"].reduce((function(e,t){return e.add(t)}),new Set)}return e.prototype.formatNode=function(e,t,r){var n=this.addClosingSlash,o=n&&t&&!t.endsWith(" ")?" ":"",s=n?"".concat(o,"/"):"";return this.isVoidElement(e.toLowerCase())?"<".concat(e).concat(t).concat(s,">"):"<".concat(e).concat(t,">").concat(r,"</").concat(e,">")},e.prototype.isVoidElement=function(e){return this.voidTags.has(e)},e}();t.default=r},4062:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.generate=t.compile=void 0;var o=n(r(1365));t.compile=function(e){var t=e[0],r=e[1]-1;if(r<0&&t<=0)return o.default.falseFunc;if(-1===t)return function(e){return e<=r};if(0===t)return function(e){return e===r};if(1===t)return r<0?o.default.trueFunc:function(e){return e>=r};var n=Math.abs(t),s=(r%n+n)%n;return t>1?function(e){return e>=r&&e%n===s}:function(e){return e<=r&&e%n===s}},t.generate=function(e){var t=e[0],r=e[1]-1,n=0;if(t<0){var o=-t,s=(r%o+o)%o;return function(){var e=s+o*n++;return e>r?null:e}}return 0===t?r<0?function(){return null}:function(){return 0==n++?r:null}:(r<0&&(r+=t*Math.ceil(-r/t)),function(){return t*n+++r})}},7346:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sequence=t.generate=t.compile=t.parse=void 0;var n=r(3950);Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return n.parse}});var o=r(4062);Object.defineProperty(t,"compile",{enumerable:!0,get:function(){return o.compile}}),Object.defineProperty(t,"generate",{enumerable:!0,get:function(){return o.generate}}),t.default=function(e){return(0,o.compile)((0,n.parse)(e))},t.sequence=function(e){return(0,o.generate)((0,n.parse)(e))}},3950:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0;var r=new Set([9,10,12,13,32]),n="0".charCodeAt(0),o="9".charCodeAt(0);t.parse=function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];var t=0,s=0,i=c(),a=l();if(t<e.length&&"n"===e.charAt(t)&&(t++,s=i*(null!=a?a:1),u(),t<e.length?(i=c(),u(),a=l()):i=a=0),null===a||t<e.length)throw new Error("n-th rule couldn't be parsed ('".concat(e,"')"));return[s,i*a];function c(){return"-"===e.charAt(t)?(t++,-1):("+"===e.charAt(t)&&t++,1)}function l(){for(var r=t,s=0;t<e.length&&e.charCodeAt(t)>=n&&e.charCodeAt(t)<=o;)s=10*s+(e.charCodeAt(t)-n),t++;return t===r?null:s}function u(){for(;t<e.length&&r.has(e.charCodeAt(t));)t++}}},2864:e=>{"use strict";e.exports=require("bufferutil")},4943:e=>{"use strict";e.exports=require("fsevents")},2239:e=>{"use strict";e.exports=require("utf-8-validate")},2081:e=>{"use strict";e.exports=require("child_process")},6113:e=>{"use strict";e.exports=require("crypto")},2361:e=>{"use strict";e.exports=require("events")},7147:e=>{"use strict";e.exports=require("fs")},3685:e=>{"use strict";e.exports=require("http")},5687:e=>{"use strict";e.exports=require("https")},8188:e=>{"use strict";e.exports=require("module")},1808:e=>{"use strict";e.exports=require("net")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},2781:e=>{"use strict";e.exports=require("stream")},4404:e=>{"use strict";e.exports=require("tls")},6224:e=>{"use strict";e.exports=require("tty")},7310:e=>{"use strict";e.exports=require("url")},3837:e=>{"use strict";e.exports=require("util")},9796:e=>{"use strict";e.exports=require("zlib")},5297: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},1461:e=>{function t(e,t,r,n,o,s,i){try{var a=e[s](i),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,s){var i=e.apply(r,n);function a(e){t(i,o,s,a,c,"next",e)}function c(e){t(i,o,s,a,c,"throw",e)}a(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},3100: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},8870:(e,t,r)=>{var n=r(7739);function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},6290:(e,t,r)=>{var n=r(7739);e.exports=function(e,t,r){return(t=n(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},1147: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},8230:(e,t,r)=>{var n=r(8560);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&&n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},421:(e,t,r)=>{var n=r(7425).default,o=r(5297);e.exports=function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},7609:(e,t,r)=>{var n=r(7425).default;function o(){"use strict";e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,s=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function d(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,s=Object.create(o.prototype),a=new C(n||[]);return i(s,"_invoke",{value:A(e,r,a)}),s}function h(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 g(){}function m(){}function b(){}var y={};d(y,c,(function(){return this}));var v=Object.getPrototypeOf,_=v&&v(v(R([])));_&&_!==r&&s.call(_,c)&&(y=_);var w=b.prototype=g.prototype=Object.create(y);function E(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(o,i,a,c){var l=h(e[o],e,i);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==n(d)&&s.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;i(this,"_invoke",{value:function(e,n){function s(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(s,s):s()}})}function A(e,t,r){var n="suspendedStart";return function(o,s){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw s;return{value:void 0,done:!0}}for(r.method=o,r.arg=s;;){var i=r.delegate;if(i){var a=S(i,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"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=h(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=h(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var s=o.arg;return s?s.done?(t[e.resultName]=s.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):s:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function T(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 k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function R(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,n=function t(){for(;++r<e.length;)if(s.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:O}}function O(){return{value:void 0,done:!0}}return m.prototype=b,i(w,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=d(b,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,d(e,u,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},E(x.prototype),d(x.prototype,l,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,s){void 0===s&&(s=Promise);var i=new x(p(e,r,n,o),s);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(w),d(w,u,"Generator"),d(w,c,(function(){return this})),d(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=R,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(k),!e)for(var t in this)"t"===t.charAt(0)&&s.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,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=s.call(o,"catchLoc"),c=s.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&s.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(i)},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),k(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 n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:R(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},8560:e=>{function t(r,n){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,n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},8064:(e,t,r)=>{var n=r(7425).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},7739:(e,t,r)=>{var n=r(7425).default,o=r(8064);e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},7425: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},2841:(e,t,r)=>{var n=r(7609)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},5228:(e,t,r)=>{(()=>{var t,n,o={"../../node_modules/anymatch/index.js":(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("../../node_modules/picomatch/index.js"),o=r("../../node_modules/normalize-path/index.js"),s={returnIndex:!1},i=(e,t,r,n)=>{const s=Array.isArray(r),i=s?r[0]:r;if(!s&&"string"!=typeof i)throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(i));const a=o(i,!1);for(let e=0;e<t.length;e++)if((0,t[e])(a))return!!n&&-1;const c=s&&[a].concat(r.slice(1));for(let t=0;t<e.length;t++){const r=e[t];if(s?r(...c):r(a))return!n||t}return!!n&&-1},a=(e,t,r=s)=>{if(null==e)throw new TypeError("anymatch: specify first argument");const o="boolean"==typeof r?{returnIndex:r}:r,a=o.returnIndex||!1,c=(l=e,Array.isArray(l)?l:[l]);var l;const u=c.filter((e=>"string"==typeof e&&"!"===e.charAt(0))).map((e=>e.slice(1))).map((e=>n(e,o))),d=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=n(e,t);return t=>e===t||r(t)}return e instanceof RegExp?t=>e.test(t):e=>!1})(e,o)));return null==t?(e,t=!1)=>i(d,u,e,"boolean"==typeof t&&t):i(d,u,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 n=r("../../node_modules/braces/lib/stringify.js"),o=r("../../node_modules/braces/lib/compile.js"),s=r("../../node_modules/braces/lib/expand.js"),i=r("../../node_modules/braces/lib/parse.js"),a=(e,t={})=>{let r=[];if(Array.isArray(e))for(let n of e){let e=a.create(n,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={})=>i(e,t),a.stringify=(e,t={})=>n("string"==typeof e?a.parse(e,t):e,t),a.compile=(e,t={})=>("string"==typeof e&&(e=a.parse(e,t)),o(e,t)),a.expand=(e,t={})=>{"string"==typeof e&&(e=a.parse(e,t));let r=s(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 n=r("../../node_modules/fill-range/index.js"),o=r("../../node_modules/braces/lib/utils.js");e.exports=(e,t={})=>{let r=(e,s={})=>{let i=o.isInvalidBrace(s),a=!0===e.invalid&&!0===t.escapeInvalid,c=!0===i||!0===a,l=!0===t.escapeInvalid?"\\":"",u="";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=o.reduce(e.nodes),s=n(...r,{...t,wrap:!1,toRegex:!0});if(0!==s.length)return r.length>1&&s.length>1?`(${s})`:s}if(e.nodes)for(let t of e.nodes)u+=r(t,e);return u};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 n=r("../../node_modules/fill-range/index.js"),o=r("../../node_modules/braces/lib/stringify.js"),s=r("../../node_modules/braces/lib/utils.js"),i=(e="",t="",r=!1)=>{let n=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return r?s.flatten(t).map((e=>`{${e}}`)):t;for(let o of e)if(Array.isArray(o))for(let e of o)n.push(i(e,t,r));else for(let e of t)!0===r&&"string"==typeof e&&(e=`{${e}}`),n.push(Array.isArray(e)?i(o,e,r):o+e);return s.flatten(n)};e.exports=(e,t={})=>{let r=void 0===t.rangeLimit?1e3:t.rangeLimit,a=(e,c={})=>{e.queue=[];let l=c,u=c.queue;for(;"brace"!==l.type&&"root"!==l.type&&l.parent;)l=l.parent,u=l.queue;if(e.invalid||e.dollar)return void u.push(i(u.pop(),o(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void u.push(i(u.pop(),["{}"]));if(e.nodes&&e.ranges>0){let a=s.reduce(e.nodes);if(s.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=n(...a,t);return 0===c.length&&(c=o(e,t)),u.push(i(u.pop(),c)),void(e.nodes=[])}let d=s.encloseBrace(e),p=e.queue,h=e;for(;"brace"!==h.type&&"root"!==h.type&&h.parent;)h=h.parent,p=h.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(i(p.pop(),r.value)):r.nodes&&a(r,e):u.push(i(u.pop(),p,d)):(1===t&&p.push(""),p.push(""))}return p};return s.flatten(a(e))}},"../../node_modules/braces/lib/parse.js":(e,t,r)=>{"use strict";const n=r("../../node_modules/braces/lib/stringify.js"),{MAX_LENGTH:o,CHAR_BACKSLASH:s,CHAR_BACKTICK:i,CHAR_COMMA:a,CHAR_DOT:c,CHAR_LEFT_PARENTHESES:l,CHAR_RIGHT_PARENTHESES:u,CHAR_LEFT_CURLY_BRACE:d,CHAR_RIGHT_CURLY_BRACE:p,CHAR_LEFT_SQUARE_BRACKET:h,CHAR_RIGHT_SQUARE_BRACKET:f,CHAR_DOUBLE_QUOTE:g,CHAR_SINGLE_QUOTE:m,CHAR_NO_BREAK_SPACE:b,CHAR_ZERO_WIDTH_NOBREAK_SPACE:y}=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(o,r.maxLength):o;if(e.length>v)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${v})`);let _,w={type:"root",input:e,nodes:[]},E=[w],x=w,A=w,S=0,T=e.length,k=0,C=0;const R=()=>e[k++],O=e=>{if("text"===e.type&&"dot"===A.type&&(A.type="text"),!A||"text"!==A.type||"text"!==e.type)return x.nodes.push(e),e.parent=x,e.prev=A,A=e,e;A.value+=e.value};for(O({type:"bos"});k<T;)if(x=E[E.length-1],_=R(),_!==y&&_!==b)if(_!==s)if(_!==f)if(_!==h)if(_!==l)if(_!==u)if(_!==g&&_!==m&&_!==i)if(_!==d)if(_!==p)if(_===a&&C>0){if(x.ranges>0){x.ranges=0;let e=x.nodes.shift();x.nodes=[e,{type:"text",value:n(x)}]}O({type:"comma",value:_}),x.commas++}else if(_===c&&C>0&&0===x.commas){let e=x.nodes;if(0===C||0===e.length){O({type:"text",value:_});continue}if("dot"===A.type){if(x.range=[],A.value+=_,A.type="range",3!==x.nodes.length&&5!==x.nodes.length){x.invalid=!0,x.ranges=0,A.type="text";continue}x.ranges++,x.args=[];continue}if("range"===A.type){e.pop();let t=e[e.length-1];t.value+=A.value+_,A=t,x.ranges--;continue}O({type:"dot",value:_})}else O({type:"text",value:_});else{if("brace"!==x.type){O({type:"text",value:_});continue}let e="close";x=E.pop(),x.close=!0,O({type:e,value:_}),C--,x=E[E.length-1]}else{C++;let e=A.value&&"$"===A.value.slice(-1)||!0===x.dollar;x=O({type:"brace",open:!0,close:!1,dollar:e,depth:C,commas:0,ranges:0,nodes:[]}),E.push(x),O({type:"open",value:_})}else{let e,r=_;for(!0!==t.keepQuotes&&(_="");k<T&&(e=R());)if(e!==s){if(e===r){!0===t.keepQuotes&&(_+=e);break}_+=e}else _+=e+R();O({type:"text",value:_})}else{if("paren"!==x.type){O({type:"text",value:_});continue}x=E.pop(),O({type:"text",value:_}),x=E[E.length-1]}else x=O({type:"paren",nodes:[]}),E.push(x),O({type:"text",value:_});else{let e;for(S++;k<T&&(e=R());)if(_+=e,e!==h)if(e!==s){if(e===f&&(S--,0===S))break}else _+=R();else S++;O({type:"text",value:_})}else O({type:"text",value:"\\"+_});else O({type:"text",value:(t.keepEscaping?_:"")+R()});do{if(x=E.pop(),"root"!==x.type){x.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(x);e.nodes.splice(t,1,...x.nodes)}}while(E.length>0);return O({type:"eos"}),w}},"../../node_modules/braces/lib/stringify.js":(e,t,r)=>{"use strict";const n=r("../../node_modules/braces/lib/utils.js");e.exports=(e,t={})=>{let r=(e,o={})=>{let s=t.escapeInvalid&&n.isInvalidBrace(o),i=!0===e.invalid&&!0===t.escapeInvalid,a="";if(e.value)return(s||i)&&n.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,n=1,o)=>!1!==o&&!(!t.isInteger(e)||!t.isInteger(r))&&(Number(r)-Number(e))/Number(n)>=o,t.escapeNode=(e,t=0,r)=>{let n=e.nodes[t];n&&(r&&n.type===r||"open"===n.type||"close"===n.type)&&!0!==n.escaped&&(n.value="\\"+n.value,n.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 n=0;n<e.length;n++){let o=e[n];Array.isArray(o)?r(o,t):void 0!==o&&t.push(o)}return t};return r(e),t}},"../../node_modules/chokidar/index.js":(e,t,r)=>{"use strict";const{EventEmitter:n}=r("events"),o=r("fs"),s=r("path"),{promisify:i}=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"),u=r("../../node_modules/is-glob/index.js"),d=r("../../node_modules/braces/index.js"),p=r("../../node_modules/normalize-path/index.js"),h=r("../../node_modules/chokidar/lib/nodefs-handler.js"),f=r("../../node_modules/chokidar/lib/fsevents-handler.js"),{EV_ALL:g,EV_READY:m,EV_ADD:b,EV_CHANGE:y,EV_UNLINK:v,EV_ADD_DIR:_,EV_UNLINK_DIR:w,EV_RAW:E,EV_ERROR:x,STR_CLOSE:A,STR_END:S,BACK_SLASH_RE:T,DOUBLE_SLASH_RE:k,SLASH_OR_BACK_SLASH_RE:C,DOT_RE:R,REPLACER_RE:O,SLASH:D,SLASH_SLASH:L,BRACE_START:N,BANG:P,ONE_DOT:q,TWO_DOTS:j,GLOBSTAR:F,SLASH_GLOBSTAR:I,ANYMATCH_OPTS:B,STRING_TYPE:M,FUNCTION_TYPE:H,EMPTY_STR:U,EMPTY_FN:V,isWindows:G,isMacos:$,isIBMi:W}=r("../../node_modules/chokidar/lib/constants.js"),z=i(o.stat),K=i(o.readdir),Y=(e=[])=>Array.isArray(e)?e:[e],X=(e,t=[])=>(e.forEach((e=>{Array.isArray(e)?X(e,t):t.push(e)})),t),J=e=>{const t=X(Y(e));if(!t.every((e=>typeof e===M)))throw new TypeError(`Non-string provided as watch path: ${t}`);return t.map(Q)},Z=e=>{let t=e.replace(T,D),r=!1;for(t.startsWith(L)&&(r=!0);t.match(k);)t=t.replace(k,D);return r&&(t=D+t),t},Q=e=>Z(s.normalize(Z(e))),ee=(e=U)=>t=>typeof t!==M?t:Q(s.isAbsolute(t)?t:s.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!==q&&e!==j&&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(s.dirname(r),s.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 ne{constructor(e,t,r,n){this.fsw=n,this.path=e=e.replace(O,U),this.watchPath=t,this.fullWatchPath=s.resolve(t),this.hasGlob=t!==e,e===U&&(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 s.join(this.watchPath,s.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!==H||this.globFilter(r))&&this.fsw._isntIgnored(r,t)&&this.fsw._hasReadPermissions(t)}getDirParts(e){if(!this.hasGlob)return[];const t=[];return(e.includes(N)?d.expand(e):[e]).forEach((e=>{t.push(s.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,n)=>(e===F&&(r=!0),r||!t[0][n]||c(e,t[0][n],B))))))}return!this.unmatchedGlob&&this.fsw._isntIgnored(this.entryPath(e),e.stats)}}class oe extends n{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&&(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 n=process.env.CHOKIDAR_INTERVAL;n&&(t.interval=Number.parseInt(n,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 o=t.awaitWriteFinish;o&&(o.stabilityThreshold||(o.stabilityThreshold=2e3),o.pollInterval||(o.pollInterval=100),this._pendingWrites=new Map),t.ignored&&(t.ignored=Y(t.ignored));let s=0;this._emitReady=()=>{s++,s>=this._readyCount&&(this._emitReady=V,this._readyEmitted=!0,process.nextTick((()=>this.emit(m))))},this._emitRaw=(...e)=>this.emit(E,...e),this._readyEmitted=!1,this.options=t,t.useFsEvents?this._fsEventsHandler=new f(this):this._nodeFsHandler=new h(this),Object.freeze(t)}add(e,t,r){const{cwd:n,disableGlobbing:o}=this.options;this.closed=!1;let i=J(e);return n&&(i=i.map((e=>{const t=((e,t)=>s.isAbsolute(e)?e:e.startsWith(P)?P+s.join(t,e.slice(1)):s.join(t,e))(e,n);return o||!u(e)?t:p(t)}))),i=i.filter((e=>e.startsWith(P)?(this._ignoredPaths.add(e.slice(1)),!1):(this._ignoredPaths.delete(e),this._ignoredPaths.delete(e+I),this._userIgnored=void 0,!0))),this.options.useFsEvents&&this._fsEventsHandler?(this._readyCount||(this._readyCount=i.length),this.options.persistent&&(this._readyCount*=2),i.forEach((e=>this._fsEventsHandler._addToFsEvents(e)))):(this._readyCount||(this._readyCount=0),this._readyCount+=i.length,Promise.all(i.map((async e=>{const n=await this._nodeFsHandler._addToNodeFs(e,!r,0,0,t);return n&&this._emitReady(),n}))).then((e=>{this.closed||e.filter((e=>e)).forEach((e=>{this.add(s.dirname(e),s.basename(t||e))}))}))),this}unwatch(e){if(this.closed)return this;const t=J(e),{cwd:r}=this.options;return t.forEach((e=>{s.isAbsolute(e)||this._closers.has(e)||(r&&(e=s.join(r,e)),e=s.resolve(e)),this._closePath(e),this._ignoredPaths.add(e),this._watched.has(e)&&this._ignoredPaths.add(e+I),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 n=this.options.cwd?s.relative(this.options.cwd,r):r;e[n||q]=t.getChildren().sort()})),e}emitWithAll(e,t){this.emit(...t),e!==x&&this.emit(g,...t)}async _emit(e,t,r,n,o){if(this.closed)return;const i=this.options;G&&(t=s.normalize(t)),i.cwd&&(t=s.relative(i.cwd,t));const a=[e,t];void 0!==o?a.push(r,n,o):void 0!==n?a.push(r,n):void 0!==r&&a.push(r);const c=i.awaitWriteFinish;let l;if(c&&(l=this._pendingWrites.get(t)))return l.lastChange=new Date,this;if(i.atomic){if(e===v)return this._pendingUnlinks.set(t,a),setTimeout((()=>{this._pendingUnlinks.forEach(((e,t)=>{this.emit(...e),this.emit(g,...e),this._pendingUnlinks.delete(t)}))}),"number"==typeof i.atomic?i.atomic:100),this;e===b&&this._pendingUnlinks.has(t)&&(e=a[0]=y,this._pendingUnlinks.delete(t))}if(c&&(e===b||e===y)&&this._readyEmitted){const r=(t,r)=>{t?(e=a[0]=x,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===y&&!this._throttle(y,t,50))return this;if(i.alwaysStat&&void 0===r&&(e===b||e===_||e===y)){const e=i.cwd?s.join(i.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(x,e),e||this.closed}_throttle(e,t,r){this._throttled.has(e)||this._throttled.set(e,new Map);const n=this._throttled.get(e),o=n.get(t);if(o)return o.count++,!1;let s;const i=()=>{const e=n.get(t),r=e?e.count:0;return n.delete(t),clearTimeout(s),e&&clearTimeout(e.timeoutObject),r};s=setTimeout(i,r);const a={timeoutObject:s,clear:i,count:0};return n.set(t,a),a}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(e,t,r,n){let i,a=e;this.options.cwd&&!s.isAbsolute(e)&&(a=s.join(this.options.cwd,e));const c=new Date,l=r=>{o.stat(a,((o,s)=>{if(o||!this._pendingWrites.has(e))return void(o&&"ENOENT"!==o.code&&n(o));const a=Number(new Date);r&&s.size!==r.size&&(this._pendingWrites.get(e).lastChange=a),a-this._pendingWrites.get(e).lastChange>=t?(this._pendingWrites.delete(e),n(void 0,s)):i=setTimeout(l,this.options.awaitWriteFinish.pollInterval,s)}))};this._pendingWrites.has(e)||(this._pendingWrites.set(e,{lastChange:c,cancelWait:()=>(this._pendingWrites.delete(e),clearTimeout(i),r)}),i=setTimeout(l,this.options.awaitWriteFinish.pollInterval))}_getGlobIgnored(){return[...this._ignoredPaths.values()]}_isIgnored(e,t){if(this.options.atomic&&R.test(e))return!0;if(!this._userIgnored){const{cwd:e}=this.options,t=this.options.ignored,r=t&&t.map(ee(e)),n=Y(r).filter((e=>typeof e===M&&!u(e))).map((e=>e+I)),o=this._getGlobIgnored().map(ee(e)).concat(r,n);this._userIgnored=c(o,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||!u(e)?e:l(e),n=this.options.followSymlinks;return new ne(e,r,n,this)}_getWatchedDir(e){this._boundRemove||(this._boundRemove=this._remove.bind(this));const t=s.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 n=s.join(e,t),o=s.resolve(n);if(r=null!=r?r:this._watched.has(n)||this._watched.has(o),!this._throttle("remove",n,100))return;r||this.options.useFsEvents||1!==this._watched.size||this.add(e,t,!0),this._getWatchedDir(n).getChildren().forEach((e=>this._remove(n,e)));const i=this._getWatchedDir(e),a=i.has(t);i.remove(t),this._symlinkPaths.has(o)&&this._symlinkPaths.delete(o);let c=n;if(this.options.cwd&&(c=s.relative(this.options.cwd,n)),this.options.awaitWriteFinish&&this._pendingWrites.has(c)&&this._pendingWrites.get(c).cancelWait()===b)return;this._watched.delete(n),this._watched.delete(o);const l=r?w:v;a&&!this._isIgnored(n)&&this._emit(l,n),this.options.useFsEvents||this._closePath(n)}_closePath(e){this._closeFile(e);const t=s.dirname(e);this._getWatchedDir(t).remove(s.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:g,alwaysStat:!0,lstat:!0,...t};let n=a(e,r);return this._streams.add(n),n.once(A,(()=>{n=void 0})),n.once(S,(()=>{n&&(this._streams.delete(n),n=void 0)})),n}}t.FSWatcher=oe,t.watch=(e,t)=>{const r=new oe(t);return r.add(e),r}},"../../node_modules/chokidar/lib/constants.js":(e,t,r)=>{"use strict";const{sep:n}=r("path"),{platform:o}=process,s=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=`.${n}`,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"===o,t.isMacos="darwin"===o,t.isLinux="linux"===o,t.isIBMi="OS400"===s.type()},"../../node_modules/chokidar/lib/fsevents-handler.js":(e,t,r)=>{"use strict";const n=r("fs"),o=r("path"),{promisify:s}=r("util");let i;try{i=r("fsevents")}catch(e){process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR&&console.error(e)}if(i){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&&(i=void 0)}}const{EV_ADD:a,EV_CHANGE:c,EV_ADD_DIR:l,EV_UNLINK:u,EV_ERROR:d,STR_DATA:p,STR_END:h,FSEVENT_CREATED:f,FSEVENT_MODIFIED:g,FSEVENT_DELETED:m,FSEVENT_MOVED:b,FSEVENT_UNKNOWN:y,FSEVENT_TYPE_FILE:v,FSEVENT_TYPE_DIRECTORY:_,FSEVENT_TYPE_SYMLINK:w,ROOT_GLOBSTAR:E,DIR_SUFFIX:x,DOT_SLASH:A,FUNCTION_TYPE:S,EMPTY_FN:T,IDENTITY_FN:k}=r("../../node_modules/chokidar/lib/constants.js"),C=s(n.stat),R=s(n.lstat),O=s(n.realpath),D={stat:C,lstat:R},L=new Map,N=new Set([69888,70400,71424,72704,73472,131328,131840,262912]),P=(e,t)=>({stop:i.watch(e,t)}),q=(e,t)=>{let r=0;for(;!e.indexOf(t)&&(e=o.dirname(e))!==t;)r++;return r},j=(e,t)=>e.type===_&&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,n,o,s,i,l){const u=o.has(s)?c:a;this.handleEvent(u,e,t,r,n,o,s,i,l)}async checkExists(e,t,r,n,o,s,i,a){try{const c=await C(e);if(this.fsw.closed)return;j(i,c)?this.addOrChange(e,t,r,n,o,s,i,a):this.handleEvent(u,e,t,r,n,o,s,i,a)}catch(c){"EACCES"===c.code?this.addOrChange(e,t,r,n,o,s,i,a):this.handleEvent(u,e,t,r,n,o,s,i,a)}}handleEvent(e,t,r,n,o,s,i,c,d){if(!this.fsw.closed&&!this.checkIgnored(t))if(e===u){const e=c.type===_;(e||s.has(i))&&this.fsw._remove(o,i,e)}else{if(e===a){if(c.type===_&&this.fsw._getWatchedDir(t),c.type===w&&d.followSymlinks){const e=void 0===d.depth?void 0:q(r,n)+1;return this._addToFsEvents(t,!1,!0,e)}this.fsw._getWatchedDir(o).add(i)}const s=c.type===_?e+x:e;this.fsw._emit(s,t),s===l&&this._addToFsEvents(t,!1,!0)}}_watchWithFsEvents(e,t,r,n){if(this.fsw.closed||this.fsw._isIgnored(e))return;const s=this.fsw.options,a=function(e,t,r,n){let s=o.extname(t)?o.dirname(t):t;const a=o.dirname(s);let c=L.get(s);(e=>{let t=0;for(const r of L.keys())if(0===r.indexOf(e)&&(t++,t>=10))return!0;return!1})(a)&&(s=a);const l=o.resolve(e),u=l!==t,d=(e,n,s)=>{u&&(e=e.replace(t,l)),e!==l&&e.indexOf(l+o.sep)||r(e,n,s)};let p=!1;for(const e of L.keys())if(0===t.indexOf(o.resolve(e)+o.sep)){s=e,c=L.get(s),p=!0;break}return c||p?c.listeners.add(d):(c={listeners:new Set([d]),rawEmitter:n,watcher:P(s,((e,t)=>{if(!c.listeners.size)return;const r=i.getInfo(e,t);c.listeners.forEach((n=>{n(e,t,r)})),c.rawEmitter(r.event,e,r)}))},L.set(s,c)),()=>{const e=c.listeners;if(e.delete(d),!e.size&&(L.delete(s),c.watcher))return c.watcher.stop().then((()=>{c.rawEmitter=c.watcher=void 0,Object.freeze(c)}))}}(e,t,(async(i,a,c)=>{if(this.fsw.closed)return;if(void 0!==s.depth&&q(i,t)>s.depth)return;const l=r(o.join(e,o.relative(e,i)));if(n&&!n(l))return;const d=o.dirname(l),p=o.basename(l),h=this.fsw._getWatchedDir(c.type===_?l:d);if(N.has(a)||c.event===y)if(typeof s.ignored===S){let e;try{e=await C(l)}catch(e){}if(this.fsw.closed)return;if(this.checkIgnored(l,e))return;j(c,e)?this.addOrChange(l,i,t,d,h,p,c,s):this.handleEvent(u,l,i,t,d,h,p,c,s)}else this.checkExists(l,i,t,d,h,p,c,s);else switch(c.event){case f:case g:return this.addOrChange(l,i,t,d,h,p,c,s);case m:case b:return this.checkExists(l,i,t,d,h,p,c,s)}}),this.fsw._emitRaw);return this.fsw._emitReady(),a}async _handleFsEventsSymlink(e,t,r,n){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,(n=>{let s=e;return t&&t!==A?s=n.replace(t,e):n!==A&&(s=o.join(e,n)),r(s)}),!1,n)}catch(e){if(this.fsw._handleError(e))return this.fsw._emitReady()}}}emitAdd(e,t,r,n,s){const i=r(e),c=t.isDirectory(),u=this.fsw._getWatchedDir(o.dirname(i)),d=o.basename(i);c&&this.fsw._getWatchedDir(i),u.has(d)||(u.add(d),n.ignoreInitial&&!0!==s||this.fsw._emit(c?l:a,i,t))}initWatch(e,t,r,n){if(this.fsw.closed)return;const s=this._watchWithFsEvents(r.watchPath,o.resolve(e||r.watchPath),n,r.globFilter);this.fsw._addPathCloser(t,s)}async _addToFsEvents(e,t,r,n){if(this.fsw.closed)return;const s=this.fsw.options,i=typeof t===S?t:k,a=this.fsw._getWatchHelpers(e);try{const t=await D[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(i(e),t,i,s,r),n&&n>s.depth)return;this.fsw._readdirp(a.watchPath,{fileFilter:e=>a.filterPath(e),directoryFilter:e=>a.filterDir(e),...(c=s.depth-(n||0),isNaN(c)?{}:{depth:c})}).on(p,(e=>{if(this.fsw.closed)return;if(e.stats.isDirectory()&&!a.filterPath(e))return;const t=o.join(a.watchPath,e.path),{fullPath:n}=e;if(a.followSymlinks&&e.stats.isSymbolicLink()){const e=void 0===s.depth?void 0:q(t,o.resolve(a.watchPath))+1;this._handleFsEventsSymlink(t,n,i,e)}else this.emitAdd(t,e.stats,i,s,r)})).on(d,T).on(h,(()=>{this.fsw._emitReady()}))}else this.emitAdd(a.watchPath,t,i,s,r),this.fsw._emitReady()}catch(e){e&&!this.fsw._handleError(e)||(this.fsw._emitReady(),this.fsw._emitReady())}var c;if(s.persistent&&!0!==r)if(typeof t===S)this.initWatch(void 0,e,a,i);else{let t;try{t=await O(a.watchPath)}catch(e){}this.initWatch(t,e,a,i)}}},e.exports.canUse=()=>i&&L.size<128},"../../node_modules/chokidar/lib/nodefs-handler.js":(e,t,r)=>{"use strict";const n=r("fs"),o=r("path"),{promisify:s}=r("util"),i=r("../../node_modules/is-binary-path/index.js"),{isWindows:a,isLinux:c,EMPTY_FN:l,EMPTY_STR:u,KEY_LISTENERS:d,KEY_ERR:p,KEY_RAW:h,HANDLER_KEYS:f,EV_CHANGE:g,EV_ADD:m,EV_ADD_DIR:b,EV_ERROR:y,STR_DATA:v,STR_END:_,BRACE_START:w,STAR:E}=r("../../node_modules/chokidar/lib/constants.js"),x=s(n.open),A=s(n.stat),S=s(n.lstat),T=s(n.close),k=s(n.realpath),C={lstat:S,stat:A},R=(e,t)=>{e instanceof Set?e.forEach(t):t(e)},O=(e,t,r)=>{let n=e[t];n instanceof Set||(e[t]=n=new Set([n])),n.add(r)},D=(e,t,r)=>{const n=e[t];n instanceof Set?n.delete(r):n===r&&delete e[t]},L=e=>e instanceof Set?0===e.size:!e,N=new Map;function P(e,t,r,s,i){const a=(t,n)=>{r(e),i(t,n,{watchedPath:e}),n&&e!==n&&q(o.resolve(e,n),d,o.join(e,n))};try{return n.watch(e,t,a)}catch(e){s(e)}}const q=(e,t,r,n,o)=>{const s=N.get(e);s&&R(s[t],(e=>{e(r,n,o)}))},j=new Map;e.exports=class{constructor(e){this.fsw=e,this._boundHandleError=t=>e._handleError(t)}_watchWithNodeFs(e,t){const r=this.fsw.options,s=o.dirname(e),c=o.basename(e);this.fsw._getWatchedDir(s).add(c);const u=o.resolve(e),m={persistent:r.persistent};let b;return t||(t=l),r.usePolling?(m.interval=r.enableBinaryInterval&&i(c)?r.binaryInterval:r.interval,b=((e,t,r,o)=>{const{listener:s,rawEmitter:i}=o;let a=j.get(t),c=new Set,l=new Set;const u=a&&a.options;return u&&(u.persistent<r.persistent||u.interval>r.interval)&&(c=a.listeners,l=a.rawEmitters,n.unwatchFile(t),a=void 0),a?(O(a,d,s),O(a,h,i)):(a={listeners:s,rawEmitters:i,options:r,watcher:n.watchFile(t,r,((r,n)=>{R(a.rawEmitters,(e=>{e(g,t,{curr:r,prev:n})}));const o=r.mtimeMs;(r.size!==n.size||o>n.mtimeMs||0===o)&&R(a.listeners,(t=>t(e,r)))}))},j.set(t,a)),()=>{D(a,d,s),D(a,h,i),L(a.listeners)&&(j.delete(t),n.unwatchFile(t),a.options=a.watcher=void 0,Object.freeze(a))}})(e,u,m,{listener:t,rawEmitter:this.fsw._emitRaw})):b=((e,t,r,n)=>{const{listener:o,errHandler:s,rawEmitter:i}=n;let c,l=N.get(t);if(!r.persistent)return c=P(e,r,o,s,i),c.close.bind(c);if(l)O(l,d,o),O(l,p,s),O(l,h,i);else{if(c=P(e,r,q.bind(null,t,d),s,q.bind(null,t,h)),!c)return;c.on(y,(async r=>{const n=q.bind(null,t,p);if(l.watcherUnusable=!0,a&&"EPERM"===r.code)try{const t=await x(e,"r");await T(t),n(r)}catch(e){}else n(r)})),l={listeners:o,errHandlers:s,rawEmitters:i,watcher:c},N.set(t,l)}return()=>{D(l,d,o),D(l,p,s),D(l,h,i),L(l.listeners)&&(l.watcher.close(),N.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,u,m,{listener:t,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw}),b}_handleFile(e,t,r){if(this.fsw.closed)return;const n=o.dirname(e),s=o.basename(e),i=this.fsw._getWatchedDir(n);let a=t;if(i.has(s))return;const l=async(t,r)=>{if(this.fsw._throttle("watch",e,5))if(r&&0!==r.mtimeMs){if(i.has(s)){const t=r.atimeMs,n=r.mtimeMs;(!t||t<=n||n!==a.mtimeMs)&&this.fsw._emit(g,e,r),a=r}}else try{const r=await A(e);if(this.fsw.closed)return;const n=r.atimeMs,o=r.mtimeMs;(!n||n<=o||o!==a.mtimeMs)&&this.fsw._emit(g,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(n,s)}},u=this._watchWithNodeFs(e,l);if((!r||!this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(e)){if(!this.fsw._throttle(m,e,0))return;this.fsw._emit(m,e,t)}return u}async _handleSymlink(e,t,r,n){if(this.fsw.closed)return;const o=e.fullPath,s=this.fsw._getWatchedDir(t);if(!this.fsw.options.followSymlinks){let t;this.fsw._incrReadyCount();try{t=await k(r)}catch(e){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;return s.has(n)?this.fsw._symlinkPaths.get(o)!==t&&(this.fsw._symlinkPaths.set(o,t),this.fsw._emit(g,r,e.stats)):(s.add(n),this.fsw._symlinkPaths.set(o,t),this.fsw._emit(m,r,e.stats)),this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(o))return!0;this.fsw._symlinkPaths.set(o,!0)}_handleRead(e,t,r,n,s,i,a){if(e=o.join(e,u),!r.hasGlob&&!(a=this.fsw._throttle("readdir",e,1e3)))return;const c=this.fsw._getWatchedDir(r.path),l=new Set;let d=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(d=void 0);const u=a.path;let p=o.join(e,u);l.add(u),a.stats.isSymbolicLink()&&await this._handleSymlink(a,e,p,u)||(this.fsw.closed?d=void 0:u!==n&&(n||c.has(u))||(this.fsw._incrReadyCount(),p=o.join(s,o.relative(s,p)),this._addToNodeFs(p,t,r,i+1)))})).on(y,this._boundHandleError);return new Promise((t=>d.once(_,(()=>{if(this.fsw.closed)return void(d=void 0);const u=!!a&&a.clear();t(),c.getChildren().filter((t=>t!==e&&!l.has(t)&&(!r.hasGlob||r.filterPath({fullPath:o.resolve(e,t)})))).forEach((t=>{this.fsw._remove(e,t)})),d=void 0,u&&this._handleRead(e,!1,r,n,s,i,a)}))))}async _handleDir(e,t,r,n,s,i,a){const c=this.fsw._getWatchedDir(o.dirname(e)),l=c.has(o.basename(e));let u,d;r&&this.fsw.options.ignoreInitial||s||l||i.hasGlob&&!i.globFilter(e)||this.fsw._emit(b,e,t),c.add(o.basename(e)),this.fsw._getWatchedDir(e);const p=this.fsw.options.depth;if((null==p||n<=p)&&!this.fsw._symlinkPaths.has(a)){if(!s&&(await this._handleRead(e,r,i,s,e,n,u),this.fsw.closed))return;d=this._watchWithNodeFs(e,((t,r)=>{r&&0===r.mtimeMs||this._handleRead(t,!1,i,s,e,n,u)}))}return d}async _addToNodeFs(e,t,r,n,s){const i=this.fsw._emitReady;if(this.fsw._isIgnored(e)||this.fsw.closed)return i(),!1;const a=this.fsw._getWatchHelpers(e,n);!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 i(),!1;const c=this.fsw.options.followSymlinks&&!e.includes(E)&&!e.includes(w);let l;if(r.isDirectory()){const i=o.resolve(e),u=c?await k(e):e;if(this.fsw.closed)return;if(l=await this._handleDir(a.watchPath,r,t,n,s,a,u),this.fsw.closed)return;i!==u&&void 0!==u&&this.fsw._symlinkPaths.set(i,u)}else if(r.isSymbolicLink()){const s=c?await k(e):e;if(this.fsw.closed)return;const i=o.dirname(a.watchPath);if(this.fsw._getWatchedDir(i).add(a.watchPath),this.fsw._emit(m,a.watchPath,r),l=await this._handleDir(i,r,t,n,e,a,s),this.fsw.closed)return;void 0!==s&&this.fsw._symlinkPaths.set(o.resolve(e),s)}else l=this._handleFile(a.watchPath,r,t);return i(),this.fsw._addPathCloser(e,l),!1}catch(t){if(this.fsw._handleError(t))return i(),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 n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,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:n}=e.exports;n.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,o,s,i=null;function a(...e){if(!a.enabled)return;const n=a,o=Number(new Date),s=o-(r||o);n.diff=s,n.prev=r,n.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,o)=>{if("%%"===r)return"%";i++;const s=t.formatters[o];if("function"==typeof s){const t=e[i];r=s.call(n,t),e.splice(i,1),i--}return r})),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(o!==t.namespaces&&(o=t.namespaces,s=t.enabled(e)),s),set:e=>{i=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function o(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(o),...t.skips.map(o).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 n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(r=0;r<o;r++)n[r]&&("-"===(e=n[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,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;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 n=r("tty"),o=r("util");t.init=function(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let n=0;n<r.length;n++)e.inspectOpts[r[n]]=t.inspectOpts[r[n]]},t.log=function(...e){return process.stderr.write(o.format(...e)+"\n")},t.formatArgs=function(r){const{namespace:n,useColors:o}=this;if(o){const t=this.color,o="[3"+(t<8?t:"8;5;"+t),s=` ${o};1m${n} `;r[0]=s+r[0].split("\n").join("\n"+s),r.push(o+"m+"+e.exports.humanize(this.diff)+"")}else r[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+n+" "+r[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)},t.destroy=o.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 n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[r]=n,e}),{}),e.exports=r("../../node_modules/debug/src/common.js")(t);const{formatters:s}=e.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts)}},"../../node_modules/fill-range/index.js":(e,t,r)=>{"use strict";const n=r("util"),o=r("../../node_modules/to-regex-range/index.js"),s=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),i=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},u=(e,t)=>{let r="-"===e[0]?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},d=(e,t,r,n)=>{if(r)return o(e,t,{wrap:!1,...n});let s=String.fromCharCode(e);return e===t?s:`[${s}-${String.fromCharCode(t)}]`},p=(e,t,r)=>{if(Array.isArray(e)){let t=!0===r.wrap,n=r.capture?"":"?:";return t?`(${n}${e.join("|")})`:e.join("|")}return o(e,t,r)},h=(...e)=>new RangeError("Invalid range arguments: "+n.inspect(...e)),f=(e,t,r)=>{if(!0===r.strictRanges)throw h([e,t]);return[]},g=(e,t,r,n={})=>{if(null==t&&i(e))return[e];if(!i(e)||!i(t))return f(e,t,n);if("function"==typeof r)return g(e,t,1,{transform:r});if(s(r))return g(e,t,0,r);let o={...n};return!0===o.capture&&(o.wrap=!0),r=r||o.step||1,a(r)?a(e)&&a(t)?((e,t,r=1,n={})=>{let o=Number(e),s=Number(t);if(!Number.isInteger(o)||!Number.isInteger(s)){if(!0===n.strictRanges)throw h([e,t]);return[]}0===o&&(o=0),0===s&&(s=0);let i=o>s,a=String(e),f=String(t),g=String(r);r=Math.max(Math.abs(r),1);let m=c(a)||c(f)||c(g),b=m?Math.max(a.length,f.length,g.length):0,y=!1===m&&!1===((e,t,r)=>"string"==typeof e||"string"==typeof t||!0===r.stringify)(e,t,n),v=n.transform||(e=>t=>!0===e?Number(t):String(t))(y);if(n.toRegex&&1===r)return d(u(e,b),u(t,b),!0,n);let _={negatives:[],positives:[]},w=[],E=0;for(;i?o>=s:o<=s;)!0===n.toRegex&&r>1?_[(x=o)<0?"negatives":"positives"].push(Math.abs(x)):w.push(l(v(o,E),b,y)),o=i?o-r:o+r,E++;var x;return!0===n.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,n=t.capture?"":"?:",o="",s="";return e.positives.length&&(o=e.positives.join("|")),e.negatives.length&&(s=`-(${n}${e.negatives.join("|")})`),r=o&&s?`${o}|${s}`:o||s,t.wrap?`(${n}${r})`:r})(_,n):p(w,null,{wrap:!1,...n}):w})(e,t,r,o):((e,t,r=1,n={})=>{if(!a(e)&&e.length>1||!a(t)&&t.length>1)return f(e,t,n);let o=n.transform||(e=>String.fromCharCode(e)),s=`${e}`.charCodeAt(0),i=`${t}`.charCodeAt(0),c=s>i,l=Math.min(s,i),u=Math.max(s,i);if(n.toRegex&&1===r)return d(l,u,!1,n);let h=[],g=0;for(;c?s>=i:s<=i;)h.push(o(s,g)),s=c?s-r:s+r,g++;return!0===n.toRegex?p(h,null,{wrap:!1,options:n}):h})(e,t,Math.max(Math.abs(r),1),o):null==r||s(r)?g(e,t,1,r):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(r,o)};e.exports=g},"../../node_modules/glob-parent/index.js":(e,t,r)=>{"use strict";var n=r("../../node_modules/is-glob/index.js"),o=r("path").posix.dirname,s="win32"===r("os").platform(),i=/\\/g,a=/[\{\[].*[\}\]]$/,c=/(^|[^\\])([\{\[]|\([^\)]+$)/,l=/\\([\!\*\?\|\[\]\(\)\{\}])/g;e.exports=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&s&&e.indexOf("/")<0&&(e=e.replace(i,"/")),a.test(e)&&(e+="/"),e+="a";do{e=o(e)}while(n(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?"-":"--",n=t.indexOf(r+e),o=t.indexOf("--");return-1!==n&&(-1===o||n<o)}},"../../node_modules/is-binary-path/index.js":(e,t,r)=>{"use strict";const n=r("path"),o=r("../../node_modules/binary-extensions/index.js"),s=new Set(o);e.exports=e=>s.has(n.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 n=r("../../node_modules/is-extglob/index.js"),o={"{":"}","(":")","[":"]"},s=function(e){if("!"===e[0])return!0;for(var t=0,r=-2,n=-2,s=-2,i=-2,a=-2;t<e.length;){if("*"===e[t])return!0;if("?"===e[t+1]&&/[\].+)]/.test(e[t]))return!0;if(-1!==n&&"["===e[t]&&"]"!==e[t+1]&&(n<t&&(n=e.indexOf("]",t)),n>t)){if(-1===a||a>n)return!0;if(-1===(a=e.indexOf("\\",t))||a>n)return!0}if(-1!==s&&"{"===e[t]&&"}"!==e[t+1]&&(s=e.indexOf("}",t))>t&&(-1===(a=e.indexOf("\\",t))||a>s))return!0;if(-1!==i&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(i=e.indexOf(")",t))>t&&(-1===(a=e.indexOf("\\",t))||a>i))return!0;if(-1!==r&&"("===e[t]&&"|"!==e[t+1]&&(r<t&&(r=e.indexOf("|",t)),-1!==r&&")"!==e[r+1]&&(i=e.indexOf(")",r))>r&&(-1===(a=e.indexOf("\\",r))||a>i)))return!0;if("\\"===e[t]){var c=e[t+1];t+=2;var l=o[c];if(l){var u=e.indexOf(l,t);-1!==u&&(t=u+1)}if("!"===e[t])return!0}else t++}return!1},i=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 n=o[r];if(n){var s=e.indexOf(n,t);-1!==s&&(t=s+1)}if("!"===e[t])return!0}else t++}return!1};e.exports=function(e,t){if("string"!=typeof e||""===e)return!1;if(n(e))return!0;var r=s;return t&&!1===t.strict&&(r=i),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,n=60*r,o=24*n;function s(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+" "+n+(o?"s":"")}e.exports=function(e,i){i=i||{};var a,c,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var s=/^(-?(?:\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(s){var i=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"weeks":case"week":case"w":return 6048e5*i;case"days":case"day":case"d":return i*o;case"hours":case"hour":case"hrs":case"hr":case"h":return i*n;case"minutes":case"minute":case"mins":case"min":case"m":return i*r;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}}}(e);if("number"===l&&isFinite(e))return i.long?(a=e,(c=Math.abs(a))>=o?s(a,c,o,"day"):c>=n?s(a,c,n,"hour"):c>=r?s(a,c,r,"minute"):c>=t?s(a,c,t,"second"):a+" ms"):function(e){var s=Math.abs(e);return s>=o?Math.round(e/o)+"d":s>=n?Math.round(e/n)+"h":s>=r?Math.round(e/r)+"m":s>=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 n="";if(r>4&&"\\"===e[3]){var o=e[2];"?"!==o&&"."!==o||"\\\\"!==e.slice(0,2)||(e=e.slice(2),n="//")}var s=e.split(/[/\\]+/);return!1!==t&&""===s[s.length-1]&&s.pop(),n+s.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 n=r("path"),o="\\\\/",s=`[^${o}]`,i="\\.",a="\\/",c="[^/]",l=`(?:${a}|$)`,u=`(?:^|${a})`,d=`${i}{1,2}${l}`,p={DOT_LITERAL:i,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:a,ONE_CHAR:"(?=.)",QMARK:c,END_ANCHOR:l,DOTS_SLASH:d,NO_DOT:`(?!${i})`,NO_DOTS:`(?!${u}${d})`,NO_DOT_SLASH:`(?!${i}{0,1}${l})`,NO_DOTS_SLASH:`(?!${d})`,QMARK_NO_DOT:`[^.${a}]`,STAR:`${c}*?`,START_ANCHOR:u},h={...p,SLASH_LITERAL:`[${o}]`,QMARK:s,STAR:`${s}*?`,DOTS_SLASH:`${i}{1,2}(?:[${o}]|$)`,NO_DOT:`(?!${i})`,NO_DOTS:`(?!(?:^|[${o}])${i}{1,2}(?:[${o}]|$))`,NO_DOT_SLASH:`(?!${i}{0,1}(?:[${o}]|$))`,NO_DOTS_SLASH:`(?!${i}{1,2}(?:[${o}]|$))`,QMARK_NO_DOT:`[^.${o}]`,START_ANCHOR:`(?:^|[${o}])`,END_ANCHOR:`(?:[${o}]|$)`};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:n.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?h:p}},"../../node_modules/picomatch/lib/parse.js":(e,t,r)=>{"use strict";const n=r("../../node_modules/picomatch/lib/constants.js"),o=r("../../node_modules/picomatch/lib/utils.js"),{MAX_LENGTH:s,POSIX_REGEX_SOURCE:i,REGEX_NON_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_BACKREF:c,REPLACEMENTS:l}=n,u=(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=>o.escapeRegex(e))).join("..")}return r},d=(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},h="number"==typeof r.maxLength?Math.min(s,r.maxLength):s;let f=e.length;if(f>h)throw new SyntaxError(`Input length: ${f}, exceeds maximum allowed length: ${h}`);const g={type:"bos",value:"",output:r.prepend||""},m=[g],b=r.capture?"":"?:",y=o.isWindows(t),v=n.globChars(y),_=n.extglobChars(v),{DOT_LITERAL:w,PLUS_LITERAL:E,SLASH_LITERAL:x,ONE_CHAR:A,DOTS_SLASH:S,NO_DOT:T,NO_DOT_SLASH:k,NO_DOTS_SLASH:C,QMARK:R,QMARK_NO_DOT:O,STAR:D,START_ANCHOR:L}=v,N=e=>`(${b}(?:(?!${L}${e.dot?S:w}).)*?)`,P=r.dot?"":T,q=r.dot?R:O;let j=!0===r.bash?N(r):D;r.capture&&(j=`(${j})`),"boolean"==typeof r.noext&&(r.noextglob=r.noext);const F={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:m};e=o.removePrefix(e,F),f=e.length;const I=[],B=[],M=[];let H,U=g;const V=()=>F.index===f-1,G=F.peek=(t=1)=>e[F.index+t],$=F.advance=()=>e[++F.index]||"",W=()=>e.slice(F.index+1),z=(e="",t=0)=>{F.consumed+=e,F.index+=t},K=e=>{F.output+=null!=e.output?e.output:e.value,z(e.value)},Y=()=>{let e=1;for(;"!"===G()&&("("!==G(2)||"?"===G(3));)$(),F.start++,e++;return e%2!=0&&(F.negated=!0,F.start++,!0)},X=e=>{F[e]++,M.push(e)},J=e=>{F[e]--,M.pop()},Z=e=>{if("globstar"===U.type){const t=F.braces>0&&("comma"===e.type||"brace"===e.type),r=!0===e.extglob||I.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||r||(F.output=F.output.slice(0,-U.output.length),U.type="star",U.value="*",U.output=j,F.output+=U.output)}if(I.length&&"paren"!==e.type&&(I[I.length-1].inner+=e.value),(e.value||e.output)&&K(e),U&&"text"===U.type&&"text"===e.type)return U.value+=e.value,void(U.output=(U.output||"")+e.value);e.prev=U,m.push(e),U=e},Q=(e,t)=>{const n={..._[t],conditions:1,inner:""};n.prev=U,n.parens=F.parens,n.output=F.output;const o=(r.capture?"(":"")+n.open;X("parens"),Z({type:e,value:t,output:F.output?"":A}),Z({type:"paren",extglob:!0,value:$(),output:o}),I.push(n)},ee=e=>{let n,o=e.close+(r.capture?")":"");if("negate"===e.type){let s=j;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(s=N(r)),(s!==j||V()||/^\)+$/.test(W()))&&(o=e.close=`)$))${s}`),e.inner.includes("*")&&(n=W())&&/^\.[^\\/.]+$/.test(n)){const r=p(n,{...t,fastpaths:!1}).output;o=e.close=`)${r})${s})`}"bos"===e.prev.type&&(F.negatedExtglob=!0)}Z({type:"paren",extglob:!0,value:H,output:o}),J("parens")};if(!1!==r.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let n=!1,s=e.replace(c,((e,t,r,o,s,i)=>"\\"===o?(n=!0,e):"?"===o?t?t+o+(s?R.repeat(s.length):""):0===i?q+(s?R.repeat(s.length):""):R.repeat(r.length):"."===o?w.repeat(r.length):"*"===o?t?t+o+(s?j:""):j:t?e:`\\${e}`));return!0===n&&(s=!0===r.unescape?s.replace(/\\/g,""):s.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),s===e&&!0===r.contains?(F.output=e,F):(F.output=o.wrapOutput(s,F,t),F)}for(;!V();){if(H=$(),"\0"===H)continue;if("\\"===H){const e=G();if("/"===e&&!0!==r.bash)continue;if("."===e||";"===e)continue;if(!e){H+="\\",Z({type:"text",value:H});continue}const t=/^\\+/.exec(W());let n=0;if(t&&t[0].length>2&&(n=t[0].length,F.index+=n,n%2!=0&&(H+="\\")),!0===r.unescape?H=$():H+=$(),0===F.brackets){Z({type:"text",value:H});continue}}if(F.brackets>0&&("]"!==H||"["===U.value||"[^"===U.value)){if(!1!==r.posix&&":"===H){const e=U.value.slice(1);if(e.includes("[")&&(U.posix=!0,e.includes(":"))){const e=U.value.lastIndexOf("["),t=U.value.slice(0,e),r=U.value.slice(e+2),n=i[r];if(n){U.value=t+n,F.backtrack=!0,$(),g.output||1!==m.indexOf(U)||(g.output=A);continue}}}("["===H&&":"!==G()||"-"===H&&"]"===G())&&(H=`\\${H}`),"]"!==H||"["!==U.value&&"[^"!==U.value||(H=`\\${H}`),!0===r.posix&&"!"===H&&"["===U.value&&(H="^"),U.value+=H,K({value:H});continue}if(1===F.quotes&&'"'!==H){H=o.escapeRegex(H),U.value+=H,K({value:H});continue}if('"'===H){F.quotes=1===F.quotes?0:1,!0===r.keepQuotes&&Z({type:"text",value:H});continue}if("("===H){X("parens"),Z({type:"paren",value:H});continue}if(")"===H){if(0===F.parens&&!0===r.strictBrackets)throw new SyntaxError(d("opening","("));const e=I[I.length-1];if(e&&F.parens===e.parens+1){ee(I.pop());continue}Z({type:"paren",value:H,output:F.parens?")":"\\)"}),J("parens");continue}if("["===H){if(!0!==r.nobracket&&W().includes("]"))X("brackets");else{if(!0!==r.nobracket&&!0===r.strictBrackets)throw new SyntaxError(d("closing","]"));H=`\\${H}`}Z({type:"bracket",value:H});continue}if("]"===H){if(!0===r.nobracket||U&&"bracket"===U.type&&1===U.value.length){Z({type:"text",value:H,output:`\\${H}`});continue}if(0===F.brackets){if(!0===r.strictBrackets)throw new SyntaxError(d("opening","["));Z({type:"text",value:H,output:`\\${H}`});continue}J("brackets");const e=U.value.slice(1);if(!0===U.posix||"^"!==e[0]||e.includes("/")||(H=`/${H}`),U.value+=H,K({value:H}),!1===r.literalBrackets||o.hasRegexChars(e))continue;const t=o.escapeRegex(U.value);if(F.output=F.output.slice(0,-U.value.length),!0===r.literalBrackets){F.output+=t,U.value=t;continue}U.value=`(${b}${t}|${U.value})`,F.output+=U.value;continue}if("{"===H&&!0!==r.nobrace){X("braces");const e={type:"brace",value:H,output:"(",outputIndex:F.output.length,tokensIndex:F.tokens.length};B.push(e),Z(e);continue}if("}"===H){const e=B[B.length-1];if(!0===r.nobrace||!e){Z({type:"text",value:H,output:H});continue}let t=")";if(!0===e.dots){const e=m.slice(),n=[];for(let t=e.length-1;t>=0&&(m.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&n.unshift(e[t].value);t=u(n,r),F.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const r=F.output.slice(0,e.outputIndex),n=F.tokens.slice(e.tokensIndex);e.value=e.output="\\{",H=t="\\}",F.output=r;for(const e of n)F.output+=e.output||e.value}Z({type:"brace",value:H,output:t}),J("braces"),B.pop();continue}if("|"===H){I.length>0&&I[I.length-1].conditions++,Z({type:"text",value:H});continue}if(","===H){let e=H;const t=B[B.length-1];t&&"braces"===M[M.length-1]&&(t.comma=!0,e="|"),Z({type:"comma",value:H,output:e});continue}if("/"===H){if("dot"===U.type&&F.index===F.start+1){F.start=F.index+1,F.consumed="",F.output="",m.pop(),U=g;continue}Z({type:"slash",value:H,output:x});continue}if("."===H){if(F.braces>0&&"dot"===U.type){"."===U.value&&(U.output=w);const e=B[B.length-1];U.type="dots",U.output+=H,U.value+=H,e.dots=!0;continue}if(F.braces+F.parens===0&&"bos"!==U.type&&"slash"!==U.type){Z({type:"text",value:H,output:w});continue}Z({type:"dot",value:H,output:w});continue}if("?"===H){if((!U||"("!==U.value)&&!0!==r.noextglob&&"("===G()&&"?"!==G(2)){Q("qmark",H);continue}if(U&&"paren"===U.type){const e=G();let t=H;if("<"===e&&!o.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===U.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(W()))&&(t=`\\${H}`),Z({type:"text",value:H,output:t});continue}if(!0!==r.dot&&("slash"===U.type||"bos"===U.type)){Z({type:"qmark",value:H,output:O});continue}Z({type:"qmark",value:H,output:R});continue}if("!"===H){if(!0!==r.noextglob&&"("===G()&&("?"!==G(2)||!/[!=<:]/.test(G(3)))){Q("negate",H);continue}if(!0!==r.nonegate&&0===F.index){Y();continue}}if("+"===H){if(!0!==r.noextglob&&"("===G()&&"?"!==G(2)){Q("plus",H);continue}if(U&&"("===U.value||!1===r.regex){Z({type:"plus",value:H,output:E});continue}if(U&&("bracket"===U.type||"paren"===U.type||"brace"===U.type)||F.parens>0){Z({type:"plus",value:H});continue}Z({type:"plus",value:E});continue}if("@"===H){if(!0!==r.noextglob&&"("===G()&&"?"!==G(2)){Z({type:"at",extglob:!0,value:H,output:""});continue}Z({type:"text",value:H});continue}if("*"!==H){"$"!==H&&"^"!==H||(H=`\\${H}`);const e=a.exec(W());e&&(H+=e[0],F.index+=e[0].length),Z({type:"text",value:H});continue}if(U&&("globstar"===U.type||!0===U.star)){U.type="star",U.star=!0,U.value+=H,U.output=j,F.backtrack=!0,F.globstar=!0,z(H);continue}let t=W();if(!0!==r.noextglob&&/^\([^?]/.test(t)){Q("star",H);continue}if("star"===U.type){if(!0===r.noglobstar){z(H);continue}const n=U.prev,o=n.prev,s="slash"===n.type||"bos"===n.type,i=o&&("star"===o.type||"globstar"===o.type);if(!0===r.bash&&(!s||t[0]&&"/"!==t[0])){Z({type:"star",value:H,output:""});continue}const a=F.braces>0&&("comma"===n.type||"brace"===n.type),c=I.length&&("pipe"===n.type||"paren"===n.type);if(!s&&"paren"!==n.type&&!a&&!c){Z({type:"star",value:H,output:""});continue}for(;"/**"===t.slice(0,3);){const r=e[F.index+4];if(r&&"/"!==r)break;t=t.slice(3),z("/**",3)}if("bos"===n.type&&V()){U.type="globstar",U.value+=H,U.output=N(r),F.output=U.output,F.globstar=!0,z(H);continue}if("slash"===n.type&&"bos"!==n.prev.type&&!i&&V()){F.output=F.output.slice(0,-(n.output+U.output).length),n.output=`(?:${n.output}`,U.type="globstar",U.output=N(r)+(r.strictSlashes?")":"|$)"),U.value+=H,F.globstar=!0,F.output+=n.output+U.output,z(H);continue}if("slash"===n.type&&"bos"!==n.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";F.output=F.output.slice(0,-(n.output+U.output).length),n.output=`(?:${n.output}`,U.type="globstar",U.output=`${N(r)}${x}|${x}${e})`,U.value+=H,F.output+=n.output+U.output,F.globstar=!0,z(H+$()),Z({type:"slash",value:"/",output:""});continue}if("bos"===n.type&&"/"===t[0]){U.type="globstar",U.value+=H,U.output=`(?:^|${x}|${N(r)}${x})`,F.output=U.output,F.globstar=!0,z(H+$()),Z({type:"slash",value:"/",output:""});continue}F.output=F.output.slice(0,-U.output.length),U.type="globstar",U.output=N(r),U.value+=H,F.output+=U.output,F.globstar=!0,z(H);continue}const n={type:"star",value:H,output:j};!0!==r.bash?!U||"bracket"!==U.type&&"paren"!==U.type||!0!==r.regex?(F.index!==F.start&&"slash"!==U.type&&"dot"!==U.type||("dot"===U.type?(F.output+=k,U.output+=k):!0===r.dot?(F.output+=C,U.output+=C):(F.output+=P,U.output+=P),"*"!==G()&&(F.output+=A,U.output+=A)),Z(n)):(n.output=H,Z(n)):(n.output=".*?","bos"!==U.type&&"slash"!==U.type||(n.output=P+n.output),Z(n))}for(;F.brackets>0;){if(!0===r.strictBrackets)throw new SyntaxError(d("closing","]"));F.output=o.escapeLast(F.output,"["),J("brackets")}for(;F.parens>0;){if(!0===r.strictBrackets)throw new SyntaxError(d("closing",")"));F.output=o.escapeLast(F.output,"("),J("parens")}for(;F.braces>0;){if(!0===r.strictBrackets)throw new SyntaxError(d("closing","}"));F.output=o.escapeLast(F.output,"{"),J("braces")}if(!0===r.strictSlashes||"star"!==U.type&&"bracket"!==U.type||Z({type:"maybe_slash",value:"",output:`${x}?`}),!0===F.backtrack){F.output="";for(const e of F.tokens)F.output+=null!=e.output?e.output:e.value,e.suffix&&(F.output+=e.suffix)}return F};p.fastpaths=(e,t)=>{const r={...t},i="number"==typeof r.maxLength?Math.min(s,r.maxLength):s,a=e.length;if(a>i)throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${i}`);e=l[e]||e;const c=o.isWindows(t),{DOT_LITERAL:u,SLASH_LITERAL:d,ONE_CHAR:p,DOTS_SLASH:h,NO_DOT:f,NO_DOTS:g,NO_DOTS_SLASH:m,STAR:b,START_ANCHOR:y}=n.globChars(c),v=r.dot?g:f,_=r.dot?m:f,w=r.capture?"":"?:";let E=!0===r.bash?".*?":b;r.capture&&(E=`(${E})`);const x=e=>!0===e.noglobstar?E:`(${w}(?:(?!${y}${e.dot?h:u}).)*?)`,A=e=>{switch(e){case"*":return`${v}${p}${E}`;case".*":return`${u}${p}${E}`;case"*.*":return`${v}${E}${u}${p}${E}`;case"*/*":return`${v}${E}${d}${p}${_}${E}`;case"**":return v+x(r);case"**/*":return`(?:${v}${x(r)}${d})?${_}${p}${E}`;case"**/*.*":return`(?:${v}${x(r)}${d})?${_}${E}${u}${p}${E}`;case"**/.*":return`(?:${v}${x(r)}${d})?${u}${p}${E}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const r=A(t[1]);if(!r)return;return r+u+t[2]}}},S=o.removePrefix(e,{negated:!1,prefix:""});let T=A(S);return T&&!0!==r.strictSlashes&&(T+=`${d}?`),T},e.exports=p},"../../node_modules/picomatch/lib/picomatch.js":(e,t,r)=>{"use strict";const n=r("path"),o=r("../../node_modules/picomatch/lib/scan.js"),s=r("../../node_modules/picomatch/lib/parse.js"),i=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 n=e.map((e=>c(e,t,r))),o=e=>{for(const t of n){const r=t(e);if(r)return r}return!1};return o}const n=(o=e)&&"object"==typeof o&&!Array.isArray(o)&&e.tokens&&e.input;var o;if(""===e||"string"!=typeof e&&!n)throw new TypeError("Expected pattern to be a non-empty string");const s=t||{},a=i.isWindows(t),l=n?c.compileRe(e,t):c.makeRe(e,t,!1,!0),u=l.state;delete l.state;let d=()=>!1;if(s.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};d=c(s.ignore,e,r)}const p=(r,n=!1)=>{const{isMatch:o,match:i,output:p}=c.test(r,l,t,{glob:e,posix:a}),h={glob:e,state:u,regex:l,posix:a,input:r,output:p,match:i,isMatch:o};return"function"==typeof s.onResult&&s.onResult(h),!1===o?(h.isMatch=!1,!!n&&h):d(r)?("function"==typeof s.onIgnore&&s.onIgnore(h),h.isMatch=!1,!!n&&h):("function"==typeof s.onMatch&&s.onMatch(h),!n||h)};return r&&(p.state=u),p};c.test=(e,t,r,{glob:n,posix:o}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const s=r||{},a=s.format||(o?i.toPosixSlashes:null);let l=e===n,u=l&&a?a(e):e;return!1===l&&(u=a?a(e):e,l=u===n),!1!==l&&!0!==s.capture||(l=!0===s.matchBase||!0===s.basename?c.matchBase(e,t,r,o):t.exec(u)),{isMatch:Boolean(l),match:l,output:u}},c.matchBase=(e,t,r,o=i.isWindows(r))=>(t instanceof RegExp?t:c.makeRe(t,r)).test(n.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))):s(e,{...t,fastpaths:!1}),c.scan=(e,t)=>o(e,t),c.compileRe=(e,t,r=!1,n=!1)=>{if(!0===r)return e.output;const o=t||{},s=o.contains?"":"^",i=o.contains?"":"$";let a=`${s}(?:${e.output})${i}`;e&&!0===e.negated&&(a=`^(?!${a}).*$`);const l=c.toRegex(a,t);return!0===n&&(l.state=e),l},c.makeRe=(e,t={},r=!1,n=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let o={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(o.output=s.fastpaths(e,t)),o.output||(o=s(e,t)),c.compileRe(o,t,r,n)},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 n=r("../../node_modules/picomatch/lib/utils.js"),{CHAR_ASTERISK:o,CHAR_AT:s,CHAR_BACKWARD_SLASH:i,CHAR_COMMA:a,CHAR_DOT:c,CHAR_EXCLAMATION_MARK:l,CHAR_FORWARD_SLASH:u,CHAR_LEFT_CURLY_BRACE:d,CHAR_LEFT_PARENTHESES:p,CHAR_LEFT_SQUARE_BRACKET:h,CHAR_PLUS:f,CHAR_QUESTION_MARK:g,CHAR_RIGHT_CURLY_BRACE:m,CHAR_RIGHT_PARENTHESES:b,CHAR_RIGHT_SQUARE_BRACKET:y}=r("../../node_modules/picomatch/lib/constants.js"),v=e=>e===u||e===i,_=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,x=[],A=[],S=[];let T,k,C=e,R=-1,O=0,D=0,L=!1,N=!1,P=!1,q=!1,j=!1,F=!1,I=!1,B=!1,M=!1,H=!1,U=0,V={value:"",depth:0,isGlob:!1};const G=()=>R>=w,$=()=>(T=k,C.charCodeAt(++R));for(;R<w;){let e;if(k=$(),k!==i){if(!0===F||k===d){for(U++;!0!==G()&&(k=$());)if(k!==i)if(k!==d){if(!0!==F&&k===c&&(k=$())===c){if(L=V.isBrace=!0,P=V.isGlob=!0,H=!0,!0===E)continue;break}if(!0!==F&&k===a){if(L=V.isBrace=!0,P=V.isGlob=!0,H=!0,!0===E)continue;break}if(k===m&&(U--,0===U)){F=!1,L=V.isBrace=!0,H=!0;break}}else U++;else I=V.backslashes=!0,$();if(!0===E)continue;break}if(k!==u){if(!0!==r.noext&&!0==(k===f||k===s||k===o||k===g||k===l)&&C.charCodeAt(R+1)===p){if(P=V.isGlob=!0,q=V.isExtglob=!0,H=!0,k===l&&R===O&&(M=!0),!0===E){for(;!0!==G()&&(k=$());)if(k!==i){if(k===b){P=V.isGlob=!0,H=!0;break}}else I=V.backslashes=!0,k=$();continue}break}if(k===o){if(T===o&&(j=V.isGlobstar=!0),P=V.isGlob=!0,H=!0,!0===E)continue;break}if(k===g){if(P=V.isGlob=!0,H=!0,!0===E)continue;break}if(k===h){for(;!0!==G()&&(e=$());)if(e!==i){if(e===y){N=V.isBracket=!0,P=V.isGlob=!0,H=!0;break}}else I=V.backslashes=!0,$();if(!0===E)continue;break}if(!0===r.nonegate||k!==l||R!==O){if(!0!==r.noparen&&k===p){if(P=V.isGlob=!0,!0===E){for(;!0!==G()&&(k=$());)if(k!==p){if(k===b){H=!0;break}}else I=V.backslashes=!0,k=$();continue}break}if(!0===P){if(H=!0,!0===E)continue;break}}else B=V.negated=!0,O++}else{if(x.push(R),A.push(V),V={value:"",depth:0,isGlob:!1},!0===H)continue;if(T===c&&R===O+1){O+=2;continue}D=R+1}}else I=V.backslashes=!0,k=$(),k===d&&(F=!0)}!0===r.noext&&(q=!1,P=!1);let W=C,z="",K="";O>0&&(z=C.slice(0,O),C=C.slice(O),D-=O),W&&!0===P&&D>0?(W=C.slice(0,D),K=C.slice(D)):!0===P?(W="",K=C):W=C,W&&""!==W&&"/"!==W&&W!==C&&v(W.charCodeAt(W.length-1))&&(W=W.slice(0,-1)),!0===r.unescape&&(K&&(K=n.removeBackslashes(K)),W&&!0===I&&(W=n.removeBackslashes(W)));const Y={prefix:z,input:e,start:O,base:W,glob:K,isBrace:L,isBracket:N,isGlob:P,isExtglob:q,isGlobstar:j,negated:B,negatedExtglob:M};if(!0===r.tokens&&(Y.maxDepth=0,v(k)||A.push(V),Y.tokens=A),!0===r.parts||!0===r.tokens){let t;for(let n=0;n<x.length;n++){const o=t?t+1:O,s=x[n],i=e.slice(o,s);r.tokens&&(0===n&&0!==O?(A[n].isPrefix=!0,A[n].value=z):A[n].value=i,_(A[n]),Y.maxDepth+=A[n].depth),0===n&&""===i||S.push(i),t=s}if(t&&t+1<e.length){const n=e.slice(t+1);S.push(n),r.tokens&&(A[A.length-1].value=n,_(A[A.length-1]),Y.maxDepth+=A[A.length-1].depth)}Y.slashes=x,Y.parts=S}return Y}},"../../node_modules/picomatch/lib/utils.js":(e,t,r)=>{"use strict";const n=r("path"),o="win32"===process.platform,{REGEX_BACKSLASH:s,REGEX_REMOVE_BACKSLASH:i,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(s,"/"),t.removeBackslashes=e=>e.replace(i,(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===o||"\\"===n.sep,t.escapeLast=(e,r,n)=>{const o=e.lastIndexOf(r,n);return-1===o?e:"\\"===e[o-1]?t.escapeLast(e,r,o-1):`${e.slice(0,o)}\\${e.slice(o)}`},t.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r},t.wrapOutput=(e,t={},r={})=>{let n=`${r.contains?"":"^"}(?:${e})${r.contains?"":"$"}`;return!0===t.negated&&(n=`(?:^(?!${n}).*$)`),n}},"../../node_modules/readdirp/index.js":(e,t,r)=>{"use strict";const n=r("fs"),{Readable:o}=r("stream"),s=r("path"),{promisify:i}=r("util"),a=r("../../node_modules/picomatch/index.js"),c=i(n.readdir),l=i(n.stat),u=i(n.lstat),d=i(n.realpath),p="READDIRP_RECURSIVE_ERROR",h=new Set(["ENOENT","EPERM","EACCES","ELOOP",p]),f="files",g="directories",m="files_directories",b="all",y=[f,g,m,b],[v,_]=process.versions.node.split(".").slice(0,2).map((e=>Number.parseInt(e,10))),w="win32"===process.platform&&(v>10||10===v&&_>=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 n of e){const e=n.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 x extends o{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={...x.defaultOptions,...e},{root:r,type:o}=t;this._fileFilter=E(t.fileFilter),this._directoryFilter=E(t.directoryFilter);const i=t.lstat?u:l;this._stat=w?e=>i(e,{bigint:!0}):i,this._maxDepth=t.depth,this._wantsDir=[g,m,b].includes(o),this._wantsFile=[f,m,b].includes(o),this._wantsEverything=o===b,this._root=s.resolve(r),this._isDirent="Dirent"in n&&!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:n=[]}=this.parent||{};if(n.length>0){const o=n.splice(0,e).map((e=>this._formatEntry(e,t)));for(const t of await Promise.all(o)){if(this.destroyed)return;const n=await this._getEntryType(t);"directory"===n&&this._directoryFilter(t)?(r<=this._maxDepth&&this.parents.push(this._exploreDir(t.fullPath,r+1)),this._wantsDir&&(this.push(t),e--)):("file"===n||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 n=this._isDirent?e.name:e,o=s.resolve(s.join(t,n));r={path:s.relative(this._root,o),fullPath:o,basename:n},r[this._statsProp]=this._isDirent?e:await this._stat(o)}catch(e){this._onError(e)}return r}_onError(e){var t;t=e,h.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 d(t),r=await u(e);if(r.isFile())return"file";if(r.isDirectory()){const r=e.length;if(t.startsWith(e)&&t.substr(r,1)===s.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 A=(e,t={})=>{let r=t.entryType||t.type;if("both"===r&&(r=m),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&&!y.includes(r))throw new Error(`readdirp: Invalid type passed. Use one of ${y.join(", ")}`);return t.root=e,new x(t)};A.promise=(e,t={})=>new Promise(((r,n)=>{const o=[];A(e,t).on("data",(e=>o.push(e))).on("end",(()=>r(o))).on("error",(e=>n(e)))})),A.ReaddirpStream=x,A.default=A,e.exports=A},"../../node_modules/supports-color/index.js":(e,t,r)=>{"use strict";const n=r("os"),o=r("../../node_modules/has-flag/index.js"),s=process.env;let i;function a(e){const t=function(e){if(!1===i)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!e.isTTY&&!0!==i)return 0;const t=i?1:0;if("win32"===process.platform){const e=n.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 s)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in s))||"codeship"===s.CI_NAME?1:t;if("TEAMCITY_VERSION"in s)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(s.TEAMCITY_VERSION)?1:0;if("truecolor"===s.COLORTERM)return 3;if("TERM_PROGRAM"in s){const e=parseInt((s.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(s.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(s.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(s.TERM)||"COLORTERM"in s?1:(s.TERM,t)}(e);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(t)}o("no-color")||o("no-colors")||o("color=false")?i=!1:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(i=!0),"FORCE_COLOR"in s&&(i=0===s.FORCE_COLOR.length||0!==parseInt(s.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 n=r("../../node_modules/is-number/index.js"),o=(e,t,r)=>{if(!1===n(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===n(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let s={relaxZeros:!0,...r};"boolean"==typeof s.strictZeros&&(s.relaxZeros=!1===s.strictZeros);let c=e+":"+t+"="+String(s.relaxZeros)+String(s.shorthand)+String(s.capture)+String(s.wrap);if(o.cache.hasOwnProperty(c))return o.cache[c].result;let l=Math.min(e,t),u=Math.max(e,t);if(1===Math.abs(l-u)){let r=e+"|"+t;return s.capture?`(${r})`:!1===s.wrap?r:`(?:${r})`}let d=h(e)||h(t),p={min:e,max:t,a:l,b:u},f=[],g=[];return d&&(p.isPadded=d,p.maxLen=String(p.max).length),l<0&&(g=i(u<0?Math.abs(u):1,Math.abs(l),p,s),l=p.a=0),u>=0&&(f=i(l,u,p,s)),p.negatives=g,p.positives=f,p.result=function(e,t,r){let n=a(e,t,"-",!1)||[],o=a(t,e,"",!1)||[],s=a(e,t,"-?",!0)||[];return n.concat(s).concat(o).join("|")}(g,f),!0===s.capture?p.result=`(${p.result})`:!1!==s.wrap&&f.length+g.length>1&&(p.result=`(?:${p.result})`),o.cache[c]=p,p.result};function s(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let n=function(e,t){let r=[];for(let n=0;n<e.length;n++)r.push([e[n],t[n]]);return r}(e,t),o=n.length,s="",i=0;for(let e=0;e<o;e++){let[t,r]=n[e];t===r?s+=t:"0"!==t||"9"!==r?s+=`[${a=t}${(c=r)-a==1?"":"-"}${c}]`:i++}var a,c;return i&&(s+=!0===r.shorthand?"\\d":"[0-9]"),{pattern:s,count:[i],digits:o}}function i(e,t,r,n){let o,i=function(e,t){let r=1,n=1,o=u(e,r),s=new Set([t]);for(;e<=o&&o<=t;)s.add(o),r+=1,o=u(e,r);for(o=d(t+1,n)-1;e<o&&o<=t;)s.add(o),n+=1,o=d(t+1,n)-1;return s=[...s],s.sort(c),s}(e,t),a=[],l=e;for(let e=0;e<i.length;e++){let t=i[e],c=s(String(l),String(t),n),u="";r.isPadded||!o||o.pattern!==c.pattern?(r.isPadded&&(u=f(t,r,n)),c.string=u+c.pattern+p(c.count),a.push(c),l=t+1,o=c):(o.count.length>1&&o.count.pop(),o.count.push(c.count[0]),o.string=o.pattern+p(o.count),l=t+1)}return a}function a(e,t,r,n,o){let s=[];for(let o of e){let{string:e}=o;n||l(t,"string",e)||s.push(r+e),n&&l(t,"string",e)&&s.push(r+e)}return s}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 u(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function d(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 h(e){return/^-?(0+)\d/.test(e)}function f(e,t,r){if(!t.isPadded)return e;let n=Math.abs(t.maxLen-String(e).length),o=!1!==r.relaxZeros;switch(n){case 0:return"";case 1:return o?"0?":"0";case 2:return o?"0{0,2}":"00";default:return o?`0{0,${n}}`:`0{${n}}`}}o.cache={},o.clearCache=()=>o.cache={},e.exports=o},"../../node_modules/ws/lib/buffer-util.js":(e,t,r)=>{"use strict";const{EMPTY_BUFFER:n}=r("../../node_modules/ws/lib/constants.js");function o(e,t){if(0===e.length)return n;if(1===e.length)return e[0];const r=Buffer.allocUnsafe(t);let o=0;for(let t=0;t<e.length;t++){const n=e[t];r.set(n,o),o+=n.length}return o<t?r.slice(0,o):r}function s(e,t,r,n,o){for(let s=0;s<o;s++)r[n+s]=e[s]^t[3&s]}function i(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:o,mask(e,r,n,o,i){i<48?s(e,r,n,o,i):t.mask(e,r,n,o,i)},toArrayBuffer:a,toBuffer:c,unmask(e,r){e.length<32?i(e,r):t.unmask(e,r)}}}catch(t){e.exports={concat:o,mask:s,toArrayBuffer:a,toBuffer:c,unmask:i}}},"../../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:n,kListener:o}=r("../../node_modules/ws/lib/constants.js"),s=Symbol("kCode"),i=Symbol("kData"),a=Symbol("kError"),c=Symbol("kMessage"),l=Symbol("kReason"),u=Symbol("kTarget"),d=Symbol("kType"),p=Symbol("kWasClean");class h{constructor(e){this[u]=null,this[d]=e}get target(){return this[u]}get type(){return this[d]}}Object.defineProperty(h.prototype,"target",{enumerable:!0}),Object.defineProperty(h.prototype,"type",{enumerable:!0});class f extends h{constructor(e,t={}){super(e),this[s]=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[s]}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 g extends h{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(g.prototype,"error",{enumerable:!0}),Object.defineProperty(g.prototype,"message",{enumerable:!0});class m extends h{constructor(e,t={}){super(e),this[i]=void 0===t.data?null:t.data}get data(){return this[i]}}Object.defineProperty(m.prototype,"data",{enumerable:!0});const b={addEventListener(e,t,r={}){let s;if("message"===e)s=function(e,r){const n=new m("message",{data:r?e:e.toString()});n[u]=this,t.call(this,n)};else if("close"===e)s=function(e,r){const n=new f("close",{code:e,reason:r.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});n[u]=this,t.call(this,n)};else if("error"===e)s=function(e){const r=new g("error",{error:e,message:e.message});r[u]=this,t.call(this,r)};else{if("open"!==e)return;s=function(){const e=new h("open");e[u]=this,t.call(this,e)}}s[n]=!!r[n],s[o]=t,r.once?this.once(e,s):this.on(e,s)},removeEventListener(e,t){for(const r of this.listeners(e))if(r[o]===t&&!r[n]){this.removeListener(e,r);break}}};e.exports={CloseEvent:f,ErrorEvent:g,Event:h,EventTarget:b,MessageEvent:m}},"../../node_modules/ws/lib/extension.js":(e,t,r)=>{"use strict";const{tokenChars:n}=r("../../node_modules/ws/lib/validation.js");function o(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,s,i=Object.create(null),a=!1,c=!1,l=!1,u=-1,d=-1,p=-1,h=0;for(;h<e.length;h++)if(d=e.charCodeAt(h),void 0===r)if(-1===p&&1===n[d])-1===u&&(u=h);else if(0===h||32!==d&&9!==d){if(59!==d&&44!==d)throw new SyntaxError(`Unexpected character at index ${h}`);{if(-1===u)throw new SyntaxError(`Unexpected character at index ${h}`);-1===p&&(p=h);const n=e.slice(u,p);44===d?(o(t,n,i),i=Object.create(null)):r=n,u=p=-1}}else-1===p&&-1!==u&&(p=h);else if(void 0===s)if(-1===p&&1===n[d])-1===u&&(u=h);else if(32===d||9===d)-1===p&&-1!==u&&(p=h);else if(59===d||44===d){if(-1===u)throw new SyntaxError(`Unexpected character at index ${h}`);-1===p&&(p=h),o(i,e.slice(u,p),!0),44===d&&(o(t,r,i),i=Object.create(null),r=void 0),u=p=-1}else{if(61!==d||-1===u||-1!==p)throw new SyntaxError(`Unexpected character at index ${h}`);s=e.slice(u,h),u=p=-1}else if(c){if(1!==n[d])throw new SyntaxError(`Unexpected character at index ${h}`);-1===u?u=h:a||(a=!0),c=!1}else if(l)if(1===n[d])-1===u&&(u=h);else if(34===d&&-1!==u)l=!1,p=h;else{if(92!==d)throw new SyntaxError(`Unexpected character at index ${h}`);c=!0}else if(34===d&&61===e.charCodeAt(h-1))l=!0;else if(-1===p&&1===n[d])-1===u&&(u=h);else if(-1===u||32!==d&&9!==d){if(59!==d&&44!==d)throw new SyntaxError(`Unexpected character at index ${h}`);{if(-1===u)throw new SyntaxError(`Unexpected character at index ${h}`);-1===p&&(p=h);let n=e.slice(u,p);a&&(n=n.replace(/\\/g,""),a=!1),o(i,s,n),44===d&&(o(t,r,i),i=Object.create(null),r=void 0),s=void 0,u=p=-1}}else-1===p&&(p=h);if(-1===u||l||32===d||9===d)throw new SyntaxError("Unexpected end of input");-1===p&&(p=h);const f=e.slice(u,p);return void 0===r?o(t,f,i):(void 0===s?o(i,f,!0):o(i,s,a?f.replace(/\\/g,""):f),o(t,r,i)),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 n=r("zlib"),o=r("../../node_modules/ws/lib/buffer-util.js"),s=r("../../node_modules/ws/lib/limiter.js"),{kStatusCode:i}=r("../../node_modules/ws/lib/constants.js"),a=Buffer.from([0,0,255,255]),c=Symbol("permessage-deflate"),l=Symbol("total-length"),u=Symbol("callback"),d=Symbol("buffers"),p=Symbol("error");let h;function f(e){this[d].push(e),this[l]+=e.length}function g(e){this[l]+=e.length,this[c]._maxPayload<1||this[l]<=this[c]._maxPayload?this[d].push(e):(this[p]=new RangeError("Max payload size exceeded"),this[p].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[p][i]=1009,this.removeListener("data",g),this.reset())}function m(e){this[c]._inflate=null,e[i]=1007,this[u](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,!h){const e=void 0!==this._options.concurrencyLimit?this._options.concurrencyLimit:10;h=new s(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[u];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){h.add((n=>{this._decompress(e,t,((e,t)=>{n(),r(e,t)}))}))}compress(e,t,r){h.add((n=>{this._compress(e,t,((e,t)=>{n(),r(e,t)}))}))}_decompress(e,t,r){const s=this._isServer?"client":"server";if(!this._inflate){const e=`${s}_max_window_bits`,t="number"!=typeof this.params[e]?n.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=n.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t}),this._inflate[c]=this,this._inflate[l]=0,this._inflate[d]=[],this._inflate.on("error",m),this._inflate.on("data",g)}this._inflate[u]=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 n=o.concat(this._inflate[d],this._inflate[l]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[l]=0,this._inflate[d]=[],t&&this.params[`${s}_no_context_takeover`]&&this._inflate.reset()),r(null,n)}))}_compress(e,t,r){const s=this._isServer?"server":"client";if(!this._deflate){const e=`${s}_max_window_bits`,t="number"!=typeof this.params[e]?n.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=n.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t}),this._deflate[l]=0,this._deflate[d]=[],this._deflate.on("data",f)}this._deflate[u]=r,this._deflate.write(e),this._deflate.flush(n.Z_SYNC_FLUSH,(()=>{if(!this._deflate)return;let e=o.concat(this._deflate[d],this._deflate[l]);t&&(e=e.slice(0,e.length-4)),this._deflate[u]=null,this._deflate[l]=0,this._deflate[d]=[],t&&this.params[`${s}_no_context_takeover`]&&this._deflate.reset(),r(null,e)}))}}},"../../node_modules/ws/lib/receiver.js":(e,t,r)=>{"use strict";const{Writable:n}=r("stream"),o=r("../../node_modules/ws/lib/permessage-deflate.js"),{BINARY_TYPES:s,EMPTY_BUFFER:i,kStatusCode:a,kWebSocket:c}=r("../../node_modules/ws/lib/constants.js"),{concat:l,toArrayBuffer:u,unmask:d}=r("../../node_modules/ws/lib/buffer-util.js"),{isValidStatusCode:p,isValidUTF8:h}=r("../../node_modules/ws/lib/validation.js");function f(e,t,r,n,o){const s=new e(r?`Invalid WebSocket frame: ${t}`:t);return Error.captureStackTrace(s,f),s.code=o,s[a]=n,s}e.exports=class extends n{constructor(e={}){super(),this._binaryType=e.binaryType||s[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],n=t.length-e;e>=r.length?t.set(this._buffers.shift(),n):(t.set(new Uint8Array(r.buffer,r.byteOffset,e),n),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[o.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=i;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength)return void(this._loop=!1);t=this.consume(this._payloadLength),this._masked&&d(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[o.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 n=this.dataMessage();if(n)return t(n);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?u(l(t,e)):t,this.emit("message",r,!0)}else{const r=l(t,e);if(!this._skipUTF8Validation&&!h(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,i),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&&!h(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:n}=r("crypto"),o=r("../../node_modules/ws/lib/permessage-deflate.js"),{EMPTY_BUFFER:s}=r("../../node_modules/ws/lib/constants.js"),{isValidStatusCode:i}=r("../../node_modules/ws/lib/validation.js"),{mask:a,toBuffer:c}=r("../../node_modules/ws/lib/buffer-util.js"),l=Buffer.alloc(4);class u{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 o=t.mask?6:2,s=e.length;e.length>=65536?(o+=8,s=127):e.length>125&&(o+=2,s=126);const i=Buffer.allocUnsafe(r?e.length+o:o);return i[0]=t.fin?128|t.opcode:t.opcode,t.rsv1&&(i[0]|=64),i[1]=s,126===s?i.writeUInt16BE(e.length,2):127===s&&(i.writeUInt32BE(0,2),i.writeUInt32BE(e.length,6)),t.mask?(n(l,0,4),i[1]|=128,i[o-4]=l[0],i[o-3]=l[1],i[o-2]=l[2],i[o-1]=l[3],r?(a(e,l,i,o,e.length),[i]):(a(e,l,e,0,e.length),[i,e])):[i,e]}close(e,t,r,n){let o;if(void 0===e)o=s;else{if("number"!=typeof e||!i(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");o=Buffer.allocUnsafe(2+r),o.writeUInt16BE(e,0),"string"==typeof t?o.write(t,2):o.set(t,2)}else o=Buffer.allocUnsafe(2),o.writeUInt16BE(e,0)}this._deflating?this.enqueue([this.doClose,o,r,n]):this.doClose(o,r,n)}doClose(e,t,r){this.sendFrame(u.frame(e,{fin:!0,rsv1:!1,opcode:8,mask:t,readOnly:!1}),r)}ping(e,t,r){const n=c(e);if(n.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPing,n,t,c.readOnly,r]):this.doPing(n,t,c.readOnly,r)}doPing(e,t,r,n){this.sendFrame(u.frame(e,{fin:!0,rsv1:!1,opcode:9,mask:t,readOnly:r}),n)}pong(e,t,r){const n=c(e);if(n.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPong,n,t,c.readOnly,r]):this.doPong(n,t,c.readOnly,r)}doPong(e,t,r,n){this.sendFrame(u.frame(e,{fin:!0,rsv1:!1,opcode:10,mask:t,readOnly:r}),n)}send(e,t,r){const n=c(e),s=this._extensions[o.extensionName];let i=t.binary?2:1,a=t.compress;if(this._firstFragment?(this._firstFragment=!1,a&&s&&s.params[s._isServer?"server_no_context_takeover":"client_no_context_takeover"]&&(a=n.length>=s._threshold),this._compress=a):(a=!1,i=0),t.fin&&(this._firstFragment=!0),s){const e={fin:t.fin,rsv1:a,opcode:i,mask:t.mask,readOnly:c.readOnly};this._deflating?this.enqueue([this.dispatch,n,this._compress,e,r]):this.dispatch(n,this._compress,e,r)}else this.sendFrame(u.frame(n,{fin:t.fin,rsv1:!1,opcode:i,mask:t.mask,readOnly:c.readOnly}),r)}dispatch(e,t,r,n){if(!t)return void this.sendFrame(u.frame(e,r),n);const s=this._extensions[o.extensionName];this._bufferedBytes+=e.length,this._deflating=!0,s.compress(e,r.fin,((t,o)=>{if(this._socket.destroyed){const e=new Error("The socket was closed while data was being compressed");"function"==typeof n&&n(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(u.frame(o,r),n),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=u},"../../node_modules/ws/lib/stream.js":(e,t,r)=>{"use strict";const{Duplex:n}=r("stream");function o(e){e.emit("close")}function s(){!this.destroyed&&this._writableState.finished&&this.destroy()}function i(e){this.removeListener("error",i),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 n({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",(function(t,n){const o=!n&&l._readableState.objectMode?t.toString():t;l.push(o)||(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(o,l);let n=!1;e.once("error",(function(e){n=!0,r(e)})),e.once("close",(function(){n||r(t),process.nextTick(o,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,n){e.readyState!==e.CONNECTING?e.send(t,n):e.once("open",(function(){l._write(t,r,n)}))},l.on("end",s),l.on("error",i),l}},"../../node_modules/ws/lib/subprotocol.js":(e,t,r)=>{"use strict";const{tokenChars:n}=r("../../node_modules/ws/lib/validation.js");e.exports={parse:function(e){const t=new Set;let r=-1,o=-1,s=0;for(;s<e.length;s++){const i=e.charCodeAt(s);if(-1===o&&1===n[i])-1===r&&(r=s);else if(0===s||32!==i&&9!==i){if(44!==i)throw new SyntaxError(`Unexpected character at index ${s}`);{if(-1===r)throw new SyntaxError(`Unexpected character at index ${s}`);-1===o&&(o=s);const n=e.slice(r,o);if(t.has(n))throw new SyntaxError(`The "${n}" subprotocol is duplicated`);t.add(n),r=o=-1}}else-1===o&&-1!==r&&(o=s)}if(-1===r||-1!==o)throw new SyntaxError("Unexpected end of input");const i=e.slice(r,s);if(t.has(i))throw new SyntaxError(`The "${i}" subprotocol is duplicated`);return t.add(i),t}}},"../../node_modules/ws/lib/validation.js":(e,t,r)=>{"use strict";const n=[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 o(e){return e>=1e3&&e<=1014&&1004!==e&&1005!==e&&1006!==e||e>=3e3&&e<=4999}function s(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:o,isValidUTF8:e=>e.length<150?s(e):t(e),tokenChars:n}}catch(t){e.exports={isValidStatusCode:o,isValidUTF8:s,tokenChars:n}}},"../../node_modules/ws/lib/websocket-server.js":(e,t,r)=>{"use strict";const n=r("events"),o=r("http"),{createHash:s}=(r("https"),r("net"),r("tls"),r("crypto")),i=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:u,kWebSocket:d}=r("../../node_modules/ws/lib/constants.js"),p=/^[+/0-9A-Za-z]{22}==$/;function h(e){e._state=2,e.emit("close")}function f(){this.destroy()}function g(e,t,r,n){e.writable&&(r=r||o.STATUS_CODES[t],n={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(r),...n},e.write(`HTTP/1.1 ${t} ${o.STATUS_CODES[t]}\r\n`+Object.keys(n).map((e=>`${e}: ${n[e]}`)).join("\r\n")+"\r\n\r\n"+r)),e.removeListener("error",f),e.destroy()}e.exports=class extends n{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=o.createServer(((e,t)=>{const r=o.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,n)=>{this.handleUpgrade(t,r,n,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(h,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(h,this);else{const e=this._server;this._removeListeners(),this._removeListeners=this._server=null,e.close((()=>{h(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,n){t.on("error",f);const o=void 0!==e.headers["sec-websocket-key"]&&e.headers["sec-websocket-key"],s=+e.headers["sec-websocket-version"];if("GET"!==e.method||"websocket"!==e.headers.upgrade.toLowerCase()||!o||!p.test(o)||8!==s&&13!==s||!this.shouldHandle(e))return g(t,400);const l=e.headers["sec-websocket-protocol"];let u=new Set;if(void 0!==l)try{u=c.parse(l)}catch(e){return g(t,400)}const d=e.headers["sec-websocket-extensions"],h={};if(this.options.perMessageDeflate&&void 0!==d){const e=new a(this.options.perMessageDeflate,!0,this.options.maxPayload);try{const t=i.parse(d);t[a.extensionName]&&(e.accept(t[a.extensionName]),h[a.extensionName]=e)}catch(e){return g(t,400)}}if(this.options.verifyClient){const i={origin:e.headers[8===s?"sec-websocket-origin":"origin"],secure:!(!e.socket.authorized&&!e.socket.encrypted),req:e};if(2===this.options.verifyClient.length)return void this.options.verifyClient(i,((s,i,a,c)=>{if(!s)return g(t,i||401,a,c);this.completeUpgrade(h,o,u,e,t,r,n)}));if(!this.options.verifyClient(i))return g(t,401)}this.completeUpgrade(h,o,u,e,t,r,n)}completeUpgrade(e,t,r,n,o,c,p){if(!o.readable||!o.writable)return o.destroy();if(o[d])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return g(o,503);const m=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${s("sha1").update(t+u).digest("base64")}`],b=new l(null);if(r.size){const e=this.options.handleProtocols?this.options.handleProtocols(r,n):r.values().next().value;e&&(m.push(`Sec-WebSocket-Protocol: ${e}`),b._protocol=e)}if(e[a.extensionName]){const t=e[a.extensionName].params,r=i.format({[a.extensionName]:[t]});m.push(`Sec-WebSocket-Extensions: ${r}`),b._extensions=e}this.emit("headers",m,n),o.write(m.concat("\r\n").join("\r\n")),o.removeListener("error",f),b.setSocket(o,c,{maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients&&(this.clients.add(b),b.on("close",(()=>{this.clients.delete(b),this._shouldEmitClose&&!this.clients.size&&process.nextTick(h,this)}))),p(b,n)}}},"../../node_modules/ws/lib/websocket.js":(e,t,r)=>{"use strict";const n=r("events"),o=r("https"),s=r("http"),i=r("net"),a=r("tls"),{randomBytes:c,createHash:l}=r("crypto"),{Readable:u}=r("stream"),{URL:d}=r("url"),p=r("../../node_modules/ws/lib/permessage-deflate.js"),h=r("../../node_modules/ws/lib/receiver.js"),f=r("../../node_modules/ws/lib/sender.js"),{BINARY_TYPES:g,EMPTY_BUFFER:m,GUID:b,kForOnEventAttribute:y,kListener:v,kStatusCode:_,kWebSocket:w,NOOP:E}=r("../../node_modules/ws/lib/constants.js"),{EventTarget:{addEventListener:x,removeEventListener:A}}=r("../../node_modules/ws/lib/event-target.js"),{format:S,parse:T}=r("../../node_modules/ws/lib/extension.js"),{toBuffer:k}=r("../../node_modules/ws/lib/buffer-util.js"),C=["CONNECTING","OPEN","CLOSING","CLOSED"],R=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/,O=[8,13];class D extends n{constructor(e,t,r){super(),this._binaryType=g[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=m,this._closeTimer=null,this._extensions={},this._protocol="",this._readyState=D.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]),L(this,e,t,r)):this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(e){g.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 n=new h({binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:r.maxPayload,skipUTF8Validation:r.skipUTF8Validation});this._sender=new f(e,this._extensions),this._receiver=n,this._socket=e,n[w]=this,e[w]=this,n.on("conclude",F),n.on("drain",I),n.on("error",B),n.on("message",H),n.on("ping",U),n.on("pong",V),e.setTimeout(0),e.setNoDelay(),t.length>0&&e.unshift(t),e.on("close",$),e.on("data",W),e.on("end",z),e.on("error",K),this._readyState=D.OPEN,this.emit("open")}emitClose(){if(!this._socket)return this._readyState=D.CLOSED,void this.emit("close",this._closeCode,this._closeMessage);this._extensions[p.extensionName]&&this._extensions[p.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=D.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState!==D.CLOSED){if(this.readyState===D.CONNECTING){const e="WebSocket was closed before the connection was established";return q(this,this._req,e)}this.readyState!==D.CLOSING?(this._readyState=D.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===D.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===D.OPEN?(void 0===t&&(t=!this._isServer),this._sender.ping(e||m,t,r)):j(this,e,r)}pong(e,t,r){if(this.readyState===D.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===D.OPEN?(void 0===t&&(t=!this._isServer),this._sender.pong(e||m,t,r)):j(this,e,r)}send(e,t,r){if(this.readyState===D.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!==D.OPEN)return void j(this,e,r);const n={binary:"string"!=typeof e,mask:!this._isServer,compress:!0,fin:!0,...t};this._extensions[p.extensionName]||(n.compress=!1),this._sender.send(e||m,n,r)}terminate(){if(this.readyState!==D.CLOSED){if(this.readyState===D.CONNECTING){const e="WebSocket was closed before the connection was established";return q(this,this._req,e)}this._socket&&(this._readyState=D.CLOSING,this._socket.destroy())}}}function L(e,t,r,n){const i={protocolVersion:O[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...n,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(i.protocolVersion))throw new RangeError(`Unsupported protocol version: ${i.protocolVersion} (supported versions: ${O.join(", ")})`);let a;if(t instanceof d)a=t,e._url=t.href;else{try{a=new d(t)}catch(e){throw new SyntaxError(`Invalid URL: ${t}`)}e._url=t}const u="wss:"===a.protocol,h="ws+unix:"===a.protocol;if("ws:"!==a.protocol&&!u&&!h)throw new SyntaxError('The URL\'s protocol must be one of "ws:", "wss:", or "ws+unix:"');if(h&&!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=u?443:80,g=c(16).toString("base64"),m=u?o.get:s.get,y=new Set;let v;if(i.createConnection=u?P:N,i.defaultPort=i.defaultPort||f,i.port=a.port||f,i.host=a.hostname.startsWith("[")?a.hostname.slice(1,-1):a.hostname,i.headers={"Sec-WebSocket-Version":i.protocolVersion,"Sec-WebSocket-Key":g,Connection:"Upgrade",Upgrade:"websocket",...i.headers},i.path=a.pathname+a.search,i.timeout=i.handshakeTimeout,i.perMessageDeflate&&(v=new p(!0!==i.perMessageDeflate?i.perMessageDeflate:{},!1,i.maxPayload),i.headers["Sec-WebSocket-Extensions"]=S({[p.extensionName]:v.offer()})),r.length){for(const e of r){if("string"!=typeof e||!R.test(e)||y.has(e))throw new SyntaxError("An invalid or duplicated subprotocol was specified");y.add(e)}i.headers["Sec-WebSocket-Protocol"]=r.join(",")}if(i.origin&&(i.protocolVersion<13?i.headers["Sec-WebSocket-Origin"]=i.origin:i.headers.Origin=i.origin),(a.username||a.password)&&(i.auth=`${a.username}:${a.password}`),h){const e=i.path.split(":");i.socketPath=e[0],i.path=e[1]}let _=e._req=m(i);i.timeout&&_.on("timeout",(()=>{q(e,_,"Opening handshake has timed out")})),_.on("error",(t=>{null===_||_.aborted||(_=e._req=null,e._readyState=D.CLOSING,e.emit("error",t),e.emitClose())})),_.on("response",(o=>{const s=o.headers.location,a=o.statusCode;if(s&&i.followRedirects&&a>=300&&a<400){if(++e._redirects>i.maxRedirects)return void q(e,_,"Maximum redirects exceeded");_.abort();const o=new d(s,t);L(e,o,r,n)}else e.emit("unexpected-response",_,o)||q(e,_,`Unexpected server response: ${o.statusCode}`)})),_.on("upgrade",((t,r,n)=>{if(e.emit("upgrade",t),e.readyState!==D.CONNECTING)return;_=e._req=null;const o=l("sha1").update(g+b).digest("base64");if(t.headers["sec-websocket-accept"]!==o)return void q(e,r,"Invalid Sec-WebSocket-Accept header");const s=t.headers["sec-websocket-protocol"];let a;if(void 0!==s?y.size?y.has(s)||(a="Server sent an invalid subprotocol"):a="Server sent a subprotocol but none was requested":y.size&&(a="Server sent no subprotocol"),a)return void q(e,r,a);s&&(e._protocol=s);const c=t.headers["sec-websocket-extensions"];if(void 0!==c){if(!v)return void q(e,r,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");let t;try{t=T(c)}catch(t){return void q(e,r,"Invalid Sec-WebSocket-Extensions header")}const n=Object.keys(t);if(1!==n.length||n[0]!==p.extensionName)return void q(e,r,"Server indicated an extension that was not requested");try{v.accept(t[p.extensionName])}catch(t){return void q(e,r,"Invalid Sec-WebSocket-Extensions header")}e._extensions[p.extensionName]=v}e.setSocket(r,n,{maxPayload:i.maxPayload,skipUTF8Validation:i.skipUTF8Validation})}))}function N(e){return e.path=e.socketPath,i.connect(e)}function P(e){return e.path=void 0,e.servername||""===e.servername||(e.servername=i.isIP(e.host)?"":e.host),a.connect(e)}function q(e,t,r){e._readyState=D.CLOSING;const n=new Error(r);Error.captureStackTrace(n,q),t.setHeader?(t.abort(),t.socket&&!t.socket.destroyed&&t.socket.destroy(),t.once("abort",e.emitClose.bind(e)),e.emit("error",n)):(t.destroy(n),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e)))}function j(e,t,r){if(t){const r=k(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 F(e,t){const r=this[w];r._closeFrameReceived=!0,r._closeMessage=t,r._closeCode=e,void 0!==r._socket[w]&&(r._socket.removeListener("data",W),process.nextTick(G,r._socket),1005===e?r.close():r.close(e,t))}function I(){this[w]._socket.resume()}function B(e){const t=this[w];void 0!==t._socket[w]&&(t._socket.removeListener("data",W),process.nextTick(G,t._socket),t.close(e[_])),t.emit("error",e)}function M(){this[w].emitClose()}function H(e,t){this[w].emit("message",e,t)}function U(e){const t=this[w];t.pong(e,!t._isServer,E),t.emit("ping",e)}function V(e){this[w].emit("pong",e)}function G(e){e.resume()}function $(){const e=this[w];let t;this.removeListener("close",$),this.removeListener("data",W),this.removeListener("end",z),e._readyState=D.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",M),e._receiver.on("finish",M))}function W(e){this[w]._receiver.write(e)||this.pause()}function z(){const e=this[w];e._readyState=D.CLOSING,e._receiver.end(),this.end()}function K(){const e=this[w];this.removeListener("error",K),this.on("error",E),e&&(e._readyState=D.CLOSING,this.destroy())}Object.defineProperty(D,"CONNECTING",{enumerable:!0,value:C.indexOf("CONNECTING")}),Object.defineProperty(D.prototype,"CONNECTING",{enumerable:!0,value:C.indexOf("CONNECTING")}),Object.defineProperty(D,"OPEN",{enumerable:!0,value:C.indexOf("OPEN")}),Object.defineProperty(D.prototype,"OPEN",{enumerable:!0,value:C.indexOf("OPEN")}),Object.defineProperty(D,"CLOSING",{enumerable:!0,value:C.indexOf("CLOSING")}),Object.defineProperty(D.prototype,"CLOSING",{enumerable:!0,value:C.indexOf("CLOSING")}),Object.defineProperty(D,"CLOSED",{enumerable:!0,value:C.indexOf("CLOSED")}),Object.defineProperty(D.prototype,"CLOSED",{enumerable:!0,value:C.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","protocol","readyState","url"].forEach((e=>{Object.defineProperty(D.prototype,e,{enumerable:!0})})),["open","error","close","message"].forEach((e=>{Object.defineProperty(D.prototype,`on${e}`,{enumerable:!0,get(){for(const t of this.listeners(e))if(t[y])return t[v];return null},set(t){for(const t of this.listeners(e))if(t[y]){this.removeListener(e,t);break}"function"==typeof t&&this.addEventListener(e,t,{[y]:!0})}})})),D.prototype.addEventListener=x,D.prototype.removeEventListener=A,e.exports=D},"../../node_modules/xmlhttprequest-ssl/lib/XMLHttpRequest.js":(e,t,r)=>{var n=r("fs"),o=r("url"),s=r("child_process").spawn;function i(e){"use strict";e=e||{};var t,i,a=this,c=r("http"),l=r("https"),u={},d=!1,p={"User-Agent":"node-XMLHttpRequest",Accept:"*/*"},h=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"],g=["TRACE","TRACK","CONNECT"],m=!1,b=!1,y=!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,n,o){if(this.abort(),b=!1,y=!1,!function(e){return e&&-1===g.indexOf(e)}(e))throw new Error("SecurityError: Request method not allowed");u={method:e,url:t.toString(),async:"boolean"!=typeof r||r,user:n||null,password:o||null},_(this.OPENED)},this.setDisableHeaderCheck=function(e){d=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 d||e&&-1===f.indexOf(e.toLowerCase())}(e))return console.warn('Refused to set unsafe header "'+e+'"'),!1;if(m)throw new Error("INVALID_STATE_ERR: send flag is true");return h[e]=t,!0},this.getResponseHeader=function(e){return"string"==typeof e&&this.readyState>this.OPENED&&i.headers[e.toLowerCase()]&&!b?i.headers[e.toLowerCase()]:null},this.getAllResponseHeaders=function(){if(this.readyState<this.HEADERS_RECEIVED||b)return"";var e="";for(var t in i.headers)"set-cookie"!==t&&"set-cookie2"!==t&&(e+=t+": "+i.headers[t]+"\r\n");return e.substr(0,e.length-2)},this.getRequestHeader=function(e){return"string"==typeof e&&h[e]?h[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(m)throw new Error("INVALID_STATE_ERR: send has already been called");var d,p=!1,f=!1,g=o.parse(u.url);switch(g.protocol){case"https:":p=!0;case"http:":d=g.hostname;break;case"file:":f=!0;break;case void 0:case"":d="localhost";break;default:throw new Error("Protocol not supported.")}if(f){if("GET"!==u.method)throw new Error("XMLHttpRequest: Only GET method is supported");if(u.async)n.readFile(unescape(g.pathname),"utf8",(function(e,t){e?a.handleError(e,e.errno||-1):(a.status=200,a.responseText=t,_(a.DONE))}));else try{this.responseText=n.readFileSync(unescape(g.pathname),"utf8"),this.status=200,_(a.DONE)}catch(e){this.handleError(e,e.errno||-1)}}else{var y=g.port||(p?443:80),v=g.pathname+(g.search?g.search:"");if(h.Host=d,p&&443===y||80===y||(h.Host+=":"+g.port),u.user){void 0===u.password&&(u.password="");var w=new Buffer(u.user+":"+u.password);h.Authorization="Basic "+w.toString("base64")}"GET"===u.method||"HEAD"===u.method?r=null:r?(h["Content-Length"]=Buffer.isBuffer(r)?r.length:Buffer.byteLength(r),h["Content-Type"]||(h["Content-Type"]="text/plain;charset=UTF-8")):"POST"===u.method&&(h["Content-Length"]=0);var E=e.agent||!1,x={host:d,port:y,path:v,method:u.method,headers:h,agent:E};if(p&&(x.pfx=e.pfx,x.key=e.key,x.passphrase=e.passphrase,x.cert=e.cert,x.ca=e.ca,x.ciphers=e.ciphers,x.rejectUnauthorized=!1!==e.rejectUnauthorized),b=!1,u.async){var A=p?l.request:c.request;m=!0,a.dispatchEvent("readystatechange");var S=function(r){if(302===(i=r).statusCode||303===i.statusCode||307===i.statusCode){u.url=i.headers.location;var n=o.parse(u.url);d=n.hostname;var s={hostname:n.hostname,port:n.port,path:n.path,method:303===i.statusCode?"GET":u.method,headers:h};return 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),void(t=A(s,S).on("error",T)).end()}i&&i.setEncoding&&i.setEncoding("utf8"),_(a.HEADERS_RECEIVED),a.status=i.statusCode,i.on("data",(function(e){e&&(a.responseText+=e),m&&_(a.LOADING)})),i.on("end",(function(){m&&(m=!1,_(a.DONE))})),i.on("error",(function(e){a.handleError(e)}))},T=function(e){a.handleError(e)};t=A(x,S).on("error",T),e.autoUnref&&t.on("socket",(e=>{e.unref()})),r&&t.write(r),t.end(),a.dispatchEvent("loadstart")}else{var k=".node-xmlhttprequest-content-"+process.pid,C=".node-xmlhttprequest-sync-"+process.pid;n.writeFileSync(C,"","utf8");for(var R="var http = require('http'), https = require('https'), fs = require('fs');var doRequest = http"+(p?"s":"")+".request;var options = "+JSON.stringify(x)+";var responseText = '';var req = doRequest(options, function(response) {response.setEncoding('utf8');response.on('data', function(chunk) { responseText += chunk;});response.on('end', function() {fs.writeFileSync('"+k+"', 'NODE-XMLHTTPREQUEST-STATUS:' + response.statusCode + ',' + responseText, 'utf8');fs.unlinkSync('"+C+"');});response.on('error', function(error) {fs.writeFileSync('"+k+"', 'NODE-XMLHTTPREQUEST-ERROR:' + JSON.stringify(error), 'utf8');fs.unlinkSync('"+C+"');});}).on('error', function(error) {fs.writeFileSync('"+k+"', 'NODE-XMLHTTPREQUEST-ERROR:' + JSON.stringify(error), 'utf8');fs.unlinkSync('"+C+"');});"+(r?"req.write('"+JSON.stringify(r).slice(1,-1).replace(/'/g,"\\'")+"');":"")+"req.end();",O=s(process.argv[0],["-e",R]);n.existsSync(C););if(a.responseText=n.readFileSync(k,"utf8"),O.stdin.end(),n.unlinkSync(k),a.responseText.match(/^NODE-XMLHTTPREQUEST-ERROR:/)){var D=a.responseText.replace(/^NODE-XMLHTTPREQUEST-ERROR:/,"");a.handleError(D,503)}else a.status=a.responseText.replace(/^NODE-XMLHTTPREQUEST-STATUS:([0-9]*),.*/,"$1"),a.responseText=a.responseText.replace(/^NODE-XMLHTTPREQUEST-STATUS:[0-9]*,(.*)/,"$1"),_(a.DONE)}}},this.handleError=function(e,t){this.status=t||0,this.statusText=e,this.responseText=e.stack,b=!0,_(this.DONE)},this.abort=function(){t&&(t.abort(),t=null),h=Object.assign({},p),this.responseText="",this.responseXML="",b=y=!0,this.readyState===this.UNSENT||this.readyState===this.OPENED&&!m||this.readyState===this.DONE||(m=!1,_(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 _=function(e){if(!(a.readyState===e||a.readyState===a.UNSENT&&y)&&(a.readyState=e,(u.async||a.readyState<a.OPENED||a.readyState===a.DONE)&&a.dispatchEvent("readystatechange"),a.readyState===a.DONE)){let e;e=y?"abort":b?"error":"load",a.dispatchEvent(e),a.dispatchEvent("loadend")}}}e.exports=i,i.XMLHttpRequest=i},bufferutil:e=>{"use strict";e.exports=r(2864)},fsevents:e=>{"use strict";e.exports=r(4943)},"utf-8-validate":e=>{"use strict";e.exports=r(2239)},child_process:e=>{"use strict";e.exports=r(2081)},crypto:e=>{"use strict";e.exports=r(6113)},events:e=>{"use strict";e.exports=r(2361)},fs:e=>{"use strict";e.exports=r(7147)},http:e=>{"use strict";e.exports=r(3685)},https:e=>{"use strict";e.exports=r(5687)},module:e=>{"use strict";e.exports=r(8188)},net:e=>{"use strict";e.exports=r(1808)},os:e=>{"use strict";e.exports=r(2037)},path:e=>{"use strict";e.exports=r(1017)},stream:e=>{"use strict";e.exports=r(2781)},tls:e=>{"use strict";e.exports=r(4404)},tty:e=>{"use strict";e.exports=r(6224)},url:e=>{"use strict";e.exports=r(7310)},util:e=>{"use strict";e.exports=r(3837)},zlib:e=>{"use strict";e.exports=r(9796)},"../../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,n=new Array(t);r<t;r++)n[r]=e[r];return n},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 n=r("../../node_modules/@babel/runtime/helpers/arrayLikeToArray.js");e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/asyncToGenerator.js":e=>{function t(e,t,r,n,o,s,i){try{var a=e[s](i),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,s){var i=e.apply(r,n);function a(e){t(i,o,s,a,c,"next",e)}function c(e){t(i,o,s,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 n=r("../../node_modules/@babel/runtime/helpers/toPropertyKey.js");function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(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 n=r("../../node_modules/@babel/runtime/helpers/toPropertyKey.js");e.exports=function(e,t,r){return(t=n(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 n,o,s,i,a=[],c=!0,l=!1;try{if(s=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=s.call(r)).done)&&(a.push(n.value),a.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw o}}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 n=r("../../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js");e.exports=function(e,t){if(null==e)return{};var r,o,s=n(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s},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,n,o={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(o[r]=e[r]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js":(e,t,r)=>{var n=r("../../node_modules/@babel/runtime/helpers/typeof.js").default;function o(){"use strict";e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,s=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function d(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,s=Object.create(o.prototype),a=new C(n||[]);return i(s,"_invoke",{value:A(e,r,a)}),s}function h(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 g(){}function m(){}function b(){}var y={};d(y,c,(function(){return this}));var v=Object.getPrototypeOf,_=v&&v(v(R([])));_&&_!==r&&s.call(_,c)&&(y=_);var w=b.prototype=g.prototype=Object.create(y);function E(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(o,i,a,c){var l=h(e[o],e,i);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==n(d)&&s.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;i(this,"_invoke",{value:function(e,n){function s(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(s,s):s()}})}function A(e,t,r){var n="suspendedStart";return function(o,s){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw s;return{value:void 0,done:!0}}for(r.method=o,r.arg=s;;){var i=r.delegate;if(i){var a=S(i,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"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=h(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=h(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var s=o.arg;return s?s.done?(t[e.resultName]=s.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):s:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function T(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 k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function R(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,n=function t(){for(;++r<e.length;)if(s.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:O}}function O(){return{value:void 0,done:!0}}return m.prototype=b,i(w,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=d(b,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,d(e,u,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},E(x.prototype),d(x.prototype,l,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,s){void 0===s&&(s=Promise);var i=new x(p(e,r,n,o),s);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(w),d(w,u,"Generator"),d(w,c,(function(){return this})),d(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=R,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(k),!e)for(var t in this)"t"===t.charAt(0)&&s.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,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=s.call(o,"catchLoc"),c=s.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&s.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(i)},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),k(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 n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:R(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/slicedToArray.js":(e,t,r)=>{var n=r("../../node_modules/@babel/runtime/helpers/arrayWithHoles.js"),o=r("../../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"),s=r("../../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"),i=r("../../node_modules/@babel/runtime/helpers/nonIterableRest.js");e.exports=function(e,t){return n(e)||o(e,t)||s(e,t)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/toConsumableArray.js":(e,t,r)=>{var n=r("../../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"),o=r("../../node_modules/@babel/runtime/helpers/iterableToArray.js"),s=r("../../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"),i=r("../../node_modules/@babel/runtime/helpers/nonIterableSpread.js");e.exports=function(e){return n(e)||o(e)||s(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/toPrimitive.js":(e,t,r)=>{var n=r("../../node_modules/@babel/runtime/helpers/typeof.js").default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;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 n=r("../../node_modules/@babel/runtime/helpers/typeof.js").default,o=r("../../node_modules/@babel/runtime/helpers/toPrimitive.js");e.exports=function(e){var t=o(e,"string");return"symbol"===n(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 n=r("../../node_modules/@babel/runtime/helpers/arrayLikeToArray.js");e.exports=function(e,t){if(e){if("string"==typeof e)return n(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)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/regenerator/index.js":(e,t,r)=>{var n=r("../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js")();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},"../../node_modules/@socket.io/component-emitter/index.mjs":(e,t,r)=>{"use strict";function n(e){if(e)return function(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}(e)}r.r(t),r.d(t,{Emitter:()=>n}),n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},n.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<n.length;o++)if((r=n[o])===t||r.fn===t){n.splice(o,1);break}return 0===n.length&&delete this._callbacks["$"+e],this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),r=this._callbacks["$"+e],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(r){n=0;for(var o=(r=r.slice(0)).length;n<o;++n)r[n].apply(this,t)}return this},n.prototype.emitReserved=n.prototype.emit,n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}},"../../src/framework-mgmt/transform-plugins.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{resolvePathAlias:()=>f,transformPluginsArray:()=>g});var n=r("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),o=r("../../node_modules/@babel/runtime/helpers/defineProperty.js"),s=r("../../node_modules/@babel/runtime/helpers/typeof.js"),i=r("path"),a=r("fs");function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}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){o(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 u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var d=(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())},h=function(e){return!(!a.existsSync(e)||!a.statSync(e).isDirectory())},f=function(e,t){var r=e;if(t&&t.length){var n,o=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 u(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)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}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 s,i=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){a=!0,s=e},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw s}}}}(t);try{for(o.s();!(n=o.n()).done;){var s=n.value,i=s.find,a=s.replacement;if("string"==typeof i&&"string"==typeof a&&e.startsWith(i)){r=e.replace(i,a);break}}}catch(e){o.e(e)}finally{o.f()}}return r},g=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,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],u=e.plugins,g={},m=i.resolve(t,"node_modules");if(u.forEach((function(e){try{var t,n,o,a={},u={themesRoot:r};if(Array.isArray(e)||"object"!==s(e)||(e=[e]),"string"==typeof e){var d=f(e,c);i.isAbsolute(d)||(d=i.resolve(r,d)),e=p(d)?[{dependencyRoot:i.dirname(d),pluginPath:d}]:[e]}if(Array.isArray(e)&&e.length){if("string"==typeof e[0]&&(t=e[0],n=i.resolve(m,t)),"object"===s(e[0])&&(t=(a=e[0]).dependency,n=a.dependencyRoot,a.options&&(u=l(l({},u),a.options)),a.pluginPath)){var h=f(a.pluginPath,c);if(!i.isAbsolute(h)){var b=a.dependencyRoot||r;h=i.resolve(b,h)}p(h)?(n=n||i.dirname(h),o=h):(console.log(e),console.log("Pinegrow: The pluginPath of the above plugin doesn't exist at ".concat(h," and was ignored. Make sure the plugin file exists!")),n=i.dirname(h),o=h)}e[1]&&("object"===s(e[1])?u=l(l({},u),e[1]):(console.log(e),console.log("Pinegrow: The above plugin's options were ignored. Make sure it's of type Object!")))}n&&(g[n]=l(l({},a),{},{dependency:t,dependencyRoot:n,pluginPath:o,options:u}))}catch(e){console.log(e),console.log("Pinegrow: An error occured when processing plugins!")}})),o){var b=i.resolve(t,"node_modules","@pinegrow");try{var y=a.readdirSync(b);y.filter((function(e){return e.endsWith("-plugin")&&"vite-plugin"!==e})).forEach((function(e){var t=i.resolve(b,e);h(t)&&!g[t]&&(g[t]={dependency:"@pinegrow/".concat(e),dependencyRoot:t,options:{themesRoot:r}})}))}catch(e){}}Object.entries(g).filter((function(e){var t=n(e,2),r=t[0],o=t[1];return o.dependency&&!o.pluginPath&&!r.endsWith("@pinegrow/vite-plugin")})).forEach((function(e){var t=n(e,2),o=t[0],s=t[1],a=s.dependency,l=s.options;try{var u,h;try{u=d(o),d.resolve(o)}catch(e){}if(!u)return;if("function"==typeof(u=u.default||u))return;if(u.pluginPath){var m=f(u.pluginPath,c);if(!i.isAbsolute(m)){var b=u.dependencyRoot||r;m=i.resolve(b,m)}p(m)?h=m:console.log("Pinegrow: The pluginPath of ".concat(u.dependency," doesn't exist at ").concat(m," and was ignored. Make sure the plugin file exists!"))}g[o]={dependency:a,dependencyRoot:o,name:u.name,key:u.key,productKey:u.productKey,library:u.library,syncWithLibrarySemVer:u.syncWithLibrarySemVer,pluginPath:h,options:l,data:u.data,invalid:u.invalid}}catch(e){console.log(e),console.log("Pinegrow: Unable to load plugin: ".concat(a))}}));var v=Object.values(g).filter((function(e){return e.key})).map((function(e){return e.key})),_=function(e){return e.filter((function(t,r){return e.indexOf(t)!==r}))},w=_(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(g).filter((function(e){var t=n(e,2);return t[0],t[1].key})).forEach((function(t){var r=n(t,2),o=(r[0],r[1]),i=e[o.key];i&&"object"===s(i)&&(o.options=l(l({},o.options),i))})),Object.entries(g).forEach((function(e){var t=n(e,2),o=(t[0],t[1]);if(o.name=o.name||o.dependency||o.key||o.productKey||o.pluginPath||o.dependencyRoot,o.dependency=o.dependency||o.pluginPath||o.dependencyRoot,o.activeInProject=!0,o.options){var s=o.options;try{Object.entries(s).forEach((function(e){var t=n(e,2),o=t[0],a=t[1];if(o&&(o.toLowerCase().endsWith("file")||o.toLowerCase().endsWith("path")||o.toLowerCase().endsWith("root"))&&a){var l=f(a,c);i.isAbsolute(l)||(l=i.resolve(r,l)),s[o]=l}}))}catch(e){console.log(e),console.log("Pinegrow: An error occurred when processing plugin options for plugin: ".concat(o.name))}}})),Object.filter(g,(function(e){var t=n(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 n(e){let t="";for(let r in e)e.hasOwnProperty(r)&&(t.length&&(t+="&"),t+=encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return t}function o(e){let t={},r=e.split("&");for(let e=0,n=r.length;e<n;e++){let n=r[e].split("=");t[decodeURIComponent(n[0])]=decodeURIComponent(n[1])}return t}r.r(t),r.d(t,{decode:()=>o,encode:()=>n})},"../../node_modules/engine.io-client/build/esm-debug/contrib/parseuri.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{parse:()=>s});const n=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,o=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function s(e){const t=e,r=e.indexOf("["),s=e.indexOf("]");-1!=r&&-1!=s&&(e=e.substring(0,r)+e.substring(r,s).replace(/:/g,";")+e.substring(s,e.length));let i=n.exec(e||""),a={},c=14;for(;c--;)a[o[c]]=i[c]||"";return-1!=r&&-1!=s&&(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,n){t&&(r[t]=n)})),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:()=>u});const n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),o={};let s,i=0,a=0;function c(e){let t="";do{t=n[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+o[e.charAt(a)];return t}function u(){const e=c(+new Date);return e!==s?(i=0,s=e):e+"."+c(i++)}for(;a<64;a++)o[n[a]]=a},"../../node_modules/engine.io-client/build/esm-debug/globalThis.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{globalThisShim:()=>n});const n=global},"../../node_modules/engine.io-client/build/esm-debug/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Socket:()=>n.Socket,Transport:()=>o.Transport,installTimerFunctions:()=>i.installTimerFunctions,nextTick:()=>c.nextTick,parse:()=>a.parse,protocol:()=>l,transports:()=>s.transports});var n=r("../../node_modules/engine.io-client/build/esm-debug/socket.js"),o=r("../../node_modules/engine.io-client/build/esm-debug/transport.js"),s=r("../../node_modules/engine.io-client/build/esm-debug/transports/index.js"),i=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=n.Socket.protocol},"../../node_modules/engine.io-client/build/esm-debug/socket.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Socket:()=>d});var n=r("../../node_modules/engine.io-client/build/esm-debug/transports/index.js"),o=r("../../node_modules/engine.io-client/build/esm-debug/util.js"),s=r("../../node_modules/engine.io-client/build/esm-debug/contrib/parseqs.js"),i=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 u=a("engine.io-client:socket");class d extends c.Emitter{constructor(e,t={}){super(),e&&"object"==typeof e&&(t=e,e=null),e?(e=(0,i.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,i.parse)(t.host).host),(0,o.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,s.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){u('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 u("options: %j",r),new n.transports[e](r)}open(){let e;if(this.opts.rememberUpgrade&&d.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 u("error while creating transport: %s",e),this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}setTransport(e){u("setting transport %s",e.name),this.transport&&(u("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){u('probing transport "%s"',e);let t=this.createTransport(e),r=!1;d.priorWebsocketSuccess=!1;const n=()=>{r||(u('probe transport "%s" opened',e),t.send([{type:"ping",data:"probe"}]),t.once("packet",(n=>{if(!r)if("pong"===n.type&&"probe"===n.data){if(u('probe transport "%s" pong',e),this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;d.priorWebsocketSuccess="websocket"===t.name,u('pausing current transport "%s"',this.transport.name),this.transport.pause((()=>{r||"closed"!==this.readyState&&(u("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{u('probe transport "%s" failed',e);const r=new Error("probe error");r.transport=t.name,this.emitReserved("upgradeError",r)}})))};function o(){r||(r=!0,l(),t.close(),t=null)}const s=r=>{const n=new Error("probe error: "+r);n.transport=t.name,o(),u('probe transport "%s" failed because of error: %s',e,r),this.emitReserved("upgradeError",n)};function i(){s("transport closed")}function a(){s("socket closed")}function c(e){t&&e.name!==t.name&&(u('"%s" works - aborting "%s"',e.name,t.name),o())}const l=()=>{t.removeListener("open",n),t.removeListener("error",s),t.removeListener("close",i),this.off("close",a),this.off("upgrading",c)};t.once("open",n),t.once("error",s),t.once("close",i),this.once("close",a),this.once("upgrading",c),t.open()}onOpen(){if(u("socket open"),this.readyState="open",d.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause){u("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(u('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 u('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();u("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,o.byteLength)(r)),t>0&&e>this.maxPayload)return u("only send %d out of %d packets",t,this.writeBuffer.length),this.writeBuffer.slice(0,t);e+=2}return u("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,n){if("function"==typeof t&&(n=t,t=void 0),"function"==typeof r&&(n=r,r=null),"closing"===this.readyState||"closed"===this.readyState)return;(r=r||{}).compress=!1!==r.compress;const o={type:e,data:t,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),n&&this.once("flush",n),this.flush()}close(){const e=()=>{this.onClose("forced close"),u("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){u("socket error %j",e),d.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(u('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 n=e.length;for(;r<n;r++)~this.transports.indexOf(e[r])&&t.push(e[r]);return t}}d.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 n=r("../../node_modules/engine.io-parser/build/esm/index.js"),o=r("../../node_modules/@socket.io/component-emitter/index.mjs"),s=r("../../node_modules/engine.io-client/build/esm-debug/util.js");const i=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 o.Emitter{constructor(e){super(),this.writable=!1,(0,s.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):i("transport is not open, discarding packets")}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=(0,n.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:()=>o});var n=r("../../node_modules/engine.io-client/build/esm-debug/transports/polling.js");const o={websocket:r("../../node_modules/engine.io-client/build/esm-debug/transports/websocket.js").WS,polling:n.Polling}},"../../node_modules/engine.io-client/build/esm-debug/transports/polling.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Polling:()=>g,Request:()=>m});var n=r("../../node_modules/engine.io-client/build/esm-debug/transport.js"),o=r("../../node_modules/debug/src/index.js"),s=r("../../node_modules/engine.io-client/build/esm-debug/contrib/yeast.js"),i=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"),u=r("../../node_modules/engine.io-client/build/esm-debug/util.js"),d=r("../../node_modules/engine.io-client/build/esm-debug/globalThis.js");const p=o("engine.io-client:polling");function h(){}const f=null!=new c.XHR({xdomain:!1}).responseType;class g extends n.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,s.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 n=(0,i.encode)(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(n.length?"?"+n:"")}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new m(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 m extends l.Emitter{constructor(e,t){super(),(0,u.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,u.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=m.requestsCount++,m.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=h,e)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete m.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(m.requestsCount=0,m.requests={},"undefined"!=typeof document)if("function"==typeof attachEvent)attachEvent("onunload",b);else if("function"==typeof addEventListener){const e="onpagehide"in d.globalThisShim?"pagehide":"unload";addEventListener(e,b,!1)}function b(){for(let e in m.requests)m.requests.hasOwnProperty(e)&&m.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:()=>n,defaultBinaryType:()=>s,nextTick:()=>i,usingBrowserWebSocket:()=>o});const n=r("../../node_modules/ws/wrapper.mjs").default,o=!1,s="nodebuffer",i=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 n=r("../../node_modules/engine.io-client/build/esm-debug/transport.js"),o=r("../../node_modules/engine.io-client/build/esm-debug/contrib/parseqs.js"),s=r("../../node_modules/engine.io-client/build/esm-debug/contrib/yeast.js"),i=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 u=c("engine.io-client:websocket"),d="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class p extends n.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=d?{}:(0,i.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&&!d?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],n=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){u("websocket closed before onclose event")}n&&(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,s.yeast)()),this.supportsBinary||(e.b64=1);const n=(0,o.encode)(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(n.length?"?"+n:"")}check(){return!!a.WebSocket}}},"../../node_modules/engine.io-client/build/esm-debug/transports/xmlhttprequest.js":(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{XHR:()=>s});var o=r("../../node_modules/xmlhttprequest-ssl/lib/XMLHttpRequest.js");const s=o||n||(n=r.t(o,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:()=>o});var n=r("../../node_modules/engine.io-client/build/esm-debug/globalThis.js");function o(e,...t){return t.reduce(((t,r)=>(e.hasOwnProperty(r)&&(t[r]=e[r]),t)),{})}const s=setTimeout,i=clearTimeout;function a(e,t){t.useNativeTimers?(e.setTimeoutFn=s.bind(n.globalThisShim),e.clearTimeoutFn=i.bind(n.globalThisShim)):(e.setTimeoutFn=setTimeout.bind(n.globalThisShim),e.clearTimeoutFn=clearTimeout.bind(n.globalThisShim))}function c(e){return"string"==typeof e?function(e){let t=0,r=0;for(let n=0,o=e.length;n<o;n++)t=e.charCodeAt(n),t<128?r+=1:t<2048?r+=2:t<55296||t>=57344?r+=3:(n++,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:()=>s,PACKET_TYPES:()=>n,PACKET_TYPES_REVERSE:()=>o});const n=Object.create(null);n.open="0",n.close="1",n.ping="2",n.pong="3",n.message="4",n.upgrade="5",n.noop="6";const o=Object.create(null);Object.keys(n).forEach((e=>{o[n[e]]=e}));const s={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:()=>i});var n=r("../../node_modules/engine.io-parser/build/esm/commons.js");const o=(e,t)=>{const r=Buffer.isBuffer(e);return"arraybuffer"===t&&r?s(e):e},s=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},i=(e,t)=>{if("string"!=typeof e)return{type:"message",data:o(e,t)};const r=e.charAt(0);if("b"===r){const r=Buffer.from(e.substring(1),"base64");return{type:"message",data:o(r,t)}}return n.PACKET_TYPES_REVERSE[r]?e.length>1?{type:n.PACKET_TYPES_REVERSE[r],data:e.substring(1)}:{type:n.PACKET_TYPES_REVERSE[r]}:n.ERROR_PACKET}},"../../node_modules/engine.io-parser/build/esm/encodePacket.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r("../../node_modules/engine.io-parser/build/esm/commons.js");const o=({type:e,data:t},r,o)=>{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 o(((e,t)=>t?e:"b"+e.toString("base64"))(e,r))}return o(n.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:()=>o.default,decodePayload:()=>a,encodePacket:()=>n.default,encodePayload:()=>i,protocol:()=>c});var n=r("../../node_modules/engine.io-parser/build/esm/encodePacket.js"),o=r("../../node_modules/engine.io-parser/build/esm/decodePacket.js");const s=String.fromCharCode(30),i=(e,t)=>{const r=e.length,o=new Array(r);let i=0;e.forEach(((e,a)=>{(0,n.default)(e,!1,(e=>{o[a]=e,++i===r&&t(o.join(s))}))}))},a=(e,t)=>{const r=e.split(s),n=[];for(let e=0;e<r.length;e++){const s=(0,o.default)(r[e],t);if(n.push(s),"error"===s.type)break}return n},c=4},"../../node_modules/socket.io-parser/build/esm-debug/binary.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{deconstructPacket:()=>o,reconstructPacket:()=>i});var n=r("../../node_modules/socket.io-parser/build/esm-debug/is-binary.js");function o(e){const t=[],r=e.data,n=e;return n.data=s(r,t),n.attachments=t.length,{packet:n,buffers:t}}function s(e,t){if(!e)return e;if((0,n.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 n=0;n<e.length;n++)r[n]=s(e[n],t);return r}if("object"==typeof e&&!(e instanceof Date)){const r={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=s(e[n],t));return r}return e}function i(e,t){return e.data=a(e.data,t),e.attachments=void 0,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:()=>u,Encoder:()=>l,PacketType:()=>c,protocol:()=>a});var n=r("../../node_modules/@socket.io/component-emitter/index.mjs"),o=r("../../node_modules/socket.io-parser/build/esm-debug/binary.js"),s=r("../../node_modules/socket.io-parser/build/esm-debug/is-binary.js");const i=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 i("encoding packet %j",e),e.type!==c.EVENT&&e.type!==c.ACK||!(0,s.hasBinary)(e)?[this.encodeAsString(e)]:(e.type=e.type===c.EVENT?c.BINARY_EVENT:c.BINARY_ACK,this.encodeAsBinary(e))}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)),i("encoded %j as %s",e,t),t}encodeAsBinary(e){const t=(0,o.deconstructPacket)(e),r=this.encodeAsString(t.packet),n=t.buffers;return n.unshift(r),n}}class u extends n.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),t.type===c.BINARY_EVENT||t.type===c.BINARY_ACK?(this.reconstructor=new d(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else{if(!(0,s.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 n=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);const o=e.substring(n,t);if(o!=Number(o)||"-"!==e.charAt(t))throw new Error("Illegal attachments");r.attachments=Number(o)}if("/"===e.charAt(t+1)){const n=t+1;for(;++t&&","!==e.charAt(t)&&t!==e.length;);r.nsp=e.substring(n,t)}else r.nsp="/";const n=e.charAt(t+1);if(""!==n&&Number(n)==n){const n=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(n,t+1))}if(e.charAt(++t)){const n=this.tryParse(e.substr(t));if(!u.isPayloadValid(r.type,n))throw new Error("invalid payload");r.data=n}return i("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()}}class d{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,o.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 n="function"==typeof ArrayBuffer,o=Object.prototype.toString,s="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===o.call(Blob),i="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===o.call(File);function a(e){return n&&(e instanceof ArrayBuffer||(e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer)(e))||s&&e instanceof Blob||i&&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:()=>o,Sender:()=>s,WebSocket:()=>i,WebSocketServer:()=>a,createWebSocketStream:()=>n,default:()=>c});var n=r("../../node_modules/ws/lib/stream.js"),o=r("../../node_modules/ws/lib/receiver.js"),s=r("../../node_modules/ws/lib/sender.js"),i=r("../../node_modules/ws/lib/websocket.js"),a=r("../../node_modules/ws/lib/websocket-server.js");const c=i},"./node_modules/socket.io-client/build/esm-debug/contrib/backo2.js":(e,t,r)=>{"use strict";function n(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:()=>n}),n.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)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(e){this.ms=e},n.prototype.setMax=function(e){this.max=e},n.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:()=>o.Manager,Socket:()=>s.Socket,connect:()=>u,default:()=>u,io:()=>u,protocol:()=>a.protocol});var n=r("./node_modules/socket.io-client/build/esm-debug/url.js"),o=r("./node_modules/socket.io-client/build/esm-debug/manager.js"),s=r("./node_modules/socket.io-client/build/esm-debug/socket.js"),i=r("../../node_modules/debug/src/index.js"),a=r("../../node_modules/socket.io-parser/build/esm-debug/index.js");const c=i("socket.io-client"),l={};function u(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};const r=(0,n.url)(e,t.path||"/socket.io"),s=r.source,i=r.id,a=r.path,u=l[i]&&a in l[i].nsps;let d;return t.forceNew||t["force new connection"]||!1===t.multiplex||u?(c("ignoring socket cache for %s",s),d=new o.Manager(s,t)):(l[i]||(c("new io instance for %s",s),l[i]=new o.Manager(s,t)),d=l[i]),r.query&&!t.query&&(t.query=r.queryKey),d.socket(r.path,t)}Object.assign(u,{Manager:o.Manager,Socket:s.Socket,io:u,connect:u})},"./node_modules/socket.io-client/build/esm-debug/manager.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Manager:()=>u});var n=r("../../node_modules/engine.io-client/build/esm-debug/index.js"),o=r("./node_modules/socket.io-client/build/esm-debug/socket.js"),s=r("../../node_modules/socket.io-parser/build/esm-debug/index.js"),i=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 u 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,n.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 o=t.parser||s;this.encoder=new o.Encoder,this.decoder=new o.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 n.Socket(this.uri,this.opts);const t=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const o=(0,i.on)(t,"open",(function(){r.onopen(),e&&e()})),s=(0,i.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&&o();const r=this.setTimeoutFn((()=>{l("connect attempt timed out after %d",e),o(),t.close(),t.emit("error",new Error("timeout"))}),e);this.opts.autoUnref&&r.unref(),this.subs.push((function(){clearTimeout(r)}))}return this.subs.push(o),this.subs.push(s),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,i.on)(e,"ping",this.onping.bind(this)),(0,i.on)(e,"data",this.ondata.bind(this)),(0,i.on)(e,"error",this.onerror.bind(this)),(0,i.on)(e,"close",this.onclose.bind(this)),(0,i.on)(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){this.decoder.add(e)}ondecoded(e){this.emitReserved("packet",e)}onerror(e){l("error",e),this.emitReserved("error",e)}socket(e,t){let r=this.nsps[e];return r||(r=new o.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 n(e,t,r){return e.on(t,r),function(){e.off(t,r)}}r.r(t),r.d(t,{on:()=>n})},"./node_modules/socket.io-client/build/esm-debug/socket.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{Socket:()=>c});var n=r("../../node_modules/socket.io-parser/build/esm-debug/index.js"),o=r("./node_modules/socket.io-client/build/esm-debug/on.js"),s=r("../../node_modules/@socket.io/component-emitter/index.mjs");const i=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 s.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,o.on)(e,"open",this.onopen.bind(this)),(0,o.on)(e,"packet",this.onpacket.bind(this)),(0,o.on)(e,"error",this.onerror.bind(this)),(0,o.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+'" is a reserved event name');t.unshift(e);const r={type:n.PacketType.EVENT,data:t,options:{}};if(r.options.compress=!1!==this.flags.compress,"function"==typeof t[t.length-1]){const e=this.ids++;i("emitting packet with ack id %d",e);const n=t.pop();this._registerAckCallback(e,n),r.id=e}const o=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return!this.flags.volatile||o&&this.connected?this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r):i("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 n=this.io.setTimeoutFn((()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&(i("removing packet with ack id %d from the buffer",e),this.sendBuffer.splice(t,1));i("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(n),t.apply(this,[null,...e])}}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){i("transport is open - connecting"),"function"==typeof this.auth?this.auth((e=>{this.packet({type:n.PacketType.CONNECT,data:e})})):this.packet({type:n.PacketType.CONNECT,data:this.auth})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){i("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 n.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 n.PacketType.EVENT:case n.PacketType.BINARY_EVENT:this.onevent(e);break;case n.PacketType.ACK:case n.PacketType.BINARY_ACK:this.onack(e);break;case n.PacketType.DISCONNECT:this.ondisconnect();break;case n.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||[];i("emitting event %j",t),null!=e.id&&(i("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(...o){r||(r=!0,i("sending ack %j",o),t.packet({type:n.PacketType.ACK,id:e,data:o}))}}onack(e){const t=this.acks[e.id];"function"==typeof t?(i("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):i("bad ack %s",e.id)}onconnect(e){i("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(){i("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&&(i("performing disconnect (%s)",this.nsp),this.packet({type:n.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:()=>s});var n=r("../../node_modules/engine.io-client/build/esm-debug/index.js");const o=r("../../node_modules/debug/src/index.js")("socket.io-client:url");function s(e,t="",r){let s=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)||(o("protocol-less url %s",e),e=void 0!==r?r.protocol+"//"+e:"https://"+e),o("parse %s",e),s=(0,n.parse)(e)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const i=-1!==s.host.indexOf(":")?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+i+":"+s.port+t,s.href=s.protocol+"://"+i+(r&&r.port===s.port?"":":"+s.port),s}},"../../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"]')}},s={};function i(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return o[e](r,r.exports,i),r.exports}n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.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 o=Object.create(null);i.r(o);var s={};t=t||[null,n({}),n([]),n(n)];for(var a=2&r&&e;"object"==typeof a&&!~t.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach((t=>s[t]=()=>e[t]));return s.default=()=>e,i.d(o,s),o},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};(()=>{"use strict";i.r(a),i.d(a,{PgDevConnector:()=>w});var e=i("../../node_modules/@babel/runtime/helpers/typeof.js"),t=i("../../node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),r=i("../../node_modules/@babel/runtime/helpers/toConsumableArray.js"),n=i("../../node_modules/@babel/runtime/helpers/asyncToGenerator.js"),o=i("../../node_modules/@babel/runtime/helpers/slicedToArray.js"),s=i("../../node_modules/@babel/runtime/helpers/createClass.js"),c=i("../../node_modules/@babel/runtime/helpers/classCallCheck.js"),l=i("../../node_modules/@babel/runtime/helpers/defineProperty.js"),u=i("../../node_modules/@babel/runtime/regenerator/index.js"),d=i("path"),p=i("fs"),h=i("./node_modules/socket.io-client/build/esm-debug/index.js"),f=i("../../node_modules/chokidar/index.js"),g=i("../../src/framework-mgmt/transform-plugins.js"),m=["activeInProject","pluginPathFound","productKeyStatus","invalid"];function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}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 _(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)?_(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}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 s,i=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){a=!0,s=e},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw s}}}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var w=s((function s(i){var a=this;c(this,s),l(this,"init",(function(){a.processPaths(),a.watcher&&(a.watcher.close(),a.watcher=null);try{a.initHandShakeWithPinegrow()}catch(e){console.log(e),console.log("\nPinegrow: Unable to connect!")}})),l(this,"processPaths",(function(){try{if(a.customOptions.repoRoot){a.customOptions.repoRoot=(0,g.resolvePathAlias)(a.customOptions.repoRoot,a.aliases);try{if(d.isAbsolute(a.customOptions.repoRoot)?a.repoRoot=a.customOptions.repoRoot:a.repoRoot=d.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=d.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!"));if(a.customOptions.configPath){a.customOptions.configPath=a.resolvePathAlias(a.customOptions.configPath,a.aliases);try{if(d.isAbsolute(a.customOptions.configPath)?a.configPath=a.customOptions.configPath:a.configPath=d.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=d.dirname(a.configPath),a.customOptions.configFilename=a.configFilename=d.basename(a.configPath)):a.customOptions.configRoot=a.configRoot=a.configPath}catch(e){return console.log(e),void console.log("Pinegrow: An error occured in path values!")}})),l(this,"validatePlugins",(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,g.transformPluginsArray)(a.customOptions,a.repoRoot,a.projectRoot,!0,a.aliases),a.validatePluginProductKeys()}catch(e){console.log(e),console.log("Pinegrow: An error occured when processing plugins!")}})),l(this,"validatePluginProductKeys",(function(){a.pluginsWithProductKeys={},Object.entries(a.plugins).filter((function(e){var t=o(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=o(e,2),r=t[0],n=t[1];return a.pluginsWithProductKeys[r]={dependency:n.dependency,productKey:n.productKey}})),Object.entries(a.pluginsWithProductKeys).length?a.socket&&a.socket.emit("checkPluginProductsAreActive",a.pluginsWithProductKeys):a.reset()})),l(this,"validatePostPluginProductKeysStatusCheck",(function(){Object.entries(a.pluginsWithProductKeysStatus).forEach((function(e){var t=o(e,2),r=t[0],n=t[1],s=n.productKeyStatus,i=(n.productUrl,n.activeInProject);a.plugins[r]&&(a.plugins[r].productKeyStatus=s,a.plugins[r].activeInProject=i)})),a.reset()})),l(this,"reset",n(u.mark((function e(){return u.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",n(u.mark((function e(){return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.processAllPlugins();case 2:a.sendDevServerData("config");case 3:case"end":return e.stop()}}),e)})))),l(this,"processAllPlugins",n(u.mark((function e(){var t,r,n,s,i,c,l,d;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=[],r=Object.entries(a.plugins).filter((function(e){var t=o(e,2),r=(t[0],t[1]);return!1!==r.productKeyStatus&&r.activeInProject})),n=v(r),e.prev=3,n.s();case 5:if((s=n.n()).done){e.next=23;break}if(i=o(s.value,2),c=i[0],l=i[1],e.prev=7,!l.data||"function"!=typeof l.data){e.next=14;break}return e.next=11,l.data(l.options);case 11:d=e.sent,t.push(d),d&&(a.plugins[c].data=d);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),n.e(e.t1);case 28:return e.prev=28,n.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",n(u.mark((function e(){var t,n,s,i;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Object.entries(a.plugins).filter((function(e){var t=o(e,2),r=(t[0],t[1]);return!1!==r.productKeyStatus&&r.activeInProject})),n=v(t);try{for(i=function(){var e=o(s.value,2),t=e[0],r=e[1];if(r.options){var n=r.options;try{a.plugins[t].watchedFiles=[],Object.entries(n).forEach((function(e){var r=o(e,2),n=r[0],s=r[1];if(n&&(n.toLowerCase().endsWith("file")||n.toLowerCase().endsWith("path")||n.toLowerCase().endsWith("root"))&&s){var i=s;a.isExistsAndFile(i)&&(a.plugins[t].watchedFiles.push(i),a.watchedPluginFiles.push(i))}}))}catch(e){console.log(e),console.log("Pinegrow: Unable to watch files for plugin: ".concat(a.plugins[t].name))}}},n.s();!(s=n.n()).done;)i()}catch(e){n.e(e)}finally{n.f()}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.reset()})).on("error",(function(e){console.log(e),console.log("Pinegrow: An error occured. Try re-starting your dev-server!")})));case 5:case"end":return e.stop()}}),e)})))),l(this,"initHandShakeWithPinegrow",(function(){a.connectorJson_folderPath=d.resolve(a.projectRoot,"_pginfo"),a.connectorJson_filePath=d.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!")}))})),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.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,h.default)(e,{autoConnect:!0,reconnectionDelay:500,reconnectionDelayMax:5e3,randomizationFactor:.5}),a.socket.on("connect",(function(){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.validatePlugins(),a._socketOnConnect&&a._socketOnConnect()})),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){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,m)}));a.socket&&a.socket.emit("devServerData",{reason:e,dev_server:a.dev_server,dev_server_url:a.dev_server_url,aliases:a.aliases,customOptions:y(y({},a.customOptions),{},{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=o(t,2),n=r[0],s=r[1],i=Object.fromEntries(new URLSearchParams(s));return null!=i.vue&&(i.vue=!0),null!=i.index&&(i.index=Number(i.index)),null!=i.raw&&(i.raw=!0),null!=i.scoped&&(i.scoped=!0),{filename:n,query:i}})),this.dev_server=!1,this.aliases=[],this.plugins={},i&&"object"!==e(i)&&console.log("Pinegrow: liveDesigner options ignored. Make sure it's of type object!"),this.customOptions=i||{},this.customOptions.plugins||(this.customOptions.plugins=[]),Object.filter=function(e,t){return Object.fromEntries(Object.entries(e).filter(t))}}))})(),e.exports=a})()},4034:e=>{"use strict";e.exports=JSON.parse('{"0":65533,"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}')},2618:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},2462:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},6360:e=>{"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(s.exports,s,s.exports,r),s.loaded=!0,s.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},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})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n={};(()=>{"use strict";r.r(n),r.d(n,{liveDesigner:()=>y});var e=r(1461),t=r(8870),o=r(3100),s=r(5297),i=r(8230),a=r(421),c=r(1147),l=r(6290),u=r(2841),d=r(5228),p=r(1017),h=r(7147),f=r(42);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b=function(r){i(b,r);var n,d,g=(n=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=c(n);if(d){var r=c(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return a(this,e)});function b(t){var r;return o(this,b),r=g.call(this,t),l(s(r),"clearPageInstances",(function(){r.pageInstances={}})),l(s(r),"_disconnectWithPinegrow",(function(){r.clearPageInstances()})),l(s(r),"_socketOnConnect",(function(){r.clearPageInstances()})),l(s(r),"_socketOnDisconnect",(function(){r.clearPageInstances()})),l(s(r),"_connectionManager",(function(){r.socket.on("emitted_currentPageSnapshot",(function(e){var t=e.localFile;r.pageInstances[t]?r.pageInstances[t].newerSnapshot.liveMtimeMs<e.liveMtimeMs?(r.pageInstances[t].newerSnapshot=e,r.pageInstances[t].newerSnapshot.status="acked",r.socket.emit("progress_currentPageSnapshot",r.pageInstances[t].newerSnapshot),r.triggerWatcherEvent(t)):r.pageInstances[t].newerSnapshot.liveMtimeMs>=e.liveMtimeMs&&r.socket.emit("progress_currentPageSnapshot",r.pageInstances[t].currentSnapshot):(e.status="acked",r.pageInstances[t]={newerSnapshot:m({},e),currentSnapshot:m({},e)},r.triggerWatcherEvent(t))}))})),l(s(r),"triggerWatcherEvent",(function(e){var t=r.pageInstances[e].currentSnapshot,n=r.pageInstances[e].newerSnapshot;"acked"===n.status&&("processed"!==t.status&&n.liveMtimeMs===t.liveMtimeMs||"processed"===t.status&&n.liveMtimeMs>t.liveMtimeMs)&&(r.pageInstances[e].currentSnapshot=m({},n),(t=r.pageInstances[e].currentSnapshot).status="triggered",r.viteDevServer.watcher.emit("change",e))})),l(s(r),"configResolved",function(){var t=e(u.mark((function e(t){return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r.aliases=t.resolve.alias;case 1:case"end":return e.stop()}}),e)})));return function(e){return t.apply(this,arguments)}}()),l(s(r),"configureServer",function(){var t=e(u.mark((function e(t){var n,o;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!r.customOptions.listenerServer||!t.httpServer){e.next=2;break}return e.abrupt("return");case 2:r.viteDevServer=t,r.customOptions.projectRoot=r.projectRoot=process.cwd(),r.init(),n=function(e){var t,n,o=r.viteDevServer.config.server,s={host:n=void 0===(t=o.host)||!1===t||"localhost"===t?"127.0.0.1":!0===t?void 0:t,name:"127.0.0.1"!==t&&"127.0.0.1"===n||"0.0.0.0"===n||"::"===n||void 0===n?"localhost":n},i=o.https?"https":"http",a=(r.viteDevServer.config.logger.info,r.viteDevServer.config.base,e.address().port),c="".concat(i,"://").concat(s.name,":").concat(a);r.dev_server_url=c};try{o=s(r),!r.customOptions.listenerServer&&r.viteDevServer&&r.viteDevServer.httpServer?r.viteDevServer.httpServer.on("listening",(function(){n(o.viteDevServer.httpServer),o.sendDevServerUrl()})):r.customOptions.listenerServer&&r.viteDevServer&&(n(r.customOptions.listenerServer),r.sendDevServerUrl())}catch(e){}case 7:case"end":return e.stop()}}),e)})));return function(e){return t.apply(this,arguments)}}()),l(s(r),"handleHotUpdate",function(){var t=e(u.mark((function t(n){var o,s,i,a,c,l,d,p,h,f,g,m,b,y;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=n.file,s=n.timestamp,i=n.modules,a=n.read,c=n.server,l=o,r.pageInstances[l]){t.next=4;break}return t.abrupt("return");case 4:if(d=r.pageInstances[l].currentSnapshot,r.processedCounter++,p=d.withPgIds||"",h=p?function(){var t=e(u.mark((function e(t){return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",p);case 1:case"end":return e.stop()}}),e)})));return function(e){return t.apply(this,arguments)}}():a,f=c.config.plugins.find((function(e){return"vite-plugin-vue"===e.name||"vite:vue"===e.name})),g=c.config.plugins.find((function(e){return"vite-plugin-svelte"===e.name||"vite:svelte"===e.name})),m=c.config.plugins.find((function(e){return"vite-plugin-astro"===e.name||"astro:build"===e.name})),l.endsWith(".vue")?b=f:l.endsWith(".svelte")?b=g:l.endsWith(".astro")&&(b=m),!b){t.next=27;break}return y=b.handleHotUpdate,b.handleHotUpdate=function(){var t=e(u.mark((function e(){return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return b.handleHotUpdate=y,e.abrupt("return");case 2:case"end":return e.stop()}}),e)})));return function(){return t.apply(this,arguments)}}(),t.next=17,y({file:o,timestamp:s,modules:i,read:h,server:c});case 17:if((i=t.sent)&&i.length){t.next=22;break}return d.status="processed",r.socket&&r.socket.emit("progress_currentPageSnapshot",d),t.abrupt("return");case 22:return d.status="processed",r.socket&&r.socket.emit("progress_currentPageSnapshot",d),t.abrupt("return",i);case 27:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),l(s(r),"load",(function(e,t){var n=r.parseQueryString(e),o=n.filename,s=n.query,i=null;if(!(!r.pageInstances[o]||s&&s.type)){var a=r.pageInstances[o].currentSnapshot;return a&&a.withPgIds&&(i=a.withPgIds),i}})),l(s(r),"transformIndexHtml",function(){var t=e(u.mark((function e(t,n){var o,s,i;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!r.pinegrow_url){e.next=19;break}if(r.pinegrow_base_url=new URL(r.pinegrow_url),r.pinegrow_base_url.port=r.pinegrow_base_url.port-1,o=n.filename,!r.pageInstances[o]){e.next=13;break}if(!(s=r.pageInstances[o].currentSnapshot)||!s.withPgIds){e.next=11;break}return t=s.withPgIds,s.status="processed",r.socket&&r.socket.emit("progress_currentPageSnapshot",s),e.abrupt("return",t);case 11:e.next=17;break;case 13:return(i=f.parse(t,"text/html")).querySelectorAll("link").forEach((function(e){try{var t=e.getAttribute("href"),n=p.resolve(r.projectRoot,t);h.existsSync(n)&&e.setAttribute("href",new URL(p.relative(r.projectRoot,t),r.pinegrow_base_url).href)}catch(e){}})),e.abrupt("return",i.outerHTML);case 17:e.next=20;break;case 19:return e.abrupt("return",t);case 20:case"end":return e.stop()}}),e)})));return function(e,r){return t.apply(this,arguments)}}()),r.name="pinegrow:live-designer",r.apply="serve",r.pageInstances={},r.enforce="pre",r}return t(b)}(d.PgDevConnector);function y(e){var t=new b(e);return t.dev_server=!0,t}})(),module.exports=n})();
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 S(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function E(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=P(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 P(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,P(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 T(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(T,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}},S(E.prototype),u(E.prototype,l,(function(){return this})),t.AsyncIterator=E,t.async=function(e,r,s,n,i){void 0===i&&(i=Promise);var o=new E(p(e,r,s,n),i);return t.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},S(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:[]},S=[w],E=w,_=w,P=0,T=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 E.nodes.push(e),e.parent=E,e.prev=_,_=e,e;_.value+=e.value};for(O({type:"bos"});A<T;)if(E=S[S.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(E.ranges>0){E.ranges=0;let e=E.nodes.shift();E.nodes=[e,{type:"text",value:s(E)}]}O({type:"comma",value:x}),E.commas++}else if(x===c&&C>0&&0===E.commas){let e=E.nodes;if(0===C||0===e.length){O({type:"text",value:x});continue}if("dot"===_.type){if(E.range=[],_.value+=x,_.type="range",3!==E.nodes.length&&5!==E.nodes.length){E.invalid=!0,E.ranges=0,_.type="text";continue}E.ranges++,E.args=[];continue}if("range"===_.type){e.pop();let t=e[e.length-1];t.value+=_.value+x,_=t,E.ranges--;continue}O({type:"dot",value:x})}else O({type:"text",value:x});else{if("brace"!==E.type){O({type:"text",value:x});continue}let e="close";E=S.pop(),E.close=!0,O({type:e,value:x}),C--,E=S[S.length-1]}else{C++;let e=_.value&&"$"===_.value.slice(-1)||!0===E.dollar;E=O({type:"brace",open:!0,close:!1,dollar:e,depth:C,commas:0,ranges:0,nodes:[]}),S.push(E),O({type:"open",value:x})}else{let e,r=x;for(!0!==t.keepQuotes&&(x="");A<T&&(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"!==E.type){O({type:"text",value:x});continue}E=S.pop(),O({type:"text",value:x}),E=S[S.length-1]}else E=O({type:"paren",nodes:[]}),S.push(E),O({type:"text",value:x});else{let e;for(P++;A<T&&(e=k());)if(x+=e,e!==d)if(e!==i){if(e===f&&(P--,0===P))break}else x+=k();else P++;O({type:"text",value:x})}else O({type:"text",value:"\\"+x});else O({type:"text",value:(t.keepEscaping?x:"")+k()});do{if(E=S.pop(),"root"!==E.type){E.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=S[S.length-1],t=e.nodes.indexOf(E);e.nodes.splice(t,1,...E.nodes)}}while(S.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:S,EV_ERROR:E,STR_CLOSE:_,STR_END:P,BACK_SLASH_RE:T,DOUBLE_SLASH_RE:A,SLASH_OR_BACK_SLASH_RE:C,DOT_RE:k,REPLACER_RE:O,SLASH:N,SLASH_SLASH:I,BRACE_START:L,BANG:R,ONE_DOT:M,TWO_DOTS:D,GLOBSTAR:j,SLASH_GLOBSTAR:F,ANYMATCH_OPTS:B,STRING_TYPE:U,FUNCTION_TYPE:$,EMPTY_STR:q,EMPTY_FN:H,isWindows:V,isMacos:W,isIBMi:z}=r("../../node_modules/chokidar/lib/constants.js"),G=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(T,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=q)=>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,q),this.watchPath=t,this.fullWatchPath=i.resolve(t),this.hasGlob=t!==e,e===q&&(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!==$||this.globFilter(r))&&this.fsw._isntIgnored(r,t)&&this.fsw._hasReadPermissions(t)}getDirParts(e){if(!this.hasGlob)return[];const t=[];return(e.includes(L)?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),z&&(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(S,...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(R)?R+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(R)?(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!==E&&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]=E,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 G(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(E,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(P,(()=>{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:S,DIR_SUFFIX:E,DOT_SLASH:_,FUNCTION_TYPE:P,EMPTY_FN:T,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,L=new Set([69888,70400,71424,72704,73472,131328,131840,262912]),R=(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+S),!0;r.delete(e),r.delete(e+S)}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+E: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:R(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(L.has(a)||c.event===b)if(typeof i.ignored===P){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===P?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,T).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===P)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:S}=r("../../node_modules/chokidar/lib/constants.js"),E=i(s.open),_=i(s.stat),P=i(s.lstat),T=i(s.close),A=i(s.realpath),C={lstat:P,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,L=new Map;function R(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=L.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=L.get(t);if(!r.persistent)return c=R(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=R(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 E(e,"r");await T(t),s(r)}catch(e){}else s(r)})),l={listeners:n,errHandlers:i,rawEmitters:o,watcher:c},L.set(t,l)}return()=>{N(l,u,n),N(l,p,i),N(l,d,o),I(l.listeners)&&(l.watcher.close(),L.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(S)&&!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} `;r[0]=i+r[0].split("\n").join("\n"+i),r.push(n+"m+"+e.exports.humanize(this.diff)+"")}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=[],S=0;for(;o?n>=i:n<=i;)!0===s.toRegex&&r>1?x[(E=n)<0?"negatives":"positives"].push(Math.abs(E)):w.push(l(v(n,S),y,b)),n=o?n-r:n+r,S++;var E;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:S,SLASH_LITERAL:E,ONE_CHAR:_,DOTS_SLASH:P,NO_DOT:T,NO_DOT_SLASH:A,NO_DOTS_SLASH:C,QMARK:k,QMARK_NO_DOT:O,STAR:N,START_ANCHOR:I}=v,L=e=>`(${y}(?:(?!${I}${e.dot?P:w}).)*?)`,R=r.dot?"":T,M=r.dot?k:O;let D=!0===r.bash?L(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]||"",z=()=>e.slice(j.index+1),G=(e="",t=0)=>{j.consumed+=e,j.index+=t},K=e=>{j.output+=null!=e.output?e.output:e.value,G(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"===q.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,-q.output.length),q.type="star",q.value="*",q.output=D,j.output+=q.output)}if(F.length&&"paren"!==e.type&&(F[F.length-1].inner+=e.value),(e.value||e.output)&&K(e),q&&"text"===q.type&&"text"===e.type)return q.value+=e.value,void(q.output=(q.output||"")+e.value);e.prev=q,g.push(e),q=e},Z=(e,t)=>{const s={...x[t],conditions:1,inner:""};s.prev=q,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=L(r)),(i!==D||H()||/^\)+$/.test(z()))&&(n=e.close=`)$))${i}`),e.inner.includes("*")&&(s=z())&&/^\.[^\\/.]+$/.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:$,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($=W(),"\0"===$)continue;if("\\"===$){const e=V();if("/"===e&&!0!==r.bash)continue;if("."===e||";"===e)continue;if(!e){$+="\\",Q({type:"text",value:$});continue}const t=/^\\+/.exec(z());let s=0;if(t&&t[0].length>2&&(s=t[0].length,j.index+=s,s%2!=0&&($+="\\")),!0===r.unescape?$=W():$+=W(),0===j.brackets){Q({type:"text",value:$});continue}}if(j.brackets>0&&("]"!==$||"["===q.value||"[^"===q.value)){if(!1!==r.posix&&":"===$){const e=q.value.slice(1);if(e.includes("[")&&(q.posix=!0,e.includes(":"))){const e=q.value.lastIndexOf("["),t=q.value.slice(0,e),r=q.value.slice(e+2),s=o[r];if(s){q.value=t+s,j.backtrack=!0,W(),m.output||1!==g.indexOf(q)||(m.output=_);continue}}}("["===$&&":"!==V()||"-"===$&&"]"===V())&&($=`\\${$}`),"]"!==$||"["!==q.value&&"[^"!==q.value||($=`\\${$}`),!0===r.posix&&"!"===$&&"["===q.value&&($="^"),q.value+=$,K({value:$});continue}if(1===j.quotes&&'"'!==$){$=n.escapeRegex($),q.value+=$,K({value:$});continue}if('"'===$){j.quotes=1===j.quotes?0:1,!0===r.keepQuotes&&Q({type:"text",value:$});continue}if("("===$){J("parens"),Q({type:"paren",value:$});continue}if(")"===$){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:$,output:j.parens?")":"\\)"}),X("parens");continue}if("["===$){if(!0!==r.nobracket&&z().includes("]"))J("brackets");else{if(!0!==r.nobracket&&!0===r.strictBrackets)throw new SyntaxError(u("closing","]"));$=`\\${$}`}Q({type:"bracket",value:$});continue}if("]"===$){if(!0===r.nobracket||q&&"bracket"===q.type&&1===q.value.length){Q({type:"text",value:$,output:`\\${$}`});continue}if(0===j.brackets){if(!0===r.strictBrackets)throw new SyntaxError(u("opening","["));Q({type:"text",value:$,output:`\\${$}`});continue}X("brackets");const e=q.value.slice(1);if(!0===q.posix||"^"!==e[0]||e.includes("/")||($=`/${$}`),q.value+=$,K({value:$}),!1===r.literalBrackets||n.hasRegexChars(e))continue;const t=n.escapeRegex(q.value);if(j.output=j.output.slice(0,-q.value.length),!0===r.literalBrackets){j.output+=t,q.value=t;continue}q.value=`(${y}${t}|${q.value})`,j.output+=q.value;continue}if("{"===$&&!0!==r.nobrace){J("braces");const e={type:"brace",value:$,output:"(",outputIndex:j.output.length,tokensIndex:j.tokens.length};B.push(e),Q(e);continue}if("}"===$){const e=B[B.length-1];if(!0===r.nobrace||!e){Q({type:"text",value:$,output:$});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="\\{",$=t="\\}",j.output=r;for(const e of s)j.output+=e.output||e.value}Q({type:"brace",value:$,output:t}),X("braces"),B.pop();continue}if("|"===$){F.length>0&&F[F.length-1].conditions++,Q({type:"text",value:$});continue}if(","===$){let e=$;const t=B[B.length-1];t&&"braces"===U[U.length-1]&&(t.comma=!0,e="|"),Q({type:"comma",value:$,output:e});continue}if("/"===$){if("dot"===q.type&&j.index===j.start+1){j.start=j.index+1,j.consumed="",j.output="",g.pop(),q=m;continue}Q({type:"slash",value:$,output:E});continue}if("."===$){if(j.braces>0&&"dot"===q.type){"."===q.value&&(q.output=w);const e=B[B.length-1];q.type="dots",q.output+=$,q.value+=$,e.dots=!0;continue}if(j.braces+j.parens===0&&"bos"!==q.type&&"slash"!==q.type){Q({type:"text",value:$,output:w});continue}Q({type:"dot",value:$,output:w});continue}if("?"===$){if((!q||"("!==q.value)&&!0!==r.noextglob&&"("===V()&&"?"!==V(2)){Z("qmark",$);continue}if(q&&"paren"===q.type){const e=V();let t=$;if("<"===e&&!n.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===q.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(z()))&&(t=`\\${$}`),Q({type:"text",value:$,output:t});continue}if(!0!==r.dot&&("slash"===q.type||"bos"===q.type)){Q({type:"qmark",value:$,output:O});continue}Q({type:"qmark",value:$,output:k});continue}if("!"===$){if(!0!==r.noextglob&&"("===V()&&("?"!==V(2)||!/[!=<:]/.test(V(3)))){Z("negate",$);continue}if(!0!==r.nonegate&&0===j.index){Y();continue}}if("+"===$){if(!0!==r.noextglob&&"("===V()&&"?"!==V(2)){Z("plus",$);continue}if(q&&"("===q.value||!1===r.regex){Q({type:"plus",value:$,output:S});continue}if(q&&("bracket"===q.type||"paren"===q.type||"brace"===q.type)||j.parens>0){Q({type:"plus",value:$});continue}Q({type:"plus",value:S});continue}if("@"===$){if(!0!==r.noextglob&&"("===V()&&"?"!==V(2)){Q({type:"at",extglob:!0,value:$,output:""});continue}Q({type:"text",value:$});continue}if("*"!==$){"$"!==$&&"^"!==$||($=`\\${$}`);const e=a.exec(z());e&&($+=e[0],j.index+=e[0].length),Q({type:"text",value:$});continue}if(q&&("globstar"===q.type||!0===q.star)){q.type="star",q.star=!0,q.value+=$,q.output=D,j.backtrack=!0,j.globstar=!0,G($);continue}let t=z();if(!0!==r.noextglob&&/^\([^?]/.test(t)){Z("star",$);continue}if("star"===q.type){if(!0===r.noglobstar){G($);continue}const s=q.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:$,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:$,output:""});continue}for(;"/**"===t.slice(0,3);){const r=e[j.index+4];if(r&&"/"!==r)break;t=t.slice(3),G("/**",3)}if("bos"===s.type&&H()){q.type="globstar",q.value+=$,q.output=L(r),j.output=q.output,j.globstar=!0,G($);continue}if("slash"===s.type&&"bos"!==s.prev.type&&!o&&H()){j.output=j.output.slice(0,-(s.output+q.output).length),s.output=`(?:${s.output}`,q.type="globstar",q.output=L(r)+(r.strictSlashes?")":"|$)"),q.value+=$,j.globstar=!0,j.output+=s.output+q.output,G($);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+q.output).length),s.output=`(?:${s.output}`,q.type="globstar",q.output=`${L(r)}${E}|${E}${e})`,q.value+=$,j.output+=s.output+q.output,j.globstar=!0,G($+W()),Q({type:"slash",value:"/",output:""});continue}if("bos"===s.type&&"/"===t[0]){q.type="globstar",q.value+=$,q.output=`(?:^|${E}|${L(r)}${E})`,j.output=q.output,j.globstar=!0,G($+W()),Q({type:"slash",value:"/",output:""});continue}j.output=j.output.slice(0,-q.output.length),q.type="globstar",q.output=L(r),q.value+=$,j.output+=q.output,j.globstar=!0,G($);continue}const s={type:"star",value:$,output:D};!0!==r.bash?!q||"bracket"!==q.type&&"paren"!==q.type||!0!==r.regex?(j.index!==j.start&&"slash"!==q.type&&"dot"!==q.type||("dot"===q.type?(j.output+=A,q.output+=A):!0===r.dot?(j.output+=C,q.output+=C):(j.output+=R,q.output+=R),"*"!==V()&&(j.output+=_,q.output+=_)),Q(s)):(s.output=$,Q(s)):(s.output=".*?","bos"!==q.type&&"slash"!==q.type||(s.output=R+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"!==q.type&&"bracket"!==q.type||Q({type:"maybe_slash",value:"",output:`${E}?`}),!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 S=!0===r.bash?".*?":y;r.capture&&(S=`(${S})`);const E=e=>!0===e.noglobstar?S:`(${w}(?:(?!${b}${e.dot?d:h}).)*?)`,_=e=>{switch(e){case"*":return`${v}${p}${S}`;case".*":return`${h}${p}${S}`;case"*.*":return`${v}${S}${h}${p}${S}`;case"*/*":return`${v}${S}${u}${p}${x}${S}`;case"**":return v+E(r);case"**/*":return`(?:${v}${E(r)}${u})?${x}${p}${S}`;case"**/*.*":return`(?:${v}${E(r)}${u})?${x}${S}${h}${p}${S}`;case"**/.*":return`(?:${v}${E(r)}${u})?${h}${p}${S}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const r=_(t[1]);if(!r)return;return r+h+t[2]}}},P=n.removePrefix(e,{negated:!1,prefix:""});let T=_(P);return T&&!0!==r.strictSlashes&&(T+=`${u}?`),T},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,S=!0===r.parts||!0===r.scanToEnd,E=[],_=[],P=[];let T,A,C=e,k=-1,O=0,N=0,I=!1,L=!1,R=!1,M=!1,D=!1,j=!1,F=!1,B=!1,U=!1,$=!1,q=0,H={value:"",depth:0,isGlob:!1};const V=()=>k>=w,W=()=>(T=A,C.charCodeAt(++k));for(;k<w;){let e;if(A=W(),A!==o){if(!0===j||A===u){for(q++;!0!==V()&&(A=W());)if(A!==o)if(A!==u){if(!0!==j&&A===c&&(A=W())===c){if(I=H.isBrace=!0,R=H.isGlob=!0,$=!0,!0===S)continue;break}if(!0!==j&&A===a){if(I=H.isBrace=!0,R=H.isGlob=!0,$=!0,!0===S)continue;break}if(A===g&&(q--,0===q)){j=!1,I=H.isBrace=!0,$=!0;break}}else q++;else F=H.backslashes=!0,W();if(!0===S)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(R=H.isGlob=!0,M=H.isExtglob=!0,$=!0,A===l&&k===O&&(U=!0),!0===S){for(;!0!==V()&&(A=W());)if(A!==o){if(A===y){R=H.isGlob=!0,$=!0;break}}else F=H.backslashes=!0,A=W();continue}break}if(A===n){if(T===n&&(D=H.isGlobstar=!0),R=H.isGlob=!0,$=!0,!0===S)continue;break}if(A===m){if(R=H.isGlob=!0,$=!0,!0===S)continue;break}if(A===d){for(;!0!==V()&&(e=W());)if(e!==o){if(e===b){L=H.isBracket=!0,R=H.isGlob=!0,$=!0;break}}else F=H.backslashes=!0,W();if(!0===S)continue;break}if(!0===r.nonegate||A!==l||k!==O){if(!0!==r.noparen&&A===p){if(R=H.isGlob=!0,!0===S){for(;!0!==V()&&(A=W());)if(A!==p){if(A===y){$=!0;break}}else F=H.backslashes=!0,A=W();continue}break}if(!0===R){if($=!0,!0===S)continue;break}}else B=H.negated=!0,O++}else{if(E.push(k),_.push(H),H={value:"",depth:0,isGlob:!1},!0===$)continue;if(T===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,R=!1);let z=C,G="",K="";O>0&&(G=C.slice(0,O),C=C.slice(O),N-=O),z&&!0===R&&N>0?(z=C.slice(0,N),K=C.slice(N)):!0===R?(z="",K=C):z=C,z&&""!==z&&"/"!==z&&z!==C&&v(z.charCodeAt(z.length-1))&&(z=z.slice(0,-1)),!0===r.unescape&&(K&&(K=s.removeBackslashes(K)),z&&!0===F&&(z=s.removeBackslashes(z)));const Y={prefix:G,input:e,start:O,base:z,glob:K,isBrace:I,isBracket:L,isGlob:R,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<E.length;s++){const n=t?t+1:O,i=E[s],o=e.slice(n,i);r.tokens&&(0===s&&0!==O?(_[s].isPrefix=!0,_[s].value=G):_[s].value=o,x(_[s]),Y.maxDepth+=_[s].depth),0===s&&""===o||P.push(o),t=i}if(t&&t+1<e.length){const s=e.slice(t+1);P.push(s),r.tokens&&(_[_.length-1].value=s,x(_[_.length-1]),Y.maxDepth+=_[_.length-1].depth)}Y.slashes=E,Y.parts=P}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),S=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 E 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={...E.defaultOptions,...e},{root:r,type:n}=t;this._fileFilter=S(t.fileFilter),this._directoryFilter=S(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 E(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=E,_.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 S=e.agent||!1,E={host:u,port:b,path:v,method:h.method,headers:d,agent:S};if(p&&(E.pfx=e.pfx,E.key=e.key,E.passphrase=e.passphrase,E.cert=e.cert,E.ca=e.ca,E.ciphers=e.ciphers,E.rejectUnauthorized=!1!==e.rejectUnauthorized),y=!1,h.async){var _=p?l.request:c.request;g=!0,a.dispatchEvent("readystatechange");var P=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,P).on("error",T)).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)}))},T=function(e){a.handleError(e)};t=_(E,P).on("error",T),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(E)+";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:S}=r("./node_modules/ws/lib/constants.js"),{EventTarget:{addEventListener:E,removeEventListener:_}}=r("./node_modules/ws/lib/event-target.js"),{format:P,parse:T}=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",$),s.on("ping",q),s.on("pong",H),e.setTimeout(0),e.setNoDelay(),t.length>0&&e.unshift(t),e.on("close",W),e.on("data",z),e.on("end",G),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?R:L,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"]=P({[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=T(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 L(e){return e.path=e.socketPath,o.connect(e)}function R(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",z),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",z),process.nextTick(V,t._socket),t.close(e[x])),t.emit("error",e)}function U(){this[w].emitClose()}function $(e,t){this[w].emit("message",e,t)}function q(e){const t=this[w];t.pong(e,!t._isServer,S),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",z),this.removeListener("end",G),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 z(e){this[w]._receiver.write(e)||this.pause()}function G(){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",S),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=E,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 S(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function E(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=P(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 P(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,P(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 T(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(T,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}},S(E.prototype),u(E.prototype,l,(function(){return this})),t.AsyncIterator=E,t.async=function(e,r,s,n,i){void 0===i&&(i=Promise);var o=new E(p(e,r,s,n),i);return t.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},S(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:()=>l});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=function(e){return!(!i.existsSync(e)||!i.statSync(e).isFile())},l=function(e,t){var r,i="pinegrow.config.js";try{var l=n.resolve(e,"pinegrow.config.js");if(!c(l)){if(l=n.resolve(e,"pinegrow.config.cjs"),!c(l))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(0,o.createRequire)(e).cache[e],t(e)})).on("change",(function(e){delete(0,o.createRequire)(e).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}(l,t)}catch(e){console.log(e),console.log("Pinegrow: Unable to watch ".concat(i,"!"))}try{var h=(0,o.createRequire)(l),u=h(l);if(delete h.cache[l],u&&"object"===s(u))return{pinegrowConfig:u,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"),c=r("module");function l(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 h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(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 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 u(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)?u(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,a=i.replacement,c=i.regex,l=c?new RegExp(i.find.source,i.find.flags):i.find,h=!1;if(c&&l.test(e)&&(h=!0),!c&&e.startsWith(l)&&(h=!0),h){r=e.replace(l,a);break}}}catch(e){n.e(e)}finally{n.f()}}return o.normalize(r)},f=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{plugins:[]},r=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,l=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],f=(e=t.configPath,a.statSync(e).isFile()?o.dirname(t.configPath):n),m=t.plugins,g={},y=o.resolve(r,"node_modules");if(m.forEach((function(e){try{var t,r,s,a,c={};if(Array.isArray(e)||"object"!==i(e)||(e=[e]),"string"==typeof e){var l=d(e,u);o.isAbsolute(l)||(l=o.resolve(n,l)),e=p(l)?[{dependencyRoot:o.dirname(l),pluginPath:l}]:[e]}if(Array.isArray(e)&&e.length){if("string"==typeof e[0]&&(t=e[0],r=o.resolve(y,t)),"object"===i(e[0])&&(t=(c=e[0]).dependency,r=c.dependencyRoot,c.options&&(a=h(h({},a),c.options)),c.pluginPath)){var f=d(c.pluginPath,u);if(!o.isAbsolute(f)){var m=c.dependencyRoot||n;f=o.resolve(m,f)}p(f)?(r=r||o.dirname(f),s=f):(console.log(e),console.log("Pinegrow: The pluginPath of the above plugin doesn't exist at ".concat(f," and was ignored. Make sure the plugin file exists!")),r=o.dirname(f),s=f)}e[1]&&("object"===i(e[1])?a=h(h({},a),e[1]):(console.log(e),console.log("Pinegrow: The above plugin's options were ignored. Make sure it's of type Object!")))}r&&(g[r]=h(h({},c),{},{dependency:t,dependencyRoot:r,pluginPath:s,options:a}))}catch(e){console.log(e),console.log("Pinegrow: An error occured when processing plugins!")}})),l){var b=o.resolve(r,"node_modules","@pinegrow");try{a.readdirSync(b).filter((function(e){return e.endsWith("-plugin")&&"vite-plugin"!==e})).forEach((function(e){var t=o.resolve(b,e);(function(e){return!(!a.existsSync(e)||!a.statSync(e).isDirectory())})(t)&&!g[t]&&(g[t]={dependency:"@pinegrow/".concat(e),dependencyRoot:t})}))}catch(e){}}Object.entries(g).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),r=t[0],i=t[1],a=i.dependency,l=i.options;try{var h,f;try{var m=(0,c.createRequire)(r);h=m(r),m.resolve(r)}catch(e){}if(!h)return;if("function"==typeof(h=h.parser||h.default||h))return;if(h.pluginPath){var y=d(h.pluginPath,u);if(!o.isAbsolute(y)){var b=h.dependencyRoot||n;y=o.resolve(b,y)}p(y)?f=y:console.log("Pinegrow: The pluginPath of ".concat(h.dependency," doesn't exist at ").concat(y," and was ignored. Make sure the plugin file exists!"))}g[r]={dependency:a,dependencyRoot:r,name:h.name,key:h.key,productKey:h.productKey,library:h.library,syncWithLibrarySemVer:h.syncWithLibrarySemVer,pluginPath:f,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,x=Object.values(g).filter((function(e){return e.key})).map((function(e){return e.key})),w=(v=x).filter((function(e,t){return v.indexOf(e)!==t}));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(g).filter((function(e){var t=s(e,2);return t[0],t[1].key})).forEach((function(e){var r=s(e,2),n=(r[0],r[1]),o=t[n.key];o&&"object"===i(o)&&(n.options=h(h({},n.options),o))})),Object.entries(g).forEach((function(e){var t=s(e,2),r=(t[0],t[1]);if(r.name=r.name||r.dependency||r.key||r.productKey||r.pluginPath||r.dependencyRoot,r.dependency=r.dependency||r.pluginPath||r.dependencyRoot,r.activeInProject=!0,r.options){var i=r.options;try{Object.entries(i).forEach((function(e){var t=s(e,2),r=t[0],n=t[1];if(r&&(r.toLowerCase().endsWith("file")||r.toLowerCase().endsWith("path")||r.toLowerCase().endsWith("root"))&&n&&"string"==typeof n){var a=d(n,u);if(o.isAbsolute(a)||(a=o.resolve(f,a)),a&&!p(a)){var c=[".ts",".js",".mjs",".cjs"],l=o.extname(a);if(c.includes(l)){var h=c.reverse().reduce((function(e,t){var r=a.replace(l,t);return p(r)?r:e}),null);h&&(console.log("Pinegrow: As ".concat(r," at ").concat(a," was missing and ").concat(h," (different extension) was found, the later shall be used.")),a=h)}}("themePath"===r||p(a))&&(i[r]=a)}}))}catch(e){console.log(e),console.log("Pinegrow: An error occurred when processing plugin options for plugin: ".concat(r.name))}}else r.options={};if(r.themeTemplate){var a=r.options.themePath;try{a||(a=o.resolve(n,"themes/pg".concat(r.key?"-".concat(r.key):"-","/tokens.cjs"))),void 0!==r.options.restartOnConfigUpdate&&null!==r.options.restartOnConfigUpdate||(r.options.restartOnConfigUpdate=!1),r.options.themePath=a,void 0!==r.options.restartOnThemeUpdate&&null!==r.options.restartOnThemeUpdate||(r.options.restartOnThemeUpdate=!1)}catch(e){console.log(e)}}})),Object.filter(g,(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:()=>E});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 S(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 E=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,a.customOptions.configRoot=a.configRoot=u.dirname(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=S(S({},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]);if(null!==(t=i.options)&&void 0!==t&&t.configPath&&(!0===i.options.restartOnConfigUpdate&&(a.pluginFilesNotToBeWatchedByDevServer.add(i.options.configPath),a.fileNamesThatRestartDevServer.add(i.options.configPath)),!1===i.options.restartOnConfigUpdate&&a.pluginFilesNotToBeWatchedByDevServer.add(i.options.configPath)),null!==(r=i.options)&&void 0!==r&&r.themePath){var o=i.options.themePath.replace(u.extname(i.options.themePath),""),c=["".concat(o,".js"),"".concat(o,".cjs"),"".concat(o,".mjs")];!0===i.options.restartOnThemeUpdate&&c.forEach((function(e){return a.fileNamesThatRestartDevServer.add(e)})),c.forEach((function(e){return a.pluginFilesNotToBeWatchedByDevServer.add(e)}))}}))})),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",{hard:!0}):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],{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:S(S({},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.mjs","**/pinegrow.config.ts","**/themes/**","**/tailwind.config.js","**/tailwind.config.cjs","**/tailwind.config.mjs","**/tailwind.config.ts"]),this.pluginFilesNotToBeWatchedByDevServer=new Set,this.fileNamesThatRestartDevServer=new Set(["pinegrow.config.js","pinegrow.config.cjs","**/pinegrow.config.mjs","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,{default:()=>Cv,liveDesigner:()=>Cv});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=Object.freeze({}),v=()=>{},x=()=>!1,w=/^on[^a-z]/,S=e=>w.test(e),E=Object.assign,_=Object.prototype.hasOwnProperty,P=(e,t)=>_.call(e,t),T=Array.isArray,A=e=>"string"==typeof e,C=e=>"symbol"==typeof e,k=e=>null!==e&&"object"==typeof e,O=Object.prototype.toString,N=e=>O.call(e),I=y(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),L=y("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),R=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},M=/-(\w)/g,D=R((e=>e.replace(M,((e,t)=>t?t.toUpperCase():"")))),j=/\B([A-Z])/g,F=R((e=>e.replace(j,"-$1").toLowerCase())),B=R((e=>e.charAt(0).toUpperCase()+e.slice(1))),U=R((e=>e?`on${B(e)}`:"")),$=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function q(e){return $.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}const H={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"},W=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,console");function z(e){if(T(e)){const t={};for(let r=0;r<e.length;r++){const s=e[r],n=A(s)?J(s):z(s);if(n)for(const e in n)t[e]=n[e]}return t}return A(e)||k(e)?e:void 0}const G=/;(?![^(]*\))/g,K=/:([^]+)/,Y=new RegExp("\\/\\*.*?\\*\\/","gs");function J(e){const t={};return e.replace(Y,"").split(G).forEach((e=>{if(e){const r=e.split(K);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}function X(e){let t="";if(!e||A(e))return t;for(const r in e){const s=e[r],n=r.startsWith("--")?r:F(r);(A(s)||"number"==typeof s)&&(t+=`${n}:${s};`)}return t}function Q(e){let t="";if(A(e))t=e;else if(T(e))for(let r=0;r<e.length;r++){const s=Q(e[r]);s&&(t+=s+" ")}else if(k(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const Z=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"),ee=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"),te=y("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),re=y("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),se=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,inert,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"),ne=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"),ie=/["'&<>]/;function oe(e){const t=""+e,r=ie.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="&quot;";break;case 38:s="&amp;";break;case 39:s="&#39;";break;case 60:s="&lt;";break;case 62:s="&gt;";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 ae=e=>A(e)?e:null==e?"":T(e)||k(e)&&(e.toString===O||!(e=>"function"==typeof e)(e.toString))?JSON.stringify(e,ce,2):String(e),ce=(e,t)=>t&&t.__v_isRef?ce(e,t.value):(e=>"[object Map]"===N(e))(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,r])=>(e[`${t} =>`]=r,e)),{})}:(e=>"[object Set]"===N(e))(t)?{[`Set(${t.size})`]:[...t.values()]}:!k(t)||T(t)||(e=>"[object Object]"===N(e))(t)?t:String(t);function le(e){throw e}function he(e){console.warn(`[Vue warn] ${e.message}`)}function ue(e,t,r,s){const n=(r||pe)[e]+(s||""),i=new SyntaxError(String(n));return i.code=e,i.loc=t,i}const pe={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 '&lt;' 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:"@vnode-* hooks in templates are deprecated. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support will be removed in 3.4.",52:'v-is="component-name" has been deprecated. Use is="vue:component-name" instead. v-is support will be removed in 3.4.',53:""},de=Symbol("Fragment"),fe=Symbol("Teleport"),me=Symbol("Suspense"),ge=Symbol("KeepAlive"),ye=Symbol("BaseTransition"),be=Symbol("openBlock"),ve=Symbol("createBlock"),xe=Symbol("createElementBlock"),we=Symbol("createVNode"),Se=Symbol("createElementVNode"),Ee=Symbol("createCommentVNode"),_e=Symbol("createTextVNode"),Pe=Symbol("createStaticVNode"),Te=Symbol("resolveComponent"),Ae=Symbol("resolveDynamicComponent"),Ce=Symbol("resolveDirective"),ke=Symbol("resolveFilter"),Oe=Symbol("withDirectives"),Ne=Symbol("renderList"),Ie=Symbol("renderSlot"),Le=Symbol("createSlots"),Re=Symbol("toDisplayString"),Me=Symbol("mergeProps"),De=Symbol("normalizeClass"),je=Symbol("normalizeStyle"),Fe=Symbol("normalizeProps"),Be=Symbol("guardReactiveProps"),Ue=Symbol("toHandlers"),$e=Symbol("camelize"),qe=Symbol("capitalize"),He=Symbol("toHandlerKey"),Ve=Symbol("setBlockTracking"),We=Symbol("pushScopeId"),ze=Symbol("popScopeId"),Ge=Symbol("withCtx"),Ke=Symbol("unref"),Ye=Symbol("isRef"),Je=Symbol("withMemo"),Xe=Symbol("isMemoSame"),Qe={[de]:"Fragment",[fe]:"Teleport",[me]:"Suspense",[ge]:"KeepAlive",[ye]:"BaseTransition",[be]:"openBlock",[ve]:"createBlock",[xe]:"createElementBlock",[we]:"createVNode",[Se]:"createElementVNode",[Ee]:"createCommentVNode",[_e]:"createTextVNode",[Pe]:"createStaticVNode",[Te]:"resolveComponent",[Ae]:"resolveDynamicComponent",[Ce]:"resolveDirective",[ke]:"resolveFilter",[Oe]:"withDirectives",[Ne]:"renderList",[Ie]:"renderSlot",[Le]:"createSlots",[Re]:"toDisplayString",[Me]:"mergeProps",[De]:"normalizeClass",[je]:"normalizeStyle",[Fe]:"normalizeProps",[Be]:"guardReactiveProps",[Ue]:"toHandlers",[$e]:"camelize",[qe]:"capitalize",[He]:"toHandlerKey",[Ve]:"setBlockTracking",[We]:"pushScopeId",[ze]:"popScopeId",[Ge]:"withCtx",[Ke]:"unref",[Ye]:"isRef",[Je]:"withMemo",[Xe]:"isMemoSame"};function Ze(e){Object.getOwnPropertySymbols(e).forEach((t=>{Qe[t]=e[t]}))}const et={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function tt(e,t=et){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function rt(e,t,r,s,n,i,o,a=!1,c=!1,l=!1,h=et){return e&&(a?(e.helper(be),e.helper(ft(e.inSSR,l))):e.helper(dt(e.inSSR,l)),o&&e.helper(Oe)),{type:13,tag:t,props:r,children:s,patchFlag:n,dynamicProps:i,directives:o,isBlock:a,disableTracking:c,isComponent:l,loc:h}}function st(e,t=et){return{type:17,loc:t,elements:e}}function nt(e,t=et){return{type:15,loc:t,properties:e}}function it(e,t){return{type:16,loc:et,key:A(e)?ot(e,!0):e,value:t}}function ot(e,t=!1,r=et,s=0){return{type:4,loc:r,content:e,isStatic:t,constType:t?3:s}}function at(e,t=et){return{type:8,loc:t,children:e}}function ct(e,t=[],r=et){return{type:14,loc:r,callee:e,arguments:t}}function lt(e,t=void 0,r=!1,s=!1,n=et){return{type:18,params:e,returns:t,newline:r,isSlot:s,loc:n}}function ht(e,t,r,s=!0){return{type:19,test:e,consequent:t,alternate:r,newline:s,loc:et}}function ut(e,t,r=!1){return{type:20,index:e,value:t,isVNode:r,loc:et}}function pt(e){return{type:21,body:e,loc:et}}function dt(e,t){return e||t?we:Se}function ft(e,t){return e||t?ve:xe}function mt(e,{helper:t,removeHelper:r,inSSR:s}){e.isBlock||(e.isBlock=!0,r(dt(s,e.isComponent)),t(be),t(ft(s,e.isComponent)))}function gt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function yt(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){if(this instanceof e){var r=[null];return r.push.apply(r,arguments),new(Function.bind.apply(t,r))}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={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};class xt{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}}const wt={brace:new xt("{"),j_oTag:new xt("<tag"),j_cTag:new xt("</tag"),j_expr:new xt("<tag>...</tag>",!0)};wt.template=new xt("`",!0);const St=!0,Et=!0,_t=!0,Pt=!0,Tt=!0;class At{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 Ct=new Map;function kt(e,t={}){t.keyword=e;const r=Ft(e,t);return Ct.set(e,r),r}function Ot(e,t){return Ft(e,{beforeExpr:St,binop:t})}let Nt=-1;const It=[],Lt=[],Rt=[],Mt=[],Dt=[],jt=[];function Ft(e,t={}){var r,s,n,i;return++Nt,Lt.push(e),Rt.push(null!=(r=t.binop)?r:-1),Mt.push(null!=(s=t.beforeExpr)&&s),Dt.push(null!=(n=t.startsExpr)&&n),jt.push(null!=(i=t.prefix)&&i),It.push(new At(e,t)),Nt}function Bt(e,t={}){var r,s,n,i;return++Nt,Ct.set(e,Nt),Lt.push(e),Rt.push(null!=(r=t.binop)?r:-1),Mt.push(null!=(s=t.beforeExpr)&&s),Dt.push(null!=(n=t.startsExpr)&&n),jt.push(null!=(i=t.prefix)&&i),It.push(new At("name",t)),Nt}const Ut={bracketL:Ft("[",{beforeExpr:St,startsExpr:Et}),bracketHashL:Ft("#[",{beforeExpr:St,startsExpr:Et}),bracketBarL:Ft("[|",{beforeExpr:St,startsExpr:Et}),bracketR:Ft("]"),bracketBarR:Ft("|]"),braceL:Ft("{",{beforeExpr:St,startsExpr:Et}),braceBarL:Ft("{|",{beforeExpr:St,startsExpr:Et}),braceHashL:Ft("#{",{beforeExpr:St,startsExpr:Et}),braceR:Ft("}"),braceBarR:Ft("|}"),parenL:Ft("(",{beforeExpr:St,startsExpr:Et}),parenR:Ft(")"),comma:Ft(",",{beforeExpr:St}),semi:Ft(";",{beforeExpr:St}),colon:Ft(":",{beforeExpr:St}),doubleColon:Ft("::",{beforeExpr:St}),dot:Ft("."),question:Ft("?",{beforeExpr:St}),questionDot:Ft("?."),arrow:Ft("=>",{beforeExpr:St}),template:Ft("template"),ellipsis:Ft("...",{beforeExpr:St}),backQuote:Ft("`",{startsExpr:Et}),dollarBraceL:Ft("${",{beforeExpr:St,startsExpr:Et}),templateTail:Ft("...`",{startsExpr:Et}),templateNonTail:Ft("...${",{beforeExpr:St,startsExpr:Et}),at:Ft("@"),hash:Ft("#",{startsExpr:Et}),interpreterDirective:Ft("#!..."),eq:Ft("=",{beforeExpr:St,isAssign:Pt}),assign:Ft("_=",{beforeExpr:St,isAssign:Pt}),slashAssign:Ft("_=",{beforeExpr:St,isAssign:Pt}),xorAssign:Ft("_=",{beforeExpr:St,isAssign:Pt}),moduloAssign:Ft("_=",{beforeExpr:St,isAssign:Pt}),incDec:Ft("++/--",{prefix:Tt,postfix:!0,startsExpr:Et}),bang:Ft("!",{beforeExpr:St,prefix:Tt,startsExpr:Et}),tilde:Ft("~",{beforeExpr:St,prefix:Tt,startsExpr:Et}),doubleCaret:Ft("^^",{startsExpr:Et}),doubleAt:Ft("@@",{startsExpr:Et}),pipeline:Ot("|>",0),nullishCoalescing:Ot("??",1),logicalOR:Ot("||",1),logicalAND:Ot("&&",2),bitwiseOR:Ot("|",3),bitwiseXOR:Ot("^",4),bitwiseAND:Ot("&",5),equality:Ot("==/!=/===/!==",6),lt:Ot("</>/<=/>=",7),gt:Ot("</>/<=/>=",7),relational:Ot("</>/<=/>=",7),bitShift:Ot("<</>>/>>>",8),bitShiftL:Ot("<</>>/>>>",8),bitShiftR:Ot("<</>>/>>>",8),plusMin:Ft("+/-",{beforeExpr:St,binop:9,prefix:Tt,startsExpr:Et}),modulo:Ft("%",{binop:10,startsExpr:Et}),star:Ft("*",{binop:10}),slash:Ot("/",10),exponent:Ft("**",{beforeExpr:St,binop:11,rightAssociative:!0}),_in:kt("in",{beforeExpr:St,binop:7}),_instanceof:kt("instanceof",{beforeExpr:St,binop:7}),_break:kt("break"),_case:kt("case",{beforeExpr:St}),_catch:kt("catch"),_continue:kt("continue"),_debugger:kt("debugger"),_default:kt("default",{beforeExpr:St}),_else:kt("else",{beforeExpr:St}),_finally:kt("finally"),_function:kt("function",{startsExpr:Et}),_if:kt("if"),_return:kt("return",{beforeExpr:St}),_switch:kt("switch"),_throw:kt("throw",{beforeExpr:St,prefix:Tt,startsExpr:Et}),_try:kt("try"),_var:kt("var"),_const:kt("const"),_with:kt("with"),_new:kt("new",{beforeExpr:St,startsExpr:Et}),_this:kt("this",{startsExpr:Et}),_super:kt("super",{startsExpr:Et}),_class:kt("class",{startsExpr:Et}),_extends:kt("extends",{beforeExpr:St}),_export:kt("export"),_import:kt("import",{startsExpr:Et}),_null:kt("null",{startsExpr:Et}),_true:kt("true",{startsExpr:Et}),_false:kt("false",{startsExpr:Et}),_typeof:kt("typeof",{beforeExpr:St,prefix:Tt,startsExpr:Et}),_void:kt("void",{beforeExpr:St,prefix:Tt,startsExpr:Et}),_delete:kt("delete",{beforeExpr:St,prefix:Tt,startsExpr:Et}),_do:kt("do",{isLoop:_t,beforeExpr:St}),_for:kt("for",{isLoop:_t}),_while:kt("while",{isLoop:_t}),_as:Bt("as",{startsExpr:Et}),_assert:Bt("assert",{startsExpr:Et}),_async:Bt("async",{startsExpr:Et}),_await:Bt("await",{startsExpr:Et}),_from:Bt("from",{startsExpr:Et}),_get:Bt("get",{startsExpr:Et}),_let:Bt("let",{startsExpr:Et}),_meta:Bt("meta",{startsExpr:Et}),_of:Bt("of",{startsExpr:Et}),_sent:Bt("sent",{startsExpr:Et}),_set:Bt("set",{startsExpr:Et}),_static:Bt("static",{startsExpr:Et}),_using:Bt("using",{startsExpr:Et}),_yield:Bt("yield",{startsExpr:Et}),_asserts:Bt("asserts",{startsExpr:Et}),_checks:Bt("checks",{startsExpr:Et}),_exports:Bt("exports",{startsExpr:Et}),_global:Bt("global",{startsExpr:Et}),_implements:Bt("implements",{startsExpr:Et}),_intrinsic:Bt("intrinsic",{startsExpr:Et}),_infer:Bt("infer",{startsExpr:Et}),_is:Bt("is",{startsExpr:Et}),_mixins:Bt("mixins",{startsExpr:Et}),_proto:Bt("proto",{startsExpr:Et}),_require:Bt("require",{startsExpr:Et}),_satisfies:Bt("satisfies",{startsExpr:Et}),_keyof:Bt("keyof",{startsExpr:Et}),_readonly:Bt("readonly",{startsExpr:Et}),_unique:Bt("unique",{startsExpr:Et}),_abstract:Bt("abstract",{startsExpr:Et}),_declare:Bt("declare",{startsExpr:Et}),_enum:Bt("enum",{startsExpr:Et}),_module:Bt("module",{startsExpr:Et}),_namespace:Bt("namespace",{startsExpr:Et}),_interface:Bt("interface",{startsExpr:Et}),_type:Bt("type",{startsExpr:Et}),_opaque:Bt("opaque",{startsExpr:Et}),name:Ft("name",{startsExpr:Et}),string:Ft("string",{startsExpr:Et}),num:Ft("num",{startsExpr:Et}),bigint:Ft("bigint",{startsExpr:Et}),decimal:Ft("decimal",{startsExpr:Et}),regexp:Ft("regexp",{startsExpr:Et}),privateName:Ft("#name",{startsExpr:Et}),eof:Ft("eof"),jsxName:Ft("jsxName"),jsxText:Ft("jsxText",{beforeExpr:!0}),jsxTagStart:Ft("jsxTagStart",{startsExpr:!0}),jsxTagEnd:Ft("jsxTagEnd"),placeholder:Ft("%%",{startsExpr:!0})};function $t(e){return e>=93&&e<=130}function qt(e){return e>=58&&e<=130}function Ht(e){return e>=58&&e<=134}function Vt(e){return Dt[e]}function Wt(e){return e>=127&&e<=129}function zt(e){return e>=58&&e<=92}function Gt(e){return Lt[e]}function Kt(e){return Rt[e]}function Yt(e){return e>=24&&e<=25}function Jt(e){return It[e]}function Xt(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}It[8].updateContext=e=>{e.pop()},It[5].updateContext=It[7].updateContext=It[23].updateContext=e=>{e.push(wt.brace)},It[22].updateContext=e=>{e[e.length-1]===wt.template?e.pop():e.push(wt.template)},It[140].updateContext=e=>{e.push(wt.j_expr,wt.j_oTag)};class Qt{constructor(e,t,r){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=r}}class Zt{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}}function er(e,t){const{line:r,column:s,index:n}=e;return new Qt(r,s+t,n+t)}var tr="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";const rr=(e,t=e.length-1)=>({get(){return e.reduce(((e,t)=>e[t]),this)},set(r){e.reduce(((e,s,n)=>n===t?e[s]=r:e[s]),this)}}),sr=(e,t,r)=>Object.keys(r).map((e=>[e,r[e]])).filter((([,e])=>!!e)).map((([e,t])=>[e,"function"==typeof t?{value:t,enumerable:!1}:"string"==typeof t.reflect?Object.assign({},t,rr(t.reflect.split("."))):t])).reduce(((e,[t,r])=>Object.defineProperty(e,t,Object.assign({configurable:!0},r))),Object.assign(new e,t));var nr={ImportMetaOutsideModule:{message:"import.meta may appear only with 'sourceType: \"module\"'",code:tr},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:tr}};const ir={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},or=({type:e,prefix:t})=>"UpdateExpression"===e?ir.UpdateExpression[String(t)]:ir[e];var ar={AccessorIsGenerator:({kind:e})=>`A ${e}ter 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.",AwaitInUsingBinding:"'await' is not allowed to be used as a name in 'using' declarations.",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' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor 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:({kind:e})=>`Missing initializer in ${e} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",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:({exportName:e})=>`\`${e}\` 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:({localName:e,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${e}' as '${t}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:e})=>`'${"ForInStatement"===e?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",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:({type:e})=>`Unsyntactic ${"BreakStatement"===e?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:({importName:e})=>`A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${e}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:e})=>`\`import()\` requires exactly ${1===e?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:e})=>`Expected number in radix ${e}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:e})=>`Escape sequence in keyword ${e}.`,InvalidIdentifier:({identifierName:e})=>`Invalid identifier ${e}.`,InvalidLhs:({ancestor:e})=>`Invalid left-hand side in ${or(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${or(e)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:e})=>`Unexpected character '${e}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:e})=>`Private name #${e} 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:({labelName:e})=>`Label '${e}' 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.",MissingPlugin:({missingPlugin:e})=>`This experimental syntax requires enabling the parser plugin: ${e.map((e=>JSON.stringify(e))).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:e})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${e.map((e=>JSON.stringify(e))).join(", ")}.`,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:({key:e})=>`Duplicate key "${e}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:e})=>`An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`,ModuleExportUndefined:({localName:e})=>`Export '${e}' 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.",PrivateInExpectedIn:({identifierName:e})=>`Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`,PrivateNameRedeclaration:({identifierName:e})=>`Duplicate private name #${e}.`,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 or inside a block.",SloppyFunctionAnnexB:"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.",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:({keyword:e})=>`Unexpected keyword '${e}'.`,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:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:e})=>`Unexpected reserved word '${e}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:e,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${e?`, expected "${e}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",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:({target:e,onlyValidPropertyName:t})=>`The only valid meta property for ${e} is ${e}.${t}.`,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.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:e})=>`Identifier '${e}' 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."};const cr=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var lr={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield 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:({token:e})=>`Invalid topic token ${e}. In order to use ${e} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${e}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:e})=>`Hack-style pipe body cannot be an unparenthesized ${or({type:e})}; 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.'};const hr=["toMessage"],ur=["message"];function pr(e){let{toMessage:t}=e,r=Xt(e,hr);return function e({loc:s,details:n}){return sr(SyntaxError,Object.assign({},r,{loc:s}),{clone(t={}){const r=t.loc||{};return e({loc:new Qt("line"in r?r.line:this.loc.line,"column"in r?r.column:this.loc.column,"index"in r?r.index:this.loc.index),details:Object.assign({},this.details,t.details)})},details:{value:n,enumerable:!1},message:{get(){return`${t(this.details)} (${this.loc.line}:${this.loc.column})`},set(e){Object.defineProperty(this,"message",{value:e})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in n&&{reflect:"details.missingPlugin",enumerable:!0}})}}function dr(e,t){if(Array.isArray(e))return t=>dr(t,e[0]);const r={};for(const s of Object.keys(e)){const n=e[s],i="string"==typeof n?{message:()=>n}:"function"==typeof n?{message:n}:n,{message:o}=i,a=Xt(i,ur),c="string"==typeof o?()=>o:o;r[s]=pr(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:s,toMessage:c},t?{syntaxPlugin:t}:{},a))}return r}const fr=Object.assign({},dr(nr),dr(ar),dr({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:e})=>`Assigning to '${e}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:e})=>`Binding '${e}' 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."}),dr`pipelineOperator`(lr)),{defineProperty:mr}=Object,gr=(e,t)=>mr(e,t,{enumerable:!1,value:e[t]});function yr(e){return e.loc.start&&gr(e.loc.start,"index"),e.loc.end&&gr(e.loc.end,"index"),e}let br="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",vr="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const xr=new RegExp("["+br+"]"),wr=new RegExp("["+br+vr+"]");br=vr=null;const Sr=[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,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,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,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,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,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],Er=[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,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,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,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,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,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function _r(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 Pr(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&xr.test(String.fromCharCode(e)):_r(e,Sr)))}function Tr(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&wr.test(String.fromCharCode(e)):_r(e,Sr)||_r(e,Er))))}const Ar=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"]),Cr=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),kr=new Set(["eval","arguments"]);function Or(e,t){return t&&"await"===e||"enum"===e}function Nr(e,t){return Or(e,t)||Cr.has(e)}function Ir(e){return kr.has(e)}function Lr(e,t){return Nr(e,t)||Ir(e)}const Rr=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"]),Mr=256,Dr=4096,jr=8201,Fr=64;class Br{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}}class Ur{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inTopLevel(){return(1&this.currentScope().flags)>0}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(451&t)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Br(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(e){return!!(130&e.flags||!this.parser.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),!(387&s.flags));--n);this.parser.inModule&&1&s.flags&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&1&e.flags&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,r,s){this.isRedeclaredInScope(e,t,r)&&this.parser.raise(fr.VarRedeclaration,{at:s,identifierName: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.loc.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(387&t)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(451&t&&!(4&t))return t}}}class $r extends Br{constructor(...e){super(...e),this.declareFunctions=new Set}}class qr extends Ur{createScope(e){return new $r(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(e,t,r)}isRedeclaredInScope(e,t,r){return!!super.isRedeclaredInScope(e,t,r)||!!(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 Hr{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){if("string"==typeof e)return this.plugins.has(e);{const[t,r]=e;if(!this.hasPlugin(t))return!1;const s=this.plugins.get(t);for(const e of Object.keys(r))if((null==s?void 0:s[e])!==r[e])return!1;return!0}}getPluginOption(e,t){var r;return null==(r=this.plugins.get(e))?void 0:r[t]}}function Vr(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function Wr(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function zr(e,t,r){let s=null,n=t.length;for(;null===s&&n>0;)s=t[--n];null===s||s.start>r.start?Wr(e,r.comments):Vr(s,r.comments)}class Gr extends Hr{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&&Vr(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":zr(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":zr(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":zr(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":zr(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":zr(r,r.specifiers,e);break;default:Wr(r,t)}else Wr(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 Kr=/\r\n?|[\n\u2028\u2029]/,Yr=new RegExp(Kr.source,"g");function Jr(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}const Xr=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Qr=new RegExp("(?=("+/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function Zr(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 es{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.inDisallowConditionalTypesContext=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.comments=[],this.commentStack=[],this.pos=0,this.type=137,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[wt.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.firstInvalidTemplateEscapePos=null,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 Qt(r,s,0)}curPosition(){return new Qt(this.curLine,this.pos-this.lineStart,this.pos)}clone(e){const t=new es,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 ts=function(e){return e>=48&&e<=57};const rs={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},ss={bin:e=>48===e||49===e,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function ns(e,t,r,s,n,i){const o=r,a=s,c=n;let l="",h=null,u=r;const{length:p}=t;for(;;){if(r>=p){i.unterminated(o,a,c),l+=t.slice(u,r);break}const d=t.charCodeAt(r);if(is(e,d,t,r)){l+=t.slice(u,r);break}if(92===d){l+=t.slice(u,r);const o=os(t,r,s,n,"template"===e,i);null!==o.ch||h?l+=o.ch:h={pos:r,lineStart:s,curLine:n},({pos:r,lineStart:s,curLine:n}=o),u=r}else 8232===d||8233===d?(++n,s=++r):10===d||13===d?"template"===e?(l+=t.slice(u,r)+"\n",++r,13===d&&10===t.charCodeAt(r)&&++r,++n,u=s=r):i.unterminated(o,a,c):++r}return{pos:r,str:l,firstInvalidLoc:h,lineStart:s,curLine:n,containsInvalid:!!h}}function is(e,t,r,s){return"template"===e?96===t||36===t&&123===r.charCodeAt(s+1):t===("double"===e?34:39)}function os(e,t,r,s,n,i){const o=!n;t++;const a=e=>({pos:t,ch:e,lineStart:r,curLine:s}),c=e.charCodeAt(t++);switch(c){case 110:return a("\n");case 114:return a("\r");case 120:{let n;return({code:n,pos:t}=as(e,t,r,s,2,!1,o,i)),a(null===n?null:String.fromCharCode(n))}case 117:{let n;return({code:n,pos:t}=ls(e,t,r,s,o,i)),a(null===n?null:String.fromCodePoint(n))}case 116:return a("\t");case 98:return a("\b");case 118:return a("\v");case 102:return a("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:r=t,++s;case 8232:case 8233:return a("");case 56:case 57:if(n)return a(null);i.strictNumericEscape(t-1,r,s);default:if(c>=48&&c<=55){const o=t-1;let c=e.slice(o,t+2).match(/^[0-7]+/)[0],l=parseInt(c,8);l>255&&(c=c.slice(0,-1),l=parseInt(c,8)),t+=c.length-1;const h=e.charCodeAt(t);if("0"!==c||56===h||57===h){if(n)return a(null);i.strictNumericEscape(o,r,s)}return a(String.fromCharCode(l))}return a(String.fromCharCode(c))}}function as(e,t,r,s,n,i,o,a){const c=t;let l;return({n:l,pos:t}=cs(e,t,r,s,16,n,i,!1,a,!o)),null===l&&(o?a.invalidEscapeSequence(c,r,s):t=c-1),{code:l,pos:t}}function cs(e,t,r,s,n,i,o,a,c,l){const h=t,u=16===n?rs.hex:rs.decBinOct,p=16===n?ss.hex:10===n?ss.dec:8===n?ss.oct:ss.bin;let d=!1,f=0;for(let h=0,m=null==i?1/0:i;h<m;++h){const i=e.charCodeAt(t);let h;if(95!==i||"bail"===a){if(h=i>=97?i-97+10:i>=65?i-65+10:ts(i)?i-48:1/0,h>=n){if(h<=9&&l)return{n:null,pos:t};if(h<=9&&c.invalidDigit(t,r,s,n))h=0;else{if(!o)break;h=0,d=!0}}++t,f=f*n+h}else{const n=e.charCodeAt(t-1),i=e.charCodeAt(t+1);if(a){if(Number.isNaN(i)||!p(i)||u.has(n)||u.has(i)){if(l)return{n:null,pos:t};c.unexpectedNumericSeparator(t,r,s)}}else{if(l)return{n:null,pos:t};c.numericSeparatorInEscapeSequence(t,r,s)}++t}}return t===h||null!=i&&t-h!==i||d?{n:null,pos:t}:{n:f,pos:t}}function ls(e,t,r,s,n,i){let o;if(123===e.charCodeAt(t)){if(++t,({code:o,pos:t}=as(e,t,r,s,e.indexOf("}",t)-t,!0,n,i)),++t,null!==o&&o>1114111){if(!n)return{code:null,pos:t};i.invalidCodePoint(t,r,s)}}else({code:o,pos:t}=as(e,t,r,s,4,!1,n,i));return{code:o,pos:t}}const hs=["at"],us=["at"];function ps(e,t,r){return new Qt(r,e-t,e)}const ds=new Set([103,109,115,105,121,117,100,118]);class fs{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new Zt(e.startLoc,e.endLoc)}}class ms extends Gr{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(e,t,r,s)=>!!this.options.errorRecovery&&(this.raise(fr.InvalidDigit,{at:ps(e,t,r),radix:s}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(fr.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(fr.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(fr.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(fr.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,r)=>{this.recordStrictModeErrors(fr.StrictNumericEscape,{at:ps(e,t,r)})},unterminated:(e,t,r)=>{throw this.raise(fr.UnterminatedString,{at:ps(e-1,t,r)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(fr.StrictNumericEscape),unterminated:(e,t,r)=>{throw this.raise(fr.UnterminatedTemplate,{at:ps(e,t,r)})}}),this.state=new es,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 fs(this.state)),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,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}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 Xr.lastIndex=e,Xr.test(this.input)?Xr.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(e,{at:t}))),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(137):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let t;this.isLookahead||(t=this.state.curPosition());const r=this.state.pos,s=this.input.indexOf(e,r+2);if(-1===s)throw this.raise(fr.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=s+e.length,Yr.lastIndex=r+2;Yr.test(this.input)&&Yr.lastIndex<=s;)++this.state.curLine,this.state.lineStart=Yr.lastIndex;if(this.isLookahead)return;const n={type:"CommentBlock",value:this.input.slice(r+2,s),start:r,end:s+e.length,loc:new Zt(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(n),n}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(;!Jr(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 Zt(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(Zr(r))++this.state.pos;else if(45===r&&!this.inModule&&this.options.annexB){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))}}else{if(60!==r||this.inModule||!this.options.annexB)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))}}}}}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,this.state.endLoc=this.state.curPosition();const r=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||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(fr.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"bar"===this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?fr.RecordExpressionHashIncorrectStartSyntaxType:fr.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else Pr(t)?(++this.state.pos,this.finishToken(136,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(136,this.readWord1())):this.finishOp(27,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(31,2):this.finishOp(56,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;!Jr(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(28,r),!0}readToken_mult_modulo(e){let t=42===e?55:54,r=1,s=this.input.charCodeAt(this.state.pos+1);42===e&&42===s&&(r++,s=this.input.charCodeAt(this.state.pos+2),t=57),61!==s||this.state.inType||(r++,t=37===e?33:30),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(39,2);if(this.hasPlugin("recordAndTuple")&&125===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(fr.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&93===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(fr.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(4)}}61!==t?this.finishOp(124===e?43:45,1):this.finishOp(30,2)}else 61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(30,3):this.finishOp(124===e?41:42,2)}readToken_caret(){const e=this.input.charCodeAt(this.state.pos+1);61!==e||this.state.inType?94===e&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),94===this.input.codePointAt(this.state.pos)&&this.unexpected()):this.finishOp(44,1):this.finishOp(32,2)}readToken_atSign(){64===this.input.charCodeAt(this.state.pos+1)&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(e){const t=this.input.charCodeAt(this.state.pos+1);t!==e?61===t?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,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(30,3):void this.finishOp(51,2);61!==t?this.finishOp(47,1):this.finishOp(49,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(30,t+1):void this.finishOp(52,t)}61!==t?this.finishOp(48,1):this.finishOp(49,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?29:35,1);this.finishOp(46,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(30,3):this.finishOp(40,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(fr.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});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(fr.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});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 void this.readTemplateToken();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(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(Pr(e))return void this.readWord(e)}throw this.raise(fr.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected: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.startLoc,t=this.state.start+1;let r,s,{pos:n}=this.state;for(;;++n){if(n>=this.length)throw this.raise(fr.UnterminatedRegExp,{at:er(e,1)});const t=this.input.charCodeAt(n);if(Jr(t))throw this.raise(fr.UnterminatedRegExp,{at:er(e,1)});if(r)r=!1;else{if(91===t)s=!0;else if(93===t&&s)s=!1;else if(47===t&&!s)break;r=92===t}}const i=this.input.slice(t,n);++n;let o="";const a=()=>er(e,n+2-t);for(;n<this.length;){const e=this.codePointAtPos(n),t=String.fromCharCode(e);if(ds.has(e))118===e?(this.expectPlugin("regexpUnicodeSets",a()),o.includes("u")&&this.raise(fr.IncompatibleRegExpUVFlags,{at:a()})):117===e&&o.includes("v")&&this.raise(fr.IncompatibleRegExpUVFlags,{at:a()}),o.includes(t)&&this.raise(fr.DuplicateRegExpFlags,{at:a()});else{if(!Tr(e)&&92!==e)break;this.raise(fr.MalformedRegExpFlags,{at:a()})}++n,o+=t}this.state.pos=n,this.finishToken(135,{pattern:i,flags:o})}readInt(e,t,r=!1,s=!0){const{n,pos:i}=cs(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,r,s,this.errorHandlers_readInt,!1);return this.state.pos=i,n}readRadixNumber(e){const t=this.state.curPosition();let r=!1;this.state.pos+=2;const s=this.readInt(e);null==s&&this.raise(fr.InvalidDigit,{at:er(t,2),radix:e});const n=this.input.charCodeAt(this.state.pos);if(110===n)++this.state.pos,r=!0;else if(109===n)throw this.raise(fr.InvalidDecimal,{at:t});if(Pr(this.codePointAtPos(this.state.pos)))throw this.raise(fr.NumberIdentifier,{at:this.state.curPosition()});if(r){const e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(133,e)}else this.finishToken(132,s)}readNumber(e){const t=this.state.pos,r=this.state.curPosition();let s=!1,n=!1,i=!1,o=!1,a=!1;e||null!==this.readInt(10)||this.raise(fr.InvalidNumber,{at:this.state.curPosition()});const c=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(c){const e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(fr.StrictOctalLiteral,{at:r}),!this.state.strict){const t=e.indexOf("_");t>0&&this.raise(fr.ZeroDigitNumericSeparator,{at:er(r,t)})}a=c&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(46!==l||a||(++this.state.pos,this.readInt(10),s=!0,l=this.input.charCodeAt(this.state.pos)),69!==l&&101!==l||a||(l=this.input.charCodeAt(++this.state.pos),43!==l&&45!==l||++this.state.pos,null===this.readInt(10)&&this.raise(fr.InvalidOrMissingExponent,{at:r}),s=!0,o=!0,l=this.input.charCodeAt(this.state.pos)),110===l&&((s||c)&&this.raise(fr.InvalidBigIntLiteral,{at:r}),++this.state.pos,n=!0),109===l&&(this.expectPlugin("decimal",this.state.curPosition()),(o||c)&&this.raise(fr.InvalidDecimal,{at:r}),++this.state.pos,i=!0),Pr(this.codePointAtPos(this.state.pos)))throw this.raise(fr.NumberIdentifier,{at:this.state.curPosition()});const h=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n)return void this.finishToken(133,h);if(i)return void this.finishToken(134,h);const u=a?parseInt(h,8):parseFloat(h);this.finishToken(132,u)}readCodePoint(e){const{code:t,pos:r}=ls(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);return this.state.pos=r,t}readString(e){const{str:t,pos:r,curLine:s,lineStart:n}=ns(34===e?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=r+1,this.state.lineStart=n,this.state.curLine=s,this.finishToken(131,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const e=this.input[this.state.pos],{str:t,firstInvalidLoc:r,pos:s,curLine:n,lineStart:i}=ns("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=s+1,this.state.lineStart=i,this.state.curLine=n,r&&(this.state.firstInvalidTemplateEscapePos=new Qt(r.curLine,r.pos-r.lineStart,r.pos)),96===this.input.codePointAt(s)?this.finishToken(24,r?null:e+t+"`"):(this.state.pos++,this.finishToken(25,r?null:e+t+"${"))}recordStrictModeErrors(e,{at:t}){const r=t.index;this.state.strict&&!this.state.strictErrors.has(r)?this.raise(e,{at:t}):this.state.strictErrors.set(r,[e,t])}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(Tr(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.curPosition(),n=this.state.pos===r?Pr:Tr;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(fr.MissingUnicodeEscape,{at:this.state.curPosition()}),s=this.state.pos-1;continue}++this.state.pos;const i=this.readCodePoint(!0);null!==i&&(n(i)||this.raise(fr.EscapedCharNotAnIdentifier,{at:e}),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=Ct.get(t);void 0!==r?this.finishToken(r,Gt(r)):this.finishToken(130,t)}checkKeywordEscapes(){const{type:e}=this.state;zt(e)&&this.state.containsEsc&&this.raise(fr.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:Gt(e)})}raise(e,t){const{at:r}=t,s=Xt(t,hs),n=e({loc:r instanceof Qt?r:r.loc.start,details:s});if(!this.options.errorRecovery)throw n;return this.isLookahead||this.state.errors.push(n),n}raiseOverwrite(e,t){const{at:r}=t,s=Xt(t,us),n=r instanceof Qt?r:r.loc.start,i=n.index,o=this.state.errors;for(let t=o.length-1;t>=0;t--){const r=o[t];if(r.loc.index===i)return o[t]=e({loc:n,details:s});if(r.loc.index<i)break}return this.raise(e,t)}updateContext(e){}unexpected(e,t){throw this.raise(fr.UnexpectedToken,{expected:t?Gt(t):null,at:null!=e?e:this.state.startLoc})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(fr.MissingPlugin,{at:null!=t?t:this.state.startLoc,missingPlugin:[e]})}expectOnePlugin(e){if(!e.some((e=>this.hasPlugin(e))))throw this.raise(fr.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}errorBuilder(e){return(t,r,s)=>{this.raise(e,{at:ps(t,r,s)})}}}class gs{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class ys{constructor(e){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new gs)}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.parser.raise(fr.InvalidPrivateFieldResolution,{at:s,identifierName:r})}declarePrivateName(e,t,r){const{privateNames:s,loneAccessors:n,undefinedPrivateNames:i}=this.current();let o=s.has(e);if(3&t){const r=o&&n.get(e);r?(o=(3&r)==(3&t)||(4&r)!=(4&t),o||n.delete(e)):o||n.set(e,t)}o&&this.parser.raise(fr.PrivateNameRedeclaration,{at:r,identifierName:e}),s.add(e),i.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.parser.raise(fr.InvalidPrivateFieldResolution,{at:t,identifierName:e})}}class bs{constructor(e=0){this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return 2===this.type||1===this.type}isCertainlyParameterDeclaration(){return 3===this.type}}class vs extends bs{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,{at:t}){const r=t.index;this.declarationErrors.set(r,[e,t])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}}class xs{constructor(e){this.parser=void 0,this.stack=[new bs],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,{at:t}){const r={at:t.loc.start},{stack:s}=this;let n=s.length-1,i=s[n];for(;!i.isCertainlyParameterDeclaration();){if(!i.canBeArrowParameterDeclaration())return;i.recordDeclarationError(e,r),i=s[--n]}this.parser.raise(e,r)}recordArrowParameterBindingError(e,{at:t}){const{stack:r}=this,s=r[r.length-1],n={at:t.loc.start};if(s.isCertainlyParameterDeclaration())this.parser.raise(e,n);else{if(!s.canBeArrowParameterDeclaration())return;s.recordDeclarationError(e,n)}}recordAsyncArrowParametersError({at:e}){const{stack:t}=this;let r=t.length-1,s=t[r];for(;s.canBeArrowParameterDeclaration();)2===s.type&&s.recordDeclarationError(fr.AwaitBindingIdentifier,{at:e}),s=t[--r]}validateAsPattern(){const{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors((([t,r])=>{this.parser.raise(t,{at:r});let s=e.length-2,n=e[s];for(;n.canBeArrowParameterDeclaration();)n.clearDeclarationError(r.index),n=e[--s]}))}}function ws(){return new bs}class Ss{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 Es(e,t){return(e?2:0)|(t?1:0)}class _s extends ms{addExtra(e,t,r,s=!0){if(!e)return;const n=e.extra=e.extra||{};s?n[t]=r:Object.defineProperty(n,t,{enumerable:s,value: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!(Tr(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){if(!this.eatContextual(e)){if(null!=t)throw this.raise(t,{at:this.state.startLoc});this.unexpected(null,e)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Kr.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return Qr.lastIndex=this.state.end,Qr.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(fr.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(e,t){this.eat(e)||this.unexpected(t,e)}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{shorthandAssignLoc:r,doubleProtoLoc:s,privateKeyLoc:n,optionalParametersLoc:i}=e;if(!t)return!!(r||s||i||n);null!=r&&this.raise(fr.InvalidCoverInitializedName,{at:r}),null!=s&&this.raise(fr.DuplicateProto,{at:s}),null!=n&&this.raise(fr.UnexpectedPrivateField,{at:n}),null!=i&&this.unexpected(i)}isLiteralPropertyName(){return Ht(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)}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,e);const o=this.prodParam;this.prodParam=new Ss;const a=this.classScope;this.classScope=new ys(this);const c=this.expressionScope;return this.expressionScope=new xs(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)}checkDestructuringPrivate(e){const{privateKeyLoc:t}=e;null!==t&&this.expectPlugin("destructuringPrivate",t)}}class Ps{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}let Ts=class{constructor(e,t,r){this.type="",this.start=t,this.end=0,this.loc=new Zt(r),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}};const As=Ts.prototype;function Cs(e){const{type:t,start:r,end:s,loc:n,range:i,extra:o,name:a}=e,c=Object.create(As);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}As.__clone=function(){const e=new Ts(void 0,this.start,this.loc.start),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 ks extends _s{startNode(){return new Ts(this,this.state.start,this.state.startLoc)}startNodeAt(e){return new Ts(this,e.index,e)}startNodeAtNode(e){return this.startNodeAt(e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,r){return e.type=t,e.end=r.index,e.loc.end=r,this.options.ranges&&(e.range[1]=r.index),this.options.attachComment&&this.processComment(e),e}resetStartLocation(e,t){e.start=t.index,e.loc.start=t,this.options.ranges&&(e.range[0]=t.index)}resetEndLocation(e,t=this.state.lastTokEndLoc){e.end=t.index,e.loc.end=t,this.options.ranges&&(e.range[1]=t.index)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.loc.start)}}const Os=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Ns=dr`flow`({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:({reservedType:e})=>`Cannot overwrite reserved type ${e}.`,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:({memberName:e,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:e,enumName:t})=>`Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:e})=>`Enum \`${e}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:e,enumName:t})=>`Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:e})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:e,memberName:t,explicitType:r})=>`Enum \`${e}\` has type \`${r}\`, so the initializer of \`${t}\` needs to be a ${r} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:e,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:e,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${e}\`.`,EnumInvalidMemberName:({enumName:e,memberName:t,suggestion:r})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${r}\`, in enum \`${e}\`.`,EnumNumberMemberNotInitialized:({enumName:e,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`,EnumStringMemberInconsistentlyInitailized:({enumName:e})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",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:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),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:({reservedType:e})=>`Unexpected reserved type ${e}.`,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:({unsupportedExportKind:e,suggestion:t})=>`\`declare export ${e}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Is(e){return"type"===e.importKind||"typeof"===e.importKind}function Ls(e){return qt(e)&&97!==e}const Rs={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},Ms=/\*?\s*@((?:no)?flow)\b/,Ds={__proto__:null,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:"♦"},js=dr`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:e})=>`Expected corresponding JSX closing tag for <${e}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:e,HTMLEntity:t})=>`Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`,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 <>...</>?"});function Fs(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function Bs(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return Bs(e.object)+"."+Bs(e.property);throw new Error("Node had unexpected type: "+e.type)}class Us extends Br{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 $s extends Ur{constructor(...e){super(...e),this.importsStack=[]}createScope(e){return this.importsStack.push(new Set),new Us(e)}enter(e){e==Mr&&this.importsStack.push(new Set),super.enter(e)}exit(){const e=super.exit();return e==Mr&&this.importsStack.pop(),e}hasImport(e,t){const r=this.importsStack.length;if(this.importsStack[r-1].has(e))return!0;if(!t&&r>1)for(let t=0;t<r-1;t++)if(this.importsStack[t].has(e))return!0;return!1}declareName(e,t,r){if(t&Dr)return this.hasImport(e,!0)&&this.parser.raise(fr.VarRedeclaration,{at:r,identifierName:e}),void this.importsStack[this.importsStack.length-1].add(e);const s=this.currentScope();if(1024&t)return this.maybeExportDefined(s,e),void s.exportOnlyBindings.add(e);super.declareName(e,t,r),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(e,t,r)}checkLocalExport(e){const{name:t}=e;if(!this.hasImport(t)){for(let e=this.scopeStack.length-1;e>=0;e--){const r=this.scopeStack[e];if(r.types.has(t)||r.exportOnlyBindings.has(t))return}super.checkLocalExport(e)}}}const qs=e=>"ParenthesizedExpression"===e.type?qs(e.expression):e;class Hs extends ks{toAssignable(e,t=!1){var r,s;let n;switch(("ParenthesizedExpression"===e.type||null!=(r=e.extra)&&r.parenthesized)&&(n=qs(e),t?"Identifier"===n.type?this.expressionScope.recordArrowParameterBindingError(fr.InvalidParenthesizedAssignment,{at:e}):"MemberExpression"!==n.type&&this.raise(fr.InvalidParenthesizedAssignment,{at:e}):this.raise(fr.InvalidParenthesizedAssignment,{at:e})),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.trailingCommaLoc&&this.raise(fr.RestTrailingComma,{at:e.extra.trailingCommaLoc})}break;case"ObjectProperty":{const{key:r,value:s}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(s,t);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,null==(s=e.extra)?void 0:s.trailingCommaLoc,t);break;case"AssignmentExpression":"="!==e.operator&&this.raise(fr.MissingEqInAssignment,{at:e.left.loc.end}),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(n,t)}}toAssignableObjectExpressionProp(e,t,r){if("ObjectMethod"===e.type)this.raise("get"===e.kind||"set"===e.kind?fr.PatternHasAccessor:fr.PatternHasMethod,{at:e.key});else if("SpreadElement"===e.type){e.type="RestElement";const s=e.argument;this.checkToRestConversion(s,!1),this.toAssignable(s,r),t||this.raise(fr.RestTrailingComma,{at:e})}else this.toAssignable(e,r)}toAssignableList(e,t,r){const s=e.length-1;for(let n=0;n<=s;n++){const i=e[n];if(i){if("SpreadElement"===i.type){i.type="RestElement";const e=i.argument;this.checkToRestConversion(e,!0),this.toAssignable(e,r)}else this.toAssignable(i,r);"RestElement"===i.type&&(n<s?this.raise(fr.RestTrailingComma,{at:i}):t&&this.raise(fr.RestTrailingComma,{at:t}))}}}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){const t=this.startNode();return this.next(),t.argument=this.parseMaybeAssignAllowIn(e,void 0),this.finishNode(t,"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,1),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,r){const s=1&r,n=[];let i=!0;for(;!this.eat(e);)if(i?i=!1:this.expect(12),s&&this.match(12))n.push(null);else{if(this.eat(e))break;if(this.match(21)){if(n.push(this.parseAssignableListItemTypes(this.parseRestBinding(),r)),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{const e=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(fr.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)e.push(this.parseDecorator());n.push(this.parseAssignableListItem(r,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,startLoc:r}=this.state;return 21===t?this.parseBindingRestProperty(e):(136===t?(this.expectPlugin("destructuringPrivate",r),this.classScope.usePrivateName(this.state.value,r),e.key=this.parsePrivateName()):this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,r,!1,!1,!0,!1))}parseAssignableListItem(e,t){const r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r,e);const s=this.parseMaybeDefault(r.loc.start,r);return t.length&&(r.decorators=t),s}parseAssignableListItemTypes(e,t){return e}parseMaybeDefault(e,t){var r;if(null!=e||(e=this.state.startLoc),t=null!=(r=t)?r:this.parseBindingAtom(),!this.eat(29))return t;const s=this.startNodeAt(e);return s.left=t,s.right=this.parseMaybeAssignAllowIn(),this.finishNode(s,"AssignmentPattern")}isValidLVal(e,t,r){return s={AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},n=e,Object.hasOwnProperty.call(s,n)&&s[n];var s,n}checkLVal(e,{in:t,binding:r=64,checkClashes:s=!1,strictModeChanged:n=!1,hasParenthesizedAncestor:i=!1}){var o;const a=e.type;if(this.isObjectMethod(e))return;if("MemberExpression"===a)return void(r!==Fr&&this.raise(fr.InvalidPropertyBindingPattern,{at:e}));if("Identifier"===a){this.checkIdentifier(e,r,n);const{name:t}=e;return void(s&&(s.has(t)?this.raise(fr.ParamDupe,{at:e}):s.add(t)))}const c=this.isValidLVal(a,!(i||null!=(o=e.extra)&&o.parenthesized)&&"AssignmentExpression"===t.type,r);if(!0===c)return;if(!1===c){const s=r===Fr?fr.InvalidLhs:fr.InvalidLhsBinding;return void this.raise(s,{at:e,ancestor:t})}const[l,h]=Array.isArray(c)?c:[c,"ParenthesizedExpression"===a],u="ArrayPattern"===a||"ObjectPattern"===a||"ParenthesizedExpression"===a?{type:a}:t;for(const t of[].concat(e[l]))t&&this.checkLVal(t,{in:u,binding:r,checkClashes:s,strictModeChanged:n,hasParenthesizedAncestor:h})}checkIdentifier(e,t,r=!1){this.state.strict&&(r?Lr(e.name,this.inModule):Ir(e.name))&&(t===Fr?this.raise(fr.StrictEvalArguments,{at:e,referenceName:e.name}):this.raise(fr.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})),8192&t&&"let"===e.name&&this.raise(fr.LetInLexicalBinding,{at:e}),t&Fr||this.declareNameFromIdentifier(e,t)}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(fr.InvalidRestAssignmentPattern,{at:e})}}checkCommaAfterRest(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?fr.RestTrailingComma:fr.ElementAfterRest,{at:this.state.startLoc}),!0)}}function Vs(e){if(!e)throw new Error("Assert fail")}const Ws=dr`typescript`({AbstractMethodHasImplementation:({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:e})=>`Property '${e}' 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.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:e})=>`'declare' is not allowed in ${e}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:e})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:e})=>`Duplicate modifier: '${e}'.`,EmptyHeritageClauseType:({token:e})=>`'${e}' 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'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`,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.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:e})=>`'${e}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",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:({modifier:e})=>`Private elements cannot have an accessibility modifier ('${e}').`,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.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",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:({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`});function zs(e){return"private"===e||"public"===e||"protected"===e}function Gs(e){return"in"===e||"out"===e}function Ks(e){if("MemberExpression"!==e.type)return!1;const{computed:t,property:r}=e;return(!t||"StringLiteral"===r.type||!("TemplateLiteral"!==r.type||r.expressions.length>0))&&Xs(e.object)}function Ys(e,t){var r;const{type:s}=e;if(null!=(r=e.extra)&&r.parenthesized)return!1;if(t){if("Literal"===s){const{value:t}=e;if("string"==typeof t||"boolean"==typeof t)return!0}}else if("StringLiteral"===s||"BooleanLiteral"===s)return!0;return!(!Js(e,t)&&!function(e,t){if("UnaryExpression"===e.type){const{operator:r,argument:s}=e;if("-"===r&&Js(s,t))return!0}return!1}(e,t))||"TemplateLiteral"===s&&0===e.expressions.length||!!Ks(e)}function Js(e,t){return t?"Literal"===e.type&&("number"==typeof e.value||"bigint"in e):"NumericLiteral"===e.type||"BigIntLiteral"===e.type}function Xs(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&Xs(e.object)}const Qs=dr`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});function Zs(e,t){const[r,s]="string"==typeof t?[t,{}]:t,n=Object.keys(s),i=0===n.length;return e.some((e=>{if("string"==typeof e)return i&&e===r;{const[t,i]=e;if(t!==r)return!1;for(const e of n)if(i[e]!==s[e])return!1;return!0}}))}function en(e,t,r){const s=e.find((e=>Array.isArray(e)?e[0]===t:e===t));return s&&Array.isArray(s)&&s.length>1?s[1][r]:null}const tn=["minimal","fsharp","hack","smart"],rn=["^^","@@","^","%","#"],sn=["hash","bar"],nn={estree:e=>class extends e{parse(){const e=yr(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(yr)),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;delete e.value,t.type="Literal",t.raw=t.extra.raw,t.value=t.extra.expressionValue;const r=e;return r.type="ExpressionStatement",r.expression=t,r.directive=t.extra.rawValue,delete t.extra,r}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,r,s,n){super.parseBlockBody(e,t,r,s,n);const i=e.directives.map((e=>this.directiveToStmt(e)));e.body=i.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),this.finishNode(e,"MethodDefinition")}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){const n=super.parseObjectProperty(e,t,r,s);return n&&(n.kind="init",n.type="Property"),n}isValidLVal(e,t,r){return"Property"===e?"value":super.isValidLVal(e,t,r)}isAssignable(e,t){return null!=e&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e,t=!1){if(null!=e&&this.isObjectProperty(e)){const{key:r,value:s}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(s,t)}else super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,t,r){"get"===e.kind||"set"===e.kind?this.raise(fr.PatternHasAccessor,{at:e.key}):e.method?this.raise(fr.PatternHasMethod,{at:e.key}):super.toAssignableObjectExpressionProp(e,t,r)}finishCallExpression(e,t){const r=super.finishCallExpression(e,t);var s;"Import"===r.callee.type&&(r.type="ImportExpression",r.source=r.arguments[0],this.hasPlugin("importAssertions")&&(r.attributes=null!=(s=r.arguments[1])?s:null),delete r.arguments,delete r.callee);return r}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e,t){const r=this.state.lastTokStartLoc,s=super.parseExport(e,t);switch(s.type){case"ExportAllDeclaration":s.exported=null;break;case"ExportNamedDeclaration":1===s.specifiers.length&&"ExportNamespaceSpecifier"===s.specifiers[0].type&&(s.type="ExportAllDeclaration",s.exported=s.specifiers[0].exported,delete s.specifiers);case"ExportDefaultDeclaration":{var n;const{declaration:e}=s;"ClassDeclaration"===(null==e?void 0:e.type)&&(null==(n=e.decorators)?void 0:n.length)>0&&e.start===s.start&&this.resetStartLocation(s,r)}}return s}parseSubscript(e,t,r,s){const n=super.parseSubscript(e,t,r,s);if(s.optionalChainMember){if("OptionalMemberExpression"!==n.type&&"OptionalCallExpression"!==n.type||(n.type=n.type.substring(8)),s.stop){const e=this.startNodeAtNode(n);return e.expression=n,this.finishNode(e,"ChainExpression")}}else"MemberExpression"!==n.type&&"CallExpression"!==n.type||(n.optional=!1);return n}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return"Property"===e.type&&"init"===e.kind&&!e.method}isObjectMethod(e){return e.method||"get"===e.kind||"set"===e.kind}finishNodeAt(e,t,r){return yr(super.finishNodeAt(e,t,r))}resetStartLocation(e,t){super.resetStartLocation(e,t),yr(e)}resetEndLocation(e,t=this.state.lastTokEndLoc){super.resetEndLocation(e,t),yr(e)}},jsx:e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(js.UnterminatedJsxContent,{at:this.state.startLoc});const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:return this.state.pos===this.state.start?void(60===r&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(r)):(e+=this.input.slice(t,this.state.pos),void this.finishToken(139,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:Jr(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(fr.UnterminatedString,{at:this.state.startLoc});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):Jr(s)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}t+=this.input.slice(r,this.state.pos++),this.finishToken(131,t)}jsxReadEntity(){const e=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;let e=10;120===this.codePointAtPos(this.state.pos)&&(e=16,++this.state.pos);const t=this.readInt(e,void 0,!1,"bail");if(null!==t&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(t)}else{let t=0,r=!1;for(;t++<10&&this.state.pos<this.length&&!(r=59==this.codePointAtPos(this.state.pos));)++this.state.pos;if(r){const t=this.input.slice(e,this.state.pos),r=Ds[t];if(++this.state.pos,r)return r}}return this.state.pos=e,"&"}jsxReadWord(){let e;const t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(Tr(e)||45===e);this.finishToken(138,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();return this.match(138)?e.name=this.state.value:zt(this.state.type)?e.name=Gt(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.startLoc,t=this.jsxParseIdentifier();if(!this.eat(14))return t;const r=this.startNodeAt(e);return r.namespace=t,r.name=this.jsxParseIdentifier(),this.finishNode(r,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.startLoc;let t=this.jsxParseNamespacedName();if("JSXNamespacedName"===t.type)return t;for(;this.eat(16);){const r=this.startNodeAt(e);r.object=t,r.property=this.jsxParseIdentifier(),t=this.finishNode(r,"JSXMemberExpression")}return t}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(wt.brace),this.next(),e=this.jsxParseExpressionContainer(e,wt.j_oTag),"JSXEmptyExpression"===e.expression.type&&this.raise(js.AttributeIsEmpty,{at:e}),e;case 140:case 131:return this.parseExprAtom();default:throw this.raise(js.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){const e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(wt.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,t){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{const t=this.parseExpression();e.expression=t}return this.setContext(t),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){const e=this.startNode();return this.match(5)?(this.setContext(wt.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(wt.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsxParseOpeningElementAt(e){const t=this.startNodeAt(e);return this.eat(141)?this.finishNode(t,"JSXOpeningFragment"):(t.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(t))}jsxParseOpeningElementAfterName(e){const t=[];for(;!this.match(56)&&!this.match(141);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(56),this.expect(141),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e){const t=this.startNodeAt(e);return this.eat(141)?this.finishNode(t,"JSXClosingFragment"):(t.name=this.jsxParseElementName(),this.expect(141),this.finishNode(t,"JSXClosingElement"))}jsxParseElementAt(e){const t=this.startNodeAt(e),r=[],s=this.jsxParseOpeningElementAt(e);let n=null;if(!s.selfClosing){e:for(;;)switch(this.state.type){case 140:if(e=this.state.startLoc,this.next(),this.eat(56)){n=this.jsxParseClosingElementAt(e);break e}r.push(this.jsxParseElementAt(e));break;case 139:r.push(this.parseExprAtom());break;case 5:{const e=this.startNode();this.setContext(wt.brace),this.next(),this.match(21)?r.push(this.jsxParseSpreadChild(e)):r.push(this.jsxParseExpressionContainer(e,wt.j_expr));break}default:this.unexpected()}Fs(s)&&!Fs(n)&&null!==n?this.raise(js.MissingClosingTagFragment,{at:n}):!Fs(s)&&Fs(n)?this.raise(js.MissingClosingTagElement,{at:n,openingTagName:Bs(s.name)}):Fs(s)||Fs(n)||Bs(n.name)!==Bs(s.name)&&this.raise(js.MissingClosingTagElement,{at:n,openingTagName:Bs(s.name)})}if(Fs(s)?(t.openingFragment=s,t.closingFragment=n):(t.openingElement=s,t.closingElement=n),t.children=r,this.match(47))throw this.raise(js.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return Fs(s)?this.finishNode(t,"JSXFragment"):this.finishNode(t,"JSXElement")}jsxParseElement(){const e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}setContext(e){const{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){return this.match(139)?this.parseLiteral(this.state.value,"JSXText"):this.match(140)?this.jsxParseElement():this.match(47)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(140),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){const t=this.curContext();if(t!==wt.j_expr){if(t===wt.j_oTag||t===wt.j_cTag){if(Pr(e))return void this.jsxReadWord();if(62===e)return++this.state.pos,void this.finishToken(141);if((34===e||39===e)&&t===wt.j_oTag)return void this.jsxReadString(e)}if(60===e&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1))return++this.state.pos,void this.finishToken(140);super.getTokenFromCode(e)}else this.jsxReadToken()}updateContext(e){const{context:t,type:r}=this.state;if(56===r&&140===e)t.splice(-2,2,wt.j_cTag),this.state.canStartJSXElement=!1;else if(140===r)t.push(wt.j_oTag);else if(141===r){const r=t[t.length-1];r===wt.j_oTag&&56===e||r===wt.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===wt.j_expr):(this.setContext(wt.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=Mt[r]}},flow:e=>class extends e{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return qr}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){131!==e&&13!==e&&28!==e&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){const t=Ms.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"}}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.startLoc;return this.next(),this.expectContextual(108),this.state.lastTokStart>t.index+1&&this.raise(Ns.UnexpectedSpaceBetweenModuloChecks,{at:t}),this.eat(10)?(e.value=super.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(54)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(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(47)?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.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){return this.match(80)?this.flowParseDeclareClass(e):this.match(68)?this.flowParseDeclareFunction(e):this.match(74)?this.flowParseDeclareVariable(e):this.eatContextual(125)?this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(Ns.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(e)):this.isContextual(128)?this.flowParseDeclareTypeAlias(e):this.isContextual(129)?this.flowParseDeclareOpaqueType(e):this.isContextual(127)?this.flowParseDeclareInterface(e):this.match(82)?this.flowParseDeclareExportDeclaration(e,t):void this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(131)?e.id=super.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(83)?(this.next(),this.isContextual(128)||this.match(87)||this.raise(Ns.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(e)):(this.expectContextual(123,Ns.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(Ns.DuplicateDeclareModuleExports,{at:e}),"ES"===s&&this.raise(Ns.AmbiguousDeclareModuleKind,{at:e}),s="CommonJS",n=!0):("CommonJS"===s&&this.raise(Ns.AmbiguousDeclareModuleKind,{at:e}),s="ES")})),e.kind=s||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!t){const e=this.state.value;throw this.raise(Ns.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:e,suggestion:Rs[e]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(129)?(e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129)?("ExportNamedDeclaration"===(e=this.parseExport(e,null)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e):void this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(109),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();const t=this.flowParseTypeAlias(e);return t.type="DeclareTypeAlias",t}flowParseDeclareOpaqueType(e){this.next();const t=this.flowParseOpaqueType(e,!0);return t.type="DeclareOpaqueType",t}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?17:jr,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(t){if(this.eatContextual(115))do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12));if(this.eatContextual(111))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(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(Ns.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(e,t,r){Os.has(e)&&this.raise(r?Ns.AssignReservedType:Ns.UnexpectedReservedType,{at:t,reservedType:e})}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,jr,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){return this.expectContextual(128),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,jr,e.id.loc.start),this.match(47)?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(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){const t=this.state.startLoc,r=this.startNode(),s=this.flowParseVariance(),n=this.flowParseTypeAnnotatableIdentifier();return r.name=n.name,r.variance=s,r.bound=n.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(Ns.MissingTypeParamDefault,{at:t}),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(140)?this.next():this.unexpected();let r=!1;do{const e=this.flowParseTypeParameter(r);t.params.push(e),e.default&&(r=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),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(47);const r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=r,this.expect(48),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(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();if(this.expectContextual(127),e.extends=[],this.eat(81))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(132)||this.match(131)?super.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(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(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(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(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(116)){const t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),i=this.state.startLoc,e=!1)}if(e&&this.isContextual(104)){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.loc.start),o.internalSlots.push(this.flowParseObjectTypeInternalSlot(h,t))):o.indexers.push(this.flowParseObjectTypeIndexer(h,t,u));else if(this.match(10)||this.match(47))null!=i&&this.unexpected(i),u&&this.unexpected(u.loc.start),o.callProperties.push(this.flowParseObjectTypeCallProperty(h,t));else{let e="init";(this.isContextual(98)||this.isContextual(103))&&Ht(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.lastTokStartLoc):o.properties.push(s)}this.flowObjectTypeSemicolon(),!a||this.match(8)||this.match(9)||this.raise(Ns.UnexpectedExplicitInexactInObject,{at:a})}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(Ns.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(Ns.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),s&&this.raise(Ns.InexactVariance,{at:s}),null):(i||this.raise(Ns.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),null!=r&&this.unexpected(r),s&&this.raise(Ns.SpreadVariance,{at:s}),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(47)||this.match(10)?(e.method=!0,null!=r&&this.unexpected(r),s&&this.unexpected(s.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),"get"!==n&&"set"!==n||this.flowCheckGetterSetterParams(e),!i&&"constructor"===e.key.name&&e.value.this&&this.raise(Ns.ThisParamBannedInConstructor,{at:e.value.this})):("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.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?Ns.GetterMayNotHaveThisParam:Ns.SetterMayNotHaveThisParam,{at:e.value.this}),r!==t&&this.raise("get"===e.kind?fr.BadGetterArity:fr.BadSetterArity,{at:e}),"set"===e.kind&&e.value.rest&&this.raise(fr.BadSetterRestParameter,{at:e})}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(e,t){null!=e||(e=this.state.startLoc);let r=t||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const t=this.startNodeAt(e);t.qualification=r,t.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(t,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,t){const r=this.startNodeAt(e);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,t),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();return this.expect(87),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=78===this.state.type;return 14===i.type||17===i.type?(o&&!e&&this.raise(Ns.ThisParamMustBeFirst,{at:n}),t=this.parseIdentifier(o),this.eat(17)&&(r=!0,o&&this.raise(Ns.ThisParamMayNotBeOptional,{at:n})),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.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(78)&&(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){switch(r.name){case"any":return this.finishNode(t,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(t,"BooleanTypeAnnotation");case"mixed":return this.finishNode(t,"MixedTypeAnnotation");case"empty":return this.finishNode(t,"EmptyTypeAnnotation");case"number":return this.finishNode(t,"NumberTypeAnnotation");case"string":return this.finishNode(t,"StringTypeAnnotation");case"symbol":return this.finishNode(t,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(r.name),this.flowParseGenericType(e,r)}}flowParsePrimaryType(){const e=this.state.startLoc,t=this.startNode();let r,s,n=!1;const i=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,s=this.flowParseTupleType(),this.state.noAnonFunctionType=i,s;case 47:return t.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),r=this.flowParseFunctionTypeParams(),t.params=r.params,t.rest=r.rest,t.this=r._this,this.expect(11),this.expect(19),t.returnType=this.flowParseType(),this.finishNode(t,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if($t(this.state.type)||this.match(78)){const e=this.lookahead().type;n=17!==e&&14!==e}else n=!0;if(n){if(this.state.noAnonFunctionType=!1,s=this.flowParseType(),this.state.noAnonFunctionType=i,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),s;this.eat(12)}return r=s?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(s)]):this.flowParseFunctionTypeParams(),t.params=r.params,t.rest=r.rest,t.this=r._this,this.expect(11),this.expect(19),t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return t.value=this.match(85),this.next(),this.finishNode(t,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(132))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",t);if(this.match(133))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",t);throw this.raise(Ns.UnexpectedSubtractionOperand,{at:this.state.startLoc})}return void this.unexpected();case 132:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(t,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(t,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(t,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(t,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(zt(this.state.type)){const e=Gt(this.state.type);return this.next(),super.createIdentifier(t,e)}if($t(this.state.type))return this.isContextual(127)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,t,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){const e=this.state.startLoc;let t=this.flowParsePrimaryType(),r=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const s=this.startNodeAt(e),n=this.eat(18);r=r||n,this.expect(0),!n&&this.match(3)?(s.elementType=t,this.next(),t=this.finishNode(s,"ArrayTypeAnnotation")):(s.objectType=t,s.indexType=this.flowParseType(),this.expect(3),r?(s.optional=n,t=this.finishNode(s,"OptionalIndexedAccessType")):t=this.finishNode(s,"IndexedAccessType"))}return t}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.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(45);const t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){const e=this.startNode();this.eat(43);const t=this.flowParseIntersectionType();for(e.types=[t];this.eat(43);)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(130===this.state.type&&"_"===this.state.value){const e=this.state.startLoc,t=this.parseIdentifier();return this.flowParseGenericType(e,t)}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.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)?(e=this.startNode(),"+"===this.state.value?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")):e}parseFunctionBody(e,t,r=!1){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}return super.parseFunctionBodyAndFinish(e,t,r)}parseStatementLike(e){if(this.state.strict&&this.isContextual(127)){if(qt(this.lookahead().type)){const e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(124)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}const t=super.parseStatementLike(e);return void 0!==this.flowPragma||this.isValidDirective(t)||(this.flowPragma=null),t}parseExpressionStatement(e,t,r){if("Identifier"===t.type)if("declare"===t.name){if(this.match(80)||$t(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if($t(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,r)}shouldParseExportDeclaration(){const{type:e}=this.state;return Wt(e)||this.shouldParseEnums()&&124===e?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;return Wt(e)||this.shouldParseEnums()&&124===e?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r){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(r),e}this.expect(17);const s=this.state.clone(),n=this.state.noArrowAt,i=this.startNodeAt(t);let{consequent:o,failed:a}=this.tryParseConditionalConsequent(),[c,l]=this.getArrowLikeExpressions(o);if(a||l.length>0){const e=[...n];if(l.length>0){this.state=s,this.state.noArrowAt=e;for(let t=0;t<l.length;t++)e.push(l[t].start);({consequent:o,failed:a}=this.tryParseConditionalConsequent()),[c,l]=this.getArrowLikeExpressions(o)}a&&c.length>1&&this.raise(Ns.AmbiguousConditionalArrow,{at:s.startLoc}),a&&1===c.length&&(this.state=s,e.push(c[0].start),this.state.noArrowAt=e,({consequent:o,failed:a}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=n,this.expect(14),i.test=e,i.consequent=o,i.alternate=this.forwardNoArrowParamsConversionAt(i,(()=>this.parseMaybeAssign(void 0,void 0))),this.finishNode(i,"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.trailingCommaLoc,!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){if(e=super.parseParenItem(e,t),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const r=this.startNodeAt(t);return r.expression=e,r.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(r,"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,t){const r=super.parseExport(e,t);return"ExportNamedDeclaration"!==r.type&&"ExportAllDeclaration"!==r.type||(r.exportKind=r.exportKind||"value"),r}parseExportDeclaration(e){if(this.isContextual(128)){e.exportKind="type";const t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(129)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(127)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.shouldParseEnums()&&this.isContextual(124)){e.exportKind="value";const t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(e)||!(!this.isContextual(128)||55!==this.lookahead().type)&&(e.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){const{startLoc:t}=this.state,r=super.maybeParseExportNamespaceSpecifier(e);return r&&"type"===e.exportKind&&this.unexpected(t),r}parseClassId(e,t,r){super.parseClassId(e,t,r),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,r){const{startLoc:s}=this.state;if(this.isContextual(123)){if(super.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(Ns.DeclareClassElement,{at:s}):t.value&&this.raise(Ns.DeclareClassFieldInitializer,{at:t.value}))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){const e=super.readWord1(),t="@@"+e;this.isIterator(e)&&this.state.inType||this.raise(fr.InvalidIdentifier,{at:this.state.curPosition(),identifierName:t}),this.finishToken(130,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);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,r){return 64===e&&64===t&&Pr(r)}(e,t,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e):this.finishOp(62===e?48:47,1)}isAssignable(e,t){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e,t=!1){t||"AssignmentExpression"!==e.type||"TypeCastExpression"!==e.left.type||(e.left=this.typeCastToParameter(e.left)),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))}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(Ns.TypeCastInPattern,{at:n.typeAnnotation})}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}isValidLVal(e,t,r){return"TypeCastExpression"===e||super.isValidLVal(e,t,r)}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(47)||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.loc.start),delete t.variance,this.match(47)&&(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(Ns.ThisParamBannedInConstructor,{at:t})}else if("MethodDefinition"===t.type&&n&&t.value.params){const e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Ns.ThisParamBannedInConstructor,{at:t})}}pushClassPrivateMethod(e,t,r,s){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,r,s)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(111)){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?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(Ns.GetterMayNotHaveThisParam,{at:r}):this.isThisParam(r)&&this.raise(Ns.SetterMayNotHaveThisParam,{at:r})}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,r,s,n,i,o){let a;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!i&&(a=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const c=super.parseObjPropValue(e,t,r,s,n,i,o);return a&&((c.value||c).typeParameters=a),c}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(Ns.PatternIsOptional,{at:e}),this.isThisParam(e)&&this.raise(Ns.ThisParamMayNotBeOptional,{at:e}),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(Ns.ThisParamAnnotationRequired,{at:e}),this.match(29)&&this.isThisParam(e)&&this.raise(Ns.ThisParamNoDefault,{at:e}),this.resetEndLocation(e),e}parseMaybeDefault(e,t){const r=super.parseMaybeDefault(e,t);return"AssignmentPattern"===r.type&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(Ns.TypeBeforeInitializer,{at:r.typeAnnotation}),r}shouldParseDefaultImport(e){return Is(e)?Ls(this.state.type):super.shouldParseDefaultImport(e)}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(Ns.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}parseImportSpecifierLocal(e,t,r){t.local=Is(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))}maybeParseDefaultImportSpecifier(e){e.importKind="value";let t=null;if(this.match(87)?t="typeof":this.isContextual(128)&&(t="type"),t){const r=this.lookahead(),{type:s}=r;"type"===t&&55===s&&this.unexpected(null,r.type),(Ls(s)||5===s||55===s)&&(this.next(),e.importKind=t)}return super.maybeParseDefaultImportSpecifier(e)}parseImportSpecifier(e,t,r,s,n){const i=e.imported;let o=null;"Identifier"===i.type&&("type"===i.name?o="type":"typeof"===i.name&&(o="typeof"));let a=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const t=this.parseIdentifier(!0);null===o||qt(this.state.type)?(e.imported=i,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=t,e.importKind=o,e.local=Cs(t))}else{if(null!==o&&qt(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=o;else{if(t)throw this.raise(fr.ImportBindingIsString,{at:e,importName:i.value});e.imported=i,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(a=!0,e.local=Cs(e.imported))}const c=Is(e);return r&&c&&this.raise(Ns.ImportTypeShorthandOnlyInPureImport,{at:e}),(r||c)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),!a||r||c||this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,"ImportSpecifier")}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(e,t){const r=e.kind;"get"!==r&&"set"!==r&&this.match(47)&&(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(140)||this.match(47))){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!==wt.j_oTag&&i!==wt.j_expr||r.pop()}if(null!=(r=s)&&r.error||this.match(47)){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(Ns.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:r}),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(Ns.UnexpectedTokenAfterTypeParameter,{at:r})}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,s=!0){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(Ns.ThisParamMustBeFirst,{at:e.params[t]});super.checkParams(e,t,r,s)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,r){if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t.index)){this.next();const r=this.startNodeAt(t);r.callee=e,r.arguments=super.parseCallExpressionArguments(11,!1),e=this.finishNode(r,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(47)){const s=this.state.clone(),n=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t)||e()),s);if(!n.error&&!n.aborted)return n.node;const i=this.tryParse((()=>super.parseSubscripts(e,t,r)),s);if(i.node&&!i.error)return i.node;if(n.node)return this.state=n.failState,n.node;if(i.node)return this.state=i.failState,i.node;throw n.error||i.error}return super.parseSubscripts(e,t,r)}parseSubscript(e,t,r,s){if(this.match(18)&&this.isLookaheadToken_lt()){if(s.optionalChainMember=!0,r)return s.stop=!0,e;this.next();const n=this.startNodeAt(t);return n.callee=e,n.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),n.arguments=this.parseCallExpressionArguments(11,!1),n.optional=!0,this.finishCallExpression(n,!0)}if(!r&&this.shouldParseTypes()&&this.match(47)){const r=this.startNodeAt(t);r.callee=e;const n=this.tryParse((()=>(r.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),r.arguments=super.parseCallExpressionArguments(11,!1),s.optionalChainMember&&(r.optional=!1),this.finishCallExpression(r,s.optionalChainMember))));if(n.node)return n.error&&(this.state=n.failState),n.node}return super.parseSubscript(e,t,r,s)}parseNewCallee(e){super.parseNewCallee(e);let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),e.typeArguments=t}parseAsyncArrowWithTypeParameters(e){const t=this.startNodeAt(e);if(this.parseFunctionParams(t,!1),this.parseArrow(t))return super.parseArrowExpression(t,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(Ns.UnterminatedFlowComment,{at:this.state.curPosition()}),r}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(Ns.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();const e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0)}}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(fr.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(Ns.EnumBooleanMemberNotInitialized,{at:e,memberName:r,enumName:t})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?Ns.EnumInvalidMemberInitializerSymbolType:Ns.EnumInvalidMemberInitializerPrimaryType:Ns.EnumInvalidMemberInitializerUnknownType,Object.assign({at:e},t))}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(Ns.EnumNumberMemberNotInitialized,{at:e,enumName:t,memberName:r})}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(Ns.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:t})}flowEnumMemberInit(){const e=this.state.startLoc,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{const r=this.parseNumericLiteral(this.state.value);return t()?{type:"number",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 131:{const r=this.parseStringLiteral(this.state.value);return t()?{type:"string",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 85:case 86:{const r=this.parseBooleanLiteral(this.match(85));return t()?{type:"boolean",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){const e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc: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.raise(Ns.EnumInvalidMemberName,{at:o,memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:e}),r.has(c)&&this.raise(Ns.EnumDuplicateMemberName,{at:o,memberName:c,enumName:e}),r.add(c);const l={enumName:e,explicitType:t,memberName:c};switch(i.id=o,a.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(a.loc,l,"boolean"),i.init=a.value,s.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(a.loc,l,"number"),i.init=a.value,s.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(a.loc,l,"string"),i.init=a.value,s.stringMembers.push(this.finishNode(i,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(a.loc,l);case"none":switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(a.loc,l);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(a.loc,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,{enumName:r});return t}for(const e of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:r});return e}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(101))return null;if(!$t(this.state.type))throw this.raise(Ns.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:e});const{value:t}=this.state;return this.next(),"boolean"!==t&&"number"!==t&&"string"!==t&&"symbol"!==t&&this.raise(Ns.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:e,invalidEnumType:t}),t}flowEnumBody(e,t){const r=t.name,s=t.loc.start,n=this.flowEnumParseExplicitType({enumName:r});this.expect(5);const{members:i,hasUnknownMembers:o}=this.flowEnumMembers({enumName:r,explicitType:n});switch(e.hasUnknownMembers=o,n){case"boolean":return e.explicitType=!0,e.members=i.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=i.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=i.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{const t=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;const n=i.booleanMembers.length,o=i.numberMembers.length,a=i.stringMembers.length,c=i.defaultedMembers.length;if(n||o||a||c){if(n||o){if(!o&&!a&&n>=c){for(const e of i.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name});return e.members=i.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!n&&!a&&o>=c){for(const e of i.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name});return e.members=i.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.raise(Ns.EnumInconsistentMemberValues,{at:s,enumName:r}),t()}return e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody")}return t()}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),t),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{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:Ws.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Ws.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Ws.InvalidModifierOnTypeParameter})}getScopeHandler(){return $s}tsIsIdentifier(){return $t(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(136)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!$t(this.state.type)&&58!==this.state.type&&75!==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({allowedModifiers:e,disallowedModifiers:t,stopOnStartOfClassStaticBlock:r,errorTemplate:s=Ws.InvalidModifierOnTypeMember},n){const i=(e,t,r,s)=>{t===r&&n[s]&&this.raise(Ws.InvalidModifiersOrder,{at:e,orderedModifiers:[r,s]})},o=(e,t,r,s)=>{(n[r]&&t===s||n[s]&&t===r)&&this.raise(Ws.IncompatibleModifiers,{at:e,modifiers:[r,s]})};for(;;){const{startLoc:a}=this.state,c=this.tsParseModifier(e.concat(null!=t?t:[]),r);if(!c)break;zs(c)?n.accessibility?this.raise(Ws.DuplicateAccessibilityModifier,{at:a,modifier:c}):(i(a,c,c,"override"),i(a,c,c,"static"),i(a,c,c,"readonly"),n.accessibility=c):Gs(c)?(n[c]&&this.raise(Ws.DuplicateModifier,{at:a,modifier:c}),n[c]=!0,i(a,c,"in","out")):(Object.hasOwnProperty.call(n,c)?this.raise(Ws.DuplicateModifier,{at:a,modifier: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")),n[c]=!0),null!=t&&t.includes(c)&&this.raise(s,{at:a,modifier: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(48)}}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(47));const i=this.tsParseDelimitedList(e,t,n);return r?this.expect(3):this.expect(48),i}tsParseImportType(){const e=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise(Ws.UnsupportedImportTypeArgument,{at:this.state.startLoc}),e.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(e=!0){let t=this.parseIdentifier(e);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(),!this.hasPrecedingLineBreak()&&this.match(47)&&(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(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){const t=this.startNode();return e(t),t.name=this.tsParseTypeParameterName(),t.constraint=this.tsEatThenParseType(81),t.default=this.tsEatThenParseType(29),this.finishNode(t,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){const t=this.startNode();this.match(47)||this.match(140)?this.next():this.unexpected();const r={value:-1};return t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,r),0===t.params.length&&this.raise(Ws.EmptyTypeParameters,{at:t}),-1!==r.value&&this.addExtra(t,"trailingComma",r.value),this.finishNode(t,"TSTypeParameterDeclaration")}tsFillSignature(e,t){const r=19===e;t.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(r||this.match(e))&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return super.parseBindingList(11,41,2).map((e=>("Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type&&this.raise(Ws.UnsupportedSignatureParameterKind,{at:e,type: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(),!!$t(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(47)){t&&this.raise(Ws.ReadonlyForMethodSignature,{at:e});const s=r;s.kind&&this.match(47)&&this.raise(Ws.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon();const n="parameters",i="typeAnnotation";if("get"===s.kind)s[n].length>0&&(this.raise(fr.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(s[n][0])&&this.raise(Ws.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if("set"===s.kind){if(1!==s[n].length)this.raise(fr.BadSetterArity,{at:this.state.curPosition()});else{const e=s[n][0];this.isThisParam(e)&&this.raise(Ws.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),"Identifier"===e.type&&e.optional&&this.raise(Ws.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),"RestElement"===e.type&&this.raise(Ws.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}s[i]&&this.raise(Ws.SetAccesorCannotHaveReturnType,{at:s[i]})}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(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){const t=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);return this.tsTryParseIndexSignature(e)||(super.parsePropertyName(e),e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||!this.tsTokenCanFollowModifier()||(e.kind=e.key.name,super.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(53)?this.isContextual(120):(this.isContextual(120)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(58))))}tsParseMappedTypeParameter(){const e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(120)):this.eatContextual(120)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(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=>{const{type:s}=e;!t||"TSRestType"===s||"TSOptionalType"===s||"TSNamedTupleMember"===s&&e.optional||this.raise(Ws.OptionalTypeBeforeRequired,{at:e}),t||(t="TSNamedTupleMember"===s&&e.optional||"TSOptionalType"===s);let n=s;"TSRestType"===s&&(n=(e=e.typeAnnotation).type);const i="TSNamedTupleMember"===n;null!=r||(r=i),r!==i&&this.raise(Ws.MixedLabeledAndUnlabeledElements,{at:e})})),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{startLoc:e}=this.state,t=this.eat(21);let r,s,n,i;const o=qt(this.state.type)?this.lookaheadCharCode():null;if(58===o)r=!0,n=!1,s=this.parseIdentifier(!0),this.expect(14),i=this.tsParseType();else if(63===o){n=!0;const e=this.state.startLoc,t=this.state.value,o=this.tsParseNonArrayType();58===this.lookaheadCharCode()?(r=!0,s=this.createIdentifier(this.startNodeAt(e),t),this.expect(17),this.expect(14),i=this.tsParseType()):(r=!1,i=o,this.expect(17))}else i=this.tsParseType(),n=this.eat(17),r=this.eat(14);if(r){let e;s?(e=this.startNodeAtNode(s),e.optional=n,e.label=s,e.elementType=i,this.eat(17)&&(e.optional=!0,this.raise(Ws.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(e=this.startNodeAtNode(i),e.optional=n,this.raise(Ws.InvalidTupleMemberLabel,{at:i}),e.label=i,e.elementType=this.tsParseType()),i=this.finishNode(e,"TSNamedTupleMember")}else if(n){const e=this.startNodeAtNode(i);e.typeAnnotation=i,i=this.finishNode(e,"TSOptionalType")}if(t){const t=this.startNodeAt(e);t.typeAnnotation=i,i=this.finishNode(t,"TSRestType")}return i}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.tsInAllowConditionalTypesContext((()=>this.tsFillSignature(19,r))),this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();return e.literal=(()=>{switch(this.state.type){case 132:case 133:case 131:case 85:case 86:return super.parseExprAtom();default:this.unexpected()}})(),this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();return this.isContextual(114)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){const e=this.startNode(),t=this.lookahead();return 132!==t.type&&133!==t.type&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83: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 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if($t(e)||88===e||84===e){const t=88===e?"TSVoidKeyword":84===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()}}}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(Ws.UnexpectedReadonly,{at:e})}}tsParseInferType(){const e=this.startNode();this.expectContextual(113);const t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsTryParse((()=>this.tsParseConstraintForInferType())),e.typeParameter=this.finishNode(t,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const e=this.tsInDisallowConditionalTypesContext((()=>this.tsParseType()));if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){var e;return(e=this.state.type)>=119&&e<=121&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>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),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if($t(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:e}=this.state,t=e.length;try{return this.parseObjectLike(8,!0),e.length===t}catch(e){return!1}}if(this.match(0)){this.next();const{errors:e}=this.state,t=e.length;try{return super.parseBindingList(3,93,1),e.length===t}catch(e){return!1}}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(29))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(78)){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(114)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(107!==this.state.type)return!1;const e=this.state.containsEsc;return this.next(),!(!$t(this.state.type)&&!this.match(78)||(e&&this.raise(fr.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),0))}tsParseTypeAnnotation(e=!0,t=this.startNode()){return this.tsInType((()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()})),this.finishNode(t,"TSTypeAnnotation")}tsParseType(){Vs(this.state.inType);const e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;const t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsInDisallowConditionalTypesContext((()=>this.tsParseNonConditionalType())),this.expect(17),t.trueType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.expect(14),t.falseType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(122)&&77===this.lookahead().type}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Ws.ReservedTypeAssertion,{at:this.state.startLoc});const e=this.startNode();return e.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType()))),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.startLoc,r=this.tsParseDelimitedList("HeritageClauseElement",(()=>{const e=this.startNode();return e.expression=this.tsParseEntityName(),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")}));return r.length||this.raise(Ws.EmptyHeritageClauseType,{at:t,token:e}),r}tsParseInterfaceDeclaration(e,t={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(127),t.declare&&(e.declare=!0),$t(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(Ws.MissingInterfaceName,{at:this.state.startLoc})),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));const r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType((()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(112)&&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}}tsInDisallowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=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(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t={}){return t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(124),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),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),super.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.checkIdentifier(e.id,1024),this.eat(16)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(Mr),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(110)?(e.global=!0,e.id=this.parseIdentifier()):this.match(131)?e.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(Mr),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.checkIdentifier(e.id,Dr),this.expect(29);const r=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==r.type&&this.raise(Ws.ImportAliasHasImportType,{at:r}),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const e=this.startNode();return this.expectContextual(117),this.expect(10),this.match(131)||this.unexpected(),e.expression=super.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(99)&&(r=74,t="let"),this.tsInAmbientContext((()=>{if(68===r)return e.declare=!0,super.parseFunctionStatement(e,!1,!1);if(80===r)return e.declare=!0,this.parseClass(e,!0,!1);if(124===r)return this.tsParseEnumDeclaration(e,{declare:!0});if(110===r)return this.tsParseAmbientExternalModuleDeclaration(e);if(75===r||74===r)return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0})):(e.declare=!0,this.parseVarStatement(e,t||this.state.value,!0));if(127===r){const t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}return $t(r)?this.tsParseDeclaration(e,this.state.value,!0,null):void 0}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,t,r){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(Mr),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,r)}}tsParseDeclaration(e,t,r,s){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||$t(this.state.type)))return this.tsParseAbstractDeclaration(e,s);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(e);if($t(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&$t(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&$t(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;const t=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const r=this.tsTryParseAndCatch((()=>{const t=this.startNodeAt(e);return t.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(t),t.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),t}));return this.state.maybeInArrowParameters=t,r?super.parseArrowExpression(r,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(47===this.reScan_lt())return this.tsParseTypeArguments()}tsParseTypeArguments(){const e=this.startNode();return e.params=this.tsInType((()=>this.tsInNoContext((()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))))),0===e.params.length&&this.raise(Ws.EmptyTypeArguments,{at:e}),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(e=this.state.type)>=122&&e<=128;var e}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.startLoc,s={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},s);const n=s.accessibility,i=s.override,o=s.readonly;4&e||!(n||o||i)||this.raise(Ws.UnexpectedParameterModifier,{at:r});const a=this.parseMaybeDefault();this.parseAssignableListItemTypes(a,e);const c=this.parseMaybeDefault(a.loc.start,a);if(n||o||i){const e=this.startNodeAt(r);return t.length&&(e.decorators=t),n&&(e.accessibility=n),o&&(e.readonly=o),i&&(e.override=i),"Identifier"!==c.type&&"AssignmentPattern"!==c.type&&this.raise(Ws.UnsupportedParameterPropertyKind,{at:e}),e.parameter=c,this.finishNode(e,"TSParameterProperty")}return t.length&&(a.decorators=t),c}isSimpleParameter(e){return"TSParameterProperty"===e.type&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(const t of e.params)"Identifier"!==t.type&&t.optional&&!this.state.isAmbientContext&&this.raise(Ws.PatternIsOptional,{at:t})}setArrowFunctionParameters(e,t,r){super.setArrowFunctionParameters(e,t,r),this.tsDisallowOptionalPattern(e)}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;return s&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,s):"TSDeclareFunction"===s&&this.state.isAmbientContext&&(this.raise(Ws.DeclareFunctionHasImplementation,{at:e}),e.declare)?super.parseFunctionBodyAndFinish(e,s,r):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,t,r))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{"TSTypeCastExpression"===(null==e?void 0:e.type)&&this.raise(Ws.UnexpectedTypeAnnotation,{at:e.typeAnnotation})}))}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,t,r,s){const n=super.parseArrayLike(e,t,r,s);return"ArrayExpression"===n.type&&this.tsCheckForInvalidTypeCasts(n.elements),n}parseSubscript(e,t,r,s){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const r=this.startNodeAt(t);return r.expression=e,this.finishNode(r,"TSNonNullExpression")}let n=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(r)return s.stop=!0,e;s.optionalChainMember=n=!0,this.next()}if(this.match(47)||this.match(51)){let i;const o=this.tsTryParseAndCatch((()=>{if(!r&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t);if(e)return e}const o=this.tsParseTypeArgumentsInExpression();if(!o)return;if(n&&!this.match(10))return void(i=this.state.curPosition());if(Yt(this.state.type)){const r=super.parseTaggedTemplateExpression(e,t,s);return r.typeParameters=o,r}if(!r&&this.eat(10)){const r=this.startNodeAt(t);return r.callee=e,r.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(r.arguments),r.typeParameters=o,s.optionalChainMember&&(r.optional=n),this.finishCallExpression(r,s.optionalChainMember)}const a=this.state.type;if(48===a||52===a||10!==a&&Vt(a)&&!this.hasPrecedingLineBreak())return;const c=this.startNodeAt(t);return c.expression=e,c.typeParameters=o,this.finishNode(c,"TSInstantiationExpression")}));if(i&&this.unexpected(i,10),o)return"TSInstantiationExpression"===o.type&&(this.match(16)||this.match(18)&&40!==this.lookaheadCharCode())&&this.raise(Ws.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),o}return super.parseSubscript(e,t,r,s)}parseNewCallee(e){var t;super.parseNewCallee(e);const{callee:r}=e;"TSInstantiationExpression"!==r.type||null!=(t=r.extra)&&t.parenthesized||(e.typeParameters=r.typeParameters,e.callee=r.expression)}parseExprOp(e,t,r){let s;if(Kt(58)>r&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(s=this.isContextual(118)))){const n=this.startNodeAt(t);return n.expression=e,n.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?(s&&this.raise(fr.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType()))),this.finishNode(n,s?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(n,t,r)}return super.parseExprOp(e,t,r)}checkReservedWord(e,t,r,s){this.state.isAmbientContext||super.checkReservedWord(e,t,r,s)}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(Ws.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}checkDuplicateExports(){}parseImport(e){if(e.importKind="value",$t(this.state.type)||this.match(55)||this.match(5)){let t=this.lookahead();if(this.isContextual(128)&&12!==t.type&&97!==t.type&&29!==t.type&&(e.importKind="type",this.next(),t=this.lookahead()),$t(this.state.type)&&29===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(Ws.TypeImportCannotSpecifyDefaultAndNamed,{at:t}),t}parseExport(e,t){if(this.match(83))return this.next(),this.isContextual(128)&&61!==this.lookaheadCharCode()?(e.importKind="type",this.next()):e.importKind="value",this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(29)){const t=e;return t.expression=super.parseExpression(),this.semicolon(),this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(93)){const t=e;return this.expectContextual(126),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}if(e.exportKind="value",this.isContextual(128)){const t=this.lookaheadCharCode();123!==t&&42!==t||(this.next(),e.exportKind="type")}return super.parseExport(e,t)}isAbstractClass(){return this.isContextual(122)&&80===this.lookahead().type}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(127)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t,r=!1){const{isAmbientContext:s}=this.state,n=super.parseVarStatement(e,t,r||s);if(!s)return n;for(const{id:e,init:r}of n.declarations)r&&("const"!==t||e.typeAnnotation?this.raise(Ws.InitializerNotAllowedInAmbientContext,{at:r}):Ys(r,this.hasPlugin("estree"))||this.raise(Ws.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:r}));return n}parseStatementContent(e,t){if(this.match(75)&&this.isLookaheadContextual("enum")){const e=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(e,{const:!0})}if(this.isContextual(124))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(127)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some((t=>zs(t)?e.accessibility===t:!!e[t]))}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&123===this.lookaheadCharCode()}parseClassMember(e,t,r){const s=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:s,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Ws.InvalidModifierOnTypeParameterPositions},t);const n=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,s)&&this.raise(Ws.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.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(Ws.IndexSignatureHasAbstract,{at:t}),t.accessibility&&this.raise(Ws.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility}),t.declare&&this.raise(Ws.IndexSignatureHasDeclare,{at:t}),void(t.override&&this.raise(Ws.IndexSignatureHasOverride,{at:t}));!this.state.inAbstractClass&&t.abstract&&this.raise(Ws.NonAbstractClassHasAbstractMethod,{at:t}),t.override&&(r.hadSuperClass||this.raise(Ws.OverrideNotInSubClass,{at:t})),super.parseClassMemberWithIsStatic(e,t,r,s)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(Ws.ClassMethodHasReadonly,{at:e}),e.declare&&this.match(10)&&this.raise(Ws.ClassMethodHasDeclare,{at:e})}parseExpressionStatement(e,t,r){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t,r):void 0)||super.parseExpressionStatement(e,t,r)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,r){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,r);const s=this.tryParse((()=>super.parseConditional(e,t)));return s.node?(s.error&&(this.state=s.failState),s.node):(s.error&&super.setOptionalParametersError(r,s.error),e)}parseParenItem(e,t){if(e=super.parseParenItem(e,t),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const r=this.startNodeAt(t);return r.expression=e,r.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(123))return this.tsInAmbientContext((()=>this.parseExportDeclaration(e)));const t=this.state.startLoc,r=this.eatContextual(123);if(r&&(this.isContextual(123)||!this.shouldParseExportDeclaration()))throw this.raise(Ws.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});const s=$t(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return s?(("TSInterfaceDeclaration"===s.type||"TSTypeAliasDeclaration"===s.type||r)&&(e.exportKind="type"),r&&(this.resetStartLocation(s,t),s.declare=!0),s):null}parseClassId(e,t,r,s){if((!t||r)&&this.isContextual(111))return;super.parseClassId(e,t,r,e.declare?1024:8331);const n=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);n&&(e.typeParameters=n)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));const t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&(!e.readonly||e.typeAnnotation)&&this.match(29)&&this.raise(Ws.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),e.abstract&&this.match(29)){const{key:t}=e;this.raise(Ws.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:"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(Ws.PrivateElementHasAbstract,{at:e}),e.accessibility&&this.raise(Ws.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(Ws.AccessorCannotBeOptional,{at:e}),super.parseClassAccessorProperty(e)}pushClassMethod(e,t,r,s,n,i){const o=this.tsTryParseTypeParameters(this.tsParseConstModifier);o&&n&&this.raise(Ws.ConstructorHasTypeParameters,{at:o});const{declare:a=!1,kind:c}=t;!a||"get"!==c&&"set"!==c||this.raise(Ws.DeclareAccessor,{at:t,kind:c}),o&&(t.typeParameters=o),super.pushClassMethod(e,t,r,s,n,i)}pushClassPrivateMethod(e,t,r,s){const n=this.tsTryParseTypeParameters(this.tsParseConstModifier);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(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(111)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,t,r,s,n,i,o){const a=this.tsTryParseTypeParameters(this.tsParseConstModifier);return a&&(e.typeParameters=a),super.parseObjPropValue(e,t,r,s,n,i,o)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters(this.tsParseConstModifier);r&&(e.typeParameters=r),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),"Identifier"===e.id.type&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(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,t){var r,s,n,i,o,a,c;let l,h,u,p;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(l=this.state.clone(),h=this.tryParse((()=>super.parseMaybeAssign(e,t)),l),!h.error)return h.node;const{context:r}=this.state,s=r[r.length-1];s!==wt.j_oTag&&s!==wt.j_expr||r.pop()}if(!(null!=(r=h)&&r.error||this.match(47)))return super.parseMaybeAssign(e,t);l&&l!==this.state||(l=this.state.clone());const d=this.tryParse((r=>{var s,n;p=this.tsParseTypeParameters(this.tsParseConstModifier);const i=super.parseMaybeAssign(e,t);return("ArrowFunctionExpression"!==i.type||null!=(s=i.extra)&&s.parenthesized)&&r(),0!==(null==(n=p)?void 0:n.params.length)&&this.resetStartLocationFromNode(i,p),i.typeParameters=p,i}),l);if(!d.error&&!d.aborted)return p&&this.reportReservedArrowTypeParam(p),d.node;if(!h&&(Vs(!this.hasPlugin("jsx")),u=this.tryParse((()=>super.parseMaybeAssign(e,t)),l),!u.error))return u.node;if(null!=(s=h)&&s.node)return this.state=h.failState,h.node;if(d.node)return this.state=d.failState,p&&this.reportReservedArrowTypeParam(p),d.node;if(null!=(n=u)&&n.node)return this.state=u.failState,u.node;if(null!=(i=h)&&i.thrown)throw h.error;if(d.thrown)throw d.error;if(null!=(o=u)&&o.thrown)throw u.error;throw(null==(a=h)?void 0:a.error)||d.error||(null==(c=u)?void 0:c.error)}reportReservedArrowTypeParam(e){var t;1!==e.params.length||e.params[0].constraint||null!=(t=e.extra)&&t.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(Ws.ReservedArrowTypeParam,{at:e})}parseMaybeUnary(e,t){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,t)}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,t){if(!(2&t))return e;this.eat(17)&&(e.optional=!0);const r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),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"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,t);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":t?this.expressionScope.recordArrowParameterBindingError(Ws.UnexpectedTypeCastInParameter,{at:e}):this.raise(Ws.UnexpectedTypeCastInParameter,{at:e}),this.toAssignable(e.expression,t);break;case"AssignmentExpression":t||"TSTypeCastExpression"!==e.left.type||(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,r){return s={TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(r!==Fr||!t)&&["expression",!0],TSSatisfiesExpression:(r!==Fr||!t)&&["expression",!0],TSTypeAssertion:(r!==Fr||!t)&&["expression",!0]},n=e,Object.hasOwnProperty.call(s,n)&&s[n]||super.isValidLVal(e,t,r);var s,n}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){const t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const r=super.parseMaybeDecoratorArguments(e);return r.typeParameters=t,r}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,t){const r=super.parseMaybeDefault(e,t);return"AssignmentPattern"===r.type&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(Ws.TypeAnnotationAfterAssign,{at:r.typeAnnotation}),r}getTokenFromCode(e){if(this.state.inType){if(62===e)return void this.finishOp(48,1);if(60===e)return void this.finishOp(47,1)}super.getTokenFromCode(e)}reScan_lt_gt(){const{type:e}=this.state;47===e?(this.state.pos-=1,this.readToken_lt()):48===e&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:e}=this.state;return 51===e?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableList(e,t,r){for(let t=0;t<e.length;t++){const r=e[t];"TSTypeCastExpression"===(null==r?void 0:r.type)&&(e[t]=this.typeCastToParameter(r))}super.toAssignableList(e,t,r)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,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(47)||this.match(51)){const t=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));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,r){const s=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,t,r)}finally{this.state.inAbstractClass=s}}tsParseAbstractDeclaration(e,t){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(t,this.parseClass(e,!0,!1));if(this.isContextual(127)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(Ws.NonClassMethodPropertyHasAbstractModifer,{at:e}),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,t,r,s,n,i,o){const a=super.parseMethod(e,t,r,s,n,i,o);if(a.abstract&&(this.hasPlugin("estree")?a.value.body:a.body)){const{key:e}=a;this.raise(Ws.AbstractMethodHasImplementation,{at:a,methodName:"Identifier"!==e.type||a.computed?`[${this.input.slice(e.start,e.end)}]`:e.name})}return a}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,n){return!t&&s?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,r,s,r?4098:Dr))}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.loc.start;if(this.isContextual(93)){const e=this.parseIdentifier();if(this.isContextual(93)){const r=this.parseIdentifier();qt(this.state.type)?(a=!0,o=e,i=t?this.parseIdentifier():this.parseModuleExportName(),c=!1):(i=r,c=!1)}else qt(this.state.type)?(c=!1,i=t?this.parseIdentifier():this.parseModuleExportName()):(a=!0,o=e)}else qt(this.state.type)&&(a=!0,t?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());a&&r&&this.raise(t?Ws.TypeModifierIsUsedInTypeImports:Ws.TypeModifierIsUsedInTypeExports,{at:l}),e[s]=o,e[n]=i,e[t?"importKind":"exportKind"]=a?"type":"value",c&&this.eatContextual(93)&&(e[n]=t?this.parseIdentifier():this.parseModuleExportName()),e[n]||(e[n]=Cs(e[s])),t&&this.checkIdentifier(e[n],a?4098:Dr)}},v8intrinsic:e=>class extends e{parseV8Intrinsic(){if(this.match(54)){const e=this.state.startLoc,t=this.startNode();if(this.next(),$t(this.state.type)){const e=this.parseIdentifierName(),r=this.createIdentifier(t,e);if(r.type="V8IntrinsicIdentifier",this.match(10))return r}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}},placeholders:e=>class extends e{parsePlaceholder(e){if(this.match(142)){const t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(142),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){37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(142,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,t,r,s){void 0!==e&&super.checkReservedWord(e,t,r,s)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,t,r){return"Placeholder"===e||super.isValidLVal(e,t,r)}toAssignable(e,t){e&&"Placeholder"===e.type&&"Expression"===e.expectedNode?e.expectedNode="Pattern":super.toAssignable(e,t)}chStartsBindingIdentifier(e,t){return!!super.chStartsBindingIdentifier(e,t)||142===this.lookahead().type}verifyBreakContinue(e,t){e.label&&"Placeholder"===e.label.type||super.verifyBreakContinue(e,t)}parseExpressionStatement(e,t){if("Placeholder"!==t.type||t.extra&&t.extra.parenthesized)return super.parseExpressionStatement(e,t);if(this.match(14)){const r=e;return r.label=this.finishPlaceholder(t,"Identifier"),this.next(),r.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(r,"LabeledStatement")}return this.semicolon(),e.name=t.name,this.finishPlaceholder(e,"Statement")}parseBlock(e,t,r){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,t,r)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,t,r){const s=t?"ClassDeclaration":"ClassExpression";this.next();const n=this.state.strict,i=this.parsePlaceholder("Identifier");if(i){if(!(this.match(81)||this.match(142)||this.match(5))){if(r||!t)return e.id=null,e.body=this.finishPlaceholder(i,"ClassBody"),this.finishNode(e,s);throw this.raise(Qs.ClassNameIsRequired,{at:this.state.startLoc})}e.id=i}else this.parseClassId(e,t,r);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,n),this.finishNode(e,s)}parseExport(e,t){const r=this.parsePlaceholder("Identifier");if(!r)return super.parseExport(e,t);if(!this.isContextual(97)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(r,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const s=this.startNode();return s.exported=r,e.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")],super.parseExport(e,t)}isExportDefaultSpecifier(){if(this.match(65)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(Gt(142),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){return!!(e.specifiers&&e.specifiers.length>0)||super.maybeParseExportDefaultSpecifier(e)}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(e);if(e.specifiers=[],!this.isContextual(97)&&!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,e.specifiers.push(this.finishNode(r,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(97),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(Qs.UnexpectedSpace,{at:this.state.lastTokEndLoc})}}},on=Object.keys(nn);class an extends Hs{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(fr.RecordNoProto,{at:n});r.used&&(s?null===s.doubleProtoLoc&&(s.doubleProtoLoc=n.loc.start):this.raise(fr.DuplicateProto,{at:n})),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(137)||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.startLoc,r=this.parseMaybeAssign(e);if(this.match(12)){const s=this.startNodeAt(t);for(s.expressions=[r];this.eat(12);)s.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(s.expressions),this.finishNode(s,"SequenceExpression")}return r}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.optionalParametersLoc=null!=(r=null==t?void 0:t.loc)?r:this.state.startLoc}parseMaybeAssign(e,t){const r=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,r)),e}let s;e?s=!1:(e=new Ps,s=!0);const{type:n}=this.state;(10===n||$t(n))&&(this.state.potentialArrowAt=this.state.start);let i=this.parseMaybeConditional(e);if(t&&(i=t.call(this,i,r)),(o=this.state.type)>=29&&o<=33){const t=this.startNodeAt(r),s=this.state.value;if(t.operator=s,this.match(29)){this.toAssignable(i,!0),t.left=i;const s=r.index;null!=e.doubleProtoLoc&&e.doubleProtoLoc.index>=s&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=s&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=s&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null)}else t.left=i;return this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(i,{in:this.finishNode(t,"AssignmentExpression")}),t}var o;return s&&this.checkExpressionErrors(e,!0),i}parseMaybeConditional(e){const t=this.state.startLoc,r=this.state.potentialArrowAt,s=this.parseExprOps(e);return this.shouldExitDescending(s,r)?s:this.parseConditional(s,t,e)}parseConditional(e,t,r){if(this.eat(17)){const r=this.startNodeAt(t);return r.test=e,r.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),r.alternate=this.parseMaybeAssign(),this.finishNode(r,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){const t=this.state.startLoc,r=this.state.potentialArrowAt,s=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(s,r)?s:this.parseExprOp(s,t,-1)}parseExprOp(e,t,r){if(this.isPrivateName(e)){const t=this.getPrivateNameSV(e);(r>=Kt(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(fr.PrivateInExpectedIn,{at:e,identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}const s=this.state.type;if((n=s)>=39&&n<=59&&(this.prodParam.hasIn||!this.match(58))){let n=Kt(s);if(n>r){if(39===s){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}const i=this.startNodeAt(t);i.left=e,i.operator=this.state.value;const o=41===s||42===s,a=40===s;if(a&&(n=Kt(42)),this.next(),39===s&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(fr.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});i.right=this.parseExprOpRightExpr(s,n);const c=this.finishNode(i,o||a?"LogicalExpression":"BinaryExpression"),l=this.state.type;if(a&&(41===l||42===l)||o&&40===l)throw this.raise(fr.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(c,t,r)}}var n;return e}parseExprOpRightExpr(e,t){const r=this.state.startLoc;if(39===e)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((()=>this.parseHackPipeBody()));case"smart":return this.withTopicBindingContext((()=>{if(this.prodParam.hasYield&&this.isContextual(106))throw this.raise(fr.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),r)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){const r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,57===e?t-1:t)}parseHackPipeBody(){var e;const{startLoc:t}=this.state,r=this.parseMaybeAssign();return!cr.has(r.type)||null!=(e=r.extra)&&e.parenthesized||this.raise(fr.PipeUnparenthesizedBody,{at:t,type:r.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(fr.PipeTopicUnused,{at:t}),r}checkExponentialAfterUnary(e){this.match(57)&&this.raise(fr.UnexpectedTokenUnaryExponentiation,{at:e.argument})}parseMaybeUnary(e,t){const r=this.state.startLoc,s=this.isContextual(96);if(s&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r);return t||this.checkExponentialAfterUnary(e),e}const n=this.match(34),i=this.startNode();if(o=this.state.type,jt[o]){i.operator=this.state.value,i.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const r=this.match(89);if(this.next(),i.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&r){const e=i.argument;"Identifier"===e.type?this.raise(fr.StrictDelete,{at:i}):this.hasPropertyAsPrivateName(e)&&this.raise(fr.DeletePrivateField,{at:i})}if(!n)return t||this.checkExponentialAfterUnary(i),this.finishNode(i,"UnaryExpression")}var o;const a=this.parseUpdate(i,n,e);if(s){const{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?Vt(e):Vt(e)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(fr.AwaitNotInAsyncContext,{at:r}),this.parseAwait(r)}return a}parseUpdate(e,t,r){if(t){const t=e;return this.checkLVal(t.argument,{in:this.finishNode(t,"UpdateExpression")}),e}const s=this.state.startLoc;let n=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return n;for(;34===this.state.type&&!this.canInsertSemicolon();){const e=this.startNodeAt(s);e.operator=this.state.value,e.prefix=!1,e.argument=n,this.next(),this.checkLVal(n,{in:n=this.finishNode(e,"UpdateExpression")})}return n}parseExprSubscripts(e){const t=this.state.startLoc,r=this.state.potentialArrowAt,s=this.parseExprAtom(e);return this.shouldExitDescending(s,r)?s:this.parseSubscripts(s,t)}parseSubscripts(e,t,r){const s={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,r,s),s.maybeAsyncArrow=!1}while(!s.stop);return e}parseSubscript(e,t,r,s){const{type:n}=this.state;if(!r&&15===n)return this.parseBind(e,t,r,s);if(Yt(n))return this.parseTaggedTemplateExpression(e,t,s);let i=!1;if(18===n){if(r&&(this.raise(fr.OptionalChainingNoNew,{at:this.state.startLoc}),40===this.lookaheadCharCode()))return s.stop=!0,e;s.optionalChainMember=i=!0,this.next()}if(!r&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,s,i);{const r=this.eat(0);return r||i||this.eat(16)?this.parseMember(e,t,s,r,i):(s.stop=!0,e)}}parseMember(e,t,r,s,n){const i=this.startNodeAt(t);return i.object=e,i.computed=s,s?(i.property=this.parseExpression(),this.expect(3)):this.match(136)?("Super"===e.type&&this.raise(fr.SuperPrivateField,{at:t}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),i.property=this.parsePrivateName()):i.property=this.parseIdentifier(!0),r.optionalChainMember?(i.optional=n,this.finishNode(i,"OptionalMemberExpression")):this.finishNode(i,"MemberExpression")}parseBind(e,t,r,s){const n=this.startNodeAt(t);return n.object=e,this.next(),n.callee=this.parseNoCallExpr(),s.stop=!0,this.parseSubscripts(this.finishNode(n,"BindExpression"),t,r)}parseCoverCallAndAsyncArrowHead(e,t,r,s){const n=this.state.maybeInArrowParameters;let i=null;this.state.maybeInArrowParameters=!0,this.next();const o=this.startNodeAt(t);o.callee=e;const{maybeAsyncArrow:a,optionalChainMember:c}=r;a&&(this.expressionScope.enter(new vs(2)),i=new Ps),c&&(o.optional=s),o.arguments=s?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,o,i);let l=this.finishCallExpression(o,c);return a&&this.shouldParseAsyncArrow()&&!s?(r.stop=!0,this.checkDestructuringPrivate(i),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),l=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),l)):(a&&(this.checkExpressionErrors(i,!0),this.expressionScope.exit()),this.toReferencedArguments(l)),this.state.maybeInArrowParameters=n,l}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r){const s=this.startNodeAt(t);return s.tag=e,s.quasi=this.parseTemplate(!0),r.optionalChainMember&&this.raise(fr.OptionalChainingNoTemplate,{at:t}),this.finishNode(s,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEndLoc.index===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(fr.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(const t of e.arguments)"SpreadElement"===t.type&&this.raise(fr.ImportCallSpreadArgument,{at:t});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(fr.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),s&&this.addTrailingCommaExtraToNode(s),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.trailingCommaLoc),t.innerComments&&Wr(e,t.innerComments),t.callee.trailingComments&&Wr(e,t.callee.trailingComments),e}parseNoCallExpr(){const e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}parseExprAtom(e){let t,r=null;const{type:s}=this.state;switch(s){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(fr.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(t,"Import"));case 78:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 132:return this.parseNumericLiteral(this.state.value);case 133:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseDecimalLiteral(this.state.value);case 131:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86: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 68:return this.parseFunctionOrFunctionSent();case 26:r=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(r,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24: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(fr.UnsupportedBind,{at:e})}case 136:return this.raise(fr.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{const e=this.getPluginOption("pipelineOperator","proposal");if(e)return this.parseTopicReference(e);this.unexpected();break}case 47:{const e=this.input.codePointAt(this.nextTokenStart());Pr(e)||62===e?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if($t(s)){if(this.isContextual(125)&&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(68===e)return this.resetPreviousNodeTrailingComments(r),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(r));if($t(e))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(r)):r;if(90===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}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=er(this.state.endLoc,-1),this.parseTopicReference(r);this.unexpected()}parseTopicReference(e){const t=this.startNode(),r=this.state.startLoc,s=this.state.type;return this.next(),this.finishTopicReference(t,r,e,s)}finishTopicReference(e,t,r,s){if(this.testTopicReferenceConfiguration(r,t,s)){const s="smart"===r?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise("smart"===r?fr.PrimaryTopicNotAllowed:fr.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(e,s)}throw this.raise(fr.PipeTopicUnconfiguredToken,{at:t,token:Gt(s)})}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Gt(r)}]);case"smart":return 27===r;default:throw this.raise(fr.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(Es(!0,this.prodParam.hasYield));const t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(fr.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(e,t,!0)}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(fr.UnexpectedSuper,{at:e}):this.raise(fr.SuperNotAllowed,{at:e}),this.match(10)||this.match(0)||this.match(16)||this.raise(fr.UnsupportedSuper,{at:e}),this.finishNode(e,"Super")}parsePrivateName(){const e=this.startNode(),t=this.startNodeAt(er(this.state.startLoc,1)),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(102)?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(fr.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:r}),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(fr.ImportMetaOutsideModule,{at:t}),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.startLoc;let r;this.next(),this.expressionScope.enter(new vs(1));const s=this.state.maybeInArrowParameters,n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const i=this.state.startLoc,o=[],a=new Ps;let c,l,h=!0;for(;!this.match(11);){if(h)h=!1;else if(this.expect(12,null===a.optionalParametersLoc?null:a.optionalParametersLoc),this.match(11)){l=this.state.startLoc;break}if(this.match(21)){const e=this.state.startLoc;if(c=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),e)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowIn(a,this.parseParenItem))}const u=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=s,this.state.inFSharpPipelineDirectBody=n;let p=this.startNodeAt(t);return e&&this.shouldParseArrow(o)&&(p=this.parseArrow(p))?(this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(p,o,!1),p):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),l&&this.unexpected(l),c&&this.unexpected(c),this.checkExpressionErrors(a,!0),this.toReferencedListDeep(o,!0),o.length>1?(r=this.startNodeAt(i),r.expressions=o,this.finishNode(r,"SequenceExpression"),this.resetEndLocation(r,u)):r=o[0],this.wrapParenthesis(t,r))}wrapParenthesis(e,t){if(!this.options.createParenthesizedExpressions)return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;const r=this.startNodeAt(e);return r.expression=t,this.finishNode(r,"ParenthesizedExpression")}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t){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.options.allowNewTargetOutsideFunction||this.raise(fr.UnexpectedNewTarget,{at:r}),r}return this.parseNew(e)}parseNew(e){if(this.parseNewCallee(e),this.eat(10)){const t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,"NewExpression")}parseNewCallee(e){e.callee=this.parseNoCallExpr(),"Import"===e.callee.type&&this.raise(fr.ImportCallNotNewExpression,{at:e.callee})}parseTemplateElement(e){const{start:t,startLoc:r,end:s,value:n}=this.state,i=t+1,o=this.startNodeAt(er(r,1));null===n&&(e||this.raise(fr.InvalidEscapeSequenceTemplate,{at:er(this.state.firstInvalidTemplateEscapePos,1)}));const a=this.match(24),c=a?-1:-2,l=s+c;o.value={raw:this.input.slice(i,l).replace(/\r\n?/g,"\n"),cooked:null===n?null:n.slice(1,c)},o.tail=a,this.next();const h=this.finishNode(o,"TemplateElement");return this.resetEndLocation(h,er(this.state.lastTokEndLoc,c)),h}parseTemplate(e){const t=this.startNode();t.expressions=[];let r=this.parseTemplateElement(e);for(t.quasis=[r];!r.tail;)t.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),t.quasis.push(r=this.parseTemplateElement(e));return 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.addTrailingCommaExtraToNode(a);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(fr.InvalidRecordProperty,{at:n}),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)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStart),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(fr.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());const r=this.startNode();let s,n=!1,i=!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.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(r);const a=this.state.containsEsc,c=this.parsePropertyName(r,e);if(!o&&!a&&this.maybeAsyncOrAccessorProp(r)){const e=c.name;"async"!==e||this.hasPrecedingLineBreak()||(n=!0,this.resetPreviousNodeTrailingComments(c),o=this.eat(55),this.parsePropertyName(r)),"get"!==e&&"set"!==e||(i=!0,this.resetPreviousNodeTrailingComments(c),r.kind=e,this.match(55)&&(o=!0,this.raise(fr.AccessorIsGenerator,{at:this.state.curPosition(),kind:e}),this.next()),this.parsePropertyName(r))}return this.parseObjPropValue(r,s,o,n,!1,i,e)}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);s.length!==r&&this.raise("get"===e.kind?fr.BadGetterArity:fr.BadSetterArity,{at:e}),"set"===e.kind&&"RestElement"===(null==(t=s[s.length-1])?void 0:t.type)&&this.raise(fr.BadSetterRestParameter,{at:e})}parseObjectMethod(e,t,r,s,n){if(n){const r=this.parseMethod(e,t,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(r),r}if(r||t||this.match(10))return s&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")}parseObjectProperty(e,t,r,s){if(e.shorthand=!1,this.eat(14))return e.value=r?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(s),this.finishNode(e,"ObjectProperty");if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),r)e.value=this.parseMaybeDefault(t,Cs(e.key));else if(this.match(29)){const r=this.state.startLoc;null!=s?null===s.shorthandAssignLoc&&(s.shorthandAssignLoc=r):this.raise(fr.InvalidCoverInitializedName,{at:r}),e.value=this.parseMaybeDefault(t,Cs(e.key))}else e.value=Cs(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,s,n,i,o){const a=this.parseObjectMethod(e,r,s,n,i)||this.parseObjectProperty(e,t,n,o);return a||this.unexpected(),a}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:r,value:s}=this.state;let n;if(qt(r))n=this.parseIdentifier(!0);else switch(r){case 132:n=this.parseNumericLiteral(s);break;case 131:n=this.parseStringLiteral(s);break;case 133:n=this.parseBigIntLiteral(s);break;case 134:n=this.parseDecimalLiteral(s);break;case 136:{const e=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=e):this.raise(fr.UnexpectedPrivateField,{at:e}),n=this.parsePrivateName();break}default:this.unexpected()}e.key=n,136!==r&&(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,this.scope.enter(18|(o?64:0)|(n?32:0)),this.prodParam.enter(Es(r,e.generator)),this.parseFunctionParams(e,s);const a=this.parseFunctionBodyAndFinish(e,i,!0);return this.prodParam.exit(),this.scope.exit(),a}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=Es(r,!1);!this.match(5)&&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){this.toAssignableList(t,r,!1),e.params=t}parseFunctionBodyAndFinish(e,t,r=!1){return this.parseFunctionBody(e,!1,r),this.finishNode(e,t)}parseFunctionBody(e,t,r=!1){const s=t&&!this.match(5);if(this.expressionScope.enter(ws()),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);n&&i&&this.raise(fr.IllegalLanguageModeDirective,{at:"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end});const o=!s&&this.state.strict;this.checkParams(e,!(this.state.strict||t||r||i),t,o),this.state.strict&&e.id&&this.checkIdentifier(e.id,65,o)})),this.prodParam.exit(),this.state.labels=n}this.expressionScope.exit()}isSimpleParameter(e){return"Identifier"===e.type}isSimpleParamList(e){for(let t=0,r=e.length;t<r;t++)if(!this.isSimpleParameter(e[t]))return!1;return!0}checkParams(e,t,r,s=!0){const n=!t&&new Set,i={type:"FormalParameters"};for(const t of e.params)this.checkLVal(t,{in:i,binding:5,checkClashes:n,strictModeChanged: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.addTrailingCommaExtraToNode(s),this.next();break}n.push(this.parseExprListItem(t,r))}return n}parseExprListItem(e,t,r){let s;if(this.match(12))e||this.raise(fr.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),s=null;else if(this.match(21)){const e=this.state.startLoc;s=this.parseParenItem(this.parseSpread(t),e)}else if(this.match(17)){this.expectPlugin("partialApplication"),r||this.raise(fr.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});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(e);return this.createIdentifier(t,r)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e){let t;const{startLoc:r,type:s}=this.state;qt(s)?t=this.state.value:this.unexpected();const n=s<=92;return e?n&&this.replaceToken(130):this.checkReservedWord(t,r,n,!1),this.next(),t}checkReservedWord(e,t,r,s){if(!(e.length>10)&&function(e){return Rr.has(e)}(e))if(r&&function(e){return Ar.has(e)}(e))this.raise(fr.UnexpectedKeyword,{at:t,keyword:e});else if((this.state.strict?s?Lr:Nr:Or)(e,this.inModule))this.raise(fr.UnexpectedReservedWord,{at:t,reservedWord:e});else if("yield"===e){if(this.prodParam.hasYield)return void this.raise(fr.YieldBindingIdentifier,{at:t})}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(fr.AwaitBindingIdentifier,{at:t});if(this.scope.inStaticBlock)return void this.raise(fr.AwaitBindingIdentifierInStaticBlock,{at:t});this.expressionScope.recordAsyncArrowParametersError({at:t})}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(fr.ArgumentsInClass,{at:t})}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(e){const t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(fr.AwaitExpressionFormalParameter,{at:t}),this.eat(55)&&this.raise(fr.ObsoleteAwaitStar,{at:t}),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:e}=this.state;return 53===e||10===e||0===e||Yt(e)||101===e&&!this.state.containsEsc||135===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(fr.YieldInParameter,{at:e}),this.next();let t=!1,r=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 137: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){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(fr.PipelineHeadSequenceExpression,{at:t})}parseSmartPipelineBodyInStyle(e,t){if(this.isSimpleReference(e)){const r=this.startNodeAt(t);return r.callee=e,this.finishNode(r,"PipelineBareFunction")}{const r=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),r.expression=e,this.finishNode(r,"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(fr.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(fr.PipelineTopicUnused,{at:e})}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(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))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.startLoc;this.state.potentialArrowAt=this.state.start;const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const s=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=r,s}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const t=this.startNodeAt(this.state.endLoc);this.next();const r=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,"module")}finally{r()}return this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}}const cn={kind:"loop"},ln={kind:"switch"},hn=/[\uD800-\uDFFF]/u,un=/in(?:stanceof)?/y;class pn extends an{parseTopLevel(e,t){return e.program=this.parseProgram(t),e.comments=this.state.comments,this.options.tokens&&(e.tokens=function(e,t){for(let r=0;r<e.length;r++){const s=e[r],{type:n}=s;if("number"==typeof n){if(136===n){const{loc:t,start:n,value:i,end:o}=s,a=n+1,c=er(t.start,1);e.splice(r,1,new fs({type:Jt(27),value:"#",start:n,end:a,startLoc:t.start,endLoc:c}),new fs({type:Jt(130),value:i,start:a,end:o,startLoc:c,endLoc:t.end})),r++;continue}if(Yt(n)){const{loc:i,start:o,value:a,end:c}=s,l=o+1,h=er(i.start,1);let u,p,d,f,m;u=96===t.charCodeAt(o)?new fs({type:Jt(22),value:"`",start:o,end:l,startLoc:i.start,endLoc:h}):new fs({type:Jt(8),value:"}",start:o,end:l,startLoc:i.start,endLoc:h}),24===n?(d=c-1,f=er(i.end,-1),p=null===a?null:a.slice(1,-1),m=new fs({type:Jt(22),value:"`",start:d,end:c,startLoc:f,endLoc:i.end})):(d=c-2,f=er(i.end,-2),p=null===a?null:a.slice(1,-2),m=new fs({type:Jt(23),value:"${",start:d,end:c,startLoc:f,endLoc:i.end})),e.splice(r,1,u,new fs({type:Jt(20),value:p,start:l,end:d,startLoc:h,endLoc:f}),m),r+=2;continue}s.type=Jt(n)}}return e}(this.tokens,this.input)),this.finishNode(e,"File")}parseProgram(e,t=137,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,t]of Array.from(this.scope.undefinedExports))this.raise(fr.ModuleExportUndefined,{at:t,localName:e});let s;return s=137===t?this.finishNode(e,"Program"):this.finishNodeAt(e,"Program",er(this.state.startLoc,-1)),s}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(28))return null;const e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(){return!!this.isContextual(99)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(e,t){if(Pr(e)){if(un.lastIndex=t,un.test(this.input)){const e=this.codePointAtPos(un.lastIndex);if(!Tr(e)&&92!==e)return!1}return!0}return 92===e}chStartsBindingPattern(e){return 91===e||123===e}hasFollowingBindingAtom(){const e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}hasFollowingBindingIdentifier(){const e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}startsUsingForOf(){const e=this.lookahead();return!(101===e.type&&!e.containsEsc||(this.expectPlugin("explicitResourceManagement"),0))}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(e=!1){let t=0;return this.options.annexB&&!this.state.strict&&(t|=4,e&&(t|=8)),this.parseStatementLike(t)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let t=null;return this.match(26)&&(t=this.parseDecorators(!0)),this.parseStatementContent(e,t)}parseStatementContent(e,t){const r=this.state.type,s=this.startNode(),n=!!(2&e),i=!!(4&e),o=1&e;switch(r){case 60:return this.parseBreakContinueStatement(s,!0);case 63:return this.parseBreakContinueStatement(s,!1);case 64:return this.parseDebuggerStatement(s);case 90:return this.parseDoWhileStatement(s);case 91:return this.parseForStatement(s);case 68:if(46===this.lookaheadCharCode())break;return i||this.raise(this.state.strict?fr.StrictFunction:this.options.annexB?fr.SloppyFunctionAnnexB:fr.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(s,!1,!n&&i);case 80:return n||this.unexpected(),this.parseClass(this.maybeTakeDecorators(t,s),!0);case 69:return this.parseIfStatement(s);case 70:return this.parseReturnStatement(s);case 71:return this.parseSwitchStatement(s);case 72:return this.parseThrowStatement(s);case 73:return this.parseTryStatement(s);case 105:if(this.hasFollowingLineBreak()||this.state.containsEsc||!this.hasFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(fr.UnexpectedUsingDeclaration,{at:this.state.startLoc}):n||this.raise(fr.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(s,"using");case 99:{if(this.state.containsEsc)break;const e=this.nextTokenStart(),t=this.codePointAtPos(e);if(91!==t){if(!n&&this.hasFollowingLineBreak())break;if(!this.chStartsBindingIdentifier(t,e)&&123!==t)break}}case 75:n||this.raise(fr.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{const e=this.state.value;return this.parseVarStatement(s,e)}case 92:return this.parseWhileStatement(s);case 76:return this.parseWithStatement(s);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(s);case 83:{const e=this.lookaheadCharCode();if(40===e||46===e)break}case 82:{let e;return this.options.allowImportExportEverywhere||o||this.raise(fr.UnexpectedImportExport,{at:this.state.startLoc}),this.next(),83===r?(e=this.parseImport(s),"ImportDeclaration"!==e.type||e.importKind&&"value"!==e.importKind||(this.sawUnambiguousESM=!0)):(e=this.parseExport(s,t),("ExportNamedDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&("ExportAllDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&"ExportDefaultDeclaration"!==e.type||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(e),e}default:if(this.isAsyncFunction())return n||this.raise(fr.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(s,!0,!n&&i)}const a=this.state.value,c=this.parseExpression();return $t(r)&&"Identifier"===c.type&&this.eat(14)?this.parseLabeledStatement(s,a,c,e):this.parseExpressionStatement(s,c,t)}assertModuleNodeAllowed(e){this.options.allowImportExportEverywhere||this.inModule||this.raise(fr.ImportOutsideModule,{at:e})}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&!1!==this.getPluginOption("decorators","decoratorsBeforeExport")}maybeTakeDecorators(e,t,r){return e&&(t.decorators&&t.decorators.length>0?("boolean"!=typeof this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(fr.DecoratorsBeforeAfterExport,{at:t.decorators[0]}),t.decorators.unshift(...e)):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),r&&this.resetStartLocationFromNode(r,t)),t}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){const t=[];do{t.push(this.parseDecorator())}while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(fr.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(fr.UnexpectedLeadingDecorator,{at:this.state.startLoc});return t}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const e=this.startNode();if(this.next(),this.hasPlugin("decorators")){const t=this.state.startLoc;let r;if(this.match(10)){const t=this.state.startLoc;this.next(),r=this.parseExpression(),this.expect(11),r=this.wrapParenthesis(t,r);const s=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(r),!1===this.getPluginOption("decorators","allowCallParenthesized")&&e.expression!==r&&this.raise(fr.DecoratorArgumentsOutsideParentheses,{at:s})}else{for(r=this.parseIdentifier(!1);this.eat(16);){const e=this.startNodeAt(t);e.object=r,this.match(136)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),e.property=this.parsePrivateName()):e.property=this.parseIdentifier(!0),e.computed=!1,r=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(r)}}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}}if(r===this.state.labels.length){const r=t?"BreakStatement":"ContinueStatement";this.raise(fr.IllegalBreakContinue,{at:e,type:r})}}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const e=this.parseExpression();return this.expect(11),e}parseDoWhileStatement(e){return this.next(),this.state.labels.push(cn),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(cn);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return null!==t&&this.unexpected(t),this.parseFor(e,null);const r=this.isContextual(99),s=this.isContextual(105)&&!this.hasFollowingLineBreak(),n=r&&this.hasFollowingBindingAtom()||s&&this.hasFollowingBindingIdentifier()&&this.startsUsingForOf();if(this.match(74)||this.match(75)||n){const r=this.startNode(),n=this.state.value;this.next(),this.parseVar(r,!0,n);const i=this.finishNode(r,"VariableDeclaration"),o=this.match(58);return o&&s&&this.raise(fr.ForInUsing,{at:i}),(o||this.isContextual(101))&&1===i.declarations.length?this.parseForIn(e,i,t):(null!==t&&this.unexpected(t),this.parseFor(e,i))}const i=this.isContextual(95),o=new Ps,a=this.parseExpression(!0,o),c=this.isContextual(101);if(c&&(r&&this.raise(fr.ForOfLet,{at:a}),null===t&&i&&"Identifier"===a.type&&this.raise(fr.ForOfAsync,{at:a})),c||this.match(58)){this.checkDestructuringPrivate(o),this.toAssignable(a,!0);const r=c?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{in:{type:r}}),this.parseForIn(e,a,t)}return this.checkExpressionErrors(o,!0),null!==t&&this.unexpected(t),this.parseFor(e,a)}parseFunctionStatement(e,t,r){return this.next(),this.parseFunction(e,1|(r?2:0)|(t?8:0))}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(fr.IllegalReturn,{at:this.state.startLoc}),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(ln),this.scope.enter(0);for(let e;!this.match(8);)if(this.match(61)||this.match(65)){const s=this.match(61);r&&this.finishNode(r,"SwitchCase"),t.push(r=this.startNode()),r.consequent=[],this.next(),s?r.test=this.parseExpression():(e&&this.raise(fr.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),e=!0,r.test=null),this.expect(14)}else r?r.consequent.push(this.parseStatementListItem()):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(fr.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&"Identifier"===e.type?8:0),this.checkLVal(e,{in:{type:"CatchClause"},binding:9}),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(62)){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(67)?this.parseBlock():null,e.handler||e.finalizer||this.raise(fr.NoCatchOrFinally,{at:e}),this.finishNode(e,"TryStatement")}parseVarStatement(e,t,r=!1){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(cn),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(fr.StrictWith,{at:this.state.startLoc}),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),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(fr.LabelRedeclaration,{at:r,labelName:t});const n=(i=this.state.type)>=90&&i<=92?"loop":this.match(71)?"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=8&s?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t,r){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=r?this.parseModuleItem():this.parseStatementListItem();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())),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const s=this.match(58);return this.next(),s?null!==r&&this.unexpected(r):e.await=null!==r,"VariableDeclaration"!==t.type||null==t.declarations[0].init||s&&this.options.annexB&&!this.state.strict&&"var"===t.kind&&"Identifier"===t.declarations[0].id.type||this.raise(fr.ForInOfLoopInitializer,{at:t,type:s?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(fr.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}}),e.left=t,e.right=s?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,s?"ForInStatement":"ForOfStatement")}parseVar(e,t,r,s=!1){const n=e.declarations=[];for(e.kind=r;;){const e=this.startNode();if(this.parseVarId(e,r),e.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null!==e.init||s||("Identifier"===e.id.type||t&&(this.match(58)||this.isContextual(101))?"const"!==r||this.match(58)||this.isContextual(101)||this.raise(fr.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"}):this.raise(fr.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})),n.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){"using"===t&&!this.inModule&&this.match(96)&&this.raise(fr.AwaitInUsingBinding,{at:this.state.startLoc});const r=this.parseBindingAtom();this.checkLVal(r,{in:{type:"VariableDeclarator"},binding:"var"===t?5:jr}),e.id=r}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e,t=0){const r=2&t,s=!!(1&t),n=s&&!(4&t),i=!!(8&t);this.initFunction(e,i),this.match(55)&&(r&&this.raise(fr.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),e.generator=!0),s&&(e.id=this.parseFunctionId(n));const o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(Es(i,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&&!r&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=o,e}parseFunctionId(e){return e||$t(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(new bs(3)),e.params=this.parseBindingList(11,41,2|(t?4:0)),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:jr:17,e.id.loc.start)}parseClass(e,t,r){this.next();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(29)||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(fr.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){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(fr.DecoratorConstructor,{at:e})}})),this.state.strict=t,this.next(),s.length)throw this.raise(fr.TrailingDecorator,{at:this.state.startLoc});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(104);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=t,l=n,h=n;if(t.static=s,this.parsePropertyNamePrefixOperator(t),this.eat(55)){l.kind="method";const t=this.match(136);return this.parseClassElementName(l),t?void this.pushClassPrivateMethod(e,i,!0,!1):(this.isNonstaticConstructor(n)&&this.raise(fr.ConstructorIsGenerator,{at:n.key}),void this.pushClassMethod(e,n,!0,!1,!1,!1))}const u=$t(this.state.type)&&!this.state.containsEsc,p=this.match(136),d=this.parseClassElementName(t),f=this.state.startLoc;if(this.parsePostMemberNameModifiers(h),this.isClassMethod()){if(l.kind="method",p)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(fr.DuplicateConstructor,{at:d}),s&&this.hasPlugin("typescript")&&t.override&&this.raise(fr.OverrideOnConstructor,{at:d}),r.hadConstructor=!0,o=r.hadSuperClass),this.pushClassMethod(e,n,!1,!1,s,o)}else if(this.isClassProperty())p?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o);else if(u&&"async"===d.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(d);const t=this.eat(55);h.optional&&this.unexpected(f),l.kind="method";const r=this.match(136);this.parseClassElementName(l),this.parsePostMemberNameModifiers(h),r?this.pushClassPrivateMethod(e,i,t,!0):(this.isNonstaticConstructor(n)&&this.raise(fr.ConstructorIsAsync,{at:n.key}),this.pushClassMethod(e,n,t,!0,!1,!1))}else if(!u||"get"!==d.name&&"set"!==d.name||this.match(55)&&this.isLineTerminator())if(u&&"accessor"===d.name&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(d);const t=this.match(136);this.parseClassElementName(o),this.pushClassAccessorProperty(e,c,t)}else this.isLineTerminator()?p?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o):this.unexpected();else{this.resetPreviousNodeTrailingComments(d),l.kind=d.name;const t=this.match(136);this.parseClassElementName(n),t?this.pushClassPrivateMethod(e,i,!1,!1):(this.isNonstaticConstructor(n)&&this.raise(fr.ConstructorIsAccessor,{at:n.key}),this.pushClassMethod(e,n,!1,!1,!1,!1)),this.checkGetterSetterParams(n)}}parseClassElementName(e){const{type:t,value:r}=this.state;if(130!==t&&131!==t||!e.static||"prototype"!==r||this.raise(fr.StaticPrototype,{at:this.state.startLoc}),136===t){"constructor"===r&&this.raise(fr.ConstructorClassPrivateField,{at:this.state.startLoc});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(fr.DecoratorStaticBlock,{at:t})}pushClassProperty(e,t){t.computed||"constructor"!==t.key.name&&"constructor"!==t.key.value||this.raise(fr.ConstructorClassField,{at:t.key}),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.loc.start)}pushClassAccessorProperty(e,t,r){if(!r&&!t.computed){const e=t.key;"constructor"!==e.name&&"constructor"!==e.value||this.raise(fr.ConstructorClassField,{at:e})}const s=this.parseClassAccessorProperty(t);e.body.push(s),r&&this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),0,s.key.loc.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.loc.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")}parseClassAccessorProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter(80),this.expressionScope.enter(ws()),this.prodParam.enter(0),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,r,s=8331){if($t(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,s);else{if(!r&&t)throw this.raise(fr.MissingClassName,{at:this.state.startLoc});e.id=null}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,t){const r=this.maybeParseExportDefaultSpecifier(e),s=!r||this.eat(12),n=s&&this.eatExportStar(e),i=n&&this.maybeParseExportNamespaceSpecifier(e),o=s&&(!i||this.eat(12)),a=r||n;if(n&&!i){if(r&&this.unexpected(),t)throw this.raise(fr.UnsupportedDecoratorExport,{at:e});return this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration")}const c=this.maybeParseExportNamedSpecifiers(e);let l;if(r&&s&&!n&&!c&&this.unexpected(null,5),i&&o&&this.unexpected(null,97),a||c){if(l=!1,t)throw this.raise(fr.UnsupportedDecoratorExport,{at:e});this.parseExportFrom(e,a)}else l=this.maybeParseExportDeclaration(e);if(a||c||l){var h;const r=e;if(this.checkExport(r,!0,!1,!!r.source),"ClassDeclaration"===(null==(h=r.declaration)?void 0:h.type))this.maybeTakeDecorators(t,r.declaration,r);else if(t)throw this.raise(fr.UnsupportedDecoratorExport,{at:e});return this.finishNode(r,"ExportNamedDeclaration")}if(this.eat(65)){const r=e,s=this.parseExportDefaultExpression();if(r.declaration=s,"ClassDeclaration"===s.type)this.maybeTakeDecorators(t,s,r);else if(t)throw this.raise(fr.UnsupportedDecoratorExport,{at:e});return this.checkExport(r,!0,!0),this.finishNode(r,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}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(93)){e.specifiers||(e.specifiers=[]);const t=this.startNodeAt(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(95))return!1;const e=this.nextTokenStart();return!Kr.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,13);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(fr.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(fr.UnsupportedDefaultExport,{at:this.state.startLoc});const t=this.parseMaybeAssignAllowIn();return this.semicolon(),t}parseExportDeclaration(e){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:e}=this.state;if($t(e)){if(95===e&&!this.state.containsEsc||99===e)return!1;if((128===e||127===e)&&!this.state.containsEsc){const{type:e}=this.lookahead();if($t(e)&&97!==e||5===e)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const t=this.nextTokenStart(),r=this.isUnparsedContextual(t,"from");if(44===this.input.charCodeAt(t)||$t(this.state.type)&&r)return!0;if(this.match(65)&&r){const e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return 34===e||39===e}return!1}parseExportFrom(e,t){if(this.eatContextual(97)){e.source=this.parseImportSource(),this.checkExport(e);const t=this.maybeParseImportAssertions();t&&(e.assertions=t,this.checkJSONModuleImport(e))}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){const{type:e}=this.state;return 26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(fr.DecoratorBeforeExport,{at:this.state.startLoc}),!0):74===e||75===e||68===e||80===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(fr.ExportDefaultFromAsIdentifier,{at:t})}}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(fr.ExportBindingIsString,{at:t,localName:e.value,exportName:r}):(this.checkReservedWord(e.name,e.loc.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)}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)&&("default"===t?this.raise(fr.DuplicateDefaultExport,{at:e}):this.raise(fr.DuplicateExport,{at:e,exportName: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(128),n=this.match(131),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(93)?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 Cs(e)}(e);const a=Object.create(As);return a.type=t,a.start=r,a.end=s,a.loc=n,a.range=i,void 0!==e.raw?a.raw=e.raw:a.extra=o,a.value=e.value,a}(e.local):e.exported||(e.exported=Cs(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){const e=this.parseStringLiteral(this.state.value),t=e.value.match(hn);return t&&this.raise(fr.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}isJSONModuleImport(e){return null!=e.assertions&&e.assertions.some((({key:e,value:t})=>"json"===t.value&&("Identifier"===e.type?"type"===e.name:"type"===e.value)))}checkImportReflection(e){var t;e.module&&(1===e.specifiers.length&&"ImportDefaultSpecifier"===e.specifiers[0].type||this.raise(fr.ImportReflectionNotBinding,{at:e.specifiers[0].loc.start}),(null==(t=e.assertions)?void 0:t.length)>0&&this.raise(fr.ImportReflectionHasAssertion,{at:e.specifiers[0].loc.start}))}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&"ExportAllDeclaration"!==e.type){const{specifiers:t}=e;if(null!=t){const e=t.find((e=>{let t;if("ExportSpecifier"===e.type?t=e.local:"ImportSpecifier"===e.type&&(t=e.imported),void 0!==t)return"Identifier"===t.type?"default"!==t.name:"default"!==t.value}));void 0!==e&&this.raise(fr.ImportJSONBindingNotDefault,{at:e.loc.start})}}}parseMaybeImportReflection(e){let t=!1;if(this.isContextual(125)){const e=this.lookahead(),r=e.type;$t(r)?(97!==r||102===this.input.charCodeAt(this.nextTokenStartSince(e.end)))&&(t=!0):12!==r&&(t=!0)}t?(this.expectPlugin("importReflection"),this.next(),e.module=!0):this.hasPlugin("importReflection")&&(e.module=!1)}parseImport(e){if(e.specifiers=[],!this.match(131)){this.parseMaybeImportReflection(e);const t=!this.maybeParseDefaultImportSpecifier(e)||this.eat(12),r=t&&this.maybeParseStarImportSpecifier(e);t&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(97)}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t)e.assertions=t;else{const t=this.maybeParseModuleAttributes();t&&(e.attributes=t)}return this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(131)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return $t(this.state.type)}parseImportSpecifierLocal(e,t,r){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))}finishImportSpecifier(e,t,r=8201){return this.checkLVal(e.local,{in:{type:t},binding:r}),this.finishNode(e,t)}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(fr.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:s}),t.add(s),this.match(131)?r.key=this.parseStringLiteral(s):r.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(fr.ModuleAttributeInvalidValue,{at:this.state.startLoc});r.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(12));return e}maybeParseModuleAttributes(){if(!this.match(76)||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(fr.ModuleAttributeDifferentFromType,{at:r.key}),t.has(r.key.name)&&this.raise(fr.ModuleAttributesWithDuplicateKeys,{at:r.key,key:r.key.name}),t.add(r.key.name),this.expect(14),!this.match(131))throw this.raise(fr.ModuleAttributeInvalidValue,{at:this.state.startLoc});r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),e.push(r)}while(this.eat(12));return e}maybeParseImportAssertions(){if(!this.isContextual(94)||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"),!0)}maybeParseStarImportSpecifier(e){if(this.match(55)){const t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier"),!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(fr.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}const r=this.startNode(),s=this.match(131),n=this.isContextual(128);r.imported=this.parseModuleExportName();const i=this.parseImportSpecifier(r,s,"type"===e.importKind||"typeof"===e.importKind,n,void 0);e.specifiers.push(i)}}parseImportSpecifier(e,t,r,s,n){if(this.eatContextual(93))e.local=this.parseIdentifier();else{const{imported:r}=e;if(t)throw this.raise(fr.ImportBindingIsString,{at:e,importName:r.value});this.checkReservedWord(r.name,e.loc.start,!0,!0),e.local||(e.local=Cs(r))}return this.finishImportSpecifier(e,"ImportSpecifier",n)}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}}let dn=class extends pn{constructor(e,t){super(e=function(e){if(e&&null!=e.annexB&&!1!==e.annexB)throw new Error("The `annexB` option can only be set to `false`.");const t={};for(const r of Object.keys(vt))t[r]=e&&null!=e[r]?e[r]:vt[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 Ur}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 fn=function(e){const t={};for(const r of Object.keys(e))t[r]=Jt(e[r]);return t}(Ut);function mn(e,t){let r=dn;return null!=e&&e.plugins&&(function(e){if(Zs(e,"decorators")){if(Zs(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const t=en(e,"decorators","decoratorsBeforeExport");if(null!=t&&"boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const r=en(e,"decorators","allowCallParenthesized");if(null!=r&&"boolean"!=typeof r)throw new Error("'allowCallParenthesized' must be a boolean.")}if(Zs(e,"flow")&&Zs(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(Zs(e,"placeholders")&&Zs(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(Zs(e,"pipelineOperator")){const t=en(e,"pipelineOperator","proposal");if(!tn.includes(t)){const e=tn.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const r=Zs(e,["recordAndTuple",{syntaxType:"hash"}]);if("hack"===t){if(Zs(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(Zs(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const t=en(e,"pipelineOperator","topicToken");if(!rn.includes(t)){const e=rn.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(Zs(e,"moduleAttributes")){if(Zs(e,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if("may-2020"!==en(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(Zs(e,"recordAndTuple")&&null!=en(e,"recordAndTuple","syntaxType")&&!sn.includes(en(e,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+sn.map((e=>`'${e}'`)).join(", "));if(Zs(e,"asyncDoExpressions")&&!Zs(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=on.filter((t=>Zs(e,t))),r=t.join("/");let s=gn[r];if(!s){s=dn;for(const e of t)s=nn[e](s);gn[r]=s}return s}(e.plugins)),new r(e,t)}const gn={};var yn=bt.parse=function(e,t){var r;if("unambiguous"!==(null==(r=t)?void 0:r.sourceType))return mn(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";const r=mn(t,e),s=r.parse();if(r.sawUnambiguousESM)return s;if(r.ambiguousScriptDifferentAst)try{return t.sourceType="script",mn(t,e).parse()}catch(e){}else s.program.sourceType="script";return s}catch(r){try{return t.sourceType="script",mn(t,e).parse()}catch(e){}throw r}},bn=bt.parseExpression=function(e,t){const r=mn(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()};bt.tokTypes=fn;const vn=e=>4===e.type&&e.isStatic,xn=(e,t)=>e===t||e===F(t);function wn(e){return xn(e,"Teleport")?fe:xn(e,"Suspense")?me:xn(e,"KeepAlive")?ge:xn(e,"BaseTransition")?ye:void 0}const Sn=/^\d|[^\$\w]/,En=e=>!Sn.test(e),_n=/[A-Za-z_$\xA0-\uFFFF]/,Pn=/[\.\?\w$\xA0-\uFFFF]/,Tn=/\s+[.[]\s*|\s*[.[]\s+/g,An=(e,t)=>{try{let r=bn(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}},Cn=An;function kn(e,t,r){const s={source:e.source.slice(t,t+r),start:On(e.start,e.source,t),end:e.end};return null!=r&&(s.end=On(e.start,e.source,t+r)),s}function On(e,t,r=t.length){return Nn(E({},e),t,r)}function Nn(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 In(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Ln(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)&&(A(t)?n.name===t:t.test(n.name)))return n}}function Rn(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)&&Mn(i.arg,t))return i}}function Mn(e,t){return!(!e||!vn(e)||e.content!==t)}function Dn(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function jn(e){return 5===e.type||2===e.type}function Fn(e){return 7===e.type&&"slot"===e.name}function Bn(e){return 1===e.type&&3===e.tagType}function Un(e){return 1===e.type&&2===e.tagType}const $n=new Set([Fe,Be]);function qn(e,t=[]){if(e&&!A(e)&&14===e.type){const r=e.callee;if(!A(r)&&$n.has(r))return qn(e.arguments[0],t.concat(e))}return[e,t]}function Hn(e,t,r){let s,n,i=13===e.type?e.props:e.arguments[2],o=[];if(i&&!A(i)&&14===i.type){const e=qn(i);i=e[0],o=e[1],n=o[o.length-1]}if(null==i||A(i))s=nt([t]);else if(14===i.type){const e=i.arguments[0];A(e)||15!==e.type?i.callee===Ue?s=ct(r.helper(Me),[nt([t]),i]):i.arguments.unshift(nt([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=ct(r.helper(Me),[nt([t]),i]),n&&n.callee===Be&&(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 Wn(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,r)=>"-"===t?"_":e.charCodeAt(r).toString()))}`}function zn(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&&(zn(s.arg,t)||zn(s.exp,t)))return!0}return e.children.some((e=>zn(e,t)));case 11:return!!zn(e.source,t)||e.children.some((e=>zn(e,t)));case 9:return e.branches.some((e=>zn(e,t)));case 10:return!!zn(e.condition,t)||e.children.some((e=>zn(e,t)));case 4:return!e.isStatic&&En(e.content)&&!!t[e.content];case 8:return e.children.some((e=>k(e)&&zn(e,t)));case 5:case 12:return zn(e.content,t);default:return!1}}function Gn(e){return 14===e.type&&e.callee===Je?e.arguments[1].returns:e}const Kn={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 Yn(e,t){const r=t.options?t.options.compatConfig:t.compatConfig,s=r&&r[e];return"MODE"===e?s||3:s}function Jn(e,t,r,...s){if("suppress-warning"===Yn(e,t))return;const{message:n,link:i}=Kn[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 Xn=/&(gt|lt|amp|apos|quot);/g,Qn={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Zn={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:x,isPreTag:x,isCustomElement:x,decodeEntities:e=>e.replace(Xn,((e,t)=>Qn[t])),onError:le,onWarn:he,comments:!0};function ei(e,t={}){const r=function(e,t){const r=E({},Zn);let s;for(s in t)r[s]=void 0===t[s]?Zn[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=mi(r);return tt(ti(r,0,[]),gi(r,s))}function ti(e,t,r){const s=yi(r),n=s?s.ns:0,i=[];for(;!Ei(e,t,r);){const o=e.source;let a;if(0===t||1===t)if(!e.inVPre&&bi(o,e.options.delimiters[0]))a=pi(e,t);else if(0===t&&"<"===o[0])if(1===o.length)Si(e,5,1);else if("!"===o[1])bi(o,"\x3c!--")?a=ni(e):bi(o,"<!DOCTYPE")?a=ii(e):bi(o,"<![CDATA[")?0!==n?a=si(e,r):(Si(e,1),a=ii(e)):(Si(e,11),a=ii(e));else if("/"===o[1])if(2===o.length)Si(e,5,2);else{if(">"===o[2]){Si(e,14,2),vi(e,3);continue}if(/[a-z]/i.test(o[2])){Si(e,23),li(e,ai.End,s);continue}Si(e,12,2),a=ii(e)}else/[a-z]/i.test(o[1])?a=oi(e,r):"?"===o[1]?(Si(e,21,1),a=ii(e)):Si(e,12,1);if(a||(a=di(e,t)),T(a))for(let e=0;e<a.length;e++)ri(i,a[e]);else ri(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 ri(e,t){if(2===t.type){const r=yi(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 si(e,t){vi(e,9);const r=ti(e,3,t);return 0===e.source.length?Si(e,6):vi(e,3),r}function ni(e){const t=mi(e);let r;const s=/--(\!)?>/.exec(e.source);if(s){s.index<=3&&Si(e,0),s[1]&&Si(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));)vi(e,i-n+1),i+4<t.length&&Si(e,16),n=i+1;vi(e,s.index+s[0].length-n+1)}else r=e.source.slice(4),vi(e,e.source.length),Si(e,7);return{type:3,content:r,loc:gi(e,t)}}function ii(e){const t=mi(e),r="?"===e.source[1]?1:2;let s;const n=e.source.indexOf(">");return-1===n?(s=e.source.slice(r),vi(e,e.source.length)):(s=e.source.slice(r,n),vi(e,n+1)),{type:3,content:s,loc:gi(e,t)}}function oi(e,t){const r=e.inPre,s=e.inVPre,n=yi(t),i=li(e,ai.Start,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=ti(e,c,t);if(t.pop(),i.children=l,_i(e.source,i.tag))li(e,ai.End,n);else if(Si(e,24,0,i.loc.start),0===e.source.length&&"script"===i.tag.toLowerCase()){const t=l[0];t&&bi(t.loc.source,"\x3c!--")&&Si(e,8)}return i.loc=gi(e,i.loc.start),o&&(e.inPre=!1),a&&(e.inVPre=!1),i}var ai=(e=>(e[e.Start=0]="Start",e[e.End=1]="End",e))(ai||{});const ci=y("if,else,else-if,for,slot");function li(e,t,r){const s=mi(e),n=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),i=n[1],o=e.options.getNamespace(i,r);vi(e,n[0].length),xi(e);const a=mi(e),c=e.source;e.options.isPreTag(i)&&(e.inPre=!0);let l=hi(e,t);0===t&&!e.inVPre&&l.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,E(e,a),e.source=c,l=hi(e,t).filter((e=>"v-pre"!==e.name)));let h=!1;if(0===e.source.length?Si(e,9):(h=bi(e.source,"/>"),1===t&&h&&Si(e,4),vi(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&&ci(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)||wn(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&&Mn(r.arg,"is")}}}(i,l,e)&&(u=1)),{type:1,ns:o,tag:i,tagType:u,props:l,isSelfClosing:h,children:[],loc:gi(e,s),codegenNode:void 0}}function hi(e,t){const r=[],s=new Set;for(;e.source.length>0&&!bi(e.source,">")&&!bi(e.source,"/>");){if(bi(e.source,"/")){Si(e,22),vi(e,1),xi(e);continue}1===t&&Si(e,3);const n=ui(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)&&Si(e,15),xi(e)}return r}function ui(e,t){var r;const s=mi(e),n=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(n)&&Si(e,2),t.add(n),"="===n[0]&&Si(e,19);{const t=/["'<]/g;let r;for(;r=t.exec(n);)Si(e,17,r.index)}let i;vi(e,n.length),/^[\t\r\n\f ]*=/.test(e.source)&&(xi(e),vi(e,1),xi(e),i=function(e){const t=mi(e);let r;const s=e.source[0],n='"'===s||"'"===s;if(n){vi(e,1);const t=e.source.indexOf(s);-1===t?r=fi(e,e.source.length,4):(r=fi(e,t,4),vi(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]);)Si(e,18,n.index);r=fi(e,t[0].length,4)}return{content:r,isQuoted:n,loc:gi(e,t)}}(e),i||Si(e,13));const o=gi(e,s);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(n)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(n);let a,c=bi(n,"."),l=t[1]||(c||bi(n,":")?"bind":bi(n,"@")?"on":"slot");if(t[2]){const i="slot"===l,o=n.lastIndexOf(t[2],n.length-((null==(r=t[3])?void 0:r.length)||0)),c=gi(e,wi(e,s,o),wi(e,s,o+t[2].length+(i&&t[3]||"").length));let h=t[2],u=!0;h.startsWith("[")?(u=!1,h.endsWith("]")?h=h.slice(1,h.length-1):(Si(e,27),h=h.slice(1))):i&&(h+=t[3]||""),a={type:4,content:h,isStatic:u,constType:u?3:0,loc:c}}if(i&&i.isQuoted){const e=i.loc;e.start.offset++,e.start.column++,e.end=On(e.start,i.content),e.source=e.source.slice(1,-1)}const h=t[3]?t[3].slice(1).split("."):[];return c&&h.push("prop"),{type:7,name:l,exp:i&&{type:4,content:i.content,isStatic:!1,constType:0,loc:i.loc},arg:a,modifiers:h,loc:o}}return!e.inVPre&&bi(n,"v-")&&Si(e,26),{type:6,name:n,value:i&&{type:2,content:i.content,loc:i.loc},loc:o}}function pi(e,t){const[r,s]=e.options.delimiters,n=e.source.indexOf(s,r.length);if(-1===n)return void Si(e,25);const i=mi(e);vi(e,r.length);const o=mi(e),a=mi(e),c=n-r.length,l=e.source.slice(0,c),h=fi(e,c,t),u=h.trim(),p=h.indexOf(u);return p>0&&Nn(o,l,p),Nn(a,l,c-(h.length-u.length-p)),vi(e,s.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:gi(e,o,a)},loc:gi(e,i)}}function di(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=mi(e);return{type:2,content:fi(e,s,t),loc:gi(e,n)}}function fi(e,t,r){const s=e.source.slice(0,t);return vi(e,t),2!==r&&3!==r&&s.includes("&")?e.options.decodeEntities(s,4===r):s}function mi(e){const{column:t,line:r,offset:s}=e;return{column:t,line:r,offset:s}}function gi(e,t,r){return{start:t,end:r=r||mi(e),source:e.originalSource.slice(t.offset,r.offset)}}function yi(e){return e[e.length-1]}function bi(e,t){return e.startsWith(t)}function vi(e,t){const{source:r}=e;Nn(e,r,t),e.source=r.slice(t)}function xi(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&vi(e,t[0].length)}function wi(e,t,r){return On(t,e.originalSource.slice(t.offset,r),r)}function Si(e,t,r,s=mi(e)){r&&(s.offset+=r,s.column+=r),e.options.onError(ue(t,{start:s,end:s,source:""}))}function Ei(e,t,r){const s=e.source;switch(t){case 0:if(bi(s,"</"))for(let e=r.length-1;e>=0;--e)if(_i(s,r[e].tag))return!0;break;case 1:case 2:{const e=yi(r);if(e&&_i(s,e.tag))return!0;break}case 3:if(bi(s,"]]>"))return!0}return!s}function _i(e,t){return bi(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Pi(e,t){Ai(e,t,Ti(e,e.children[0]))}function Ti(e,t){const{children:r}=e;return 1===r.length&&1===t.type&&!Un(t)}function Ai(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:Ci(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=Li(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++,Ai(n,t),e&&t.scopes.vSlot--}else if(11===n.type)Ai(n,t,1===n.children.length);else if(9===n.type)for(let e=0;e<n.branches.length;e++)Ai(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&&T(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(st(e.codegenNode.children)))}function Ci(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(Li(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=Ci(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=Ci(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(be),t.removeHelper(ft(t.inSSR,n.isComponent)),n.isBlock=!1,t.helper(dt(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 Ci(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(A(s)||C(s))continue;const n=Ci(s,t);if(0===n)return 0;n<i&&(i=n)}return i}}const ki=new Set([De,je,Fe,Be]);function Oi(e,t){if(14===e.type&&!A(e.callee)&&ki.has(e.callee)){const r=e.arguments[0];if(4===r.type)return Ci(r,t);if(14===r.type)return Oi(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=Ci(n,t);if(0===o)return o;let a;if(o<r&&(r=o),a=4===i.type?Ci(i,t):14===i.type?Oi(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 Li(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Ri(e,{filename:t="",prefixIdentifiers:r=!1,hoistStatic:s=!1,cacheHandlers:n=!1,nodeTransforms:i=[],directiveTransforms:o={},transformHoist:a=null,isBuiltInComponent:c=v,isCustomElement:l=v,expressionPlugins:h=[],scopeId:u=null,slotted:p=!0,ssr:d=!1,inSSR:f=!1,ssrCssVars:m="",bindingMetadata:g=b,inline:y=!1,isTS:x=!1,onError:w=le,onWarn:S=he,compatConfig:E}){const _=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),P={selfName:_&&B(D(_[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:x,onError:w,onWarn:S,compatConfig:E,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=P.helpers.get(e)||0;return P.helpers.set(e,t+1),e},removeHelper(e){const t=P.helpers.get(e);if(t){const r=t-1;r?P.helpers.set(e,r):P.helpers.delete(e)}},helperString:e=>`_${Qe[P.helper(e)]}`,replaceNode(e){if(!P.currentNode)throw new Error("Node being replaced is already removed.");if(!P.parent)throw new Error("Cannot replace root node.");P.parent.children[P.childIndex]=P.currentNode=e},removeNode(e){if(!P.parent)throw new Error("Cannot remove root node.");const t=P.parent.children,r=e?t.indexOf(e):P.currentNode?P.childIndex:-1;if(r<0)throw new Error("node being removed is not a child of current parent");e&&e!==P.currentNode?P.childIndex>r&&(P.childIndex--,P.onNodeRemoved()):(P.currentNode=null,P.onNodeRemoved()),P.parent.children.splice(r,1)},onNodeRemoved:()=>{},addIdentifiers(e){A(e)?T(e):e.identifiers?e.identifiers.forEach(T):4===e.type&&T(e.content)},removeIdentifiers(e){A(e)?C(e):e.identifiers?e.identifiers.forEach(C):4===e.type&&C(e.content)},hoist(e){A(e)&&(e=ot(e)),P.hoists.push(e);const t=ot(`_hoisted_${P.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>ut(P.cached++,e,t)};function T(e){const{identifiers:t}=P;void 0===t[e]&&(t[e]=0),t[e]++}function C(e){P.identifiers[e]--}return P}function Mi(e,t){const r=Ri(e,t);Di(e,r),t.hoistStatic&&Pi(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&&mt(s,t),e.codegenNode=s}else e.codegenNode=r}else if(s.length>1){let n=64,i=H[64];1===s.filter((e=>3!==e.type)).length&&(n|=2048,i+=`, ${H[2048]}`),e.codegenNode=rt(t,r(de),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 Di(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&&(T(i)?s.push(...i):s.push(i)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(Ee);break;case 5:t.ssr||t.helper(Re);break;case 9:for(let r=0;r<e.branches.length;r++)Di(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];A(n)||(t.parent=e,t.childIndex=r,t.onNodeRemoved=s,Di(n,t))}}(e,t)}t.currentNode=e;let n=s.length;for(;n--;)s[n]()}function ji(e,t){const r=A(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(Fn))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 Fi={},Bi={},Ui={},$i={},qi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");$i.encode=function(e){if(0<=e&&e<qi.length)return qi[e];throw new TypeError("Must be between 0 and 63: "+e)},$i.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 Hi=$i;Ui.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+=Hi.encode(t)}while(s>0);return r},Ui.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=Hi.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}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)}}(Vi);var Wi={},zi=Vi,Gi=Object.prototype.hasOwnProperty,Ki="undefined"!=typeof Map;function Yi(){this._array=[],this._set=Ki?new Map:Object.create(null)}Yi.fromArray=function(e,t){for(var r=new Yi,s=0,n=e.length;s<n;s++)r.add(e[s],t);return r},Yi.prototype.size=function(){return Ki?this._set.size:Object.getOwnPropertyNames(this._set).length},Yi.prototype.add=function(e,t){var r=Ki?e:zi.toSetString(e),s=Ki?this.has(e):Gi.call(this._set,r),n=this._array.length;s&&!t||this._array.push(e),s||(Ki?this._set.set(e,n):this._set[r]=n)},Yi.prototype.has=function(e){if(Ki)return this._set.has(e);var t=zi.toSetString(e);return Gi.call(this._set,t)},Yi.prototype.indexOf=function(e){if(Ki){var t=this._set.get(e);if(t>=0)return t}else{var r=zi.toSetString(e);if(Gi.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},Yi.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},Yi.prototype.toArray=function(){return this._array.slice()},Wi.ArraySet=Yi;var Ji={},Xi=Vi;function Qi(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Qi.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},Qi.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||Xi.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},Qi.prototype.toArray=function(){return this._sorted||(this._array.sort(Xi.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Ji.MappingList=Qi;var Zi=Ui,eo=Vi,to=Wi.ArraySet,ro=Ji.MappingList;function so(e){e||(e={}),this._file=eo.getArg(e,"file",null),this._sourceRoot=eo.getArg(e,"sourceRoot",null),this._skipValidation=eo.getArg(e,"skipValidation",!1),this._sources=new to,this._names=new to,this._mappings=new ro,this._sourcesContents=null}so.prototype._version=3,so.fromSourceMap=function(e){var t=e.sourceRoot,r=new so({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=eo.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=eo.relative(t,s)),r._sources.has(n)||r._sources.add(n);var i=e.sourceContentFor(s);null!=i&&r.setSourceContent(s,i)})),r},so.prototype.addMapping=function(e){var t=eo.getArg(e,"generated"),r=eo.getArg(e,"original",null),s=eo.getArg(e,"source",null),n=eo.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})},so.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=eo.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[eo.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[eo.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},so.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=eo.relative(n,s));var i=new to,o=new to;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=eo.join(r,t.source)),null!=n&&(t.source=eo.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=eo.join(r,t)),null!=n&&(t=eo.relative(n,t)),this.setSourceContent(t,s))}),this)},so.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}))},so.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(!eo.compareByGeneratedPositionsInflated(t,u[p-1]))continue;e+=","}e+=Zi.encode(t.generatedColumn-n),n=t.generatedColumn,null!=t.source&&(s=this._sources.indexOf(t.source),e+=Zi.encode(s-l),l=s,e+=Zi.encode(t.originalLine-1-a),a=t.originalLine-1,e+=Zi.encode(t.originalColumn-o),o=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=Zi.encode(r-c),c=r)),h+=e}return h},so.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=eo.relative(t,e));var r=eo.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},so.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},so.prototype.toString=function(){return JSON.stringify(this.toJSON())},Bi.SourceMapGenerator=so;var no={},io={};!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}}(io);var oo={};function ao(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 co=new WeakMap;oo.quickSort=function(e,t,r=0){let s=co.get(t);void 0===s&&(s=function(e){let t=ao.toString();return new Function(`return ${t}`)()(e)}(t),co.set(t,s)),s(e,t,r,e.length-1)};var lo=Vi,ho=io,uo=Wi.ArraySet,po=Ui,fo=oo.quickSort;function mo(e,t){var r=e;return"string"==typeof e&&(r=lo.parseSourceMapInput(e)),null!=r.sections?new xo(r,t):new go(r,t)}function go(e,t){var r=e;"string"==typeof e&&(r=lo.parseSourceMapInput(e));var s=lo.getArg(r,"version"),n=lo.getArg(r,"sources"),i=lo.getArg(r,"names",[]),o=lo.getArg(r,"sourceRoot",null),a=lo.getArg(r,"sourcesContent",null),c=lo.getArg(r,"mappings"),l=lo.getArg(r,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);o&&(o=lo.normalize(o)),n=n.map(String).map(lo.normalize).map((function(e){return o&&lo.isAbsolute(o)&&lo.isAbsolute(e)?lo.relative(o,e):e})),this._names=uo.fromArray(i.map(String),!0),this._sources=uo.fromArray(n,!0),this._absoluteSources=this._sources.toArray().map((function(e){return lo.computeSourceURL(o,e,t)})),this.sourceRoot=o,this.sourcesContent=a,this._mappings=c,this._sourceMapURL=t,this.file=l}function yo(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}mo.fromSourceMap=function(e,t){return go.fromSourceMap(e,t)},mo.prototype._version=3,mo.prototype.__generatedMappings=null,Object.defineProperty(mo.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),mo.prototype.__originalMappings=null,Object.defineProperty(mo.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),mo.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return";"===r||","===r},mo.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},mo.GENERATED_ORDER=1,mo.ORIGINAL_ORDER=2,mo.GREATEST_LOWER_BOUND=1,mo.LEAST_UPPER_BOUND=2,mo.prototype.eachMapping=function(e,t,r){var s,n=t||null;switch(r||mo.GENERATED_ORDER){case mo.GENERATED_ORDER:s=this._generatedMappings;break;case mo.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=lo.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)})}},mo.prototype.allGeneratedPositionsFor=function(e){var t=lo.getArg(e,"line"),r={source:lo.getArg(e,"source"),originalLine:t,originalColumn:lo.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",lo.compareByOriginalPositions,ho.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:lo.getArg(i,"generatedLine",null),column:lo.getArg(i,"generatedColumn",null),lastColumn:lo.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n];else for(var a=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==a;)s.push({line:lo.getArg(i,"generatedLine",null),column:lo.getArg(i,"generatedColumn",null),lastColumn:lo.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n]}return s},no.SourceMapConsumer=mo,go.prototype=Object.create(mo.prototype),go.prototype.consumer=mo,go.prototype._findSourceIndex=function(e){var t,r=e;if(null!=this.sourceRoot&&(r=lo.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},go.fromSourceMap=function(e,t){var r=Object.create(go.prototype),s=r._names=uo.fromArray(e._names.toArray(),!0),n=r._sources=uo.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 lo.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 yo;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 fo(r.__originalMappings,lo.compareByOriginalPositions),r},go.prototype._version=3,Object.defineProperty(go.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});const bo=lo.compareByGeneratedPositionsDeflatedNoLine;function vo(e,t){let r=e.length,s=e.length-t;if(!(s<=1))if(2==s){let r=e[t],s=e[t+1];bo(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(bo(t,s)<=0)break;e[r-1]=s,e[r]=t}else fo(e,bo,t)}function xo(e,t){var r=e;"string"==typeof e&&(r=lo.parseSourceMapInput(e));var s=lo.getArg(r,"version"),n=lo.getArg(r,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new uo,this._names=new uo;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=lo.getArg(e,"offset"),s=lo.getArg(r,"line"),n=lo.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 mo(lo.getArg(e,"map"),t)}}))}go.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,vo(g,y),y=g.length;else if(","===e.charAt(d))d++;else{for((r=new yo).generatedLine=o,n=d;n<p&&!this._charIsMappingSeparator(e,n);n++);for(e.slice(d,n),s=[];d<n;)po.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)}}vo(g,y),this.__generatedMappings=g;for(var b=0;b<m.length;b++)null!=m[b]&&fo(m[b],lo.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...m)},go.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 ho.search(e,t,n,i)},go.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}},go.prototype.originalPositionFor=function(e){var t={generatedLine:lo.getArg(e,"line"),generatedColumn:lo.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",lo.compareByGeneratedPositionsDeflated,lo.getArg(e,"bias",mo.GREATEST_LOWER_BOUND));if(r>=0){var s=this._generatedMappings[r];if(s.generatedLine===t.generatedLine){var n=lo.getArg(s,"source",null);null!==n&&(n=this._sources.at(n),n=lo.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var i=lo.getArg(s,"name",null);return null!==i&&(i=this._names.at(i)),{source:n,line:lo.getArg(s,"originalLine",null),column:lo.getArg(s,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},go.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e}))},go.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=lo.relative(this.sourceRoot,n)),null!=this.sourceRoot&&(s=lo.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.')},go.prototype.generatedPositionFor=function(e){var t=lo.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:lo.getArg(e,"line"),originalColumn:lo.getArg(e,"column")},s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",lo.compareByOriginalPositions,lo.getArg(e,"bias",mo.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===r.source)return{line:lo.getArg(n,"generatedLine",null),column:lo.getArg(n,"generatedColumn",null),lastColumn:lo.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},no.BasicSourceMapConsumer=go,xo.prototype=Object.create(mo.prototype),xo.prototype.constructor=mo,xo.prototype._version=3,Object.defineProperty(xo.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}}),xo.prototype.originalPositionFor=function(e){var t={generatedLine:lo.getArg(e,"line"),generatedColumn:lo.getArg(e,"column")},r=ho.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}},xo.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},xo.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.')},xo.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(-1!==r.consumer._findSourceIndex(lo.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}},xo.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=lo.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)}fo(this.__generatedMappings,lo.compareByGeneratedPositionsDeflated),fo(this.__originalMappings,lo.compareByOriginalPositions)},no.IndexedSourceMapConsumer=xo;var wo={},So=Bi.SourceMapGenerator,Eo=Vi,_o=/(\r?\n)/,Po="$$$isSourceNode$$$";function To(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[Po]=!0,null!=s&&this.add(s)}To.fromStringWithSourceMap=function(e,t,r){var s=new To,n=e.split(_o),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=Eo.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?Eo.join(r,e.source):e.source;s.add(new To(e.originalLine,e.originalColumn,n,t,e.name))}}},To.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[Po]&&"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},To.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[Po]&&"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},To.prototype.walk=function(e){for(var t,r=0,s=this.children.length;r<s;r++)(t=this.children[r])[Po]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},To.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},To.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[Po]?r.replaceRight(e,t):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this},To.prototype.setSourceContent=function(e,t){this.sourceContents[Eo.toSetString(e)]=t},To.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][Po]&&this.children[t].walkSourceContents(e);var s=Object.keys(this.sourceContents);for(t=0,r=s.length;t<r;t++)e(Eo.fromSetString(s[t]),this.sourceContents[s[t]])},To.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},To.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new So(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}},wo.SourceNode=To;var Ao=Fi.SourceMapGenerator=Bi.SourceMapGenerator;Fi.SourceMapConsumer=no.SourceMapConsumer,Fi.SourceNode=wo.SourceNode;const Co="/*#__PURE__*/",ko=e=>`${Qe[e]}: _${Qe[e]}`;function Oo(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=>`_${Qe[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&&En(r)&&(e=r)}m(t.loc.start,e)}Nn(d,e),t&&t.loc!==et&&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 Ao,d.map.setSourceContent(n,d.source)),d}function No(e,t={}){const r=Oo(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?Oo(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(We),e.helpers.add(ze)),e.helpers.size){const t=Array.from(e.helpers);o?(n(`import { ${t.map((e=>Qe[e])).join(", ")} } from ${JSON.stringify(a)}\n`),n(`\n// Binding optimization for webpack code-split\nconst ${t.map((e=>`_${Qe[e]} = ${Qe[e]}`)).join(", ")}\n`)):n(`import { ${t.map((e=>`${Qe[e]} as _${Qe[e]}`)).join(", ")} } from ${JSON.stringify(a)}\n`)}e.ssrHelpers&&e.ssrHelpers.length&&n(`import { ${e.ssrHelpers.map((e=>`${Qe[e]} as _${Qe[e]}`)).join(", ")} } from "${c}"\n`),e.imports.length&&(function(e,t){e.length&&e.forEach((e=>{t.push("import "),Do(e.exp,t),t.push(` from '${e.path}'`),t.newline()}))}(e.imports,t),i()),Lo(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(ko).join(", ")} } = ${l}\n`):(n(`const _Vue = ${l}\n`),e.hoists.length&&n(`const { ${[we,Se,Ee,_e,Pe].filter((e=>h.includes(e))).map(ko).join(", ")} } = _Vue\n`))),e.ssrHelpers&&e.ssrHelpers.length&&n(`const { ${e.ssrHelpers.map(ko).join(", ")} } = require("${c}")\n`),Lo(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(ko).join(", ")} } = _Vue`),n("\n"),c())),e.components.length&&(Io(e.components,"component",r),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(Io(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?Do(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 Io(e,t,{helper:r,push:s,newline:n,isTS:i}){const o=r("component"===t?Te:Ce);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 ${Wn(a,t)} = ${o}(${JSON.stringify(a)}${c?", true":""})${i?"!":""}`),r<e.length-1&&n()}}function Lo(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(We)}("${i}"),n=n(),${n(ze)}(),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?`${Co} _withScopeId(() => `:""}`),Do(i,t),e&&r(")"),s()}}t.pure=!1}function Ro(e,t){const r=e.length>3||e.some((e=>T(e)||!function(e){return A(e)||4===e.type||2===e.type||5===e.type||8===e.type}(e)));t.push("["),r&&t.indent(),Mo(e,t,r),r&&t.deindent(),t.push("]")}function Mo(e,t,r=!1,s=!0){const{push:n,newline:i}=t;for(let o=0;o<e.length;o++){const a=e[o];A(a)?n(a):T(a)?Ro(a,t):Do(a,t),o<e.length-1&&(r?(s&&n(","),i()):s&&n(", "))}}function Do(e,t){if(A(e))t.push(e);else if(C(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:In(null!=e.codegenNode,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),Do(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:jo(e,t);break;case 5:!function(e,t){const{push:r,helper:s,pure:n}=t;n&&r(Co),r(`${s(Re)}(`),Do(e.content,t),r(")")}(e,t);break;case 12:Do(e.codegenNode,t);break;case 8:Fo(e,t);break;case 3:!function(e,t){const{push:r,helper:s,pure:n}=t;n&&r(Co),r(`${s(Ee)}(${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(Oe)+"("),u&&r(`(${s(be)}(${p?"true":""}), `),n&&r(Co);r(s(u?ft(t.inSSR,d):dt(t.inSSR,d))+"(",e),Mo(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(", "),Do(h,t),r(")"))}(e,t);break;case 14:!function(e,t){const{push:r,helper:s,pure:n}=t,i=A(e.callee)?e.callee:s(e.callee);n&&r(Co),r(i+"(",e),Mo(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];Bo(s,t),r(": "),Do(n,t),e<o.length-1&&(r(","),i())}a&&n(),r(a?"}":" }")}(e,t);break;case 17:!function(e,t){Ro(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(`_${Qe[Ge]}(`),r("(",e),T(i)?Mo(i,t):i&&Do(i,t),r(") => "),(c||a)&&(r("{"),s()),o?(c&&r("return "),T(o)?Ro(o,t):Do(o,t)):a&&Do(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=!En(r.content);e&&o("("),jo(r,t),e&&o(")")}else o("("),Do(r,t),o(")");i&&a(),t.indentLevel++,i||o(" "),o("? "),Do(s,t),t.indentLevel--,i&&l(),i||o(" "),o(": ");const h=19===n.type;h||t.indentLevel++,Do(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(Ve)}(-1),`),o()),r(`_cache[${e.index}] = `),Do(e.value,t),e.isVNode&&(r(","),o(),r(`${s(Ve)}(1),`),o(),r(`_cache[${e.index}]`),i()),r(")")}(e,t);break;case 21:Mo(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];A(i)?r(i.replace(/(`|\$|\\)/g,"\\$1")):(r("${"),o&&s(),Do(i,t),o&&n(),r("}"))}r("`")}(e,t);break;case 23:Uo(e,t);break;case 24:!function(e,t){Do(e.left,t),t.push(" = "),Do(e.right,t)}(e,t);break;case 25:!function(e,t){t.push("("),Mo(e.expressions,t),t.push(")")}(e,t);break;case 26:!function({returns:e},t){t.push("return "),T(e)?Ro(e,t):Do(e,t)}(e,t);break;case 10:break;default:return In(!1,`unhandled codegen node type: ${e.type}`),e}}function jo(e,t){const{content:r,isStatic:s}=e;t.push(s?JSON.stringify(r):r,e)}function Fo(e,t){for(let r=0;r<e.children.length;r++){const s=e.children[r];A(s)?t.push(s):Do(s,t)}}function Bo(e,t){const{push:r}=t;8===e.type?(r("["),Fo(e,t),r("]")):e.isStatic?r(En(e.content)?e.content:JSON.stringify(e.content),e):r(`[${e.content}]`,e)}function Uo(e,t){const{push:r,indent:s,deindent:n}=t,{test:i,consequent:o,alternate:a}=e;r("if ("),Do(i,t),r(") {"),s(),Do(o,t),n(),r("}"),a&&(r(" else "),23===a.type?Uo(a,t):(r("{"),s(),Do(a,t),n(),r("}")))}class $o{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 qo extends $o{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 Ho(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 qo(t,r).visit(e,null)}(e,{enter(e,i){if(i&&s.push(i),i&&i.type.startsWith("TS")&&!Zo.includes(i.type))return this.skip();if("Identifier"===e.type){const o=!!n[e.name],a=Vo(e,i,s);(r||a&&!o)&&t(e,i,s,a,o)}else"ObjectProperty"===e.type&&"ObjectPattern"===i.type?e.inPattern=!0:Jo(e)?zo(e,(t=>Yo(e,t,n))):"BlockStatement"===e.type&&Go(e,(t=>Yo(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 Vo(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 Wo(t,r)}return!1}function Wo(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 zo(e,t){for(const r of e.params)for(const e of Ko(r))t(e)}function Go(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 Ko(e.id))t(r)}else if("FunctionDeclaration"===r.type||"ClassDeclaration"===r.type){if(r.declare||!r.id)continue;t(r.id)}}function Ko(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?Ko(r.argument,t):Ko(r.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&Ko(e,t)}));break;case"RestElement":Ko(e.argument,t);break;case"AssignmentPattern":Ko(e.left,t)}return t}function Yo(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 Jo=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Xo=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,Qo=(e,t)=>Xo(t)&&t.key===e,Zo=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"],ea=y("true,false,null,this"),ta=/\w\s*\(|\.[^\d]/,ra=(e,t)=>{if(5===e.type)e.content=sa(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=sa(e,t,"slot"===s.name)),r&&4===r.type&&!r.isStatic&&(s.arg=sa(r,t))}}};function sa(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=P(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&&Wo(r,d);if(ia(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(Ke)}(${e})`;if("setup-let"===a){if(i){const{right:s,operator:n}=r,i=na(sa(ot(c.slice(s.start-1,s.end-1),!1),t,!1,!1,f));return`${t.helperString(Ye)}(${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(Ye)}(${e})${t.isTS?" //@ts-ignore\n":""} ? ${o}${e}.value${a} : ${o}${e}${a}`}return h?e:`${t.helperString(Ke)}(${e})`}if("props"===a)return q(e);if("props-aliased"===a)return q(o.__propsAliases[e])}else{if(a&&a.startsWith("setup")||"literal-const"===a)return`$setup.${e}`;if("props-aliased"===a)return`$props['${o.__propsAliases[e]}']`;if(a)return`$${a}.${e}`}return`_ctx.${e}`},c=e.content,l=ta.test(c);if(En(c)){const s=t.identifiers[c],n=W(c),i=ea(c);return r||s||n||i?s||(e.constType=i?3:2):(ia(o[e.content])&&(e.constType=1),e.content=a(c)),e}let h;const u=s?` ${c} `:`(${c})${r?"=>{}":""}`;try{h=yn(u,{plugins:t.expressionPlugins}).program}catch(r){return t.onError(ue(45,e.loc,void 0,r.message)),e}const p=[],d=[],f=Object.create(t.identifiers);Ho(h,((e,t,r,s,n)=>{if(Qo(e,t))return;const i=s&&(!W((o=e).name)&&"require"!==o.name);var o;i&&!n?(Xo(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(ot(t.name,!1,{source:a,start:On(e.loc.start,a,s),end:On(e.loc.start,a,n)},t.isConstant?3:0)),r===p.length-1&&n<c.length&&m.push(c.slice(n))})),m.length?g=at(m,e.loc):(g=e,g.constType=l?0:3),g.identifiers=Object.keys(f),g}function na(e){return A(e)?e:4===e.type?e.content:e.children.map(na).join("")}function ia(e){return"setup-const"===e||"literal-const"===e}const oa=ji(/^(if|else|else-if)$/,((e,t,r)=>aa(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=la(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=la(t,o+e.branches.length-1,r)}}}))));function aa(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(ue(28,t.loc)),t.exp=ot("true",!1,s)}if(r.prefixIdentifiers&&t.exp&&(t.exp=sa(t.exp,r)),"if"===t.name){const n=ca(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(ue(30,e.loc)),r.removeNode();const n=ca(e,t);!i.length||r.parent&&1===r.parent.type&&xn(r.parent.tag,"transition")||(n.children=[...i,...n.children]);{const e=n.userKey;e&&a.branches.forEach((({userKey:t})=>{ua(t,e)&&r.onError(ue(29,n.userKey.loc))}))}a.branches.push(n);const o=s&&s(a,n,!1);Di(n,r),o&&o(),r.currentNode=null}else r.onError(ue(30,e.loc));break}r.removeNode(a)}}}}function ca(e,t){const r=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:r&&!Ln(e,"for")?e.children:[e],userKey:Rn(e,"key"),isTemplateIf:r}}function la(e,t,r){return e.condition?ht(e.condition,ha(e,t,r),ct(r.helper(Ee),['"v-if"',"true"])):ha(e,t,r)}function ha(e,t,r){const{helper:s}=r,n=it("key",ot(`${t}`,!1,et,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 Hn(e,n,r),e}{let t=64,o=H[64];return e.isTemplateIf||1!==i.filter((e=>3!==e.type)).length||(t|=2048,o+=`, ${H[2048]}`),rt(r,s(de),nt([n]),i,t+` /* ${o} */`,void 0,void 0,!0,!1,!1,e.loc)}}{const e=o.codegenNode,t=Gn(e);return 13===t.type&&mt(t,r),Hn(t,n,r),e}}function ua(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 pa=ji("for",((e,t,r)=>{const{helper:s,removeHelper:n}=r;return da(e,t,r,(t=>{const i=ct(s(Ne),[t.source]),o=Bn(e),a=Ln(e,"memo"),c=Rn(e,"key"),l=c&&(6===c.type?ot(c.value.content,!0):c.exp),h=c?it("key",l):null;o&&(a&&(a.exp=sa(a.exp,r)),h&&6!==c.type&&(h.value=sa(h.value,r)));const u=4===t.source.type&&t.source.constType>0,p=u?64:c?128:256;return t.codegenNode=rt(r,s(de),void 0,i,p+` /* ${H[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=Rn(e,"key");if(t)return r.onError(ue(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&&Hn(c,h,r)):d?c=rt(r,s(de),h?nt([h]):void 0,e.children,`64 /* ${H[64]} */`,void 0,void 0,!0,void 0,!1):(c=p[0].codegenNode,o&&h&&Hn(c,h,r),c.isBlock!==!u&&(c.isBlock?(n(be),n(ft(r.inSSR,c.isComponent))):n(dt(r.inSSR,c.isComponent))),c.isBlock=!u,c.isBlock?(s(be),s(ft(r.inSSR,c.isComponent))):s(dt(r.inSSR,c.isComponent))),a){const e=lt(va(t.parseResult,[ot("_cached")]));e.body=pt([at(["const _memo = (",a.exp,")"]),at(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${r.helperString(Xe)}(_cached, _memo)) return _cached`]),at(["const _item = ",c]),ot("_item.memo = _memo"),ot("return _item")]),i.arguments.push(e,ot("_cache"),ot(String(r.cached++)))}else i.arguments.push(lt(va(t.parseResult),c,!0))}}))}));function da(e,t,r,s){if(!t.exp)return void r.onError(ue(31,t.loc));const n=ya(t.exp,r);if(!n)return void r.onError(ue(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:Bn(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 fa=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ma=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ga=/^\(|\)$/g;function ya(e,t){const r=e.loc,s=e.content,n=s.match(fa);if(!n)return;const[,i,o]=n,a={source:ba(r,o.trim(),s.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0};t.prefixIdentifiers&&(a.source=sa(a.source,t));let c=i.trim().replace(ga,"").trim();const l=i.indexOf(c),h=c.match(ma);if(h){c=c.replace(ma,"").trim();const e=h[1].trim();let n;if(e&&(n=s.indexOf(e,l+c.length),a.key=ba(r,e,n),t.prefixIdentifiers&&(a.key=sa(a.key,t,!0))),h[2]){const i=h[2].trim();i&&(a.index=ba(r,i,s.indexOf(i,a.key?n+e.length:l+c.length)),t.prefixIdentifiers&&(a.index=sa(a.index,t,!0)))}}return c&&(a.value=ba(r,c,l),t.prefixIdentifiers&&(a.value=sa(a.value,t,!0))),a}function ba(e,t,r){return ot(t,!1,kn(e,r,t.length))}function va({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||ot("_".repeat(t+1),!1)))}([e,t,r,...s])}const xa=ot("undefined",!1),wa=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const r=Ln(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--}}}},Sa=(e,t)=>{let r;if(Bn(e)&&e.props.some(Fn)&&(r=Ln(e,"for"))){const e=r.parseResult=ya(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)}}}},Ea=(e,t,r)=>lt(e,t,!1,!0,t.length?t[0].loc:r);function _a(e,t,r=Ea){t.helper(Ge);const{children:s,loc:n}=e,i=[],o=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;!t.ssr&&t.prefixIdentifiers&&(a=zn(e,t.identifiers));const c=Ln(e,"slot",!0);if(c){const{arg:e,exp:t}=c;e&&!vn(e)&&(a=!0),i.push(it(e||ot("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(!Bn(n)||!(f=Ln(n,"slot",!0))){3!==n.type&&u.push(n);continue}if(c){t.onError(ue(37,f.loc));break}l=!0;const{children:m,loc:g}=n,{arg:y=ot("default",!0),exp:b,loc:v}=f;let x;vn(y)?x=y?y.content:"default":a=!0;const w=r(b,m,g);let S,E,_;if(S=Ln(n,"if"))a=!0,o.push(ht(S.exp,Pa(y,w,d++),xa));else if(E=Ln(n,/^else(-if)?$/,!0)){let r,n=e;for(;n--&&(r=s[n],3===r.type););if(r&&Bn(r)&&Ln(r,"if")){s.splice(e,1),e--;let t=o[o.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=E.exp?ht(E.exp,Pa(y,w,d++),xa):Pa(y,w,d++)}else t.onError(ue(30,E.loc))}else if(_=Ln(n,"for")){a=!0;const e=_.parseResult||ya(_.exp,t);e?o.push(ct(t.helper(Ne),[e.source,lt(va(e),Pa(y,w),!0)])):t.onError(ue(32,_.loc))}else{if(x){if(p.has(x)){t.onError(ue(38,v));continue}p.add(x),"default"===x&&(h=!0)}i.push(it(y,w))}}if(!c){const e=(e,t)=>it("default",r(e,t,n));l?u.length&&u.some((e=>Aa(e)))&&(h?t.onError(ue(39,u[0].loc)):i.push(e(void 0,u))):i.push(e(void 0,s))}const f=a?2:Ta(e.children)?3:1;let m=nt(i.concat(it("_",ot(f+` /* ${V[f]} */`,!1))),n);return o.length&&(m=ct(t.helper(Le),[m,st(o)])),{slots:m,hasDynamicSlots:a}}function Pa(e,t,r){const s=[it("name",e),it("fn",t)];return null!=r&&s.push(it("key",ot(String(r),!0))),nt(s)}function Ta(e){for(let t=0;t<e.length;t++){const r=e[t];switch(r.type){case 1:if(2===r.tagType||Ta(r.children))return!0;break;case 9:if(Ta(r.branches))return!0;break;case 10:case 11:if(Ta(r.children))return!0}}return!1}function Aa(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Aa(e.content))}const Ca=new WeakMap,ka=(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?Oa(e,t):`"${r}"`;const o=k(i)&&i.callee===Ae;let a,c,l,h,u,p,d=0,f=o||i===fe||i===me||!n&&("svg"===r||"foreignObject"===r);if(s.length>0){const r=Ia(e,t,void 0,n,o);a=r.props,d=r.patchFlag,u=r.dynamicPropNames;const s=r.directives;p=s&&s.length?st(s.map((e=>Ma(e,t)))):void 0,r.shouldUseBlock&&(f=!0)}if(e.children.length>0)if(i===ge&&(f=!0,d|=1024,e.children.length>1&&t.onError(ue(46,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}))),n&&i!==fe&&i!==ge){const{slots:r,hasDynamicSlots:s}=_a(e,t);c=r,s&&(d|=1024)}else if(1===e.children.length&&i!==fe){const r=e.children[0],s=r.type,n=5===s||8===s;n&&0===Ci(r,t)&&(d|=1),c=n||2===s?r:e.children}else c=e.children;if(0!==d){if(d<0)l=d+` /* ${H[d]} */`;else{const e=Object.keys(H).map(Number).filter((e=>e>0&&d&e)).map((e=>H[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=rt(t,i,a,c,l,h,p,!!f,!1,n,e.loc)};function Oa(e,t,r=!1){let{tag:s}=e;const n=Da(s),i=Rn(e,"is");if(i)if(n){const e=6===i.type?i.value&&ot(i.value.content,!0):i.exp;if(e)return ct(t.helper(Ae),[e])}else 6===i.type&&i.value.content.startsWith("vue:")&&(s=i.value.content.slice(4));const o=!n&&Ln(e,"is");if(o&&o.exp)return t.onWarn(ue(52,o.loc)),ct(t.helper(Ae),[o.exp]);const a=wn(s)||t.isBuiltInComponent(s);if(a)return r||t.helper(a),a;{const e=Na(s,t);if(e)return e;const r=s.indexOf(".");if(r>0){const e=Na(s.slice(0,r),t);if(e)return e+s.slice(r)}}return t.selfName&&B(D(s))===t.selfName?(t.helper(Te),t.components.add(s+"__self"),Wn(s,"component")):(t.helper(Te),t.components.add(s),Wn(s,"component"))}function Na(e,t){const r=t.bindingMetadata;if(!r||!1===r.__isScriptSetup)return;const s=D(e),n=B(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")||i("literal-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(Ke)}(${a})`:`$setup[${JSON.stringify(a)}]`:void 0}function Ia(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(nt(La(l),a)),l=[]),e&&h.push(e)},_=({key:e,value:r})=>{if(vn(e)){const i=e.content,o=S(i);if(!o||s&&!n||"onclick"===i.toLowerCase()||"onUpdate:modelValue"===i||I(i)||(b=!0),o&&I(i)&&(x=!0),20===r.type||(4===r.type||8===r.type)&&Ci(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(it(ot("ref_for",!0),ot("true"))),s&&t.inline)){const e=t.bindingMetadata[s.content];"setup-let"!==e&&"setup-ref"!==e&&"setup-maybe-ref"!==e||(n=!1,l.push(it(ot("ref_key",!0),ot(s.content,!0,s.loc))))}if("is"===r&&(Da(o)||s&&s.content.startsWith("vue:")))continue;l.push(it(ot(r,!0,kn(e,0,r.length)),ot(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(ue(40,m));continue}if("once"===r||"memo"===r)continue;if("is"===r||g&&Mn(n,"is")&&Da(o))continue;if(y&&i)continue;if((g&&Mn(n,"key")||y&&p&&Mn(n,"vue:before-update"))&&(d=!0),g&&Mn(n,"ref")&&t.scopes.vFor>0&&l.push(it(ot("ref_for",!0),ot("true"))),!n&&(g||y)){v=!0,f?g?(E(),h.push(f)):E({type:14,loc:m,callee:t.helper(Ue),arguments:s?[f]:[f,"true"]}):t.onError(ue(g?34:35,m));continue}const b=t.directiveTransforms[r];if(b){const{props:r,needRuntime:s}=b(c,e,t);!i&&r.forEach(_),y&&n&&!vn(n)?E(nt(r,a)):l.push(...r),s&&(u.push(c),C(s)&&Ca.set(c,s))}else L(r)||(u.push(c),p&&(d=!0))}}let P;if(h.length?(E(),P=h.length>1?ct(t.helper(Me),h,a):h[0]):l.length&&(P=nt(La(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&&P)switch(P.type){case 15:let e=-1,r=-1,s=!1;for(let t=0;t<P.properties.length;t++){const n=P.properties[t].key;vn(n)?"class"===n.content?e=t:"style"===n.content&&(r=t):n.isHandlerKey||(s=!0)}const n=P.properties[e],i=P.properties[r];s?P=ct(t.helper(Fe),[P]):(n&&!vn(n.value)&&(n.value=ct(t.helper(De),[n.value])),i&&(y||4===i.value.type&&"["===i.value.content.trim()[0]||17===i.value.type)&&(i.value=ct(t.helper(je),[i.value])));break;case 14:break;default:P=ct(t.helper(Fe),[ct(t.helper(Be),[P])])}return{props:P,directives:u,patchFlag:f,dynamicPropNames:w,shouldUseBlock:d}}function La(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||S(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=st([e.value,t.value],e.loc)}function Ma(e,t){const r=[],s=Ca.get(e);if(s)r.push(t.helperString(s));else{const s=Na("v-"+e.name,t);s?r.push(s):(t.helper(Ce),t.directives.add(e.name),r.push(Wn(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=ot("true",!1,n);r.push(nt(e.modifiers.map((e=>it(e,t))),n))}return st(r,e.loc)}function Da(e){return"component"===e||"Component"===e}const ja=(e,t)=>{if(Un(e)){const{children:r,loc:s}=e,{slotName:n,slotProps:i}=Fa(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",n,"{}","undefined","true"];let a=2;i&&(o[2]=i,a=3),r.length&&(o[3]=lt([],r,!1,!1,s),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=ct(t.helper(Ie),o,s)}};function Fa(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=D(r.name),n.push(r))):"bind"===r.name&&Mn(r.arg,"name")?r.exp&&(s=r.exp):("bind"===r.name&&r.arg&&vn(r.arg)&&(r.arg.content=D(r.arg.content)),n.push(r))}if(n.length>0){const{props:s,directives:i}=Ia(e,t,n,!1,!1);r=s,i.length&&t.onError(ue(36,i[0].loc))}return{slotName:s,slotProps:r}}const Ba=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Ua=(e,t,r,s)=>{const{loc:n,modifiers:i,arg:o}=e;let a;if(e.exp||i.length||r.onError(ue(35,n)),4===o.type)if(o.isStatic){let e=o.content;e.startsWith("vnode")&&r.onWarn(ue(51,o.loc)),e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),a=ot(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?U(D(e)):`on:${e}`,!0,o.loc)}else a=at([`${r.helperString(He)}(`,o,")"]);else a=o,a.children.unshift(`${r.helperString(He)}(`),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=Cn(c.content,r),n=!(s||Ba.test(c.content)),i=c.content.includes(";");r.prefixIdentifiers&&(n&&r.addIdentifiers("$event"),c=e.exp=sa(c,r,!1,i),n&&r.removeIdentifiers("$event"),l=r.cacheHandlers&&!r.inVOnce&&!(4===c.type&&c.constType>0)&&!(s&&1===t.tagType)&&!zn(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=at([`${n?r.isTS?"($event: any)":"$event":(r.isTS?"\n//@ts-ignore\n":"")+"(...args)"} => ${i?"{":"("}`,c,i?"}":")"]))}let h={props:[it(a,c||ot("() => {}",!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},$a=(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=D(o.content):o.content=`${r.helperString($e)}(${o.content})`:(o.children.unshift(`${r.helperString($e)}(`),o.children.push(")"))),r.inSSR||(n.includes("prop")&&qa(o,"."),n.includes("attr")&&qa(o,"^")),!s||4===s.type&&!s.content.trim()?(r.onError(ue(34,i)),{props:[it(o,ot("",!0,i))]}):{props:[it(o,s)]}},qa=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Ha=(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(jn(t)){n=!0;for(let n=e+1;n<r.length;n++){const i=r[n];if(!jn(i)){s=void 0;break}s||(s=r[e]=at([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(jn(s)||8===s.type){const n=[];2===s.type&&" "===s.content||n.push(s),t.ssr||0!==Ci(s,t)||n.push(`1 /* ${H[1]} */`),r[e]={type:12,content:s,loc:s.loc,codegenNode:ct(t.helper(_e),n)}}}}},Va=new WeakSet,Wa=(e,t)=>{if(1===e.type&&Ln(e,"once",!0)){if(Va.has(e)||t.inVOnce||t.inSSR)return;return Va.add(e),t.inVOnce=!0,t.helper(Ve),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},za=(e,t,r)=>{const{exp:s,arg:n}=e;if(!s)return r.onError(ue(41,e.loc)),Ga();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(ue(44,s.loc)),Ga();const c=r.inline&&("setup-let"===a||"setup-ref"===a||"setup-maybe-ref"===a);if(!o.trim()||!Cn(o,r)&&!c)return r.onError(ue(42,s.loc)),Ga();if(r.prefixIdentifiers&&En(o)&&r.identifiers[o])return r.onError(ue(43,s.loc)),Ga();const l=n||ot("modelValue",!0),h=n?vn(n)?`onUpdate:${D(n.content)}`:at(['"onUpdate:" + ',n]):"onUpdate:modelValue";let u;const p=r.isTS?"($event: any)":"$event";if(c)if("setup-ref"===a)u=at([`${p} => ((`,ot(i,!1,s.loc),").value = $event)"]);else{const e="setup-let"===a?`${i} = $event`:"null";u=at([`${p} => (${r.helperString(Ye)}(${i}) ? (`,ot(i,!1,s.loc),`).value = $event : ${e})`])}else u=at([`${p} => ((`,s,") = $event)"]);const d=[it(l,e.exp),it(h,u)];if(r.prefixIdentifiers&&!r.inVOnce&&r.cacheHandlers&&!zn(s,r.identifiers)&&(d[1].value=r.cache(d[1].value)),e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(En(e)?e:JSON.stringify(e))+": true")).join(", "),r=n?vn(n)?`${n.content}Modifiers`:at([n,' + "Modifiers"']):"modelModifiers";d.push(it(r,ot(`{ ${t} }`,!1,e.loc,2)))}return Ga(d)};function Ga(e=[]){return{props:e}}const Ka=new WeakSet,Ya=(e,t)=>{if(1===e.type){const r=Ln(e,"memo");if(!r||Ka.has(e))return;return Ka.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&13===s.type&&(1!==e.tagType&&mt(s,t),e.codegenNode=ct(t.helper(Je),[r.exp,lt(void 0,s),"_cache",String(t.cached++)]))}}};function Ja(e){return[[Wa,oa,Ya,pa,...e?[Sa,ra]:[],ja,ka,wa,Ha],{on:Ua,bind:$a,model:za}]}function Xa(e,t={}){const r=t.onError||le,s="module"===t.mode,n=!0===t.prefixIdentifiers||s;!n&&t.cacheHandlers&&r(ue(49)),t.scopeId&&!s&&r(ue(50));const i=A(e)?ei(e,t):e,[o,a]=Ja(n);if(t.isTS){const{expressionPlugins:e}=t;e&&e.includes("typescript")||(t.expressionPlugins=[...e||[],"typescript"])}return Mi(i,E({},t,{prefixIdentifiers:n,nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:E({},a,t.directiveTransforms||{})})),No(i,E({},t,{prefixIdentifiers:n}))}const Qa=()=>({props:[]}),Za=Symbol("vModelRadio"),ec=Symbol("vModelCheckbox"),tc=Symbol("vModelText"),rc=Symbol("vModelSelect"),sc=Symbol("vModelDynamic"),nc=Symbol("vOnModifiersGuard"),ic=Symbol("vOnKeysGuard"),oc=Symbol("vShow"),ac=Symbol("Transition"),cc=Symbol("TransitionGroup");Ze({[Za]:"vModelRadio",[ec]:"vModelCheckbox",[tc]:"vModelText",[rc]:"vModelSelect",[sc]:"vModelDynamic",[nc]:"withModifiers",[ic]:"withKeys",[oc]:"vShow",[ac]:"Transition",[cc]:"TransitionGroup"});var lc={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 hc;const uc={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},pc=y("style,iframe,script,noscript",!0),dc={isVoidTag:te,isNativeTag:e=>Z(e)||ee(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])){hc||(hc=Object.keys(lc).reduce(((e,t)=>Math.max(e,t.length)),0));for(let t=hc;!r&&t>0;--t)s=e.slice(1,1+t),r=lc[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=uc[e]||e),n+=String.fromCodePoint(e),i(r[0].length)}else n+=o[0],i(o[0].length)}}return n},isBuiltInComponent:e=>xn(e,"Transition")?ac:xn(e,"TransitionGroup")?cc: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(pc(e))return 2}return 0}},fc=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:ot("style",!0,t.loc),exp:mc(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},mc=(e,t)=>{const r=J(e);return ot(JSON.stringify(r),!1,t,3)};function gc(e,t){return ue(e,t,yc)}const yc={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},bc=y("passive,once,capture"),vc=y("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),xc=y("left,right"),wc=y("onkeyup,onkeydown,onkeypress",!0),Sc=(e,t)=>vn(e)&&"onclick"===e.content.toLowerCase()?ot(t,!0):4!==e.type?at(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e;function Ec(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(Ec)}const _c=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,Pc=(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=ct(t.helper(Pe),[JSON.stringify(i.map((e=>Ic(e,t))).join("")).replace(_c,'" + $1 + "'),String(i.length)]);if(kc(i[0],s,t),i.length>1){for(let e=1;e<i.length;e++)kc(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(Tc(t)){const e=t,r=Nc(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)},Tc=e=>(1===e.type&&0===e.tagType||12==e.type)&&e.codegenNode&&4===e.codegenNode.type&&e.codegenNode.hoisted,Ac=/^(data|aria)-/,Cc=(e,t)=>(0===t?se(e):1===t&&ne(e))||Ac.test(e),kc=(e,t,r)=>{const s=e.codegenNode.hoisted;r.hoists[r.hoists.indexOf(s)]=t},Oc=y("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function Nc(e){if(1===e.type&&Oc(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&&!Cc(t.name,i.ns))return n();if(7===t.type&&"bind"===t.name){if(t.arg&&(8===t.arg.type||t.arg.isStatic&&!Cc(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 Ic(e,t){if(A(e))return e;if(C(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+=`="${oe(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(re(n.arg.content)&&"false"===e.content)continue;let t=Lc(e);if(null!=t){const e=n.arg&&n.arg.content;"class"===e?t=Q(t):"style"===e&&(t=X(z(t))),r+=` ${n.arg.content}="${oe(t)}"`}}else"html"===n.name?s=Lc(n.exp):"text"===n.name&&(s=oe(ae(Lc(n.exp))))}if(t.scopeId&&(r+=` ${t.scopeId}`),r+=">",s)r+=s;else for(let s=0;s<e.children.length;s++)r+=Ic(e.children[s],t);return te(e.tag)||(r+=`</${e.tag}>`),r}(e,t);case 2:return oe(e.content);case 3:return`\x3c!--${oe(e.content)}--\x3e`;case 5:return oe(ae(Lc(e.content)));case 8:return oe(Lc(e));case 12:return Ic(e.content,t);default:return""}}function Lc(e){if(4===e.type)return new Function(`return (${e.content})`)();{let t="";return e.children.forEach((e=>{A(e)||C(e)||(2===e.type?t+=e.content:5===e.type?t+=ae(Lc(e.content)):t+=Lc(e))})),t}}const Rc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(gc(63,e.loc)),t.removeNode())},Mc=[fc,(e,t)=>{if(1===e.type&&1===e.tagType&&t.isBuiltInComponent(e.tag)===ac)return()=>{if(!e.children.length)return;Ec(e)&&t.onError(gc(62,{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})}}],Dc={cloak:Qa,html:(e,t,r)=>{const{exp:s,loc:n}=e;return s||r.onError(gc(53,n)),t.children.length&&(r.onError(gc(54,n)),t.children.length=0),{props:[it(ot("innerHTML",!0,n),s||ot("",!0))]}},text:(e,t,r)=>{const{exp:s,loc:n}=e;return s||r.onError(gc(55,n)),t.children.length&&(r.onError(gc(56,n)),t.children.length=0),{props:[it(ot("textContent",!0),s?Ci(s,r)>0?s:ct(r.helperString(Re),[s],n):ot("",!0))]}},model:(e,t,r)=>{const s=za(e,t,r);if(!s.props.length||1===t.tagType)return s;function n(){const e=Rn(t,"value");e&&r.onError(gc(60,e.loc))}e.arg&&r.onError(gc(58,e.arg.loc));const{tag:i}=t,o=r.isCustomElement(i);if("input"===i||"textarea"===i||"select"===i||o){let a=tc,c=!1;if("input"===i||o){const s=Rn(t,"type");if(s){if(7===s.type)a=sc;else if(s.value)switch(s.value.content){case"radio":a=Za;break;case"checkbox":a=ec;break;case"file":c=!0,r.onError(gc(59,e.loc));break;default:n()}}else Dn(t)?a=sc:n()}else"select"===i?a=rc:n();c||(s.needRuntime=r.helper(a))}else r.onError(gc(57,e.loc));return s.props=s.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),s},on:(e,t,r)=>Ua(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];bc(s)?o.push(s):xc(s)?vn(e)?wc(e.content)?n.push(s):i.push(s):(n.push(s),i.push(s)):vc(s)?i.push(s):n.push(s)}return{keyModifiers:n,nonKeyModifiers:i,eventOptionModifiers:o}})(n,s,0,e.loc);if(a.includes("right")&&(n=Sc(n,"onContextmenu")),a.includes("middle")&&(n=Sc(n,"onMouseup")),a.length&&(i=ct(r.helper(nc),[i,JSON.stringify(a)])),!o.length||vn(n)&&!wc(n.content)||(i=ct(r.helper(ic),[i,JSON.stringify(o)])),c.length){const e=c.map(B).join("");n=vn(n)?ot(`${n.content}${e}`,!0):at(["(",n,`) + "${e}"`])}return{props:[it(n,i)]}})),show:(e,t,r)=>{const{exp:s,loc:n}=e;return s||r.onError(gc(61,n)),{props:[],needRuntime:r.helper(oc)}}};var jc=Object.freeze({__proto__:null,BASE_TRANSITION:ye,CAMELIZE:$e,CAPITALIZE:qe,CREATE_BLOCK:ve,CREATE_COMMENT:Ee,CREATE_ELEMENT_BLOCK:xe,CREATE_ELEMENT_VNODE:Se,CREATE_SLOTS:Le,CREATE_STATIC:Pe,CREATE_TEXT:_e,CREATE_VNODE:we,DOMDirectiveTransforms:Dc,DOMNodeTransforms:Mc,FRAGMENT:de,GUARD_REACTIVE_PROPS:Be,IS_MEMO_SAME:Xe,IS_REF:Ye,KEEP_ALIVE:ge,MERGE_PROPS:Me,NORMALIZE_CLASS:De,NORMALIZE_PROPS:Fe,NORMALIZE_STYLE:je,OPEN_BLOCK:be,POP_SCOPE_ID:ze,PUSH_SCOPE_ID:We,RENDER_LIST:Ne,RENDER_SLOT:Ie,RESOLVE_COMPONENT:Te,RESOLVE_DIRECTIVE:Ce,RESOLVE_DYNAMIC_COMPONENT:Ae,RESOLVE_FILTER:ke,SET_BLOCK_TRACKING:Ve,SUSPENSE:me,TELEPORT:fe,TO_DISPLAY_STRING:Re,TO_HANDLERS:Ue,TO_HANDLER_KEY:He,TRANSITION:ac,TRANSITION_GROUP:cc,TS_NODE_TYPES:Zo,UNREF:Ke,V_MODEL_CHECKBOX:ec,V_MODEL_DYNAMIC:sc,V_MODEL_RADIO:Za,V_MODEL_SELECT:rc,V_MODEL_TEXT:tc,V_ON_WITH_KEYS:ic,V_ON_WITH_MODIFIERS:nc,V_SHOW:oc,WITH_CTX:Ge,WITH_DIRECTIVES:Oe,WITH_MEMO:Je,advancePositionWithClone:On,advancePositionWithMutation:Nn,assert:In,baseCompile:Xa,baseParse:ei,buildDirectiveArgs:Ma,buildProps:Ia,buildSlots:_a,checkCompatEnabled:function(e,t,r,...s){const n=function(e,t){const r=Yn("MODE",t),s=Yn(e,t);return 3===r?!0===s:!1!==s}(e,t);return n&&Jn(e,t,r,...s),n},compile:function(e,t={}){return Xa(e,E({},dc,t,{nodeTransforms:[Rc,...Mc,...t.nodeTransforms||[]],directiveTransforms:E({},Dc,t.directiveTransforms||{}),transformHoist:Pc}))},convertToBlock:mt,createArrayExpression:st,createAssignmentExpression:function(e,t){return{type:24,left:e,right:t,loc:et}},createBlockStatement:pt,createCacheExpression:ut,createCallExpression:ct,createCompilerError:ue,createCompoundExpression:at,createConditionalExpression:ht,createDOMCompilerError:gc,createForLoopParams:va,createFunctionExpression:lt,createIfStatement:function(e,t,r){return{type:23,test:e,consequent:t,alternate:r,loc:et}},createInterpolation:function(e,t){return{type:5,loc:t,content:A(e)?ot(e,!1,t):e}},createObjectExpression:nt,createObjectProperty:it,createReturnStatement:function(e){return{type:26,returns:e,loc:et}},createRoot:tt,createSequenceExpression:function(e){return{type:25,expressions:e,loc:et}},createSimpleExpression:ot,createStructuralDirectiveTransform:ji,createTemplateLiteral:function(e){return{type:22,elements:e,loc:et}},createTransformContext:Ri,createVNodeCall:rt,extractIdentifiers:Ko,findDir:Ln,findProp:Rn,generate:No,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:Ja,getConstantType:Ci,getInnerRange:kn,getMemoedVNodeCall:Gn,getVNodeBlockHelper:ft,getVNodeHelper:dt,hasDynamicKeyVBind:Dn,hasScopeRef:zn,helperNameMap:Qe,injectProp:Hn,isBuiltInType:xn,isCoreComponent:wn,isFunctionType:Jo,isInDestructureAssignment:Wo,isMemberExpression:Cn,isMemberExpressionBrowser:e=>{e=e.trim().replace(Tn,(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?_n:Pn).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:An,isReferencedIdentifier:Vo,isSimpleIdentifier:En,isSlotOutlet:Un,isStaticArgOf:Mn,isStaticExp:vn,isStaticProperty:Xo,isStaticPropertyKey:Qo,isTemplateNode:Bn,isText:jn,isVSlot:Fn,locStub:et,noopDirectiveTransform:Qa,parse:function(e,t={}){return ei(e,E({},dc,t))},parserOptions:dc,processExpression:sa,processFor:da,processIf:aa,processSlotOutlet:Fa,registerRuntimeHelpers:Ze,resolveComponentType:Oa,stringifyExpression:na,toValidAssetId:Wn,trackSlotScopes:wa,trackVForSlotScopes:Sa,transform:Mi,transformBind:$a,transformElement:ka,transformExpression:ra,transformModel:za,transformOn:Ua,transformStyle:fc,traverseNode:Di,walkBlockDeclarations:Go,walkFunctionParams:zo,walkIdentifiers:Ho,warnDeprecation:Jn});function Fc(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}var Bc=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Uc=function(e){return Bc.exec(e).slice(1)};function $c(){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=Fc(Jc(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function qc(e){var t=Hc(e),r="/"===Xc(e,-1);return(e=Fc(Jc(e.split("/"),(function(e){return!!e})),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function Hc(e){return"/"===e.charAt(0)}function Vc(){return qc(Jc(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 Wc(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=$c(e).substr(1),t=$c(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 zc(e){var t=Uc(e),r=t[0],s=t[1];return r||s?(s&&(s=s.substr(0,s.length-1)),r+s):"."}function Gc(e,t){var r=Uc(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r}function Kc(e){return Uc(e)[3]}var Yc={extname:Kc,basename:Gc,dirname:zc,sep:"/",delimiter:":",relative:Wc,join:Vc,isAbsolute:Hc,normalize:qc,resolve:$c};function Jc(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 Xc=function(e,t,r){return e.substr(t,r)},Qc=Object.freeze({__proto__:null,basename:Gc,default:Yc,delimiter:":",dirname:zc,extname:Kc,isAbsolute:Hc,join:Vc,normalize:qc,relative:Wc,resolve:$c,sep:"/"});(Yc.posix||Yc).normalize,(Yc.posix||Yc).join;function Zc(e){return"'"===(e=e.trim())[0]&&"'"===e[e.length-1]||'"'===e[0]&&'"'===e[e.length-1]?e.slice(1,-1):e}const el=/v-bind\s*\(/g;function tl(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 rl(e=500){return new Map}const sl=rl(),nl=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/;function il(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(nl);if(t){const[,e,r]=t;return il(`(${e})=>{}`)+il(r)}}let r="";return Ho(bn(e,{plugins:["typescript"]}),(e=>{r+=","+e.name})),r}return function(e){return e.replace(/'[^']*'|"[^"]*"/g,"").replace(/`[^`]+`/g,ol)}(e)}function ol(e){const t=e.match(/\${[^}]+}/g);return t?t.map((e=>e.slice(2,-1))).join(","):""}var al=Object.defineProperty,cl=Object.getOwnPropertySymbols,ll=Object.prototype.hasOwnProperty,hl=Object.prototype.propertyIsEnumerable,ul=(e,t,r)=>t in e?al(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pl=(e,t)=>{for(var r in t||(t={}))ll.call(t,r)&&ul(e,r,t[r]);if(cl)for(var r of cl(t))hl.call(t,r)&&ul(e,r,t[r]);return e};const dl=rl();function fl(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 ml(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=pl({},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(bl," ");{const r=e.split(gl).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 gl=/\r?\n/g,yl=/^(?:\/\/)?\s*$/,bl=/./g;var vl="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},xl=2147483647,wl=36,Sl=1,El=26,_l=38,Pl=700,Tl=72,Al=128,Cl="-",kl=/[^\x20-\x7E]/,Ol=/[\x2E\u3002\uFF0E\uFF61]/g,Nl={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Il=wl-Sl,Ll=Math.floor,Rl=String.fromCharCode;function Ml(e){throw new RangeError(Nl[e])}function Dl(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function jl(e,t,r){var s=0;for(e=r?Ll(e/Pl):e>>1,e+=Ll(e/t);e>Il*El>>1;s+=wl)e=Ll(e/Il);return Ll(s+(Il+1)*e/(e+_l))}function Fl(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(Ol,".")).split("."),(function(e){return kl.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=Al,r=0,i=Tl,o=0;o<p;++o)(u=e[o])<128&&g.push(Rl(u));for(s=n=g.length,n&&g.push(Cl);s<p;){for(a=xl,o=0;o<p;++o)(u=e[o])>=t&&u<a&&(a=u);for(a-t>Ll((xl-r)/(d=s+1))&&Ml("overflow"),r+=(a-t)*d,t=a,o=0;o<p;++o)if((u=e[o])<t&&++r>xl&&Ml("overflow"),u==t){for(c=r,l=wl;!(c<(h=l<=i?Sl:l>=i+El?El:l-i));l+=wl)m=c-h,f=wl-h,g.push(Rl(Dl(h+m%f,0))),c=Ll(m/f);g.push(Rl(Dl(c,0))),i=jl(r,d,s==n),r=0,++s}++r,++t}return g.join("")}(e):e})).join(".");return s+n}(e)}var Bl=[],Ul=[],$l="undefined"!=typeof Uint8Array?Uint8Array:Array,ql=!1;function Hl(){ql=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)Bl[t]=e[t],Ul[e.charCodeAt(t)]=t;Ul["-".charCodeAt(0)]=62,Ul["_".charCodeAt(0)]=63}function Vl(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(Bl[(n=s)>>18&63]+Bl[n>>12&63]+Bl[n>>6&63]+Bl[63&n]);return i.join("")}function Wl(e){var t;ql||Hl();for(var r=e.length,s=r%3,n="",i=[],o=16383,a=0,c=r-s;a<c;a+=o)i.push(Vl(e,a,a+o>c?c:a+o));return 1===s?(t=e[r-1],n+=Bl[t>>2],n+=Bl[t<<4&63],n+="=="):2===s&&(t=(e[r-2]<<8)+e[r-1],n+=Bl[t>>10],n+=Bl[t>>4&63],n+=Bl[t<<2&63],n+="="),i.push(n),i.join("")}function zl(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 Gl(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 Kl={}.toString,Yl=Array.isArray||function(e){return"[object Array]"==Kl.call(e)};function Jl(){return Ql.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Xl(e,t){if(Jl()<t)throw new RangeError("Invalid typed array length");return Ql.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=Ql.prototype:(null===e&&(e=new Ql(t)),e.length=t),e}function Ql(e,t,r){if(!(Ql.TYPED_ARRAY_SUPPORT||this instanceof Ql))return new Ql(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 th(this,e)}return Zl(this,e,t,r)}function Zl(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),Ql.TYPED_ARRAY_SUPPORT?(e=t).__proto__=Ql.prototype:e=rh(e,t),e}(e,t,r,s):"string"==typeof t?function(e,t,r){if("string"==typeof r&&""!==r||(r="utf8"),!Ql.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var s=0|ih(t,r),n=(e=Xl(e,s)).write(t,r);return n!==s&&(e=e.slice(0,n)),e}(e,t,r):function(e,t){if(nh(t)){var r=0|sh(t.length);return 0===(e=Xl(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?Xl(e,0):rh(e,t);if("Buffer"===t.type&&Yl(t.data))return rh(e,t.data)}var s;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function eh(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 th(e,t){if(eh(t),e=Xl(e,t<0?0:0|sh(t)),!Ql.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function rh(e,t){var r=t.length<0?0:0|sh(t.length);e=Xl(e,r);for(var s=0;s<r;s+=1)e[s]=255&t[s];return e}function sh(e){if(e>=Jl())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Jl().toString(16)+" bytes");return 0|e}function nh(e){return!(null==e||!e._isBuffer)}function ih(e,t){if(nh(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 Nh(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Ih(e).length;default:if(s)return Nh(e).length;t=(""+t).toLowerCase(),s=!0}}function oh(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 wh(this,t,r);case"utf8":case"utf-8":return yh(this,t,r);case"ascii":return vh(this,t,r);case"latin1":case"binary":return xh(this,t,r);case"base64":return gh(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sh(this,t,r);default:if(s)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function ah(e,t,r){var s=e[t];e[t]=e[r],e[r]=s}function ch(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=Ql.from(t,s)),nh(t))return 0===t.length?-1:lh(e,t,r,s,n);if("number"==typeof t)return t&=255,Ql.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):lh(e,[t],r,s,n);throw new TypeError("val must be string, number or Buffer")}function lh(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 hh(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 uh(e,t,r,s){return Lh(Nh(t,e.length-r),e,r,s)}function ph(e,t,r,s){return Lh(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,s)}function dh(e,t,r,s){return ph(e,t,r,s)}function fh(e,t,r,s){return Lh(Ih(t),e,r,s)}function mh(e,t,r,s){return Lh(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 gh(e,t,r){return 0===t&&r===e.length?Wl(e):Wl(e.slice(t,r))}function yh(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<=bh)return String.fromCharCode.apply(String,e);for(var r="",s=0;s<t;)r+=String.fromCharCode.apply(String,e.slice(s,s+=bh));return r}(s)}Ql.TYPED_ARRAY_SUPPORT=void 0===vl.TYPED_ARRAY_SUPPORT||vl.TYPED_ARRAY_SUPPORT,Jl(),Ql.poolSize=8192,Ql._augment=function(e){return e.__proto__=Ql.prototype,e},Ql.from=function(e,t,r){return Zl(null,e,t,r)},Ql.TYPED_ARRAY_SUPPORT&&(Ql.prototype.__proto__=Uint8Array.prototype,Ql.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Ql[Symbol.species]),Ql.alloc=function(e,t,r){return function(e,t,r,s){return eh(t),t<=0?Xl(e,t):void 0!==r?"string"==typeof s?Xl(e,t).fill(r,s):Xl(e,t).fill(r):Xl(e,t)}(null,e,t,r)},Ql.allocUnsafe=function(e){return th(null,e)},Ql.allocUnsafeSlow=function(e){return th(null,e)},Ql.isBuffer=function(e){return null!=e&&(!!e._isBuffer||Rh(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Rh(e.slice(0,0))}(e))},Ql.compare=function(e,t){if(!nh(e)||!nh(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},Ql.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}},Ql.concat=function(e,t){if(!Yl(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Ql.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var s=Ql.allocUnsafe(t),n=0;for(r=0;r<e.length;++r){var i=e[r];if(!nh(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(s,n),n+=i.length}return s},Ql.byteLength=ih,Ql.prototype._isBuffer=!0,Ql.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)ah(this,t,t+1);return this},Ql.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)ah(this,t,t+3),ah(this,t+1,t+2);return this},Ql.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)ah(this,t,t+7),ah(this,t+1,t+6),ah(this,t+2,t+5),ah(this,t+3,t+4);return this},Ql.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?yh(this,0,e):oh.apply(this,arguments)},Ql.prototype.equals=function(e){if(!nh(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Ql.compare(this,e)},Ql.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+">"},Ql.prototype.compare=function(e,t,r,s,n){if(!nh(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},Ql.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},Ql.prototype.indexOf=function(e,t,r){return ch(this,e,t,r,!0)},Ql.prototype.lastIndexOf=function(e,t,r){return ch(this,e,t,r,!1)},Ql.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 hh(this,e,t,r);case"utf8":case"utf-8":return uh(this,e,t,r);case"ascii":return ph(this,e,t,r);case"latin1":case"binary":return dh(this,e,t,r);case"base64":return fh(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mh(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+s);s=(""+s).toLowerCase(),i=!0}},Ql.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var bh=4096;function vh(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 xh(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 wh(e,t,r){var s,n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=(s=e[o])<16?"0"+s.toString(16):s.toString(16);return i}function Sh(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 Eh(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 _h(e,t,r,s,n,i){if(!nh(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 Ph(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 Th(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 Ah(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 Ch(e,t,r,s,n){return n||Ah(e,0,r,4),Gl(e,t,r,s,23,4),r+4}function kh(e,t,r,s,n){return n||Ah(e,0,r,8),Gl(e,t,r,s,52,8),r+8}Ql.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),Ql.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=Ql.prototype;else{var n=t-e;r=new Ql(n,void 0);for(var i=0;i<n;++i)r[i]=this[i+e]}return r},Ql.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||Eh(e,t,this.length);for(var s=this[e],n=1,i=0;++i<t&&(n*=256);)s+=this[e+i]*n;return s},Ql.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||Eh(e,t,this.length);for(var s=this[e+--t],n=1;t>0&&(n*=256);)s+=this[e+--t]*n;return s},Ql.prototype.readUInt8=function(e,t){return t||Eh(e,1,this.length),this[e]},Ql.prototype.readUInt16LE=function(e,t){return t||Eh(e,2,this.length),this[e]|this[e+1]<<8},Ql.prototype.readUInt16BE=function(e,t){return t||Eh(e,2,this.length),this[e]<<8|this[e+1]},Ql.prototype.readUInt32LE=function(e,t){return t||Eh(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Ql.prototype.readUInt32BE=function(e,t){return t||Eh(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Ql.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||Eh(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},Ql.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||Eh(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},Ql.prototype.readInt8=function(e,t){return t||Eh(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Ql.prototype.readInt16LE=function(e,t){t||Eh(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},Ql.prototype.readInt16BE=function(e,t){t||Eh(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},Ql.prototype.readInt32LE=function(e,t){return t||Eh(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Ql.prototype.readInt32BE=function(e,t){return t||Eh(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Ql.prototype.readFloatLE=function(e,t){return t||Eh(e,4,this.length),zl(this,e,!0,23,4)},Ql.prototype.readFloatBE=function(e,t){return t||Eh(e,4,this.length),zl(this,e,!1,23,4)},Ql.prototype.readDoubleLE=function(e,t){return t||Eh(e,8,this.length),zl(this,e,!0,52,8)},Ql.prototype.readDoubleBE=function(e,t){return t||Eh(e,8,this.length),zl(this,e,!1,52,8)},Ql.prototype.writeUIntLE=function(e,t,r,s){e=+e,t|=0,r|=0,s||_h(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},Ql.prototype.writeUIntBE=function(e,t,r,s){e=+e,t|=0,r|=0,s||_h(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},Ql.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||_h(this,e,t,1,255,0),Ql.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Ql.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||_h(this,e,t,2,65535,0),Ql.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Ph(this,e,t,!0),t+2},Ql.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||_h(this,e,t,2,65535,0),Ql.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Ph(this,e,t,!1),t+2},Ql.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||_h(this,e,t,4,4294967295,0),Ql.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Th(this,e,t,!0),t+4},Ql.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||_h(this,e,t,4,4294967295,0),Ql.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Th(this,e,t,!1),t+4},Ql.prototype.writeIntLE=function(e,t,r,s){if(e=+e,t|=0,!s){var n=Math.pow(2,8*r-1);_h(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},Ql.prototype.writeIntBE=function(e,t,r,s){if(e=+e,t|=0,!s){var n=Math.pow(2,8*r-1);_h(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},Ql.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||_h(this,e,t,1,127,-128),Ql.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Ql.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||_h(this,e,t,2,32767,-32768),Ql.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Ph(this,e,t,!0),t+2},Ql.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||_h(this,e,t,2,32767,-32768),Ql.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Ph(this,e,t,!1),t+2},Ql.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||_h(this,e,t,4,2147483647,-2147483648),Ql.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Th(this,e,t,!0),t+4},Ql.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||_h(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Ql.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Th(this,e,t,!1),t+4},Ql.prototype.writeFloatLE=function(e,t,r){return Ch(this,e,t,!0,r)},Ql.prototype.writeFloatBE=function(e,t,r){return Ch(this,e,t,!1,r)},Ql.prototype.writeDoubleLE=function(e,t,r){return kh(this,e,t,!0,r)},Ql.prototype.writeDoubleBE=function(e,t,r){return kh(this,e,t,!1,r)},Ql.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||!Ql.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},Ql.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&&!Ql.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=nh(e)?e:Nh(new Ql(e,s).toString()),a=o.length;for(i=0;i<r-t;++i)this[i+t]=o[i%a]}return this};var Oh=/[^+\/0-9A-Za-z-_]/g;function Nh(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 Ih(e){return function(e){var t,r,s,n,i,o;ql||Hl();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 $l(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=Ul[e.charCodeAt(t)]<<18|Ul[e.charCodeAt(t+1)]<<12|Ul[e.charCodeAt(t+2)]<<6|Ul[e.charCodeAt(t+3)],o[c++]=n>>16&255,o[c++]=n>>8&255,o[c++]=255&n;return 2===i?(n=Ul[e.charCodeAt(t)]<<2|Ul[e.charCodeAt(t+1)]>>4,o[c++]=255&n):1===i&&(n=Ul[e.charCodeAt(t)]<<10|Ul[e.charCodeAt(t+1)]<<4|Ul[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(Oh,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Lh(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 Rh(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function Mh(){throw new Error("setTimeout has not been defined")}function Dh(){throw new Error("clearTimeout has not been defined")}var jh=Mh,Fh=Dh;function Bh(e){if(jh===setTimeout)return setTimeout(e,0);if((jh===Mh||!jh)&&setTimeout)return jh=setTimeout,setTimeout(e,0);try{return jh(e,0)}catch(t){try{return jh.call(null,e,0)}catch(t){return jh.call(this,e,0)}}}"function"==typeof vl.setTimeout&&(jh=setTimeout),"function"==typeof vl.clearTimeout&&(Fh=clearTimeout);var Uh,$h=[],qh=!1,Hh=-1;function Vh(){qh&&Uh&&(qh=!1,Uh.length?$h=Uh.concat($h):Hh=-1,$h.length&&Wh())}function Wh(){if(!qh){var e=Bh(Vh);qh=!0;for(var t=$h.length;t;){for(Uh=$h,$h=[];++Hh<t;)Uh&&Uh[Hh].run();Hh=-1,t=$h.length}Uh=null,qh=!1,function(e){if(Fh===clearTimeout)return clearTimeout(e);if((Fh===Dh||!Fh)&&clearTimeout)return Fh=clearTimeout,clearTimeout(e);try{return Fh(e)}catch(t){try{return Fh.call(null,e)}catch(t){return Fh.call(this,e)}}}(e)}}function zh(e,t){this.fun=e,this.array=t}function Gh(){}zh.prototype.run=function(){this.fun.apply(null,this.array)};var Kh=Gh,Yh=Gh,Jh=Gh,Xh=Gh,Qh=Gh,Zh=Gh,eu=Gh,tu=vl.performance||{},ru=tu.now||tu.mozNow||tu.msNow||tu.oNow||tu.webkitNow||function(){return(new Date).getTime()},su=new Date,nu={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];$h.push(new zh(e,t)),1!==$h.length||qh||Bh(Wh)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Kh,addListener:Yh,once:Jh,off:Xh,removeListener:Qh,removeAllListeners:Zh,emit:eu,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*ru.call(tu),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-su)/1e3}},iu="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},ou=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},s=0;s<t.length;s++)r[t[s]]=Object.getOwnPropertyDescriptor(e,t[s]);return r},au=/%[sdj%]/g;function cu(e){if(!_u(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(du(arguments[r]));return t.join(" ")}r=1;for(var s=arguments,n=s.length,i=String(e).replace(au,(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])wu(o)||!Cu(o)?i+=" "+o:i+=" "+du(o);return i}function lu(e,t){if(Tu(vl.process))return function(){return lu(e,t).apply(this,arguments)};if(!0===nu.noDeprecation)return e;var r=!1;return function(){if(!r){if(nu.throwDeprecation)throw new Error(t);nu.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}}var hu,uu={};function pu(e){return Tu(hu)&&(hu=nu.env.NODE_DEBUG||""),e=e.toUpperCase(),uu[e]||(new RegExp("\\b"+e+"\\b","i").test(hu)?uu[e]=function(){var t=cu.apply(null,arguments);console.error("%s %d: %s",e,0,t)}:uu[e]=function(){}),uu[e]}function du(e,t){var r={seen:[],stylize:mu};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),xu(t)?r.showHidden=t:t&&Fu(r,t),Tu(r.showHidden)&&(r.showHidden=!1),Tu(r.depth)&&(r.depth=2),Tu(r.colors)&&(r.colors=!1),Tu(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=fu),gu(r,e,r.depth)}function fu(e,t){var r=du.styles[t];return r?"["+du.colors[r][0]+"m"+e+"["+du.colors[r][1]+"m":e}function mu(e,t){return e}function gu(e,t,r){if(e.customInspect&&t&&Nu(t.inspect)&&t.inspect!==du&&(!t.constructor||t.constructor.prototype!==t)){var s=t.inspect(r,e);return _u(s)||(s=gu(e,s,r)),s}var n=function(e,t){if(Tu(t))return e.stylize("undefined","undefined");if(_u(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return Eu(t)?e.stylize(""+t,"number"):xu(t)?e.stylize(""+t,"boolean"):wu(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)),Ou(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return yu(t);if(0===i.length){if(Nu(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(Au(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(ku(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Ou(t))return yu(t)}var c,l="",h=!1,u=["{","}"];return vu(t)&&(h=!0,u=["[","]"]),Nu(t)&&(l=" [Function"+(t.name?": "+t.name:"")+"]"),Au(t)&&(l=" "+RegExp.prototype.toString.call(t)),ku(t)&&(l=" "+Date.prototype.toUTCString.call(t)),Ou(t)&&(l=" "+yu(t)),0!==i.length||h&&0!=t.length?r<0?Au(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)Bu(t,String(o))?i.push(bu(e,t,r,s,String(o),!0)):i.push("");return n.forEach((function(n){n.match(/^\d+$/)||i.push(bu(e,t,r,s,n,!0))})),i}(e,t,r,o,i):i.map((function(s){return bu(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 yu(e){return"["+Error.prototype.toString.call(e)+"]"}function bu(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")),Bu(s,n)||(o="["+n+"]"),a||(e.seen.indexOf(c.value)<0?(a=wu(r)?gu(e,c.value,null):gu(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")),Tu(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 vu(e){return Array.isArray(e)}function xu(e){return"boolean"==typeof e}function wu(e){return null===e}function Su(e){return null==e}function Eu(e){return"number"==typeof e}function _u(e){return"string"==typeof e}function Pu(e){return"symbol"==typeof e}function Tu(e){return void 0===e}function Au(e){return Cu(e)&&"[object RegExp]"===Ru(e)}function Cu(e){return"object"==typeof e&&null!==e}function ku(e){return Cu(e)&&"[object Date]"===Ru(e)}function Ou(e){return Cu(e)&&("[object Error]"===Ru(e)||e instanceof Error)}function Nu(e){return"function"==typeof e}function Iu(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function Lu(e){return Ql.isBuffer(e)}function Ru(e){return Object.prototype.toString.call(e)}function Mu(e){return e<10?"0"+e.toString(10):e.toString(10)}du.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]},du.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Du=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ju(){var e,t;console.log("%s - %s",(t=[Mu((e=new Date).getHours()),Mu(e.getMinutes()),Mu(e.getSeconds())].join(":"),[e.getDate(),Du[e.getMonth()],t].join(" ")),cu.apply(null,arguments))}function Fu(e,t){if(!t||!Cu(t))return e;for(var r=Object.keys(t),s=r.length;s--;)e[r[s]]=t[r[s]];return e}function Bu(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Uu="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function $u(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(Uu&&e[Uu]){var t;if("function"!=typeof(t=e[Uu]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,Uu,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,s=new Promise((function(e,s){t=e,r=s})),n=[],i=0;i<arguments.length;i++)n.push(arguments[i]);n.push((function(e,s){e?r(e):t(s)}));try{e.apply(this,n)}catch(e){r(e)}return s}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Uu&&Object.defineProperty(t,Uu,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,ou(e))}function qu(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}function Hu(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var s=t.pop();if("function"!=typeof s)throw new TypeError("The last argument must be of type Function");var n=this,i=function(){return s.apply(n,arguments)};e.apply(this,t).then((function(e){nu.nextTick(i.bind(null,null,e))}),(function(e){nu.nextTick(qu.bind(null,e,i))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,ou(e)),t}$u.custom=Uu;var Vu={inherits:iu,_extend:Fu,log:ju,isBuffer:Lu,isPrimitive:Iu,isFunction:Nu,isError:Ou,isDate:ku,isObject:Cu,isRegExp:Au,isUndefined:Tu,isSymbol:Pu,isString:_u,isNumber:Eu,isNullOrUndefined:Su,isNull:wu,isBoolean:xu,isArray:vu,inspect:du,deprecate:lu,format:cu,debuglog:pu,promisify:$u,callbackify:Hu},Wu=Object.freeze({__proto__:null,_extend:Fu,callbackify:Hu,debuglog:pu,default:Vu,deprecate:lu,format:cu,inherits:iu,inspect:du,isArray:vu,isBoolean:xu,isBuffer:Lu,isDate:ku,isError:Ou,isFunction:Nu,isNull:wu,isNullOrUndefined:Su,isNumber:Eu,isObject:Cu,isPrimitive:Iu,isRegExp:Au,isString:_u,isSymbol:Pu,isUndefined:Tu,log:ju,promisify:$u});function zu(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Gu=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function Ku(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}}function Yu(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 Ju=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t};function Xu(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),zu(n,u)?Gu(n[u])?n[u].push(p):n[u]=[n[u],p]:n[u]=p}return n}const Qu=vl.URL,Zu=vl.URLSearchParams;var ep={parse:mp,resolve:xp,resolveObject:wp,fileURLToPath:yp,format:bp,Url:tp,URL:Qu,URLSearchParams:Zu};function tp(){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 rp=/^([a-z0-9.+-]+:)/i,sp=/:[0-9]*$/,np=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ip=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),op=["'"].concat(ip),ap=["%","/","?",";","#"].concat(op),cp=["/","?","#"],lp=255,hp=/^[+a-z0-9A-Z_-]{0,63}$/,up=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,pp={javascript:!0,"javascript:":!0},dp={javascript:!0,"javascript:":!0},fp={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function mp(e,t,r){if(e&&Cu(e)&&e instanceof tp)return e;var s=new tp;return s.parse(e,t,r),s}function gp(e,t,r,s){if(!_u(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=np.exec(a);if(c)return e.path=a,e.href=a,e.pathname=c[1],c[2]?(e.search=c[2],e.query=r?Xu(e.search.substr(1)):e.search.substr(1)):r&&(e.search="",e.query={}),e}var l,h,u,p,d=rp.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&&dp[d]||(a=a.substr(2),e.slashes=!0)}if(!dp[d]&&(m||d&&!fp[d])){var g,y,b=-1;for(l=0;l<cp.length;l++)-1!==(h=a.indexOf(cp[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<ap.length;l++)-1!==(h=a.indexOf(ap[l]))&&(-1===b||h<b)&&(b=h);-1===b&&(b=a.length),e.host=a.slice(0,b),a=a.slice(b),Sp(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(hp)){for(var S="",E=0,_=w.length;E<_;E++)w.charCodeAt(E)>127?S+="x":S+=w[E];if(!S.match(hp)){var P=x.slice(0,l),T=x.slice(l+1),A=w.match(up);A&&(P.push(A[1]),T.unshift(A[2])),T.length&&(a="/"+T.join(".")+a),e.hostname=P.join(".");break}}}}e.hostname.length>lp?e.hostname="":e.hostname=e.hostname.toLowerCase(),v||(e.hostname=Fl(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(!pp[f])for(l=0,u=op.length;l<u;l++){var k=op[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=Xu(e.query)),a=a.slice(0,I)):r&&(e.search="",e.query={}),a&&(e.pathname=a),fp[f]&&e.hostname&&!e.pathname&&(e.pathname="/"),e.pathname||e.search){p=e.pathname||"";var L=e.search||"";e.path=p+L}return e.href=vp(e),e}function yp(e){if("string"==typeof e)e=(new tp).parse(e);else if(!(e instanceof tp))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 bp(e){return _u(e)&&(e=gp({},e)),vp(e)}function vp(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&&Cu(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?Yu(Ju(e),(function(s){var n=encodeURIComponent(Ku(s))+r;return Gu(e[s])?Yu(e[s],(function(e){return n+encodeURIComponent(Ku(e))})).join(t):n+encodeURIComponent(Ku(e[s]))})).join(t):""}(e.query));var a=e.search||o&&"?"+o||"";return r&&":"!==r.substr(-1)&&(r+=":"),e.slashes||(!r||fp[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 xp(e,t){return mp(e,!1,!0).resolve(t)}function wp(e,t){return e?mp(e,!1,!0).resolveObject(t):t}function Sp(e){var t=e.host,r=sp.exec(t);r&&(":"!==(r=r[0])&&(e.port=r.substr(1)),t=t.substr(0,t.length-r.length)),t&&(e.hostname=t)}tp.prototype.parse=function(e,t,r){return gp(this,e,t,r)},tp.prototype.format=function(){return vp(this)},tp.prototype.resolve=function(e){return this.resolveObject(mp(e,!1,!0)).format()},tp.prototype.resolveObject=function(e){if(_u(e)){var t=new tp;t.parse(e,!1,!0),e=t}for(var r,s=new tp,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 fp[s.protocol]&&s.hostname&&!s.pathname&&(s.path=s.pathname="/"),s.href=s.format(),s}if(e.protocol&&e.protocol!==s.protocol){if(!fp[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||dp[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&&!fp[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(!Su(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,wu(s.pathname)&&wu(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 S=x.slice(-1)[0],E=(s.host||e.host||x.length>1)&&("."===S||".."===S)||""===S,_=0,P=x.length;P>=0;P--)"."===(S=x[P])?x.splice(P,1):".."===S?(x.splice(P,1),_++):_&&(x.splice(P,1),_--);if(!b&&!v)for(;_--;_)x.unshift("..");!b||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),E&&"/"!==x.join("/").substr(-1)&&x.push("");var T=""===x[0]||x[0]&&"/"===x[0].charAt(0);return w&&(s.hostname=s.host=T?"":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)&&!T&&x.unshift(""),x.length?s.pathname=x.join("/"):(s.pathname=null,s.path=null),wu(s.pathname)&&wu(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},tp.prototype.parseHost=function(){return Sp(this)};var Ep=Object.freeze({__proto__:null,URL:Qu,URLSearchParams:Zu,Url:tp,default:ep,fileURLToPath:yp,format:bp,parse:mp,resolve:xp,resolveObject:wp});Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Ze({[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"}),ji(/^(if|else|else-if)$/,aa),ji("for",da);var _p=Object.defineProperty,Pp=(Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols),Tp=Object.prototype.hasOwnProperty,Ap=Object.prototype.propertyIsEnumerable,Cp=(e,t,r)=>t in e?_p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,kp=(e,t)=>{for(var r in t||(t={}))Tp.call(t,r)&&Cp(e,r,t[r]);if(Pp)for(var r of Pp(t))Ap.call(t,r)&&Cp(e,r,t[r]);return e};Symbol();const[Op,Np]=Ja(!0);kp(kp({},Np),Dc),Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var Ip=yt(Object.freeze({__proto__:null,default:{}})),Lp=yt(Qc),Rp=yt(Wu);function Mp(e){console.warn(`[@vue/compiler-sfc] ${e}\n`)}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var Dp={},jp={get exports(){return Dp},set exports(e){Dp=e}};function Fp(){return!1}function Bp(){throw new Error("tty.ReadStream is not implemented")}function Up(){throw new Error("tty.ReadStream is not implemented")}var $p={isatty:Fp,ReadStream:Bp,WriteStream:Up};let qp=yt(Object.freeze({__proto__:null,ReadStream:Bp,WriteStream:Up,default:$p,isatty:Fp})),Hp=!("NO_COLOR"in{}||nu.argv.includes("--no-color"))&&("FORCE_COLOR"in{}||nu.argv.includes("--color")||qp.isatty(1)&&"dumb"!==nu.env.TERM||"CI"in{}),Vp=(e,t,r=e)=>s=>{let n=""+s,i=n.indexOf(t,e.length);return~i?e+Wp(n,t,r,i)+t:e+n+t},Wp=(e,t,r,s)=>{let n=e.substring(0,s)+r,i=e.substring(s+t.length),o=i.indexOf(t);return~o?n+Wp(i,t,r,o):n+i},zp=(e=Hp)=>({isColorSupported:e,reset:e?e=>`${e}`:String,bold:e?Vp("","",""):String,dim:e?Vp("","",""):String,italic:e?Vp("",""):String,underline:e?Vp("",""):String,inverse:e?Vp("",""):String,hidden:e?Vp("",""):String,strikethrough:e?Vp("",""):String,black:e?Vp("",""):String,red:e?Vp("",""):String,green:e?Vp("",""):String,yellow:e?Vp("",""):String,blue:e?Vp("",""):String,magenta:e?Vp("",""):String,cyan:e?Vp("",""):String,white:e?Vp("",""):String,gray:e?Vp("",""):String,bgBlack:e?Vp("",""):String,bgRed:e?Vp("",""):String,bgGreen:e?Vp("",""):String,bgYellow:e?Vp("",""):String,bgBlue:e?Vp("",""):String,bgMagenta:e?Vp("",""):String,bgCyan:e?Vp("",""):String,bgWhite:e?Vp("",""):String});jp.exports=zp(),Dp.createColors=zp;const Gp="'".charCodeAt(0),Kp='"'.charCodeAt(0),Yp="\\".charCodeAt(0),Jp="/".charCodeAt(0),Xp="\n".charCodeAt(0),Qp=" ".charCodeAt(0),Zp="\f".charCodeAt(0),ed="\t".charCodeAt(0),td="\r".charCodeAt(0),rd="[".charCodeAt(0),sd="]".charCodeAt(0),nd="(".charCodeAt(0),id=")".charCodeAt(0),od="{".charCodeAt(0),ad="}".charCodeAt(0),cd=";".charCodeAt(0),ld="*".charCodeAt(0),hd=":".charCodeAt(0),ud="@".charCodeAt(0),pd=/[\t\n\f\r "#'()/;[\\\]{}]/g,dd=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,fd=/.[\n"'(/\\]/,md=/[\da-f]/i;var gd=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 Xp:case Qp:case ed:case td:case Zp:s=m;do{s+=1,r=p.charCodeAt(s)}while(r===Qp||r===Xp||r===ed||r===td||r===Zp);u=["space",p.slice(m,s)],m=s-1;break;case rd:case sd:case od:case ad:case hd:case cd:case id:{let e=String.fromCharCode(r);u=[e,e,m];break}case nd:if(l=g.length?g.pop()[1]:"",h=p.charCodeAt(m+1),"url"===l&&h!==Gp&&h!==Kp&&h!==Qp&&h!==Xp&&h!==ed&&h!==Zp&&h!==td){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)===Yp;)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||fd.test(i)?u=["(","(",m]:(u=["brackets",i,m,s],m=s);break;case Gp:case Kp:n=r===Gp?"'":'"',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)===Yp;)c-=1,a=!a}while(a);u=["string",p.slice(m,s+1),m,s],m=s;break;case ud:pd.lastIndex=m+1,pd.test(p),s=0===pd.lastIndex?p.length-1:pd.lastIndex-2,u=["at-word",p.slice(m,s+1),m,s],m=s;break;case Yp:for(s=m,o=!0;p.charCodeAt(s+1)===Yp;)s+=1,o=!o;if(r=p.charCodeAt(s+1),o&&r!==Jp&&r!==Qp&&r!==Xp&&r!==ed&&r!==td&&r!==Zp&&(s+=1,md.test(p.charAt(s)))){for(;md.test(p.charAt(s+1));)s+=1;p.charCodeAt(s+1)===Qp&&(s+=1)}u=["word",p.slice(m,s+1),m,s],m=s;break;default:r===Jp&&p.charCodeAt(m+1)===ld?(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):(dd.lastIndex=m+1,dd.test(p),s=0===dd.lastIndex?p.length-1:dd.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 yd,bd=Dp,vd=gd;const xd={brackets:bd.cyan,"at-word":bd.cyan,comment:bd.gray,string:bd.green,class:bd.yellow,hash:bd.magenta,call:bd.cyan,"(":bd.cyan,")":bd.cyan,"{":bd.yellow,"}":bd.yellow,"[":bd.yellow,"]":bd.yellow,":":bd.yellow,";":bd.yellow};function wd([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 Sd(e){let t=vd(new yd(e),{ignoreErrors:!0}),r="";for(;!t.endOfFile();){let e=t.nextToken(),s=xd[wd(e,t)];r+=s?e[1].split(/\r?\n/).map((e=>s(e))).join("\n"):e[1]}return r}Sd.registerInput=function(e){yd=e};var Ed=Sd;let _d=Dp,Pd=Ed,Td=class e extends Error{constructor(t,r,s,n,i,o){super(t),this.name="CssSyntaxError",this.reason=t,i&&(this.file=i),n&&(this.source=n),o&&(this.plugin=o),void 0!==r&&void 0!==s&&("number"==typeof r?(this.line=r,this.column=s):(this.line=r.line,this.column=r.column,this.endLine=s.line,this.endColumn=s.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}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=_d.isColorSupported),Pd&&e&&(t=Pd(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}=_d.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 Ad=Td;Td.default=Td;var Cd={};Cd.isClean=Symbol("isClean"),Cd.my=Symbol("my");const kd={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};let Od=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 kd[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=kd[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 Nd=Od;Od.default=Od;let Id=Nd;function Ld(e,t){new Id(t).stringify(e)}var Rd=Ld;Ld.default=Ld;let{isClean:Md,my:Dd}=Cd,jd=Ad,Fd=Nd,Bd=Rd;function Ud(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=>Ud(e,r))):("object"===i&&null!==n&&(n=Ud(n)),r[s]=n)}return r}let $d=class{constructor(e={}){this.raws={},this[Md]=!1,this[Dd]=!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 jd(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=Bd){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=Ud(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 Fd).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[Md]){this[Md]=!1;let e=this;for(;e=e.parent;)e[Md]=!1}}get proxyOf(){return this}};var qd=$d;$d.default=$d;let Hd=qd,Vd=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 Wd=Vd;Vd.default=Vd;var zd=yt(Ep),Gd={nanoid:(e=21)=>{let t="",r=e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(r=t)=>{let s="",n=r;for(;n--;)s+=e[Math.random()*e.length|0];return s}};let{SourceMapConsumer:Kd,SourceMapGenerator:Yd}=Fi,{existsSync:Jd,readFileSync:Xd}=Ip,{dirname:Qd,join:Zd}=Lp,ef=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=Qd(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new Kd(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),Ql?Ql.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=Qd(e),Jd(e))return this.mapFile=e,Xd(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 Kd)return Yd.fromSourceMap(t).toString();if(t instanceof Yd)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=Zd(Qd(e),t)),this.loadFile(t)}}}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}};var tf=ef;ef.default=ef;let{SourceMapConsumer:rf,SourceMapGenerator:sf}=Fi,{fileURLToPath:nf,pathToFileURL:of}=zd,{resolve:af,isAbsolute:cf}=Lp,{nanoid:lf}=Gd,hf=Ed,uf=Ad,pf=tf,df=Symbol("fromOffsetCache"),ff=Boolean(rf&&sf),mf=Boolean(af&&cf),gf=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&&(!mf||/^\w+:\/\//.test(t.from)||cf(t.from)?this.file=t.from:this.file=af(t.from)),mf&&ff){let e=new pf(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 "+lf(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t,r;if(this[df])r=this[df];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[df]=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 e.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 uf(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 uf(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&&(of&&(n.input.url=of(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=cf(a.source)?of(a.source):new URL(a.source,this.map.consumer().sourceRoot||of(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(!nf)throw new Error("file: protocol is not available in this PostCSS build");c.file=nf(i)}let l=o.sourceContentFor(a.source);return l&&(c.source=l),c}mapResolve(e){return/^\w+:\/\//.test(e)?e:af(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 yf=gf;gf.default=gf,hf&&hf.registerInput&&hf.registerInput(gf);let{SourceMapConsumer:bf,SourceMapGenerator:vf}=Fi,{dirname:xf,resolve:wf,relative:Sf,sep:Ef}=Lp,{pathToFileURL:_f}=zd,Pf=yf,Tf=Boolean(bf&&vf),Af=Boolean(xf&&wf&&Sf&&Ef);var Cf=class{constructor(e,t,r,s){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=s,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute}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 Pf(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;if(r&&!e[r]){e[r]=!0;let s=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(s,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||xf(e.file);!1===this.mapOpts.sourcesContent?(t=new bf(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 Ql?Ql.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=vf.fromSourceMap(e)}else this.map=new vf({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?xf(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=xf(wf(t,this.mapOpts.annotation))),Sf(t,e)}toUrl(e){return"\\"===Ef&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}toFileUrl(e){if(_f)return _f(e).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new vf({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||"atrule"===a.type&&!a.nodes)&&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(),Af&&Tf&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}};let kf=qd,Of=class extends kf{constructor(e){super(e),this.type="comment"}};var Nf=Of;Of.default=Of;let If,Lf,Rf,Mf,{isClean:Df,my:jf}=Cd,Ff=Wd,Bf=Nf,Uf=qd;function $f(e){return e.map((e=>(e.nodes&&(e.nodes=$f(e.nodes)),delete e.source,e)))}function qf(e){if(e[Df]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)qf(t)}let Hf=class e extends Uf{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=this.index(e),n=0===s&&"prepend",i=this.normalize(t,this.proxyOf.nodes[s],n).reverse();s=this.index(e);for(let e of i)this.proxyOf.nodes.splice(s,0,e);for(let e in this.indexes)r=this.indexes[e],s<=r&&(this.indexes[e]=r+i.length);return this.markDirty(),this}insertAfter(e,t){let r,s=this.index(e),n=this.normalize(t,this.proxyOf.nodes[s]).reverse();s=this.index(e);for(let e of n)this.proxyOf.nodes.splice(s+1,0,e);for(let e in this.indexes)r=this.indexes[e],s<r&&(this.indexes[e]=r+n.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(t,r){if("string"==typeof t)t=$f(If(t).nodes);else if(Array.isArray(t)){t=t.slice(0);for(let e of t)e.parent&&e.parent.removeChild(e,"ignore")}else if("root"===t.type&&"document"!==this.type){t=t.nodes.slice(0);for(let e of t)e.parent&&e.parent.removeChild(e,"ignore")}else if(t.type)t=[t];else if(t.prop){if(void 0===t.value)throw new Error("Value field is missed in node creation");"string"!=typeof t.value&&(t.value=String(t.value)),t=[new Ff(t)]}else if(t.selector)t=[new Lf(t)];else if(t.name)t=[new Rf(t)];else{if(!t.text)throw new Error("Unknown node type in node creation");t=[new Bf(t)]}return t.map((t=>(t[jf]||e.rebuild(t),(t=t.proxyOf).parent&&t.parent.removeChild(t),t[Df]&&qf(t),void 0===t.raws.before&&r&&void 0!==r.raws.before&&(t.raws.before=r.raws.before.replace(/\S/g,"")),t.parent=this.proxyOf,t)))}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}};Hf.registerParse=e=>{If=e},Hf.registerRule=e=>{Lf=e},Hf.registerAtRule=e=>{Rf=e},Hf.registerRoot=e=>{Mf=e};var Vf=Hf;Hf.default=Hf,Hf.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,Rf.prototype):"rule"===e.type?Object.setPrototypeOf(e,Lf.prototype):"decl"===e.type?Object.setPrototypeOf(e,Ff.prototype):"comment"===e.type?Object.setPrototypeOf(e,Bf.prototype):"root"===e.type&&Object.setPrototypeOf(e,Mf.prototype),e[jf]=!0,e.nodes&&e.nodes.forEach((e=>{Hf.rebuild(e)}))};let Wf,zf,Gf=Vf,Kf=class extends Gf{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new Wf(new zf,this,e).stringify()}};Kf.registerLazyResult=e=>{Wf=e},Kf.registerProcessor=e=>{zf=e};var Yf=Kf;Kf.default=Kf;let Jf={};var Xf=function(e){Jf[e]||(Jf[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))};let Qf=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 Zf=Qf;Qf.default=Qf;let em=Zf,tm=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 em(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}};var rm=tm;tm.default=tm;let sm=Vf,nm=class extends sm{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 im=nm;nm.default=nm,sm.registerAtRule(nm);let om,am,cm=Vf,lm=class extends cm{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 om(new am,this,e).stringify()}};lm.registerLazyResult=e=>{om=e},lm.registerProcessor=e=>{am=e};var hm=lm;lm.default=lm,cm.registerRoot(lm);let um={split(e,t,r){let s=[],n="",i=!1,o=0,a=!1,c="",l=!1;for(let r of e)l?l=!1:"\\"===r?l=!0:a?r===c&&(a=!1):'"'===r||"'"===r?(a=!0,c=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=>um.split(e,[" ","\n","\t"]),comma:e=>um.split(e,[","],!0)};var pm=um;um.default=um;let dm=Vf,fm=pm,mm=class extends dm{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return fm.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 gm=mm;mm.default=mm,dm.registerRule(mm);let ym=Wd,bm=gd,vm=Nf,xm=im,wm=hm,Sm=gm;const Em={empty:!0,space:!0};let _m=Vf,Pm=class{constructor(e){this.input=e,this.root=new wm,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=bm(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 vm;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 Sm;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){if(!o)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 Sm;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 ym;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]||function(e){for(let t=e.length-1;t>=0;t--){let r=e[t],s=r[3]||r[2];if(s)return s}}(e));"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,o=[];for(;e.length&&(i=e[0][0],"space"===i||"comment"===i);)o.push(e.shift());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}e.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(r.raws.between+=o.map((e=>e[1])).join(""),o=[]),this.raw(r,"value",o.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t,r,s,n=new xm;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,s){let n,i,o,a,c=r.length,l="",h=!0;for(let e=0;e<c;e+=1)n=r[e],i=n[0],"space"!==i||e!==c-1||s?"comment"===i?(a=r[e-1]?r[e-1][0]:"empty",o=r[e+1]?r[e+1][0]:"empty",Em[a]||Em[o]||","===l.slice(-1)?h=!1:l+=n[1]):l+=n[1]:h=!1;if(!h){let s=r.reduce(((e,t)=>e+t[1]),"");e.raws[t]={value:l,raw:s}}e[t]=l}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])}},Tm=yf;function Am(e,t){let r=new Tm(e,t),s=new Pm(r);try{s.parse()}catch(e){throw"production"!==nu.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 Cm=Am;Am.default=Am,_m.registerParse(Am);let{isClean:km,my:Om}=Cd,Nm=Cf,Im=Rd,Lm=Vf,Rm=Yf,Mm=Xf,Dm=rm,jm=Cm,Fm=hm;const Bm={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},Um={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},$m={postcssPlugin:!0,prepare:!0,Once:!0},qm=0;function Hm(e){return"object"==typeof e&&"function"==typeof e.then}function Vm(e){let t=!1,r=Bm[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,qm,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,qm,r+"Exit"]:[r,r+"Exit"]}function Wm(e){let t;return t="document"===e.type?["Document",qm,"DocumentExit"]:"root"===e.type?["Root",qm,"RootExit"]:Vm(e),{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function zm(e){return e[km]=!1,e.nodes&&e.nodes.forEach((e=>zm(e))),e}let Gm={},Km=class e{constructor(t,r,s){let n;if(this.stringified=!1,this.processed=!1,"object"!=typeof r||null===r||"root"!==r.type&&"document"!==r.type)if(r instanceof e||r instanceof Dm)n=zm(r.root),r.map&&(void 0===s.map&&(s.map={}),s.map.inline||(s.map.inline=!1),s.map.prev=r.map);else{let e=jm;s.syntax&&(e=s.syntax.parse),s.parser&&(e=s.parser),e.parse&&(e=e.parse);try{n=e(r,s)}catch(e){this.processed=!0,this.error=e}n&&!n[Om]&&Lm.rebuild(n)}else n=zm(r);this.result=new Dm(t,n,s),this.helpers={...Gm,result:this.result,postcss:Gm},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"!==nu.env.NODE_ENV&&("from"in this.opts||Mm("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(Hm(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[km];)e[km]=!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=Im;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new Nm(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}walkSync(e){e[km]=!0;let t=Vm(e);for(let r of t)if(r===qm)e.nodes&&e.each((e=>{e[km]||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(Hm(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 Hm(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"!==nu.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(Hm(r))try{await r}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[km];){e[km]=!0;let t=[Wm(e)];for(;t.length>0;){let e=this.visitTick(t);if(Hm(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(!Um[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!$m[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[km])return s[km]=!0,void e.push(Wm(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===qm)return void(r.nodes&&r.nodes.length&&(r[km]=!0,t.iterator=r.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}};Km.registerPostcss=e=>{Gm=e};var Ym=Km;Km.default=Km,Fm.registerLazyResult(Km),Rm.registerLazyResult(Km);let Jm=Cf,Xm=Rd,Qm=Xf,Zm=Cm;const eg=rm;let tg=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=Xm;this.result=new eg(this._processor,s,this._opts),this.result.css=t;let i=this;Object.defineProperty(this.result,"root",{get:()=>i.root});let o=new Jm(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=Zm;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,t){return"production"!==nu.env.NODE_ENV&&("from"in this._opts||Qm("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 rg=tg;tg.default=tg;let sg=rg,ng=Ym,ig=Yf,og=hm,ag=class{constructor(e=[]){this.version="8.4.21",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 sg(this,e,t):new ng(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"!==nu.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 cg=ag;ag.default=ag,og.registerProcessor(ag),ig.registerProcessor(ag);let lg=Wd,hg=tf,ug=Nf,pg=im,dg=yf,fg=hm,mg=gm;function gg(e,t){if(Array.isArray(e))return e.map((e=>gg(e)));let{inputs:r,...s}=e;if(r){t=[];for(let e of r){let r={...e,__proto__:dg.prototype};r.map&&(r.map={...r.map,__proto__:hg.prototype}),t.push(r)}}if(s.nodes&&(s.nodes=e.nodes.map((e=>gg(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 fg(s);if("decl"===s.type)return new lg(s);if("rule"===s.type)return new mg(s);if("comment"===s.type)return new ug(s);if("atrule"===s.type)return new pg(s);throw new Error("Unknown node type: "+e.type)}var yg=gg;gg.default=gg;let bg=Ad,vg=Wd,xg=Ym,wg=Vf,Sg=cg,Eg=Rd,_g=yg,Pg=Yf,Tg=Zf,Ag=Nf,Cg=im,kg=rm,Og=yf,Ng=Cm,Ig=pm,Lg=gm,Rg=hm,Mg=qd;function Dg(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new Sg(e)}Dg.plugin=function(e,t){let r,s=!1;function n(...r){console&&console.warn&&!s&&(s=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),nu.env.LANG&&nu.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let n=t(...r);return n.postcssPlugin=e,n.postcssVersion=(new Sg).version,n}return Object.defineProperty(n,"postcss",{get:()=>(r||(r=n()),r)}),n.process=function(e,t,r){return Dg([n(r)]).process(e,t)},n},Dg.stringify=Eg,Dg.parse=Ng,Dg.fromJSON=_g,Dg.list=Ig,Dg.comment=e=>new Ag(e),Dg.atRule=e=>new Cg(e),Dg.decl=e=>new vg(e),Dg.rule=e=>new Lg(e),Dg.root=e=>new Rg(e),Dg.document=e=>new Pg(e),Dg.CssSyntaxError=bg,Dg.Declaration=vg,Dg.Container=wg,Dg.Processor=Sg,Dg.Document=Pg,Dg.Comment=Ag,Dg.Warning=Tg,Dg.AtRule=Cg,Dg.Result=kg,Dg.Input=Og,Dg.Rule=Lg,Dg.Root=Rg,Dg.Node=Mg,xg.registerPostcss(Dg);var jg=Dg;Dg.default=Dg;var Fg=jg;Fg.stringify,Fg.fromJSON,Fg.plugin,Fg.parse,Fg.list,Fg.document,Fg.comment,Fg.atRule,Fg.rule,Fg.decl,Fg.root,Fg.CssSyntaxError,Fg.Declaration,Fg.Container,Fg.Processor,Fg.Document,Fg.Comment,Fg.Warning,Fg.AtRule,Fg.Result,Fg.Input,Fg.Rule,Fg.Root,Fg.Node;var Bg={},Ug={get exports(){return Bg},set exports(e){Bg=e}},$g={},qg={get exports(){return $g},set exports(e){$g=e}},Hg={},Vg={get exports(){return Hg},set exports(e){Hg=e}},Wg={},zg={get exports(){return Wg},set exports(e){Wg=e}},Gg={},Kg={get exports(){return Gg},set exports(e){Gg=e}},Yg={},Jg={get exports(){return Yg},set exports(e){Yg=e}},Xg={},Qg={};!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}({get exports(){return Qg},set exports(e){Qg=e}},Qg);var Zg={};!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}({get exports(){return Zg},set exports(e){Zg=e}},Zg);var ey={};!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}({get exports(){return ey},set exports(e){ey=e}},ey);var ty={};!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}({get exports(){return ty},set exports(e){ty=e}},ty),Xg.__esModule=!0,Xg.stripComments=Xg.ensureObject=Xg.getProp=Xg.unesc=void 0;var ry=oy(Qg);Xg.unesc=ry.default;var sy=oy(Zg);Xg.getProp=sy.default;var ny=oy(ey);Xg.ensureObject=ny.default;var iy=oy(ty);function oy(e){return e&&e.__esModule?e:{default:e}}Xg.stripComments=iy.default,function(e,t){t.__esModule=!0,t.default=void 0;var r=Xg;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}(Jg,Yg);var ay={__esModule:!0};ay.UNIVERSAL=ay.ATTRIBUTE=ay.CLASS=ay.COMBINATOR=ay.COMMENT=ay.ID=ay.NESTING=ay.PSEUDO=ay.ROOT=ay.SELECTOR=ay.STRING=ay.TAG=void 0,ay.TAG="tag",ay.STRING="string",ay.SELECTOR="selector",ay.ROOT="root",ay.PSEUDO="pseudo",ay.NESTING="nesting",ay.ID="id",ay.COMMENT="comment",ay.COMBINATOR="combinator",ay.CLASS="class",ay.ATTRIBUTE="attribute",ay.UNIVERSAL="universal",function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Yg)&&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}(ay);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}(Kg,Gg),function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Gg)&&r.__esModule?r:{default:r},n=ay;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}(zg,Wg);var cy={};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Gg)&&r.__esModule?r:{default:r},n=ay;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}({get exports(){return cy},set exports(e){cy=e}},cy);var ly={},hy={get exports(){return ly},set exports(e){ly=e}},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=Xg,n=o(Yg),i=ay;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,ly);var yy={};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Yg)&&r.__esModule?r:{default:r},n=ay;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}({get exports(){return yy},set exports(e){yy=e}},yy);var by={};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Yg)&&r.__esModule?r:{default:r},n=ay;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}({get exports(){return by},set exports(e){by=e}},by);var vy={},xy={get exports(){return vy},set exports(e){vy=e}},wy={};!function(e,t){t.__esModule=!0,t.default=void 0;var r=n(gy),s=Xg;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""}}])&&i(c.prototype,l),a}(n(Yg).default);t.default=a,e.exports=t.default}({get exports(){return wy},set exports(e){wy=e}},wy),function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=wy)&&r.__esModule?r:{default:r},n=ay;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}(xy,vy);var Sy={};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Yg)&&r.__esModule?r:{default:r},n=ay;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}({get exports(){return Sy},set exports(e){Sy=e}},Sy);var Ey={};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Gg)&&r.__esModule?r:{default:r},n=ay;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}({get exports(){return Ey},set exports(e){Ey=e}},Ey);var _y={},Py=Rp.deprecate;!function(e){e.__esModule=!0,e.unescapeValue=f,e.default=void 0;var t,r=o(gy),s=o(Qg),n=o(wy),i=ay;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:"insensitive",get:function(){return this._insensitive},set:function(e){e||(this._insensitive=!1,!this.raws||"I"!==this.raws.insensitiveFlag&&"i"!==this.raws.insensitiveFlag||(this.raws.insensitiveFlag=void 0)),this._insensitive=e}},{key:"attribute",get:function(){return this._attribute},set:function(e){this._handleEscapes("attribute",e),this._attribute=e}}])&&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}}(_y);var Ty={};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=wy)&&r.__esModule?r:{default:r},n=ay;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}({get exports(){return Ty},set exports(e){Ty=e}},Ty);var Ay={};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Yg)&&r.__esModule?r:{default:r},n=ay;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}({get exports(){return Ay},set exports(e){Ay=e}},Ay);var Cy={};!function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Yg)&&r.__esModule?r:{default:r},n=ay;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}({get exports(){return Cy},set exports(e){Cy=e}},Cy);var ky={};!function(e,t){t.__esModule=!0,t.default=function(e){return e.sort((function(e,t){return e-t}))},e.exports=t.default}({get exports(){return ky},set exports(e){ky=e}},ky);var Oy={},Ny={__esModule:!0};Ny.combinator=Ny.word=Ny.comment=Ny.str=Ny.tab=Ny.newline=Ny.feed=Ny.cr=Ny.backslash=Ny.bang=Ny.slash=Ny.doubleQuote=Ny.singleQuote=Ny.space=Ny.greaterThan=Ny.pipe=Ny.equals=Ny.plus=Ny.caret=Ny.tilde=Ny.dollar=Ny.closeSquare=Ny.openSquare=Ny.closeParenthesis=Ny.openParenthesis=Ny.semicolon=Ny.colon=Ny.comma=Ny.at=Ny.asterisk=Ny.ampersand=void 0,Ny.ampersand=38,Ny.asterisk=42,Ny.at=64,Ny.comma=44,Ny.colon=58,Ny.semicolon=59,Ny.openParenthesis=40,Ny.closeParenthesis=41,Ny.openSquare=91,Ny.closeSquare=93,Ny.dollar=36,Ny.tilde=126,Ny.caret=94,Ny.plus=43,Ny.equals=61,Ny.pipe=124,Ny.greaterThan=62,Ny.space=32,Ny.singleQuote=39,Ny.doubleQuote=34,Ny.slash=47,Ny.bang=33,Ny.backslash=92,Ny.cr=13,Ny.feed=12,Ny.newline=10,Ny.tab=9,Ny.str=39,Ny.comment=-1,Ny.word=-2,Ny.combinator=-3,function(e){e.__esModule=!0,e.default=function(e){var t,r,n,i,o,a,c,h,u,p,d,f,m=[],g=e.css.valueOf(),y=g.length,b=-1,v=1,x=0,w=0;function S(t,r){if(!e.safe)throw e.error("Unclosed "+t,v,x-b,x);h=(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:h=x;do{h+=1,(t=g.charCodeAt(h))===s.newline&&(b=h,v+=1)}while(t===s.space||t===s.newline||t===s.tab||t===s.cr||t===s.feed);f=s.space,n=v,r=h-b-1,w=h;break;case s.plus:case s.greaterThan:case s.tilde:case s.pipe:h=x;do{h+=1,t=g.charCodeAt(h)}while(t===s.plus||t===s.greaterThan||t===s.tilde||t===s.pipe);f=s.combinator,n=v,r=x-b,w=h;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=(h=x)+1;break;case s.singleQuote:case s.doubleQuote:d=t===s.singleQuote?"'":'"',h=x;do{for(i=!1,-1===(h=g.indexOf(d,h+1))&&S("quote",d),o=h;g.charCodeAt(o-1)===s.backslash;)o-=1,i=!i}while(i);f=s.str,n=v,r=x-b,w=h+1;break;default:t===s.slash&&g.charCodeAt(x+1)===s.asterisk?(0===(h=g.indexOf("*/",x+2)+1)&&S("comment","*/"),(a=(c=g.slice(x,h+1).split("\n")).length-1)>0?(u=v+a,p=h-c[a].length):(u=v,p=b),f=s.comment,v=u,n=u,r=h-p):t===s.slash?(f=t,n=v,r=x-b,w=(h=x)+1):(h=l(g,x),f=s.word,n=v,r=h-b),w=h+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}(Ny);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=0;c<22;c++)a["0123456789abcdefABCDEF".charCodeAt(c)]=!0;function l(e,t){var r,n=t;do{if(r=e.charCodeAt(n),o[r])return n-1;r===s.backslash?n=h(e,n)+1:n++}while(n<e.length);return n-1}function h(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}}(Oy),function(e,t){t.__esModule=!0,t.default=void 0;var r,s,n=E(Wg),i=E(cy),o=E(ly),a=E(yy),c=E(by),l=E(vy),h=E(Sy),u=E(Ey),p=S(_y),d=E(Ty),f=E(Ay),m=E(Cy),g=E(ky),y=S(Oy),b=S(Ny),v=S(ay),x=Xg;function w(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return w=function(){return e},e}function S(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 E(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 P=((r={})[b.space]=!0,r[b.cr]=!0,r[b.feed]=!0,r[b.newline]=!0,r[b.tab]=!0,r),T=Object.assign({},P,((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 L(e,t){for(var r=-1,s=[];-1!==(r=e.indexOf(t,r+1));)s.push(r);return s}var R=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&&!s.quoteMark){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 S="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=S,S&&"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 E=(0,p.unescapeValue)(h),_=E.unescaped,P=E.quoteMark;s.value=_,s.quoteMark=P,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 T=(0,x.getProp)(s,"spaces",a,"after")||"",A=(0,x.getProp)(s,"raws","spaces",a,"after")||T;(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(P[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++):P[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=L(n,".").filter((function(e){var t="\\"===n[e-1],r=/^\d+\.\d+%$/.test(n);return!t&&!r})),u=L(n,"#").filter((function(e){return"\\"!==n[e-1]})),p=L(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(!T[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=R,e.exports=t.default}(Vg,Hg),function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=Hg)&&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}(qg,$g);var Iy={},Ly={__esModule:!0};Ly.universal=Ly.tag=Ly.string=Ly.selector=Ly.root=Ly.pseudo=Ly.nesting=Ly.id=Ly.comment=Ly.combinator=Ly.className=Ly.attribute=void 0;var Ry=zy(_y),My=zy(ly),Dy=zy(Ay),jy=zy(yy),Fy=zy(by),By=zy(Cy),Uy=zy(Ey),$y=zy(Wg),qy=zy(cy),Hy=zy(Sy),Vy=zy(vy),Wy=zy(Ty);function zy(e){return e&&e.__esModule?e:{default:e}}Ly.attribute=function(e){return new Ry.default(e)},Ly.className=function(e){return new My.default(e)},Ly.combinator=function(e){return new Dy.default(e)},Ly.comment=function(e){return new jy.default(e)},Ly.id=function(e){return new Fy.default(e)},Ly.nesting=function(e){return new By.default(e)},Ly.pseudo=function(e){return new Uy.default(e)},Ly.root=function(e){return new $y.default(e)},Ly.selector=function(e){return new qy.default(e)},Ly.string=function(e){return new Hy.default(e)},Ly.tag=function(e){return new Vy.default(e)},Ly.universal=function(e){return new Wy.default(e)};var Gy={__esModule:!0};Gy.isNode=Xy,Gy.isPseudoElement=ub,Gy.isPseudoClass=function(e){return ib(e)&&!ub(e)},Gy.isContainer=function(e){return!(!Xy(e)||!e.walk)},Gy.isNamespace=function(e){return Zy(e)||lb(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 Ky,Yy=ay,Jy=((Ky={})[Yy.ATTRIBUTE]=!0,Ky[Yy.CLASS]=!0,Ky[Yy.COMBINATOR]=!0,Ky[Yy.COMMENT]=!0,Ky[Yy.ID]=!0,Ky[Yy.NESTING]=!0,Ky[Yy.PSEUDO]=!0,Ky[Yy.ROOT]=!0,Ky[Yy.SELECTOR]=!0,Ky[Yy.STRING]=!0,Ky[Yy.TAG]=!0,Ky[Yy.UNIVERSAL]=!0,Ky);function Xy(e){return"object"==typeof e&&Jy[e.type]}function Qy(e,t){return Xy(t)&&t.type===e}var Zy=Qy.bind(null,Yy.ATTRIBUTE);Gy.isAttribute=Zy;var eb=Qy.bind(null,Yy.CLASS);Gy.isClassName=eb;var tb=Qy.bind(null,Yy.COMBINATOR);Gy.isCombinator=tb;var rb=Qy.bind(null,Yy.COMMENT);Gy.isComment=rb;var sb=Qy.bind(null,Yy.ID);Gy.isIdentifier=sb;var nb=Qy.bind(null,Yy.NESTING);Gy.isNesting=nb;var ib=Qy.bind(null,Yy.PSEUDO);Gy.isPseudo=ib;var ob=Qy.bind(null,Yy.ROOT);Gy.isRoot=ob;var ab=Qy.bind(null,Yy.SELECTOR);Gy.isSelector=ab;var cb=Qy.bind(null,Yy.STRING);Gy.isString=cb;var lb=Qy.bind(null,Yy.TAG);Gy.isTag=lb;var hb=Qy.bind(null,Yy.UNIVERSAL);function ub(e){return ib(e)&&e.value&&(e.value.startsWith("::")||":before"===e.value.toLowerCase()||":after"===e.value.toLowerCase()||":first-letter"===e.value.toLowerCase()||":first-line"===e.value.toLowerCase())}Gy.isUniversal=hb,function(e){e.__esModule=!0;var t=ay;Object.keys(t).forEach((function(r){"default"!==r&&"__esModule"!==r&&(r in e&&e[r]===t[r]||(e[r]=t[r]))}));var r=Ly;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]))}))}(Iy),function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=$g)&&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}(Iy);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}(Ug,Bg);var pb=gt(Bg);const db=/^(-\w+-)?animation-name$/,fb=/^(-\w+-)?animation$/,mb=new WeakSet;function gb(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="",Mp("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&&yb(r)||t.insertAfter(s,pb.combinator({value:" "})),t.removeChild(s)}else{Mp("::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead.");const e=t.at(t.index(s)-1);e&&yb(e)&&t.removeChild(e),t.removeChild(s)}return!1}if(":slotted"===n||"::v-slotted"===n){gb(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,pb.attribute({attribute:r,value:r,raws:{},quoteMark:'"'}))}}function yb(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){mb.has(t)||t.parent&&"atrule"===t.parent.type&&/-?keyframes$/.test(t.parent.name)||(mb.add(t),t.selector=pb((t=>{t.each((r=>{gb(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=>{db.test(e.prop)&&(e.value=e.value.split(",").map((e=>t[e.trim()]||e.trim())).join(",")),fb.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 bb={},vb={},xb={},wb={},Sb="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");wb.encode=function(e){if(0<=e&&e<Sb.length)return Sb[e];throw new TypeError("Must be between 0 and 63: "+e)},wb.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 Eb=wb;xb.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+=Eb.encode(t)}while(s>0);return r},xb.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=Eb.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 _b={};!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)}}(_b);var Pb={},Tb=_b,Ab=Object.prototype.hasOwnProperty,Cb="undefined"!=typeof Map;function kb(){this._array=[],this._set=Cb?new Map:Object.create(null)}kb.fromArray=function(e,t){for(var r=new kb,s=0,n=e.length;s<n;s++)r.add(e[s],t);return r},kb.prototype.size=function(){return Cb?this._set.size:Object.getOwnPropertyNames(this._set).length},kb.prototype.add=function(e,t){var r=Cb?e:Tb.toSetString(e),s=Cb?this.has(e):Ab.call(this._set,r),n=this._array.length;s&&!t||this._array.push(e),s||(Cb?this._set.set(e,n):this._set[r]=n)},kb.prototype.has=function(e){if(Cb)return this._set.has(e);var t=Tb.toSetString(e);return Ab.call(this._set,t)},kb.prototype.indexOf=function(e){if(Cb){var t=this._set.get(e);if(t>=0)return t}else{var r=Tb.toSetString(e);if(Ab.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},kb.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},kb.prototype.toArray=function(){return this._array.slice()},Pb.ArraySet=kb;var Ob={},Nb=_b;function Ib(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Ib.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},Ib.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||Nb.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},Ib.prototype.toArray=function(){return this._sorted||(this._array.sort(Nb.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Ob.MappingList=Ib;var Lb=xb,Rb=_b,Mb=Pb.ArraySet,Db=Ob.MappingList;function jb(e){e||(e={}),this._file=Rb.getArg(e,"file",null),this._sourceRoot=Rb.getArg(e,"sourceRoot",null),this._skipValidation=Rb.getArg(e,"skipValidation",!1),this._sources=new Mb,this._names=new Mb,this._mappings=new Db,this._sourcesContents=null}jb.prototype._version=3,jb.fromSourceMap=function(e){var t=e.sourceRoot,r=new jb({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=Rb.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=Rb.relative(t,s)),r._sources.has(n)||r._sources.add(n);var i=e.sourceContentFor(s);null!=i&&r.setSourceContent(s,i)})),r},jb.prototype.addMapping=function(e){var t=Rb.getArg(e,"generated"),r=Rb.getArg(e,"original",null),s=Rb.getArg(e,"source",null),n=Rb.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})},jb.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=Rb.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Rb.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[Rb.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},jb.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=Rb.relative(n,s));var i=new Mb,o=new Mb;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=Rb.join(r,t.source)),null!=n&&(t.source=Rb.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=Rb.join(r,t)),null!=n&&(t=Rb.relative(n,t)),this.setSourceContent(t,s))}),this)},jb.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}))},jb.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(!Rb.compareByGeneratedPositionsInflated(t,u[p-1]))continue;e+=","}e+=Lb.encode(t.generatedColumn-n),n=t.generatedColumn,null!=t.source&&(s=this._sources.indexOf(t.source),e+=Lb.encode(s-l),l=s,e+=Lb.encode(t.originalLine-1-a),a=t.originalLine-1,e+=Lb.encode(t.originalColumn-o),o=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=Lb.encode(r-c),c=r)),h+=e}return h},jb.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=Rb.relative(t,e));var r=Rb.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},jb.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},jb.prototype.toString=function(){return JSON.stringify(this.toJSON())},vb.SourceMapGenerator=jb;var Fb={},Bb={};!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}}(Bb);var Ub={};function $b(e,t,r){var s=e[t];e[t]=e[r],e[r]=s}function qb(e,t,r,s){if(r<s){var n=r-1;$b(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&&$b(e,n+=1,o);$b(e,n+1,o);var a=n+1;qb(e,t,r,a-1),qb(e,t,a+1,s)}var c,l}Ub.quickSort=function(e,t){qb(e,t,0,e.length-1)};var Hb=_b,Vb=Bb,Wb=Pb.ArraySet,zb=xb,Gb=Ub.quickSort;function Kb(e,t){var r=e;return"string"==typeof e&&(r=Hb.parseSourceMapInput(e)),null!=r.sections?new Xb(r,t):new Yb(r,t)}function Yb(e,t){var r=e;"string"==typeof e&&(r=Hb.parseSourceMapInput(e));var s=Hb.getArg(r,"version"),n=Hb.getArg(r,"sources"),i=Hb.getArg(r,"names",[]),o=Hb.getArg(r,"sourceRoot",null),a=Hb.getArg(r,"sourcesContent",null),c=Hb.getArg(r,"mappings"),l=Hb.getArg(r,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);o&&(o=Hb.normalize(o)),n=n.map(String).map(Hb.normalize).map((function(e){return o&&Hb.isAbsolute(o)&&Hb.isAbsolute(e)?Hb.relative(o,e):e})),this._names=Wb.fromArray(i.map(String),!0),this._sources=Wb.fromArray(n,!0),this._absoluteSources=this._sources.toArray().map((function(e){return Hb.computeSourceURL(o,e,t)})),this.sourceRoot=o,this.sourcesContent=a,this._mappings=c,this._sourceMapURL=t,this.file=l}function Jb(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function Xb(e,t){var r=e;"string"==typeof e&&(r=Hb.parseSourceMapInput(e));var s=Hb.getArg(r,"version"),n=Hb.getArg(r,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new Wb,this._names=new Wb;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=Hb.getArg(e,"offset"),s=Hb.getArg(r,"line"),n=Hb.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 Kb(Hb.getArg(e,"map"),t)}}))}Kb.fromSourceMap=function(e,t){return Yb.fromSourceMap(e,t)},Kb.prototype._version=3,Kb.prototype.__generatedMappings=null,Object.defineProperty(Kb.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),Kb.prototype.__originalMappings=null,Object.defineProperty(Kb.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),Kb.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return";"===r||","===r},Kb.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},Kb.GENERATED_ORDER=1,Kb.ORIGINAL_ORDER=2,Kb.GREATEST_LOWER_BOUND=1,Kb.LEAST_UPPER_BOUND=2,Kb.prototype.eachMapping=function(e,t,r){var s,n=t||null;switch(r||Kb.GENERATED_ORDER){case Kb.GENERATED_ORDER:s=this._generatedMappings;break;case Kb.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=Hb.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)},Kb.prototype.allGeneratedPositionsFor=function(e){var t=Hb.getArg(e,"line"),r={source:Hb.getArg(e,"source"),originalLine:t,originalColumn:Hb.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",Hb.compareByOriginalPositions,Vb.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:Hb.getArg(i,"generatedLine",null),column:Hb.getArg(i,"generatedColumn",null),lastColumn:Hb.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n];else for(var a=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==a;)s.push({line:Hb.getArg(i,"generatedLine",null),column:Hb.getArg(i,"generatedColumn",null),lastColumn:Hb.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n]}return s},Fb.SourceMapConsumer=Kb,Yb.prototype=Object.create(Kb.prototype),Yb.prototype.consumer=Kb,Yb.prototype._findSourceIndex=function(e){var t,r=e;if(null!=this.sourceRoot&&(r=Hb.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},Yb.fromSourceMap=function(e,t){var r=Object.create(Yb.prototype),s=r._names=Wb.fromArray(e._names.toArray(),!0),n=r._sources=Wb.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 Hb.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 Jb;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 Gb(r.__originalMappings,Hb.compareByOriginalPositions),r},Yb.prototype._version=3,Object.defineProperty(Yb.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),Yb.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 Jb).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;)zb.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)}Gb(b,Hb.compareByGeneratedPositionsDeflated),this.__generatedMappings=b,Gb(y,Hb.compareByOriginalPositions),this.__originalMappings=y},Yb.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 Vb.search(e,t,n,i)},Yb.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}},Yb.prototype.originalPositionFor=function(e){var t={generatedLine:Hb.getArg(e,"line"),generatedColumn:Hb.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",Hb.compareByGeneratedPositionsDeflated,Hb.getArg(e,"bias",Kb.GREATEST_LOWER_BOUND));if(r>=0){var s=this._generatedMappings[r];if(s.generatedLine===t.generatedLine){var n=Hb.getArg(s,"source",null);null!==n&&(n=this._sources.at(n),n=Hb.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var i=Hb.getArg(s,"name",null);return null!==i&&(i=this._names.at(i)),{source:n,line:Hb.getArg(s,"originalLine",null),column:Hb.getArg(s,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},Yb.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e}))},Yb.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=Hb.relative(this.sourceRoot,n)),null!=this.sourceRoot&&(s=Hb.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.')},Yb.prototype.generatedPositionFor=function(e){var t=Hb.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:Hb.getArg(e,"line"),originalColumn:Hb.getArg(e,"column")},s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",Hb.compareByOriginalPositions,Hb.getArg(e,"bias",Kb.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===r.source)return{line:Hb.getArg(n,"generatedLine",null),column:Hb.getArg(n,"generatedColumn",null),lastColumn:Hb.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Fb.BasicSourceMapConsumer=Yb,Xb.prototype=Object.create(Kb.prototype),Xb.prototype.constructor=Kb,Xb.prototype._version=3,Object.defineProperty(Xb.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}}),Xb.prototype.originalPositionFor=function(e){var t={generatedLine:Hb.getArg(e,"line"),generatedColumn:Hb.getArg(e,"column")},r=Vb.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}},Xb.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},Xb.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.')},Xb.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(-1!==r.consumer._findSourceIndex(Hb.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}},Xb.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=Hb.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)}Gb(this.__generatedMappings,Hb.compareByGeneratedPositionsDeflated),Gb(this.__originalMappings,Hb.compareByOriginalPositions)},Fb.IndexedSourceMapConsumer=Xb;var Qb={},Zb=vb.SourceMapGenerator,ev=_b,tv=/(\r?\n)/,rv="$$$isSourceNode$$$";function sv(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[rv]=!0,null!=s&&this.add(s)}sv.fromStringWithSourceMap=function(e,t,r){var s=new sv,n=e.split(tv),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=ev.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?ev.join(r,e.source):e.source;s.add(new sv(e.originalLine,e.originalColumn,n,t,e.name))}}},sv.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[rv]&&"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},sv.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[rv]&&"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},sv.prototype.walk=function(e){for(var t,r=0,s=this.children.length;r<s;r++)(t=this.children[r])[rv]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},sv.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},sv.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[rv]?r.replaceRight(e,t):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this},sv.prototype.setSourceContent=function(e,t){this.sourceContents[ev.toSetString(e)]=t},sv.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][rv]&&this.children[t].walkSourceContents(e);var s=Object.keys(this.sourceContents);for(t=0,r=s.length;t<r;t++)e(ev.fromSetString(s[t]),this.sourceContents[s[t]])},sv.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},sv.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new Zb(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}},Qb.SourceNode=sv,bb.SourceMapGenerator=vb.SourceMapGenerator,bb.SourceMapConsumer=Fb.SourceMapConsumer,bb.SourceNode=Qb.SourceNode;var nv=bb;nv.SourceMapConsumer,nv.SourceMapGenerator,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,",".charCodeAt(0),";".charCodeAt(0);const iv=new Uint8Array(64),ov=new Uint8Array(128);for(let e=0;e<64;e++){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(e);iv[e]=t,ov[t]=e}Object.prototype.toString,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,rl(),rl(),Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const av=",".charCodeAt(0),cv=";".charCodeAt(0),lv=new Uint8Array(64),hv=new Uint8Array(128);for(let e=0;e<64;e++){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(e);lv[e]=t,hv[t]=e}const uv="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 pv(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++]=lv[r]}while(o>0);return t}class dv{constructor(e){this.bits=e instanceof dv?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(31&e)}has(e){return!!(this.bits[e>>5]&1<<(31&e))}}class fv{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 fv(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 fv(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 mv(){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 gv=mv();class yv{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+=uv.decode(s),i=0),s[i++]=cv),0!==c.length){t[0]=0;for(let e=0;e<c.length;e++){const a=c[e];i>r&&(o+=uv.decode(n),s.copyWithin(0,r,i),i-=r),e>0&&(s[i++]=av),i=pv(s,i,t,a,0),1!==a.length&&(i=pv(s,i,t,a,1),i=pv(s,i,t,a,2),i=pv(s,i,t,a,3),4!==a.length&&(i=pv(s,i,t,a,4)))}}}return o+uv.decode(s.subarray(0,i))}(e.mappings)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+gv(this.toString())}}function bv(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 vv=Object.prototype.toString;function xv(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 wv{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 Sv="\n",Ev={insertLeft:!1,insertRight:!1,storeName:!1};class _v{constructor(e,t={}){const r=new fv(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 dv},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 _v(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 dv(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};const t=Object.keys(this.storedNames),r=new wv(e.hires),s=xv(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?bv(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:t,mappings:r.raw}}generateMap(e){return new yv(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]"===vv.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 Ev.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Ev.insertLeft=!0),this.appendLeft(e,t)}insertRight(e,t){return Ev.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Ev.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&&(Ev.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Ev.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 fv(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(Sv);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(Sv),-1!==e)return r.outro.substr(e+1)+t;t=r.outro+t}if(r.content.length>0){if(e=r.content.lastIndexOf(Sv),-1!==e)return r.content.substr(e+1)+t;t=r.content+t}if(r.intro.length>0){if(e=r.intro.lastIndexOf(Sv),-1!==e)return r.intro.substr(e+1)+t;t=r.intro+t}}while(r=r.previous);return e=this.intro.lastIndexOf(Sv),-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=xv(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 Pv(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 Tv(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pv(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pv(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}Object.prototype.hasOwnProperty;var Av=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(Tv(Tv({},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;if(s.pageInstances[t]){if(s.pageInstances[t].newerSnapshot.liveMtimeMs<e.liveMtimeMs){var r;s.pageInstances[t].newerSnapshot=e,s.pageInstances[t].newerSnapshot.status="acked",null===(r=s.socket)||void 0===r||r.emit("progress_currentPageSnapshot",s.pageInstances[t].newerSnapshot),s.triggerWatcherEvent(t)}else if(s.pageInstances[t].newerSnapshot.liveMtimeMs>=e.liveMtimeMs){var n;null===(n=s.socket)||void 0===n||n.emit("progress_currentPageSnapshot",s.pageInstances[t].currentSnapshot)}}else e.status="acked",s.pageInstances[t]={newerSnapshot:Tv({},e),currentSnapshot:Tv({},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=Tv({},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;e.resolve&&(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),c=e.address().port,l="".concat(o,"://").concat(i.name,":").concat(c).concat(a.includes("_nuxt")||a.startsWith("_")||a.startsWith("/_")?"":a);s.dev_server_url=l};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,l;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=f.normalize(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&&(null===(l=s.socket)||void 0===l||l.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=f.normalize(n),a=null;if(!(!s.pageInstances[o]||i&&i.type)){var c=s.pageInstances[o].currentSnapshot;return c&&c.withPgIds&&(a=c.withPgIds),a}})),u(a(s),"transform",(function(e,t,r){var i=f.normalize(t);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 o,a,c,l,h=function(e,{sourceMap:t=!0,filename:r="anonymous.vue",sourceRoot:s="",pad:n=!1,ignoreEmpty:i=!0,compiler:o=jc}={}){const a=e+t+r+s+n+o.parse,c=dl.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=sl.get(t);if(s)return s;let n="";return Mi(tt([r]),{nodeTransforms:[e=>{if(1===e.type){dc.isNativeTag(e.tag)||dc.isBuiltInComponent(e.tag)||(n+=`,${D(e.tag)},${B(D(e.tag))}`);for(let t=0;t<e.props.length;t++){const r=e.props[t];7===r.type&&(L(r.name)||(n+=`,v${B(D(r.name))}`),r.exp&&(n+=`,${il(r.exp.content,r.name)}`))}}else 5===e.type&&(n+=`,${il(e.content.content)}`)}]}),n+=";",sl.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(fl(t));else{const r=l.template=ml(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=ml(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(fl(t,s));break;case"style":const i=ml(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(ml(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 Ao({file:e.replace(/\\/g,"/"),sourceRoot:s.replace(/\\/g,"/")});return i.setSourceContent(e,t),r.split(gl).forEach(((t,r)=>{if(!yl.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=el.exec(s);){const e=r.index+r[0].length,n=tl(s,e);if(null!==n){const r=Zc(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 dl.set(a,p),p}(e,{filename:i,ignoreEmpty:!1}).descriptor;h.script&&(o=h.script.lang),h.scriptSetup&&(o=null===(c=h.scriptSetup)||void 0===c||null===(l=c.attrs)||void 0===l?void 0:l.lang);var u=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};if(h.scriptSetup)h.scriptSetup.content=u(h.scriptSetup.content);else{if(h.script&&h.script.content.includes("defineComponent"))return;h.scriptSetup={type:"script",attrs:{setup:!0},content:u(""),loc:{start:{line:0}}},o&&(h.scriptSetup.attrs.lang=o)}var p=[];Object.entries(h).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 p.push(i(e))})):p.push(i(s)))}}));var d=(p=p.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(d){var m=new _v(d);return(a=m.generateMap()).file=i,{code:e=m.toString(),map:a}}}})),u(a(s),"transformIndexHtml",(function(e,t){s.addons=[{name:"pgia",resources:[{parentResource:"public/pgia",injectTo:"head",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",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 Cv(e){var t=new Av(e);return t.dev_server=!0,{name:t.name,enforce:t.enforce,config:t.config,configResolved:t.configResolved,configureServer:t.configureServer,load:t.load,transform:t.transform,transformIndexHtml:t.transformIndexHtml,handleHotUpdate:t.handleHotUpdate}}})(),module.exports=s})();